@medialane/sdk 0.48.0 → 0.48.1

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/dist/index.d.cts CHANGED
@@ -9225,9 +9225,12 @@ declare function encodeByteArray(str: string): string[];
9225
9225
  */
9226
9226
  /**
9227
9227
  * Ordered public Starknet **mainnet** RPC endpoints (no API key required),
9228
- * used as fallbacks after an app's configured primary (e.g. Alchemy) returns a
9229
- * transient error. lava.build first — RPC spec 0.8.1, permissive CORS — so it
9230
- * is safe for browser `baseFetch` use as well as server-side rotation.
9228
+ * used as fallback after an app's configured primary (e.g. Alchemy) returns a
9229
+ * transient error. lava.build — RPC spec 0.8.1, permissive CORS — so it is
9230
+ * safe for browser `baseFetch` use as well as server-side rotation.
9231
+ *
9232
+ * blastapi.io and free-rpc.nethermind.io were removed (2026-07-04) — long
9233
+ * confirmed dead/unreliable in production; do not re-add them.
9231
9234
  */
9232
9235
  declare const PUBLIC_RPC_FALLBACKS: readonly string[];
9233
9236
  /**
package/dist/index.d.ts CHANGED
@@ -9225,9 +9225,12 @@ declare function encodeByteArray(str: string): string[];
9225
9225
  */
9226
9226
  /**
9227
9227
  * Ordered public Starknet **mainnet** RPC endpoints (no API key required),
9228
- * used as fallbacks after an app's configured primary (e.g. Alchemy) returns a
9229
- * transient error. lava.build first — RPC spec 0.8.1, permissive CORS — so it
9230
- * is safe for browser `baseFetch` use as well as server-side rotation.
9228
+ * used as fallback after an app's configured primary (e.g. Alchemy) returns a
9229
+ * transient error. lava.build — RPC spec 0.8.1, permissive CORS — so it is
9230
+ * safe for browser `baseFetch` use as well as server-side rotation.
9231
+ *
9232
+ * blastapi.io and free-rpc.nethermind.io were removed (2026-07-04) — long
9233
+ * confirmed dead/unreliable in production; do not re-add them.
9231
9234
  */
9232
9235
  declare const PUBLIC_RPC_FALLBACKS: readonly string[];
9233
9236
  /**
package/dist/index.js CHANGED
@@ -8656,9 +8656,7 @@ var MedialaneError = class extends Error {
8656
8656
 
8657
8657
  // src/utils/rpc.ts
8658
8658
  var PUBLIC_RPC_FALLBACKS = [
8659
- "https://rpc.starknet.lava.build",
8660
- "https://starknet-mainnet.public.blastapi.io/rpc/v0_7",
8661
- "https://free-rpc.nethermind.io/mainnet-juno/v0_7"
8659
+ "https://rpc.starknet.lava.build"
8662
8660
  ];
8663
8661
  var TRANSIENT_BODY_RE = /"code"\s*:\s*-32001|"code"\s*:\s*-32603|unable to complete|rate.?limit|too many|throttl|exceed.*quota|temporarily unavailable|service unavailable|overload|gateway.*time|upstream.*time|backend.*error/i;
8664
8662
  function isTransientRpcError(input) {