File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,31 @@ A breaking change will get clearly marked in this log.
4
4
5
5
## Unreleased
6
6
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
+
7
32
## [ v4.0.2] ( https://github.com/stellar/js-stellar-sdk/compare/v4.0.1...v4.0.2 )
8
33
9
34
### Fix
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " stellar-sdk" ,
3
- "version" : " 4.0.2 " ,
3
+ "version" : " 4.1.0 " ,
4
4
"description" : " stellar-sdk is a library for working with the Stellar Horizon server." ,
5
5
"main" : " ./lib/index.js" ,
6
6
"types" : " ./lib/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments