@stellar/stellar-base 10.0.1 → 11.0.0
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 +22 -0
- package/README.md +1 -1
- package/dist/stellar-base.js +3472 -3342
- package/dist/stellar-base.min.js +1 -1
- package/lib/account.js +3 -3
- package/lib/address.js +2 -2
- package/lib/asset.js +2 -2
- package/lib/auth.js +9 -4
- package/lib/claimant.js +2 -2
- package/lib/contract.js +2 -2
- package/lib/events.js +10 -3
- package/lib/fee_bump_transaction.js +7 -8
- package/lib/index.js +0 -4
- package/lib/invocation.js +1 -1
- package/lib/keypair.js +2 -2
- package/lib/liquidity_pool_asset.js +2 -2
- package/lib/liquidity_pool_id.js +2 -2
- package/lib/memo.js +3 -3
- package/lib/muxed_account.js +2 -2
- package/lib/numbers/int128.js +7 -8
- package/lib/numbers/int256.js +7 -8
- package/lib/numbers/sc_int.js +12 -15
- package/lib/numbers/uint128.js +7 -8
- package/lib/numbers/uint256.js +7 -8
- package/lib/numbers/xdr_large_int.js +2 -2
- package/lib/operation.js +3 -3
- package/lib/operations/bump_sequence.js +1 -1
- package/lib/operations/change_trust.js +1 -1
- package/lib/operations/extend_footprint_ttl.js +6 -7
- package/lib/scval.js +6 -1
- package/lib/signerkey.js +2 -2
- package/lib/soroban.js +2 -2
- package/lib/sorobandata_builder.js +2 -2
- package/lib/strkey.js +2 -2
- package/lib/transaction.js +7 -8
- package/lib/transaction_base.js +2 -2
- package/lib/transaction_builder.js +4 -4
- package/lib/util/bignumber.js +11 -0
- package/lib/util/continued_fraction.js +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## [`v11.0.0`](https://github.com/stellar/js-stellar-base/compare/v10.0.2...v11.0.0)
|
|
7
|
+
|
|
8
|
+
**Note:** This version is (still) compatible with Protocol 20. Most people should be unaffected by the technically-breaking changes below and can treat this more like a v10.0.3 patch release.
|
|
9
|
+
|
|
10
|
+
### Breaking Changes
|
|
11
|
+
* Starting from **v10.0.0-beta.0**, we set [`BigNumber.DEBUG`](https://mikemcl.github.io/bignumber.js/#debug) in `bignumber.js` to `true` internally, which affects all code using `BigNumber`. This behavior has been fixed and only affects this library: globally, `BigNumber.DEBUG` now remains at its default setting (i.e. disabled). This is technically a breaking behavior change and is released as such ([#729](https://github.com/stellar/js-stellar-base/pull/729)).
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
* Dependencies have been updated to their latest compatible versions ([#726](https://github.com/stellar/js-stellar-base/pull/729), [#730](https://github.com/stellar/js-stellar-base/pull/730)).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [`v10.0.2`](https://github.com/stellar/js-stellar-base/compare/v10.0.1...v10.0.2)
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
* The `contractId` field is correctly omitted from humanized events when it wasn't present in the structure ([#721](https://github.com/stellar/js-stellar-base/pull/721)).
|
|
21
|
+
* Misc. outdated or incorrect documentation has been updated ([#723](https://github.com/stellar/js-stellar-base/pull/723), [#720](https://github.com/stellar/js-stellar-base/pull/720)).
|
|
22
|
+
* Dependencies have been updated ([#724](https://github.com/stellar/js-stellar-base/pull/724)).
|
|
23
|
+
|
|
24
|
+
|
|
3
25
|
## [`v10.0.1`](https://github.com/stellar/js-stellar-base/compare/v10.0.0...v10.0.1)
|
|
4
26
|
|
|
5
27
|
### Fixed
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ implementation in JavaScript that can be used on either Node.js or web browsers.
|
|
|
27
27
|
Using yarn to include js-stellar-base in your own project:
|
|
28
28
|
|
|
29
29
|
```shell
|
|
30
|
-
yarn add stellar-base
|
|
30
|
+
yarn add @stellar/stellar-base
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
For browsers, [use Bower to install it](#to-use-in-the-browser). It exports a
|