@stellar/stellar-sdk 12.2.0 → 12.3.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-sdk.js +497 -295
- package/dist/stellar-sdk.min.js +1 -1
- package/lib/contract/assembled_transaction.d.ts +1 -3
- package/lib/contract/assembled_transaction.js +22 -30
- package/lib/horizon/call_builder.js +8 -7
- package/lib/rpc/api.d.ts +60 -6
- package/lib/rpc/parsers.d.ts +2 -0
- package/lib/rpc/parsers.js +29 -0
- package/lib/rpc/server.d.ts +39 -12
- package/lib/rpc/server.js +160 -105
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,28 @@ A breaking change will get clearly marked in this log.
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
## [v12.3.0](https://github.com/stellar/js-stellar-sdk/compare/v12.2.0...v12.3.0)
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- `rpc.Server` now has a `getTransactions`, which has the same response schema as `getTransactions` except with bundles of transactions ([#1037](https://github.com/stellar/js-stellar-sdk/pull/1037)).
|
|
14
|
+
- `rpc.Server` now has a `getVersionInfo` method which reports version information of the RPC instance it is connected to ([#1028](https://github.com/stellar/js-stellar-sdk/issues/1028)):
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export interface GetVersionInfoResponse {
|
|
18
|
+
version: string;
|
|
19
|
+
commit_hash: string;
|
|
20
|
+
build_time_stamp: string;
|
|
21
|
+
captive_core_version: string;
|
|
22
|
+
protocol_version: number;
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
- Lower authorization entry's default signature expiration to ~8min for security reasons ([#1023](https://github.com/stellar/js-stellar-sdk/pull/1023)).
|
|
28
|
+
- Remove `statusText` error check to broaden compatibility ([#1001](https://github.com/stellar/js-stellar-sdk/pull/1001)).
|
|
29
|
+
- Upgraded `stellar-base` which includes various fixes ([release notes](https://github.com/stellar/js-stellar-base/releases/tag/v12.1.1), [#1045](https://github.com/stellar/js-stellar-sdk/pull/1045)).
|
|
30
|
+
|
|
31
|
+
|
|
10
32
|
## [v12.2.0](https://github.com/stellar/js-stellar-sdk/compare/v12.1.0...v12.2.0)
|
|
11
33
|
|
|
12
34
|
### Fixed
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://badge.fury.io/js/stellar-sdk"><img src="https://badge.fury.io/js/stellar-sdk.svg" alt="npm version" height="18"></a>
|
|
11
|
-
<a href="https://www.npmjs.com/package/stellar-sdk">
|
|
11
|
+
<a href="https://www.npmjs.com/package/@stellar/stellar-sdk">
|
|
12
12
|
<img alt="Weekly Downloads" src="https://img.shields.io/npm/dw/stellar-sdk" />
|
|
13
13
|
</a>
|
|
14
14
|
<a href="https://github.com/stellar/js-stellar-sdk/actions/workflows/tests.yml"><img alt="Test Status" src="https://github.com/stellar/js-stellar-sdk/actions/workflows/tests.yml/badge.svg" /></a>
|