Skip to content

Commit 9390f6c

Browse files
authored
Release v12.0.1 (#978)
* Upgrade stellar-base to stable reference
1 parent e32dcd9 commit 9390f6c

File tree

3 files changed

+834
-838
lines changed

3 files changed

+834
-838
lines changed

CHANGELOG.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ A breaking change will get clearly marked in this log.
66

77
## Unreleased
88

9-
Added:
109

11-
- `rpc.server.simulateTransaction` now supports optional stateChanges as mentioned below ([#963](https://github.com/stellar/js-stellar-sdk/pull/963))
12-
- 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.
10+
## [v12.0.1](https://github.com/stellar/js-stellar-sdk/compare/v11.3.0...v12.0.1)
1311

12+
- This is a re-tag of `v12.0.0-rc.3` with dependency updates and a single new feature.
1413

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+
}
1525
```
16-
/** State Difference information */
17-
stateChanges?: LedgerEntryChange[];
1826

19-
interface LedgerEntryChange{
20-
type: number;
21-
key: xdr.LedgerKey;
22-
before: xdr.LedgerEntry | null;
23-
after: xdr.LedgerEntry | null;
24-
}
25-
26-
```
2727

2828
## [v12.0.0-rc.3](https://github.com/stellar/js-stellar-sdk/compare/v11.3.0...v12.0.0-rc.3)
2929

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stellar/stellar-sdk",
3-
"version": "12.0.0-rc.3",
3+
"version": "12.0.1",
44
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
55
"keywords": [
66
"stellar"
@@ -92,26 +92,26 @@
9292
]
9393
},
9494
"devDependencies": {
95-
"@babel/cli": "^7.24.1",
96-
"@babel/core": "^7.24.3",
97-
"@babel/eslint-plugin": "^7.22.10",
98-
"@babel/preset-env": "^7.24.3",
99-
"@babel/preset-typescript": "^7.24.1",
100-
"@babel/register": "^7.23.7",
95+
"@babel/cli": "^7.24.6",
96+
"@babel/core": "^7.24.6",
97+
"@babel/eslint-plugin": "^7.24.6",
98+
"@babel/preset-env": "^7.24.6",
99+
"@babel/preset-typescript": "^7.24.6",
100+
"@babel/register": "^7.24.6",
101101
"@definitelytyped/dtslint": "^0.2.20",
102102
"@istanbuljs/nyc-config-babel": "3.0.0",
103103
"@stellar/tsconfig": "^1.0.2",
104104
"@types/chai": "^4.3.14",
105105
"@types/detect-node": "^2.0.0",
106106
"@types/eventsource": "^1.1.12",
107107
"@types/json-schema": "^7.0.15",
108-
"@types/lodash": "^4.17.0",
108+
"@types/lodash": "^4.17.4",
109109
"@types/mocha": "^10.0.2",
110-
"@types/node": "^20.11.30",
110+
"@types/node": "^20.12.13",
111111
"@types/randombytes": "^2.0.1",
112112
"@types/sinon": "^17.0.2",
113113
"@types/urijs": "^1.19.20",
114-
"@typescript-eslint/parser": "^7.7.1",
114+
"@typescript-eslint/parser": "^7.11.0",
115115
"ava": "^5.3.1",
116116
"axios-mock-adapter": "^1.22.0",
117117
"babel-loader": "^9.1.3",
@@ -127,11 +127,11 @@
127127
"eslint-config-airbnb-typescript": "^18.0.0",
128128
"eslint-config-prettier": "^9.0.0",
129129
"eslint-plugin-import": "^2.29.1",
130-
"eslint-plugin-jsdoc": "^48.2.4",
130+
"eslint-plugin-jsdoc": "^48.2.7",
131131
"eslint-plugin-node": "^11.1.0",
132132
"eslint-plugin-prefer-import": "^0.0.1",
133133
"eslint-plugin-prettier": "^5.1.2",
134-
"eslint-webpack-plugin": "^4.1.0",
134+
"eslint-webpack-plugin": "^4.2.0",
135135
"ghooks": "^2.0.4",
136136
"husky": "^9.0.11",
137137
"jsdoc": "^4.0.2",
@@ -144,7 +144,7 @@
144144
"karma-mocha": "^2.0.0",
145145
"karma-sinon-chai": "^2.0.2",
146146
"karma-webpack": "^5.0.1",
147-
"lint-staged": "^15.2.2",
147+
"lint-staged": "^15.2.5",
148148
"lodash": "^4.17.21",
149149
"minami": "^1.1.1",
150150
"mocha": "^10.3.0",
@@ -162,8 +162,8 @@
162162
"webpack-cli": "^5.0.1"
163163
},
164164
"dependencies": {
165-
"@stellar/stellar-base": "^12.0.0-rc.1",
166-
"axios": "^1.6.8",
165+
"@stellar/stellar-base": "^12.0.0",
166+
"axios": "^1.7.2",
167167
"bignumber.js": "^9.1.2",
168168
"eventsource": "^2.0.2",
169169
"randombytes": "^2.1.0",

0 commit comments

Comments
 (0)