@1delta/providers 0.0.46 → 0.0.47
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
- package/src/multicall/multicall.ts +3 -1
- package/src/rpc/rpcOverrides.ts +1 -0
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
|
],
|
|
@@ -25259,7 +25260,7 @@ function getEvmClientWithCustomRpcsUniversal({
|
|
|
25259
25260
|
// src/multicall/multicall.ts
|
|
25260
25261
|
function isTransportError(e) {
|
|
25261
25262
|
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");
|
|
25263
|
+
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
25264
|
}
|
|
25264
25265
|
function isContractRevert(e) {
|
|
25265
25266
|
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
|
],
|
|
@@ -11499,7 +11500,7 @@ function getEvmClientWithCustomRpcsUniversal({
|
|
|
11499
11500
|
// src/multicall/multicall.ts
|
|
11500
11501
|
function isTransportError(e) {
|
|
11501
11502
|
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");
|
|
11503
|
+
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
11504
|
}
|
|
11504
11505
|
function isContractRevert(e) {
|
|
11505
11506
|
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.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"vitest": "^4.0.18",
|
|
21
|
-
"@1delta/
|
|
22
|
-
"@1delta/
|
|
21
|
+
"@1delta/chain-registry": "0.0.4",
|
|
22
|
+
"@1delta/data-sdk": "0.0.17"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"tsup": "^8.5.1",
|
|
@@ -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
|
|
package/src/rpc/rpcOverrides.ts
CHANGED
|
@@ -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
|
],
|