Skip to content

Commit e9bb587

Browse files
committed
Merge branch 'master' into chore/update
* master: Prepare v11.2.0 for release (stellar#908) Update README to flow better (stellar#907) Add support for new `sendTransaction` response field (stellar#905) Export the individual event response instance (stellar#904) Bump follow-redirects from 1.15.3 to 1.15.4 (stellar#906) Update examples to use new module and package structure. (stellar#900)
2 parents 4069314 + 77d7de6 commit e9bb587

File tree

10 files changed

+485
-576
lines changed

10 files changed

+485
-576
lines changed

.github/workflows/npm_publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- name: Deprecate the old package
3535
run: |
36-
npm deprecate stellar-sdk@latest "⚠️ This package has moved to @stellar/stellar-sdk! 🚚"
36+
V=$(cat package.json | jq '.version' | sed -e 's/\"//g')
37+
echo "Deprecating stellar-sdk@$V"
38+
npm deprecate stellar-sdk@"<= $V" "⚠️ This package has moved to @stellar/stellar-sdk! 🚚"
3739
env:
3840
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Changelog
23

34
A breaking change will get clearly marked in this log.
@@ -6,6 +7,16 @@ A breaking change will get clearly marked in this log.
67
## Unreleased
78

89

10+
## [v11.2.0](https://github.com/stellar/js-stellar-sdk/compare/v11.1.0...v11.2.0)
11+
12+
### Added
13+
* Support for the new, optional `diagnosticEventsXdr` field on the `SorobanRpc.Server.sendTransaction` method. The raw field will be present when using the `_sendTransaction` method, while the normal method will have an already-parsed `diagnosticEvents: xdr.DiagnosticEvent[]` field, instead ([#905](https://github.com/stellar/js-stellar-sdk/pull/905)).
14+
* A new exported interface `SorobanRpc.Api.EventResponse` so that developers can type-check individual events ([#904](https://github.com/stellar/js-stellar-sdk/pull/904)).
15+
16+
### Updated
17+
* Dependencies have been updated to their latest versions ([#906](https://github.com/stellar/js-stellar-sdk/pull/906), [#908](https://github.com/stellar/js-stellar-sdk/pull/908)).
18+
19+
920
## [v11.1.0](https://github.com/stellar/js-stellar-sdk/compare/v11.0.1...v11.1.0)
1021

1122
### Added

0 commit comments

Comments
 (0)