@1delta/providers 0.0.46 → 0.0.48

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.js CHANGED
@@ -25111,6 +25111,7 @@ var LIST_OVERRIDES = {
25111
25111
  "https://sei.drpc.org",
25112
25112
  "https://sei-evm-rpc.stakeme.pro",
25113
25113
  "https://sei-public.nodies.app",
25114
+ "https://sei.api.pocket.network",
25114
25115
  "wss://sei.drpc.org",
25115
25116
  "wss://evm-ws.sei-apis.com"
25116
25117
  ],
@@ -25121,6 +25122,25 @@ var LIST_OVERRIDES = {
25121
25122
  "https://rpc2.monad.xyz",
25122
25123
  "https://rpc3.monad.xyz",
25123
25124
  "https://rpc4.monad.xyz"
25125
+ ],
25126
+ [import_chain_registry2.Chain.HYPEREVM]: [
25127
+ "https://rpc.hypurrscan.io",
25128
+ "https://rpc.countzero.xyz/evm",
25129
+ "https://hyperliquid-json-rpc.stakely.io",
25130
+ "https://hyperliquid.drpc.org",
25131
+ "https://hyperliquid.rpc.blxrbdn.com",
25132
+ "https://hyperliquid.api.onfinality.io/evm/public",
25133
+ "https://rpc.hyperlend.finance",
25134
+ "https://rpc.hyperliquid.xyz/evm"
25135
+ ],
25136
+ [import_chain_registry2.Chain.UNICHAIN]: [
25137
+ "https://mainnet.unichain.org",
25138
+ "https://rpc.sentio.xyz/unichain-mainnet",
25139
+ "https://unichain-mainnet.gateway.tatum.io",
25140
+ "https://unichain-rpc.publicnode.com",
25141
+ "https://unichain.drpc.org",
25142
+ "https://unichain.api.onfinality.io/public",
25143
+ "https://rpc.poolz.finance/unichain"
25124
25144
  ]
25125
25145
  };
25126
25146
 
@@ -25259,7 +25279,7 @@ function getEvmClientWithCustomRpcsUniversal({
25259
25279
  // src/multicall/multicall.ts
25260
25280
  function isTransportError(e) {
25261
25281
  const msg = e instanceof Error ? (e.message ?? "") + (e.details ?? "") : "";
25262
- return msg.includes("is not a constructor") || msg.includes("Dynamic require") || msg.includes("is not supported");
25282
+ return msg.includes("is not a constructor") || msg.includes("Dynamic require") || msg.includes("is not supported") || msg.includes("wrong json-rpc response") || msg.includes("there is neither result nor error");
25263
25283
  }
25264
25284
  function isContractRevert(e) {
25265
25285
  if (!(e instanceof BaseError2)) return false;
package/dist/index.mjs CHANGED
@@ -11351,6 +11351,7 @@ var LIST_OVERRIDES = {
11351
11351
  "https://sei.drpc.org",
11352
11352
  "https://sei-evm-rpc.stakeme.pro",
11353
11353
  "https://sei-public.nodies.app",
11354
+ "https://sei.api.pocket.network",
11354
11355
  "wss://sei.drpc.org",
11355
11356
  "wss://evm-ws.sei-apis.com"
11356
11357
  ],
@@ -11361,6 +11362,25 @@ var LIST_OVERRIDES = {
11361
11362
  "https://rpc2.monad.xyz",
11362
11363
  "https://rpc3.monad.xyz",
11363
11364
  "https://rpc4.monad.xyz"
11365
+ ],
11366
+ [Chain2.HYPEREVM]: [
11367
+ "https://rpc.hypurrscan.io",
11368
+ "https://rpc.countzero.xyz/evm",
11369
+ "https://hyperliquid-json-rpc.stakely.io",
11370
+ "https://hyperliquid.drpc.org",
11371
+ "https://hyperliquid.rpc.blxrbdn.com",
11372
+ "https://hyperliquid.api.onfinality.io/evm/public",
11373
+ "https://rpc.hyperlend.finance",
11374
+ "https://rpc.hyperliquid.xyz/evm"
11375
+ ],
11376
+ [Chain2.UNICHAIN]: [
11377
+ "https://mainnet.unichain.org",
11378
+ "https://rpc.sentio.xyz/unichain-mainnet",
11379
+ "https://unichain-mainnet.gateway.tatum.io",
11380
+ "https://unichain-rpc.publicnode.com",
11381
+ "https://unichain.drpc.org",
11382
+ "https://unichain.api.onfinality.io/public",
11383
+ "https://rpc.poolz.finance/unichain"
11364
11384
  ]
11365
11385
  };
11366
11386
 
@@ -11499,7 +11519,7 @@ function getEvmClientWithCustomRpcsUniversal({
11499
11519
  // src/multicall/multicall.ts
11500
11520
  function isTransportError(e) {
11501
11521
  const msg = e instanceof Error ? (e.message ?? "") + (e.details ?? "") : "";
11502
- return msg.includes("is not a constructor") || msg.includes("Dynamic require") || msg.includes("is not supported");
11522
+ return msg.includes("is not a constructor") || msg.includes("Dynamic require") || msg.includes("is not supported") || msg.includes("wrong json-rpc response") || msg.includes("there is neither result nor error");
11503
11523
  }
11504
11524
  function isContractRevert(e) {
11505
11525
  if (!(e instanceof BaseError)) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1delta/providers",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14,7 +14,9 @@ function isTransportError(e: unknown): boolean {
14
14
  return (
15
15
  msg.includes('is not a constructor') ||
16
16
  msg.includes('Dynamic require') ||
17
- msg.includes('is not supported')
17
+ msg.includes('is not supported') ||
18
+ msg.includes('wrong json-rpc response') ||
19
+ msg.includes('there is neither result nor error')
18
20
  )
19
21
  }
20
22
 
@@ -240,6 +240,7 @@ export const LIST_OVERRIDES: Record<string, string[]> = {
240
240
  'https://sei.drpc.org',
241
241
  'https://sei-evm-rpc.stakeme.pro',
242
242
  'https://sei-public.nodies.app',
243
+ 'https://sei.api.pocket.network',
243
244
  'wss://sei.drpc.org',
244
245
  'wss://evm-ws.sei-apis.com',
245
246
  ],
@@ -251,4 +252,23 @@ export const LIST_OVERRIDES: Record<string, string[]> = {
251
252
  'https://rpc3.monad.xyz',
252
253
  'https://rpc4.monad.xyz',
253
254
  ],
255
+ [Chain.HYPEREVM]: [
256
+ 'https://rpc.hypurrscan.io',
257
+ 'https://rpc.countzero.xyz/evm',
258
+ 'https://hyperliquid-json-rpc.stakely.io',
259
+ 'https://hyperliquid.drpc.org',
260
+ 'https://hyperliquid.rpc.blxrbdn.com',
261
+ 'https://hyperliquid.api.onfinality.io/evm/public',
262
+ 'https://rpc.hyperlend.finance',
263
+ 'https://rpc.hyperliquid.xyz/evm',
264
+ ],
265
+ [Chain.UNICHAIN]: [
266
+ 'https://mainnet.unichain.org',
267
+ 'https://rpc.sentio.xyz/unichain-mainnet',
268
+ 'https://unichain-mainnet.gateway.tatum.io',
269
+ 'https://unichain-rpc.publicnode.com',
270
+ 'https://unichain.drpc.org',
271
+ 'https://unichain.api.onfinality.io/public',
272
+ 'https://rpc.poolz.finance/unichain',
273
+ ],
254
274
  }