@stellar/stellar-base 12.1.0 → 13.0.0-beta.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 +20 -0
- package/dist/stellar-base.js +760 -118
- package/dist/stellar-base.min.js +1 -1
- package/lib/asset.js +1 -1
- package/lib/auth.js +14 -9
- package/lib/generated/curr_generated.js +728 -103
- package/lib/generated/next_generated.js +793 -107
- package/lib/invocation.js +2 -1
- package/lib/operation.js +6 -1
- package/lib/operations/invoke_host_function.js +9 -3
- package/package.json +11 -11
- package/types/curr.d.ts +1472 -195
- package/types/index.d.ts +6 -1
- package/types/next.d.ts +1642 -195
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [`v13.0.0-beta.1`](https://github.com/stellar/js-stellar-base/compare/v12.1.1...v13.0.0-beta.1)
|
|
7
|
+
|
|
8
|
+
**This is the first release that supports Protocol 22.** While the network has not upgraded yet, you can start integrating the new features into your codebase if you want a head start. Keep in mind that while the binary XDR is backwards-compatible, the naming and layout of structures is not. In other words, this build will continue to work on Protocol 21, but you may have to update code that references XDR directly.
|
|
9
|
+
|
|
10
|
+
### Breaking Changes
|
|
11
|
+
* XDR definitions have been upgraded to Protocol 22 ([#777](https://github.com/stellar/js-stellar-base/pull/777)).
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
* You can create contracts with constructors a new, optional parameter of `Operation.createCustomContract`, `constructorArgs: xdr.ScVal[]` ([#770](https://github.com/stellar/js-stellar-base/pull/770)).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [`v12.1.1`](https://github.com/stellar/js-stellar-base/compare/v12.1.0...v12.1.1)
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
* Add missing methods to TypeScript definitions ([#766](https://github.com/stellar/js-stellar-base/pull/766)).
|
|
21
|
+
* Fix the TypeScript definition of `walkInvocationTree` to allow void returns on the callback function as intended rather than forcing a `return null` ([#765](https://github.com/stellar/js-stellar-base/pull/765)).
|
|
22
|
+
* Fix `authorizeEntry` to use the correct public key when passing `Keypair`s ([#772](https://github.com/stellar/js-stellar-base/pull/772)).
|
|
23
|
+
* Upgrade misc. dependencies ([#771](https://github.com/stellar/js-stellar-base/pull/771), [#773](https://github.com/stellar/js-stellar-base/pull/773)).
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [`v12.1.0`](https://github.com/stellar/js-stellar-base/compare/v12.0.1...v12.1.0)
|
|
7
27
|
|
|
8
28
|
### Added
|