@stellar/stellar-sdk 11.0.1 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +21 -33
  3. package/dist/stellar-sdk.js +756 -254
  4. package/dist/stellar-sdk.min.js +1 -1
  5. package/lib/config.js +2 -2
  6. package/lib/contract_spec.d.ts +22 -1
  7. package/lib/contract_spec.js +684 -187
  8. package/lib/errors.js +2 -2
  9. package/lib/federation/server.js +2 -2
  10. package/lib/horizon/account_call_builder.js +2 -2
  11. package/lib/horizon/account_response.js +2 -2
  12. package/lib/horizon/assets_call_builder.js +2 -2
  13. package/lib/horizon/call_builder.js +2 -2
  14. package/lib/horizon/claimable_balances_call_builder.js +2 -2
  15. package/lib/horizon/effect_call_builder.js +2 -2
  16. package/lib/horizon/friendbot_builder.js +2 -2
  17. package/lib/horizon/ledger_call_builder.js +2 -2
  18. package/lib/horizon/liquidity_pool_call_builder.js +2 -2
  19. package/lib/horizon/offer_call_builder.js +2 -2
  20. package/lib/horizon/operation_call_builder.js +2 -2
  21. package/lib/horizon/orderbook_call_builder.js +2 -2
  22. package/lib/horizon/path_call_builder.js +2 -2
  23. package/lib/horizon/payment_call_builder.js +2 -2
  24. package/lib/horizon/server.js +2 -2
  25. package/lib/horizon/strict_receive_path_call_builder.js +2 -2
  26. package/lib/horizon/strict_send_path_call_builder.js +2 -2
  27. package/lib/horizon/trade_aggregation_call_builder.js +2 -2
  28. package/lib/horizon/trades_call_builder.js +2 -2
  29. package/lib/horizon/transaction_call_builder.js +2 -2
  30. package/lib/soroban/parsers.js +2 -2
  31. package/lib/soroban/server.d.ts +6 -2
  32. package/lib/soroban/server.js +18 -12
  33. package/lib/stellartoml/index.js +2 -2
  34. package/lib/utils.js +2 -2
  35. package/lib/webauth/errors.js +2 -2
  36. package/package.json +11 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar/stellar-sdk",
3
- "version": "11.0.1",
3
+ "version": "11.1.0",
4
4
  "description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
5
5
  "keywords": [
6
6
  "stellar"
@@ -77,25 +77,26 @@
77
77
  },
78
78
  "devDependencies": {
79
79
  "@babel/cli": "^7.23.0",
80
- "@babel/core": "^7.23.0",
80
+ "@babel/core": "^7.23.6",
81
81
  "@babel/eslint-parser": "^7.22.15",
82
82
  "@babel/eslint-plugin": "^7.22.10",
83
- "@babel/preset-env": "^7.22.20",
83
+ "@babel/preset-env": "^7.23.6",
84
84
  "@babel/preset-typescript": "^7.23.0",
85
85
  "@babel/register": "^7.22.15",
86
- "@definitelytyped/dtslint": "^0.0.197",
86
+ "@definitelytyped/dtslint": "^0.1.1",
87
87
  "@istanbuljs/nyc-config-babel": "3.0.0",
88
88
  "@stellar/tsconfig": "^1.0.2",
89
89
  "@types/chai": "^4.3.6",
90
90
  "@types/detect-node": "^2.0.0",
91
91
  "@types/eventsource": "^1.1.12",
92
+ "@types/json-schema": "^7.0.15",
92
93
  "@types/lodash": "^4.14.199",
93
94
  "@types/mocha": "^10.0.2",
94
95
  "@types/node": "^20.8.10",
95
96
  "@types/randombytes": "^2.0.1",
96
97
  "@types/sinon": "^17.0.2",
97
98
  "@types/urijs": "^1.19.20",
98
- "@typescript-eslint/parser": "^6.9.1",
99
+ "@typescript-eslint/parser": "^6.14.0",
99
100
  "axios-mock-adapter": "^1.22.0",
100
101
  "babel-loader": "^9.1.3",
101
102
  "babel-plugin-istanbul": "^6.1.1",
@@ -107,7 +108,7 @@
107
108
  "eslint": "^8.50.0",
108
109
  "eslint-config-airbnb-base": "^15.0.0",
109
110
  "eslint-config-prettier": "^9.0.0",
110
- "eslint-plugin-import": "^2.28.1",
111
+ "eslint-plugin-import": "^2.29.1",
111
112
  "eslint-plugin-node": "^11.1.0",
112
113
  "eslint-plugin-prefer-import": "^0.0.1",
113
114
  "eslint-plugin-prettier": "^5.0.0",
@@ -115,6 +116,7 @@
115
116
  "ghooks": "^2.0.4",
116
117
  "husky": "^8.0.3",
117
118
  "jsdoc": "^4.0.2",
119
+ "json-schema-faker": "^0.5.4",
118
120
  "karma": "^6.4.1",
119
121
  "karma-chai": "^0.1.0",
120
122
  "karma-chrome-launcher": "^3.1.0",
@@ -129,24 +131,24 @@
129
131
  "mocha": "^10.2.0",
130
132
  "node-polyfill-webpack-plugin": "^3.0.0",
131
133
  "nyc": "^15.1.0",
132
- "prettier": "^3.0.3",
134
+ "prettier": "^3.1.1",
133
135
  "randombytes": "^2.1.0",
134
136
  "sinon": "^17.0.1",
135
137
  "sinon-chai": "^3.7.0",
136
138
  "taffydb": "^2.7.3",
137
139
  "terser-webpack-plugin": "^5.3.9",
138
- "ts-node": "^10.9.1",
140
+ "ts-node": "^10.9.2",
139
141
  "typescript": "^5.3.3",
140
142
  "utility-types": "^3.7.0",
141
143
  "webpack": "^5.88.2",
142
144
  "webpack-cli": "^5.0.1"
143
145
  },
144
146
  "dependencies": {
147
+ "@stellar/stellar-base": "10.0.1",
145
148
  "axios": "^1.6.0",
146
149
  "bignumber.js": "^9.1.2",
147
150
  "eventsource": "^2.0.2",
148
151
  "randombytes": "^2.1.0",
149
- "@stellar/stellar-base": "10.0.0",
150
152
  "toml": "^3.0.0",
151
153
  "urijs": "^1.19.1"
152
154
  }