@solana/web3.js 1.78.1 → 1.78.3
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 +225 -229
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +223 -228
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +258 -474
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +256 -472
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +183 -302
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +2 -2
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +225 -229
- 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.78.
|
|
3
|
+
"version": "1.78.3",
|
|
4
4
|
"description": "Solana Javascript API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"@noble/curves": "^1.0.0",
|
|
59
59
|
"@noble/hashes": "^1.3.0",
|
|
60
60
|
"@solana/buffer-layout": "^4.0.0",
|
|
61
|
-
"agentkeepalive": "^4.
|
|
61
|
+
"agentkeepalive": "^4.3.0",
|
|
62
62
|
"bigint-buffer": "^1.1.5",
|
|
63
|
-
"bn.js": "^5.
|
|
63
|
+
"bn.js": "^5.2.1",
|
|
64
64
|
"borsh": "^0.7.0",
|
|
65
65
|
"bs58": "^4.0.1",
|
|
66
66
|
"buffer": "6.0.3",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@babel/core": "^7.22.9",
|
|
75
75
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
76
76
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
77
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
77
|
+
"@babel/plugin-transform-runtime": "^7.22.9",
|
|
78
78
|
"@babel/preset-env": "^7.22.4",
|
|
79
|
-
"@babel/preset-typescript": "^7.
|
|
79
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
80
80
|
"@rollup/plugin-alias": "^4.0.3",
|
|
81
81
|
"@rollup/plugin-babel": "^6.0.3",
|
|
82
82
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@rollup/plugin-replace": "^5.0.2",
|
|
87
87
|
"@rollup/plugin-terser": "^0.4.3",
|
|
88
88
|
"@solana/spl-token": "^0.3.8",
|
|
89
|
-
"@types/bn.js": "^5.1.
|
|
89
|
+
"@types/bn.js": "^5.1.1",
|
|
90
90
|
"@types/bs58": "^4.0.1",
|
|
91
91
|
"@types/chai": "^4.3.5",
|
|
92
92
|
"@types/chai-as-promised": "^7.1.3",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"cross-env": "7.0.3",
|
|
105
105
|
"eslint": "^8.45.0",
|
|
106
106
|
"eslint-config-prettier": "^8.9.0",
|
|
107
|
-
"eslint-plugin-import": "^2.
|
|
107
|
+
"eslint-plugin-import": "^2.28.0",
|
|
108
108
|
"eslint-plugin-mocha": "^10.1.0",
|
|
109
109
|
"eslint-plugin-prettier": "^4.2.1",
|
|
110
110
|
"esm": "^3.2.25",
|
|
@@ -114,17 +114,17 @@
|
|
|
114
114
|
"node-abort-controller": "^3.0.1",
|
|
115
115
|
"prettier": "^2.8.8",
|
|
116
116
|
"rimraf": "5.0.1",
|
|
117
|
-
"rollup": "^3.
|
|
117
|
+
"rollup": "^3.27.0",
|
|
118
118
|
"rollup-plugin-dts": "^5.3.0",
|
|
119
119
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
120
120
|
"semantic-release": "^21.0.7",
|
|
121
|
-
"sinon": "^15.
|
|
121
|
+
"sinon": "^15.2.0",
|
|
122
122
|
"sinon-chai": "^3.7.0",
|
|
123
123
|
"start-server-and-test": "^2.0.0",
|
|
124
124
|
"ts-mocha": "^10.0.0",
|
|
125
125
|
"ts-node": "^10.9.1",
|
|
126
126
|
"tsconfig": "workspace:*",
|
|
127
|
-
"tslib": "^2.
|
|
127
|
+
"tslib": "^2.6.1",
|
|
128
128
|
"typedoc": "^0.24.8",
|
|
129
129
|
"typescript": "^5.1.6"
|
|
130
130
|
}
|
package/src/connection.ts
CHANGED
|
@@ -4547,7 +4547,7 @@ export class Connection {
|
|
|
4547
4547
|
config?: GetRecentPrioritizationFeesConfig,
|
|
4548
4548
|
): Promise<RecentPrioritizationFees[]> {
|
|
4549
4549
|
const accounts = config?.lockedWritableAccounts?.map(key => key.toBase58());
|
|
4550
|
-
const args =
|
|
4550
|
+
const args = accounts?.length ? [accounts] : [];
|
|
4551
4551
|
const unsafeRes = await this._rpcRequest(
|
|
4552
4552
|
'getRecentPrioritizationFees',
|
|
4553
4553
|
args,
|