Skip to content

Commit

Permalink
Release v11.3.0 (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic authored Mar 20, 2024
1 parent a07750d commit ce2c166
Show file tree
Hide file tree
Showing 4 changed files with 1,980 additions and 1,866 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ A breaking change will get clearly marked in this log.

## Unreleased

## [v11.3.0](https://github.com/stellar/js-stellar-sdk/compare/v11.2.2...v11.3.0)

### Added
* Introduces an entire suite of helpers to assist with interacting with smart contracts ([#929](https://github.com/stellar/js-stellar-sdk/pull/929)):
- `ContractClient`: generate a class from the contract specification where each Rust contract method gets a matching method in this class. Each method returns an `AssembledTransaction` that can be used to modify, simulate, decode results, and possibly sign, & submit the transaction.
- `AssembledTransaction`: used to wrap a transaction-under-construction and provide high-level interfaces to the most common workflows, while still providing access to low-level transaction manipulation.
- `SentTransaction`: transaction sent to the Soroban network, in two steps - initial submission and waiting for it to finalize to get the result (retried with exponential backoff)

### Fixed
* Upgrade underlying dependencies, including `@stellar/js-xdr` which should broaden compatibility to pre-ES2016 environments ([#932](https://github.com/stellar/js-stellar-sdk/pull/932), [#930](https://github.com/stellar/js-stellar-sdk/pull/930)).


### Fixed
* `SorobanRpc`: remove all instances of array-based parsing to conform to future breaking changes in Soroban RPC ([#924](https://github.com/stellar/js-stellar-sdk/pull/924)).

Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/stellar-sdk",
"version": "11.2.2",
"version": "11.3.0",
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
"keywords": [
"stellar"
Expand Down Expand Up @@ -77,23 +77,23 @@
]
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/eslint-parser": "^7.24.1",
"@babel/eslint-plugin": "^7.22.10",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.0",
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.23.7",
"@definitelytyped/dtslint": "^0.1.2",
"@istanbuljs/nyc-config-babel": "3.0.0",
"@stellar/tsconfig": "^1.0.2",
"@types/chai": "^4.3.6",
"@types/chai": "^4.3.14",
"@types/detect-node": "^2.0.0",
"@types/eventsource": "^1.1.12",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.14.199",
"@types/lodash": "^4.17.0",
"@types/mocha": "^10.0.2",
"@types/node": "^20.11.17",
"@types/node": "^20.11.30",
"@types/randombytes": "^2.0.1",
"@types/sinon": "^17.0.2",
"@types/urijs": "^1.19.20",
Expand All @@ -107,24 +107,24 @@
"chai-as-promised": "^7.1.1",
"chai-http": "^4.3.0",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-webpack-plugin": "^4.0.1",
"eslint-webpack-plugin": "^4.1.0",
"ghooks": "^2.0.4",
"husky": "^8.0.3",
"jsdoc": "^4.0.2",
"json-schema-faker": "^0.5.5",
"karma": "^6.4.1",
"json-schema-faker": "^0.5.6",
"karma": "^6.4.3",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.1",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.0",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^5.0.1",
Expand All @@ -141,13 +141,13 @@
"taffydb": "^2.7.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"webpack": "^5.90.1",
"typescript": "^5.4.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@stellar/stellar-base": "^11.0.0",
"axios": "^1.6.7",
"@stellar/stellar-base": "^11.0.1",
"axios": "^1.6.8",
"bignumber.js": "^9.1.2",
"eventsource": "^2.0.2",
"randombytes": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/contract_client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ContractClientOptions, MethodOptions } from './types'
export class ContractClient {
/**
* Generate a class from the contract spec that where each contract method
* gets included with a JSified name.
* gets included with an identical name.
*
* Each method returns an {@link AssembledTransaction} that can be used to
* modify, simulate, decode results, and possibly sign, & submit the
Expand Down
Loading

0 comments on commit ce2c166

Please sign in to comment.