Skip to content

Commit e5550ae

Browse files
abuilesrice2000ire-and-curses
authored
v4.1.0 (#519)
* v4.1.0 * Update CHANGELOG.md Co-Authored-By: Justin Rice <[email protected]> * Update CHANGELOG.md Co-Authored-By: Eric Saunders <[email protected]> * Copy update. Co-authored-by: Justin Rice <[email protected]> Co-authored-by: Eric Saunders <[email protected]>
1 parent d0b61a8 commit e5550ae

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,31 @@ A breaking change will get clearly marked in this log.
44

55
## Unreleased
66

7+
## [v4.1.0](https://github.com/stellar/js-stellar-sdk/compare/v4.0.2...v4.1.0)
8+
9+
### Add
10+
- Add SEP0029 (memo required) support. ([#516](https://github.com/stellar/js-stellar-sdk/issues/516))
11+
12+
Extends `server.submitTransaction` to always run a memo required check before
13+
sending the transaction. If any of the destinations require a memo and the
14+
transaction doesn't include one, then an `AccountRequiresMemoError` will be thrown.
15+
16+
You can skip this check by passing `{skipMemoRequiredCheck: true}` to `server.submitTransaction`:
17+
18+
```
19+
server.submitTransaction(tx, {skipMemoRequiredCheck: true})
20+
```
21+
22+
The check runs for each operation of type:
23+
- `payment`
24+
- `pathPaymentStrictReceive`
25+
- `pathPaymentStrictSend`
26+
- `mergeAccount`
27+
28+
If the transaction includes a memo, then memo required checking is skipped.
29+
30+
See [SEP0029](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0029.md) for more information about memo required check.
31+
732
## [v4.0.2](https://github.com/stellar/js-stellar-sdk/compare/v4.0.1...v4.0.2)
833

934
### Fix

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stellar-sdk",
3-
"version": "4.0.2",
3+
"version": "4.1.0",
44
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

0 commit comments

Comments
 (0)