Skip to content

Commit 4c42a4d

Browse files
authored
Release v11.2.2 (#918)
* Add README entry about React-Native compiler requirements * Fixup the jsdoc for an entry * Upgrade stellar-base * Update all dependencies to their latest compatible versions
1 parent d6f50e7 commit 4c42a4d

File tree

6 files changed

+448
-403
lines changed

6 files changed

+448
-403
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
max-parallel: 4
1515
matrix:
16-
node-version: [18, 20]
16+
node-version: [18, 20, 21]
1717

1818
steps:
1919
- name: Checkout

CHANGELOG.md

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

77
## Unreleased
88

9+
10+
## [v11.2.2](https://github.com/stellar/js-stellar-sdk/compare/v11.2.1...v11.2.2)
11+
912
### Fixed
1013
* Event streaming tests now pass on Node 20, which seems to have tighter conformance to the spec ([#917](https://github.com/stellar/js-stellar-sdk/pull/917)).
14+
* `@stellar/stellar-base` has been upgraded to its latest major version ([#918](https://github.com/stellar/js-stellar-sdk/pull/918), see [v11.0.0](https://github.com/stellar/js-stellar-base/releases/tag/v11.0.0) for release notes).
1115

1216

1317
## [v11.2.1](https://github.com/stellar/js-stellar-sdk/compare/v11.2.0...v11.2.1)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ module.exports = {
120120

121121
There is also a [sample](https://github.com/fnando/rn-stellar-sdk-sample) that you can follow.
122122

123+
**Note**: Only the V8 compiler (on Android) and JSC (on iOS) have proper support for `Buffer` and `Uint8Array` as is needed by this library. Otherwise, you may see bizarre errors when doing XDR encoding/decoding such as `source not specified`.
124+
123125
#### Usage with Expo managed workflows
124126

125127
1. Install `yarn add --dev rn-nodeify`

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stellar/stellar-sdk",
3-
"version": "11.2.1",
3+
"version": "11.2.2",
44
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
55
"keywords": [
66
"stellar"
@@ -76,11 +76,11 @@
7676
]
7777
},
7878
"devDependencies": {
79-
"@babel/cli": "^7.23.0",
80-
"@babel/core": "^7.23.7",
81-
"@babel/eslint-parser": "^7.22.15",
79+
"@babel/cli": "^7.23.9",
80+
"@babel/core": "^7.23.9",
81+
"@babel/eslint-parser": "^7.23.10",
8282
"@babel/eslint-plugin": "^7.22.10",
83-
"@babel/preset-env": "^7.23.8",
83+
"@babel/preset-env": "^7.23.9",
8484
"@babel/preset-typescript": "^7.23.0",
8585
"@babel/register": "^7.23.7",
8686
"@definitelytyped/dtslint": "^0.1.2",
@@ -92,11 +92,11 @@
9292
"@types/json-schema": "^7.0.15",
9393
"@types/lodash": "^4.14.199",
9494
"@types/mocha": "^10.0.2",
95-
"@types/node": "^20.11.5",
95+
"@types/node": "^20.11.17",
9696
"@types/randombytes": "^2.0.1",
9797
"@types/sinon": "^17.0.2",
9898
"@types/urijs": "^1.19.20",
99-
"@typescript-eslint/parser": "^6.19.1",
99+
"@typescript-eslint/parser": "^6.20.0",
100100
"axios-mock-adapter": "^1.22.0",
101101
"babel-loader": "^9.1.3",
102102
"babel-plugin-istanbul": "^6.1.1",
@@ -124,26 +124,26 @@
124124
"karma-firefox-launcher": "^2.1.1",
125125
"karma-mocha": "^2.0.0",
126126
"karma-sinon-chai": "^2.0.2",
127-
"karma-webpack": "^5.0.0",
128-
"lint-staged": "^15.2.0",
127+
"karma-webpack": "^5.0.1",
128+
"lint-staged": "^15.2.2",
129129
"lodash": "^4.17.21",
130130
"minami": "^1.1.1",
131-
"mocha": "^10.2.0",
131+
"mocha": "^10.3.0",
132132
"node-polyfill-webpack-plugin": "^3.0.0",
133133
"nyc": "^15.1.0",
134-
"prettier": "^3.2.4",
134+
"prettier": "^3.2.5",
135135
"randombytes": "^2.1.0",
136136
"sinon": "^17.0.1",
137137
"sinon-chai": "^3.7.0",
138138
"taffydb": "^2.7.3",
139139
"terser-webpack-plugin": "^5.3.10",
140140
"ts-node": "^10.9.2",
141-
"webpack": "^5.88.2",
141+
"webpack": "^5.90.1",
142142
"webpack-cli": "^5.0.1"
143143
},
144144
"dependencies": {
145-
"@stellar/stellar-base": "^10.0.2",
146-
"axios": "^1.6.5",
145+
"@stellar/stellar-base": "^11.0.0",
146+
"axios": "^1.6.7",
147147
"bignumber.js": "^9.1.2",
148148
"eventsource": "^2.0.2",
149149
"randombytes": "^2.1.0",

src/contract_spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,9 +850,8 @@ const PRIMITIVE_DEFINITONS: { [key: string]: JSONSchema7Definition } = {
850850
};
851851

852852
/**
853-
*
854853
* @param typeDef type to convert to json schema reference
855-
* @returns
854+
* @returns {JSONSchema7} a schema describing the type
856855
*/
857856
function typeRef(typeDef: xdr.ScSpecTypeDef): JSONSchema7 {
858857
let t = typeDef.switch();

0 commit comments

Comments
 (0)