@gearbox-protocol/sdk 9.12.2 → 9.12.3
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.
|
@@ -23,7 +23,6 @@ __export(RevolverTransport_exports, {
|
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(RevolverTransport_exports);
|
|
25
25
|
var import_viem = require("viem");
|
|
26
|
-
var import_rpc = require("../../node_modules/viem/errors/rpc");
|
|
27
26
|
var import_providers = require("./providers.js");
|
|
28
27
|
class NoAvailableTransportsError extends import_viem.BaseError {
|
|
29
28
|
constructor(cause) {
|
|
@@ -236,7 +235,7 @@ const retryCodes = /* @__PURE__ */ new Set([
|
|
|
236
235
|
import_viem.InvalidRequestRpcError.code,
|
|
237
236
|
import_viem.InvalidParamsRpcError.code,
|
|
238
237
|
import_viem.InvalidInputRpcError.code,
|
|
239
|
-
|
|
238
|
+
import_viem.ResourceNotFoundRpcError.code,
|
|
240
239
|
import_viem.ResourceUnavailableRpcError.code
|
|
241
240
|
]);
|
|
242
241
|
const defaultShouldRetry = ({
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
InvalidInputRpcError,
|
|
6
6
|
InvalidParamsRpcError,
|
|
7
7
|
InvalidRequestRpcError,
|
|
8
|
+
ResourceNotFoundRpcError,
|
|
8
9
|
ResourceUnavailableRpcError,
|
|
9
10
|
RpcError,
|
|
10
11
|
withRetry
|
|
11
12
|
} from "viem";
|
|
12
|
-
import { ResourceNotFoundRpcError } from "../../node_modules/viem/errors/rpc";
|
|
13
13
|
import {
|
|
14
14
|
getProviderUrl
|
|
15
15
|
} from "./providers.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "9.12.
|
|
3
|
+
"version": "9.12.3",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/cjs/sdk/index.js",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"date-fns": "^4.1.0",
|
|
63
63
|
"decimal.js-light": "^2.5.1",
|
|
64
64
|
"viem": ">=2.23.15 <3.0.0",
|
|
65
|
-
"zod": "^4.1.
|
|
65
|
+
"zod": "^4.1.12"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@biomejs/biome": "^2.2.
|
|
68
|
+
"@biomejs/biome": "^2.2.5",
|
|
69
69
|
"@commitlint/cli": "^20.1.0",
|
|
70
70
|
"@commitlint/config-conventional": "^20.0.0",
|
|
71
|
-
"@gearbox-protocol/biome-config": "^1.0.
|
|
71
|
+
"@gearbox-protocol/biome-config": "^1.0.4",
|
|
72
72
|
"@types/cross-spawn": "^6.0.6",
|
|
73
73
|
"axios": "^1.12.2",
|
|
74
74
|
"cross-spawn": "^7.0.6",
|