@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/lib/index.cjs.js CHANGED
@@ -3242,10 +3242,15 @@ class Loader {
3242
3242
  }
3243
3243
  Loader.chunkSize = CHUNK_SIZE;
3244
3244
 
3245
+ /**
3246
+ * @deprecated Deprecated since Solana v1.17.20.
3247
+ */
3245
3248
  const BPF_LOADER_PROGRAM_ID = new PublicKey('BPFLoader2111111111111111111111111111111111');
3246
3249
 
3247
3250
  /**
3248
3251
  * Factory class for transactions to interact with a program loader
3252
+ *
3253
+ * @deprecated Deprecated since Solana v1.17.20.
3249
3254
  */
3250
3255
  class BpfLoader {
3251
3256
  /**
@@ -4910,7 +4915,7 @@ function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disable
4910
4915
  if (too_many_requests_retries === 0) {
4911
4916
  break;
4912
4917
  }
4913
- console.log(`Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`);
4918
+ console.error(`Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`);
4914
4919
  await sleep(waitTime);
4915
4920
  waitTime *= 2;
4916
4921
  }