@gearbox-protocol/sdk 9.1.1 → 9.1.2
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.
|
@@ -24,6 +24,7 @@ __export(RedstoneUpdater_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(RedstoneUpdater_exports);
|
|
25
25
|
var import_evm_connector = require("@redstone-finance/evm-connector");
|
|
26
26
|
var import_protocol = require("@redstone-finance/protocol");
|
|
27
|
+
var import_sdk = require("@redstone-finance/sdk");
|
|
27
28
|
var import_viem = require("viem");
|
|
28
29
|
var import_v4 = require("zod/v4");
|
|
29
30
|
var import_base = require("../../../base/index.js");
|
|
@@ -213,6 +214,9 @@ class RedstoneUpdater extends import_base.SDKConstruct {
|
|
|
213
214
|
dataServiceId,
|
|
214
215
|
dataPackagesIds,
|
|
215
216
|
uniqueSignersCount,
|
|
217
|
+
authorizedSigners: (0, import_sdk.getSignersForDataServiceId)(
|
|
218
|
+
dataServiceId
|
|
219
|
+
),
|
|
216
220
|
historicalTimestamp: this.#historicalTimestampMs,
|
|
217
221
|
urls: this.#gateways,
|
|
218
222
|
ignoreMissingFeed: this.#ignoreMissingFeeds,
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { DataServiceWrapper } from "@redstone-finance/evm-connector";
|
|
2
2
|
import { RedstonePayload } from "@redstone-finance/protocol";
|
|
3
|
+
import {
|
|
4
|
+
getSignersForDataServiceId
|
|
5
|
+
} from "@redstone-finance/sdk";
|
|
3
6
|
import { encodeAbiParameters, toBytes } from "viem";
|
|
4
7
|
import { z } from "zod/v4";
|
|
5
8
|
import { SDKConstruct } from "../../../base/index.js";
|
|
@@ -189,6 +192,9 @@ class RedstoneUpdater extends SDKConstruct {
|
|
|
189
192
|
dataServiceId,
|
|
190
193
|
dataPackagesIds,
|
|
191
194
|
uniqueSignersCount,
|
|
195
|
+
authorizedSigners: getSignersForDataServiceId(
|
|
196
|
+
dataServiceId
|
|
197
|
+
),
|
|
192
198
|
historicalTimestamp: this.#historicalTimestampMs,
|
|
193
199
|
urls: this.#gateways,
|
|
194
200
|
ignoreMissingFeed: this.#ignoreMissingFeeds,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/cjs/sdk/index.js",
|
|
@@ -51,8 +51,9 @@
|
|
|
51
51
|
"typecheck:ci": "tsc --noEmit"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@redstone-finance/evm-connector": "^0.
|
|
55
|
-
"@redstone-finance/protocol": "^0.
|
|
54
|
+
"@redstone-finance/evm-connector": "^0.9.0",
|
|
55
|
+
"@redstone-finance/protocol": "^0.9.0",
|
|
56
|
+
"@redstone-finance/sdk": "^0.9.0",
|
|
56
57
|
"@types/bn.js": "^5.2.0",
|
|
57
58
|
"abitype": "^1.1.0",
|
|
58
59
|
"bn.js": "^5.2.2",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"date-fns": "^4.1.0",
|
|
61
62
|
"decimal.js-light": "^2.5.1",
|
|
62
63
|
"viem": ">=2.23.15 <3.0.0",
|
|
63
|
-
"zod": "^4.1.
|
|
64
|
+
"zod": "^4.1.9"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
67
|
"@biomejs/biome": "^2.2.4",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"@commitlint/config-conventional": "^19.8.1",
|
|
69
70
|
"@gearbox-protocol/biome-config": "^1.0.2",
|
|
70
71
|
"@types/cross-spawn": "^6.0.6",
|
|
71
|
-
"axios": "^1.12.
|
|
72
|
+
"axios": "^1.12.2",
|
|
72
73
|
"cross-spawn": "^7.0.6",
|
|
73
74
|
"husky": "^9.1.7",
|
|
74
75
|
"lint-staged": "^16.1.6",
|