@gearbox-protocol/sdk 14.8.1 → 14.8.4
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/README.md
CHANGED
|
@@ -61,7 +61,9 @@ const TRANSIENT_PATTERNS = [
|
|
|
61
61
|
// sometimes happens on DRPC: "GRPC Context cancellation"
|
|
62
62
|
/context cancel/i,
|
|
63
63
|
// DRPC error: Can't route your request to suitable provider, if you specified certain providers revise the list
|
|
64
|
-
/suitable provider/i
|
|
64
|
+
/suitable provider/i,
|
|
65
|
+
// DRPC error: Temporary internal error. Please retry, trace-id: xxx
|
|
66
|
+
/temporary internal error/i
|
|
65
67
|
];
|
|
66
68
|
function isTransientError(e) {
|
|
67
69
|
if (e instanceof import_viem.BaseError) {
|
|
@@ -38,7 +38,9 @@ const TRANSIENT_PATTERNS = [
|
|
|
38
38
|
// sometimes happens on DRPC: "GRPC Context cancellation"
|
|
39
39
|
/context cancel/i,
|
|
40
40
|
// DRPC error: Can't route your request to suitable provider, if you specified certain providers revise the list
|
|
41
|
-
/suitable provider/i
|
|
41
|
+
/suitable provider/i,
|
|
42
|
+
// DRPC error: Temporary internal error. Please retry, trace-id: xxx
|
|
43
|
+
/temporary internal error/i
|
|
42
44
|
];
|
|
43
45
|
function isTransientError(e) {
|
|
44
46
|
if (e instanceof BaseError) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "14.8.
|
|
3
|
+
"version": "14.8.4",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/Gearbox-protocol/sdk.git"
|
|
9
|
+
},
|
|
6
10
|
"main": "./dist/cjs/sdk/index.js",
|
|
7
11
|
"module": "./dist/esm/sdk/index.js",
|
|
8
12
|
"types": "./dist/types/sdk/index.d.ts",
|