@solana/web3.js 1.66.1 → 1.66.2
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.
- package/lib/index.browser.cjs.js +1 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +1 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +10 -10
- package/src/connection.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/web3.js",
|
|
3
|
-
"version": "1.66.
|
|
3
|
+
"version": "1.66.2",
|
|
4
4
|
"description": "Solana Javascript API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -95,26 +95,26 @@
|
|
|
95
95
|
"@types/chai": "^4.2.15",
|
|
96
96
|
"@types/chai-as-promised": "^7.1.3",
|
|
97
97
|
"@types/express-serve-static-core": "^4.17.21",
|
|
98
|
-
"@types/mocha": "^
|
|
98
|
+
"@types/mocha": "^10.0.0",
|
|
99
99
|
"@types/mz": "^2.7.3",
|
|
100
100
|
"@types/node": "^17.0.24",
|
|
101
101
|
"@types/node-fetch": "2",
|
|
102
102
|
"@types/sinon": "^10.0.0",
|
|
103
103
|
"@types/sinon-chai": "^3.2.8",
|
|
104
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
105
|
-
"@typescript-eslint/parser": "^
|
|
104
|
+
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
105
|
+
"@typescript-eslint/parser": "^5.40.1",
|
|
106
106
|
"chai": "^4.3.0",
|
|
107
107
|
"chai-as-promised": "^7.1.1",
|
|
108
108
|
"codecov": "^3.0.4",
|
|
109
109
|
"cross-env": "7.0.3",
|
|
110
|
-
"eslint": "^
|
|
111
|
-
"eslint-config-prettier": "^8.
|
|
112
|
-
"eslint-plugin-import": "2.26.0",
|
|
113
|
-
"eslint-plugin-mocha": "^10.0
|
|
114
|
-
"eslint-plugin-prettier": "^4.
|
|
110
|
+
"eslint": "^8.25.0",
|
|
111
|
+
"eslint-config-prettier": "^8.5.0",
|
|
112
|
+
"eslint-plugin-import": "^2.26.0",
|
|
113
|
+
"eslint-plugin-mocha": "^10.1.0",
|
|
114
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
115
115
|
"esm": "^3.2.25",
|
|
116
116
|
"http-server": "^14.0.0",
|
|
117
|
-
"mocha": "^
|
|
117
|
+
"mocha": "^10.1.0",
|
|
118
118
|
"mockttp": "^2.0.1",
|
|
119
119
|
"mz": "^2.7.0",
|
|
120
120
|
"npm-run-all": "^4.1.5",
|
package/src/connection.ts
CHANGED
|
@@ -3831,7 +3831,7 @@ export class Connection {
|
|
|
3831
3831
|
|
|
3832
3832
|
const res = create(unsafeRes, jsonRpcResultAndContext(nullable(number())));
|
|
3833
3833
|
if ('error' in res) {
|
|
3834
|
-
throw new SolanaJSONRPCError(res.error, 'failed to get
|
|
3834
|
+
throw new SolanaJSONRPCError(res.error, 'failed to get fee for message');
|
|
3835
3835
|
}
|
|
3836
3836
|
if (res.result === null) {
|
|
3837
3837
|
throw new Error('invalid blockhash');
|