Skip to content

Commit

Permalink
feat: update TS Bindings stellar-sdk dep to 12rc1
Browse files Browse the repository at this point in the history
Full release notes at https://github.com/stellar/js-stellar-sdk/releases/tag/v12.0.0-rc.1

Highlights:

- ContractClient now properly handles methods that take no arguments by making MethodOptions the only parameter, bringing it inline with the types generated by Soroban CLI's soroban contract bindings typescript
- ContractClient now allows publicKey to be undefined
- SentTransaction will only pass allowHttp if (and only if) its corresponding AssembledTransaction#options config allowed it
  • Loading branch information
chadoh committed May 6, 2024
1 parent 1c08651 commit 16311c8
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"version": "0.0.0",
"name": "INSERT_CONTRACT_NAME_HERE",
"dependencies": {
"@stellar/freighter-api": "2.0.0",
"buffer": "6.0.3",
"@stellar/stellar-sdk": "11.3.0"
},
"scripts": {
"build": "node ./scripts/build.mjs"
},
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"typings": "dist/types/index.d.ts",
"devDependencies": {
"typescript": "5.3.3"
}
"version": "0.0.0",
"name": "INSERT_CONTRACT_NAME_HERE",
"dependencies": {
"@stellar/freighter-api": "2.0.0",
"buffer": "6.0.3",
"@stellar/stellar-sdk": "12.0.0-rc.1"
},
"scripts": {
"build": "node ./scripts/build.mjs"
},
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"typings": "dist/types/index.d.ts",
"devDependencies": {
"typescript": "5.3.3"
}
}

0 comments on commit 16311c8

Please sign in to comment.