@solana/web3.js 1.89.0 → 1.90.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.
- package/README.md +1 -1
- package/lib/index.browser.cjs.js +6 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +6 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +6 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +7 -1
- package/lib/index.esm.js +6 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +6 -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 +6 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +2 -2
- package/src/bpf-loader.ts +5 -0
- package/src/connection.ts +3 -2
package/lib/index.native.js
CHANGED
|
@@ -3234,10 +3234,15 @@ class Loader {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
Loader.chunkSize = CHUNK_SIZE;
|
|
3236
3236
|
|
|
3237
|
+
/**
|
|
3238
|
+
* @deprecated Deprecated since Solana v1.17.20.
|
|
3239
|
+
*/
|
|
3237
3240
|
const BPF_LOADER_PROGRAM_ID = new PublicKey('BPFLoader2111111111111111111111111111111111');
|
|
3238
3241
|
|
|
3239
3242
|
/**
|
|
3240
3243
|
* Factory class for transactions to interact with a program loader
|
|
3244
|
+
*
|
|
3245
|
+
* @deprecated Deprecated since Solana v1.17.20.
|
|
3241
3246
|
*/
|
|
3242
3247
|
class BpfLoader {
|
|
3243
3248
|
/**
|
|
@@ -4213,7 +4218,7 @@ function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disable
|
|
|
4213
4218
|
if (too_many_requests_retries === 0) {
|
|
4214
4219
|
break;
|
|
4215
4220
|
}
|
|
4216
|
-
console.
|
|
4221
|
+
console.error(`Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`);
|
|
4217
4222
|
await sleep(waitTime);
|
|
4218
4223
|
waitTime *= 2;
|
|
4219
4224
|
}
|