@stellar/stellar-sdk 12.0.0-rc.3 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/stellar-sdk.js +1213 -788
- package/dist/stellar-sdk.min.js +1 -1
- package/lib/browser.js +1 -1
- package/lib/config.js +3 -3
- package/lib/contract/assembled_transaction.d.ts +15 -14
- package/lib/contract/assembled_transaction.js +21 -21
- package/lib/contract/basic_node_signer.js +2 -2
- package/lib/contract/client.d.ts +1 -0
- package/lib/contract/client.js +8 -8
- package/lib/contract/rust_result.js +3 -3
- package/lib/contract/sent_transaction.d.ts +7 -6
- package/lib/contract/sent_transaction.js +13 -13
- package/lib/contract/spec.js +9 -9
- package/lib/contract/utils.d.ts +1 -0
- package/lib/contract/utils.js +2 -2
- package/lib/errors.js +10 -10
- package/lib/federation/server.js +10 -10
- package/lib/horizon/account_call_builder.d.ts +1 -0
- package/lib/horizon/account_call_builder.js +8 -8
- package/lib/horizon/account_response.js +7 -7
- package/lib/horizon/assets_call_builder.d.ts +1 -0
- package/lib/horizon/assets_call_builder.js +8 -8
- package/lib/horizon/call_builder.js +6 -6
- package/lib/horizon/claimable_balances_call_builder.d.ts +1 -0
- package/lib/horizon/claimable_balances_call_builder.js +8 -8
- package/lib/horizon/effect_call_builder.d.ts +1 -0
- package/lib/horizon/effect_call_builder.js +8 -8
- package/lib/horizon/friendbot_builder.d.ts +1 -0
- package/lib/horizon/friendbot_builder.js +8 -8
- package/lib/horizon/horizon_api.d.ts +1 -0
- package/lib/horizon/horizon_axios_client.js +1 -1
- package/lib/horizon/ledger_call_builder.d.ts +1 -0
- package/lib/horizon/ledger_call_builder.js +8 -8
- package/lib/horizon/liquidity_pool_call_builder.d.ts +1 -0
- package/lib/horizon/liquidity_pool_call_builder.js +8 -8
- package/lib/horizon/offer_call_builder.d.ts +1 -0
- package/lib/horizon/offer_call_builder.js +8 -8
- package/lib/horizon/operation_call_builder.d.ts +1 -0
- package/lib/horizon/operation_call_builder.js +8 -8
- package/lib/horizon/orderbook_call_builder.d.ts +1 -0
- package/lib/horizon/orderbook_call_builder.js +8 -8
- package/lib/horizon/path_call_builder.d.ts +1 -0
- package/lib/horizon/path_call_builder.js +8 -8
- package/lib/horizon/payment_call_builder.d.ts +1 -0
- package/lib/horizon/payment_call_builder.js +8 -8
- package/lib/horizon/server.js +6 -6
- package/lib/horizon/strict_receive_path_call_builder.d.ts +1 -0
- package/lib/horizon/strict_receive_path_call_builder.js +8 -8
- package/lib/horizon/strict_send_path_call_builder.d.ts +1 -0
- package/lib/horizon/strict_send_path_call_builder.js +8 -8
- package/lib/horizon/trade_aggregation_call_builder.d.ts +1 -0
- package/lib/horizon/trade_aggregation_call_builder.js +8 -8
- package/lib/horizon/trades_call_builder.d.ts +1 -0
- package/lib/horizon/trades_call_builder.js +8 -8
- package/lib/horizon/transaction_call_builder.d.ts +1 -0
- package/lib/horizon/transaction_call_builder.js +8 -8
- package/lib/index.d.ts +1 -0
- package/lib/rpc/api.d.ts +25 -10
- package/lib/rpc/axios.js +1 -1
- package/lib/rpc/browser.js +1 -1
- package/lib/rpc/index.d.ts +1 -0
- package/lib/rpc/index.js +1 -1
- package/lib/rpc/jsonrpc.js +3 -3
- package/lib/rpc/parsers.js +12 -3
- package/lib/rpc/server.d.ts +1 -0
- package/lib/rpc/server.js +10 -10
- package/lib/stellartoml/index.js +6 -6
- package/lib/utils.js +3 -3
- package/lib/webauth/errors.js +10 -10
- package/lib/webauth/utils.js +9 -9
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ A breaking change will get clearly marked in this log.
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
## [v12.0.1](https://github.com/stellar/js-stellar-sdk/compare/v11.3.0...v12.0.1)
|
|
11
|
+
|
|
12
|
+
- This is a re-tag of `v12.0.0-rc.3` with dependency updates and a single new feature.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- `rpc.server.simulateTransaction` now supports an optional `stateChanges?: LedgerEntryChange[]` field ([#963](https://github.com/stellar/js-stellar-sdk/pull/963)):
|
|
16
|
+
* If `Before` is omitted, it constitutes a creation, if `After` is omitted, it constitutes a deletions, note that `Before` and `After` cannot be be omitted at the same time. Each item follows this schema:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
interface LedgerEntryChange {
|
|
20
|
+
type: number;
|
|
21
|
+
key: xdr.LedgerKey;
|
|
22
|
+
before: xdr.LedgerEntry | null;
|
|
23
|
+
after: xdr.LedgerEntry | null;
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
10
28
|
## [v12.0.0-rc.3](https://github.com/stellar/js-stellar-sdk/compare/v11.3.0...v12.0.0-rc.3)
|
|
11
29
|
|
|
12
30
|
### Breaking Changes
|