@ssv-labs/ssv-sdk 0.1.0 → 0.1.1

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.
@@ -4,10 +4,15 @@ export declare const configArgsSchema: z.ZodType<ConfigArgs>;
4
4
  export type ConfigArgs = {
5
5
  walletClient: WalletClient;
6
6
  publicClient: PublicClient;
7
- _?: {
8
- graphUrl?: string;
9
- restUrl?: string;
10
- contractAddresses?: {
7
+ extendedConfig?: {
8
+ subgraph?: {
9
+ endpoint?: string;
10
+ apiKey?: string;
11
+ };
12
+ rest?: {
13
+ endpoint?: string;
14
+ };
15
+ contracts?: {
11
16
  setter?: Address;
12
17
  getter?: Address;
13
18
  token?: Address;
package/dist/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const globals = require("./globals-iY-Y-uDY.js");
3
+ const globals = require("./globals-CkyOvtF5.js");
4
4
  const waitForTransaction = async (config, fn) => {
5
5
  const hash = await fn;
6
6
  return config.publicClient.waitForTransactionReceipt({ hash });
package/dist/utils.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { o, K, n, _, l, e, d, x, b, a, c, f, G, g, k, E, t, p, y, A, z, j, D, i, h, m, B, u, w, r, C, s, F, v, q } from "./globals-BZbDG7rK.mjs";
1
+ import { o, K, n, _, l, e, d, x, b, a, c, f, G, g, k, E, t, p, y, A, z, j, D, i, h, m, B, u, w, r, C, s, F, v, q } from "./globals-DlonCtsi.mjs";
2
2
  const waitForTransaction = async (config, fn) => {
3
3
  const hash = await fn;
4
4
  return config.publicClient.waitForTransactionReceipt({ hash });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssv-labs/ssv-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "author": "SSV.Labs",
5
5
  "description": "ssv labs sdk",
6
6
  "keywords": [
@@ -55,64 +55,64 @@
55
55
  ]
56
56
  },
57
57
  "devDependencies": {
58
- "@0no-co/graphqlsp": "^1.12.16",
59
- "@chainsafe/bls-keystore": "^3.1.0",
60
- "@commitlint/cli": "^19.2.2",
61
- "@commitlint/config-conventional": "^19.2.2",
62
- "@graphql-codegen/cli": "^5.0.3",
63
- "@graphql-codegen/schema-ast": "^4.1.0",
64
- "@graphql-codegen/typed-document-node": "^5.0.10",
65
- "@graphql-codegen/typescript": "^4.1.0",
66
- "@graphql-codegen/typescript-graphql-request": "^6.2.0",
67
- "@graphql-codegen/typescript-operations": "^4.3.0",
68
- "@nomicfoundation/hardhat-toolbox": "^5.0.0",
69
- "@nomicfoundation/hardhat-viem": "^2.0.6",
70
- "@openzeppelin/contracts": "^4.9.6",
71
- "@openzeppelin/contracts-upgradeable": "^4.9.6",
72
- "@openzeppelin/hardhat-upgrades": "^3.9.1",
73
- "@parcel/watcher": "^2.4.1",
74
- "@release-it/conventional-changelog": "^8.0.1",
75
- "@rollup/plugin-alias": "^5.1.1",
76
- "@rollup/plugin-commonjs": "^28.0.1",
77
- "@rollup/plugin-json": "^6.1.0",
78
- "@rollup/plugin-node-resolve": "^15.2.3",
79
- "@rollup/plugin-terser": "^0.4.4",
80
- "@rollup/plugin-typescript": "^11.1.6",
81
- "@rollup/rollup-darwin-x64": "^4.30.1",
82
- "@types/eslint-plugin-prettier": "^3.1.3",
83
- "@types/lodash-es": "^4.17.12",
84
- "@types/node": "^20.12.7",
85
- "@types/node-forge": "^1.3.11",
86
- "@types/semver": "^7.7.0",
87
- "@typescript-eslint/eslint-plugin": "^7.7.0",
88
- "@typescript-eslint/parser": "^7.7.0",
89
- "@vitest/coverage-v8": "^1.5.0",
90
- "@vitest/ui": "^1.5.0",
91
- "commitizen": "^4.3.0",
92
- "concurrently": "^9.0.1",
93
- "cz-git": "^1.9.1",
94
- "eslint": "^8.57.0",
95
- "eslint-config-prettier": "^9.1.0",
96
- "eslint-plugin-prettier": "^5.1.3",
97
- "eslint-plugin-unused-imports": "^4.1.4",
98
- "hardhat": "^2.25.0",
99
- "husky": "^9.0.11",
100
- "lint-staged": "^15.2.2",
101
- "prettier": "^3.2.5",
102
- "release-it": "^17.2.0",
103
- "rollup": "^4.14.3",
104
- "rollup-plugin-delete": "^2.0.0",
105
- "rollup-plugin-dts": "^6.1.1",
106
- "rollup-plugin-tsconfig-paths": "^1.5.2",
107
- "rollup-plugin-typescript2": "^0.36.0",
108
- "semantic-release": "^23.0.8",
109
- "semver": "^7.6.3",
110
- "typescript": "^5.4.5",
111
- "vite": "^5.4.10",
112
- "vite-plugin-dts": "^4.3.0",
113
- "vite-plugin-glob": "^0.3.2",
114
- "vite-plugin-node-polyfills": "^0.22.0",
115
- "vitest": "^1.5.0"
58
+ "@0no-co/graphqlsp": "1.13.0",
59
+ "@chainsafe/bls-keystore": "3.1.0",
60
+ "@commitlint/cli": "19.8.1",
61
+ "@commitlint/config-conventional": "19.8.1",
62
+ "@graphql-codegen/cli": "5.0.7",
63
+ "@graphql-codegen/schema-ast": "4.1.0",
64
+ "@graphql-codegen/typed-document-node": "5.1.2",
65
+ "@graphql-codegen/typescript": "4.1.6",
66
+ "@graphql-codegen/typescript-graphql-request": "6.3.0",
67
+ "@graphql-codegen/typescript-operations": "4.6.1",
68
+ "@nomicfoundation/hardhat-toolbox": "5.0.0",
69
+ "@nomicfoundation/hardhat-viem": "2.0.6",
70
+ "@openzeppelin/contracts": "4.9.6",
71
+ "@openzeppelin/contracts-upgradeable": "4.9.6",
72
+ "@openzeppelin/hardhat-upgrades": "3.9.1",
73
+ "@parcel/watcher": "2.5.1",
74
+ "@release-it/conventional-changelog": "8.0.2",
75
+ "@rollup/plugin-alias": "5.1.1",
76
+ "@rollup/plugin-commonjs": "28.0.6",
77
+ "@rollup/plugin-json": "6.1.0",
78
+ "@rollup/plugin-node-resolve": "15.3.1",
79
+ "@rollup/plugin-terser": "0.4.4",
80
+ "@rollup/plugin-typescript": "11.1.6",
81
+ "@rollup/rollup-darwin-x64": "4.44.2",
82
+ "@types/eslint-plugin-prettier": "3.1.3",
83
+ "@types/lodash-es": "4.17.12",
84
+ "@types/node": "20.19.4",
85
+ "@types/node-forge": "1.3.12",
86
+ "@types/semver": "7.7.0",
87
+ "@typescript-eslint/eslint-plugin": "7.18.0",
88
+ "@typescript-eslint/parser": "7.18.0",
89
+ "@vitest/coverage-v8": "1.6.1",
90
+ "@vitest/ui": "1.6.1",
91
+ "commitizen": "4.3.1",
92
+ "concurrently": "9.2.0",
93
+ "cz-git": "1.11.2",
94
+ "eslint": "8.57.1",
95
+ "eslint-config-prettier": "9.1.0",
96
+ "eslint-plugin-prettier": "5.5.1",
97
+ "eslint-plugin-unused-imports": "4.1.4",
98
+ "hardhat": "2.25.0",
99
+ "husky": "9.1.7",
100
+ "lint-staged": "15.5.2",
101
+ "prettier": "3.6.2",
102
+ "release-it": "17.11.0",
103
+ "rollup": "4.44.2",
104
+ "rollup-plugin-delete": "2.2.0",
105
+ "rollup-plugin-dts": "6.2.1",
106
+ "rollup-plugin-tsconfig-paths": "1.5.2",
107
+ "rollup-plugin-typescript2": "0.36.0",
108
+ "semantic-release": "23.1.1",
109
+ "semver": "7.7.2",
110
+ "typescript": "5.8.3",
111
+ "vite": "5.4.19",
112
+ "vite-plugin-dts": "4.5.4",
113
+ "vite-plugin-glob": "0.3.2",
114
+ "vite-plugin-node-polyfills": "0.22.0",
115
+ "vitest": "1.6.1"
116
116
  },
117
117
  "config": {
118
118
  "commitizen": {