@solana/kit 4.0.0 → 5.0.0-canary-20251023185005

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.
@@ -645,7 +645,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
645
645
  return err;
646
646
  }
647
647
  var ORDERED_ERROR_NAMES = [
648
- // Keep synced with RPC source: https://github.com/anza-xyz/agave/blob/master/sdk/program/src/instruction.rs
648
+ // Keep synced with RPC source: https://github.com/anza-xyz/solana-sdk/blob/master/instruction-error/src/lib.rs
649
649
  // If this list ever gets too large, consider implementing a compression strategy like this:
650
650
  // https://gist.github.com/steveluscher/aaa7cbbb5433b1197983908a40860c47
651
651
  "GenericError",
@@ -720,11 +720,6 @@ this.globalThis.solanaWeb3 = (function (exports) {
720
720
  code: Number(rpcErrorContext),
721
721
  index: numberIndex
722
722
  };
723
- } else if (errorCode === SOLANA_ERROR__INSTRUCTION_ERROR__BORSH_IO_ERROR) {
724
- return {
725
- encodedData: rpcErrorContext,
726
- index: numberIndex
727
- };
728
723
  }
729
724
  return { index: numberIndex };
730
725
  },
@@ -6210,7 +6205,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
6210
6205
  ...config.headers ? normalizeHeaders2(config.headers) : void 0,
6211
6206
  ...{
6212
6207
  // Keep these headers lowercase so they will override any user-supplied headers above.
6213
- "solana-client": `js/${"4.0.0"}`
6208
+ "solana-client": `js/${"5.0.0-canary-20251023185005"}`
6214
6209
  }
6215
6210
  }
6216
6211
  }),