@ssv-labs/ssv-sdk 0.0.7 → 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.
Files changed (84) hide show
  1. package/dist/KeyShares-7biQfDev.js +19422 -0
  2. package/dist/KeyShares-DEqBZits.mjs +19423 -0
  3. package/dist/api/subgraph/index.d.ts +15 -54
  4. package/dist/config/chains.d.ts +17 -51
  5. package/dist/config/create.d.ts +7 -3
  6. package/dist/globals-CkyOvtF5.js +450 -0
  7. package/dist/globals-DlonCtsi.mjs +451 -0
  8. package/dist/graphql/graphql.d.ts +10 -33
  9. package/dist/keys.js +9 -0
  10. package/dist/keys.mjs +9 -0
  11. package/dist/libs/api/index.d.ts +9 -69
  12. package/dist/libs/cluster/index.d.ts +11 -5638
  13. package/dist/libs/cluster/methods/deposit.d.ts +1 -1
  14. package/dist/libs/cluster/methods/exit-validators.d.ts +1 -1
  15. package/dist/libs/cluster/methods/liquidate-cluster.d.ts +1 -1
  16. package/dist/libs/cluster/methods/reactivate-cluster.d.ts +1 -1
  17. package/dist/libs/cluster/methods/register-validators.d.ts +3 -2
  18. package/dist/libs/cluster/methods/remove-validators.d.ts +1 -1
  19. package/dist/libs/cluster/methods/set-fee-recipient.d.ts +1 -1
  20. package/dist/libs/cluster/methods/withdraw.d.ts +1 -1
  21. package/dist/libs/operator/index.d.ts +94 -911
  22. package/dist/libs/operator/methods.d.ts +3 -3
  23. package/dist/libs/ssv-keys/BLS/index.d.ts +2 -0
  24. package/dist/libs/ssv-keys/Encryption/Encryption.d.ts +7 -0
  25. package/dist/libs/ssv-keys/Encryption/__test__/RsaKeys.d.ts +3 -0
  26. package/dist/libs/ssv-keys/Encryption/utils.d.ts +55 -0
  27. package/dist/libs/ssv-keys/EthereumKeyStore/EthereumKeyStore.d.ts +23 -0
  28. package/dist/libs/ssv-keys/EthereumKeyStore/index.d.ts +1 -0
  29. package/dist/libs/ssv-keys/KeyShares/KeyShares.d.ts +32 -0
  30. package/dist/libs/ssv-keys/KeyShares/KeySharesData/KeySharesData.d.ts +21 -0
  31. package/dist/libs/ssv-keys/KeyShares/KeySharesData/KeySharesPayload.d.ts +32 -0
  32. package/dist/libs/ssv-keys/KeyShares/KeySharesData/OperatorData.d.ts +10 -0
  33. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/encrypted-key.d.ts +6 -0
  34. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/index.d.ts +6 -0
  35. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/match.d.ts +6 -0
  36. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/operator-public-key.d.ts +6 -0
  37. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/operator-unique.d.ts +6 -0
  38. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/owner-address.d.ts +6 -0
  39. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/owner-nonce.d.ts +6 -0
  40. package/dist/libs/ssv-keys/KeyShares/KeySharesData/validators/public-key.d.ts +6 -0
  41. package/dist/libs/ssv-keys/KeyShares/KeySharesItem.d.ts +60 -0
  42. package/dist/libs/ssv-keys/SSVKeys.d.ts +66 -0
  43. package/dist/libs/ssv-keys/Threshold/Threshold.d.ts +28 -0
  44. package/dist/libs/ssv-keys/Threshold/__test__/helper/share_signatures.d.ts +7 -0
  45. package/dist/libs/ssv-keys/Threshold/index.d.ts +1 -0
  46. package/dist/libs/ssv-keys/exceptions/base.d.ts +4 -0
  47. package/dist/libs/ssv-keys/exceptions/bls.d.ts +9 -0
  48. package/dist/libs/ssv-keys/exceptions/index.d.ts +2 -0
  49. package/dist/libs/ssv-keys/exceptions/keyshares.d.ts +5 -0
  50. package/dist/libs/ssv-keys/exceptions/keystore.d.ts +27 -0
  51. package/dist/libs/ssv-keys/exceptions/operator.d.ts +22 -0
  52. package/dist/libs/ssv-keys/helpers/operator.helper.d.ts +7 -0
  53. package/dist/libs/ssv-keys/helpers/web3.helper.d.ts +36 -0
  54. package/dist/libs/ssv-keys/index.d.ts +4 -0
  55. package/dist/libs/ssv-keys/interfaces/IEncryptShare.d.ts +5 -0
  56. package/dist/libs/ssv-keys/interfaces/IKeySharesData.d.ts +18 -0
  57. package/dist/libs/ssv-keys/interfaces/IKeySharesPayload.d.ts +13 -0
  58. package/dist/libs/ssv-keys/interfaces/IOperator.d.ts +4 -0
  59. package/dist/libs/ssv-keys/interfaces/IOperatorData.d.ts +5 -0
  60. package/dist/libs/ssv-keys/interfaces/IShares.d.ts +10 -0
  61. package/dist/libs/ssv-keys/interfaces/index.d.ts +6 -0
  62. package/dist/libs/ssv-keys/validators/index.d.ts +2 -0
  63. package/dist/libs/ssv-keys/validators/operatorPublicKey.validator.d.ts +1 -0
  64. package/dist/libs/ssv-keys/validators/operatorsLength.validator.d.ts +1 -0
  65. package/dist/libs/utils/index.d.ts +8 -18
  66. package/dist/libs/utils/methods/keyshares.d.ts +5 -2
  67. package/dist/libs/utils/methods/keystores.d.ts +2 -2
  68. package/dist/main.d.ts +1 -0
  69. package/dist/main.js +3976 -35215
  70. package/dist/main.mjs +3977 -35215
  71. package/dist/mock/api.d.ts +1 -1
  72. package/dist/types/contract-interactions.d.ts +2 -2
  73. package/dist/utils/cluster.d.ts +1 -1
  74. package/dist/utils/contract.d.ts +2 -1
  75. package/dist/utils/keyshares.d.ts +2 -2
  76. package/dist/utils/number.d.ts +1 -1
  77. package/dist/utils/zod/config.d.ts +10 -5
  78. package/dist/utils.js +1 -1
  79. package/dist/utils.mjs +34 -34
  80. package/package.json +76 -61
  81. package/dist/abi/holesky/v4/getter.d.ts +0 -824
  82. package/dist/abi/holesky/v4/setter.d.ts +0 -1662
  83. package/dist/globals-BHuFvs8-.mjs +0 -5511
  84. package/dist/globals-DCoa7oI7.js +0 -5509
@@ -1,3 +1,3 @@
1
1
  import { ConfigReturnType } from '../config';
2
2
  import { PublicClient } from 'viem';
3
- export declare const createMockApi: (publicClient: PublicClient) => ConfigReturnType['api'];
3
+ export declare const createMockApi: (publicClient: PublicClient) => ConfigReturnType["api"];
@@ -1,4 +1,4 @@
1
- import { AbiType, AbiTypeToPrimitiveType, ExtractAbiFunction } from 'abitype';
1
+ import { AbiParametersToPrimitiveTypes, AbiType, AbiTypeToPrimitiveType, ExtractAbiFunction } from 'abitype';
2
2
  import { AbiFunction, AbiParameter, AbiParameterToPrimitiveType, DecodeEventLogReturnType } from 'viem';
3
3
  import { MainnetV4SetterABI } from '../abi/mainnet/v4/setter';
4
4
  import { TokenABI } from '../abi/token';
@@ -17,5 +17,5 @@ export type AbiInputsToParams<T extends readonly AbiParameter[]> = {
17
17
  export declare const paramsToArray: <Fn extends AbiFunction, Params extends Record<string, AbiTypeToPrimitiveType<AbiType>>>({ params, abiFunction, }: {
18
18
  params: Params;
19
19
  abiFunction: Fn;
20
- }) => (Fn["inputs"] extends infer T_2 extends readonly AbiParameter[] ? { [key_1 in keyof T_2]: AbiParameterToPrimitiveType<Fn["inputs"][key_1], import('abitype').AbiParameterKind>; } : never) extends infer T ? { [key in keyof T]: (Fn["inputs"] extends infer T_1 extends readonly AbiParameter[] ? { [key_1 in keyof T_1]: AbiParameterToPrimitiveType<Fn["inputs"][key_1], import('abitype').AbiParameterKind>; } : never)[key]; } : never;
20
+ }) => AbiParametersToPrimitiveTypes<Fn["inputs"]>;
21
21
  export {};
@@ -3,6 +3,6 @@ import { ClusterSnapshot } from '../types/contract-interactions';
3
3
  import { Hex } from 'viem';
4
4
  export declare const createClusterId: (ownerAddress: string, operatorIds: number[]) => string;
5
5
  export declare const isClusterId: (clusterId: string) => boolean;
6
- export declare const getClusterSnapshot: (cluster: NonNullable<GetClusterQuery['cluster']>) => ClusterSnapshot;
6
+ export declare const getClusterSnapshot: (cluster: NonNullable<GetClusterQuery["cluster"]>) => ClusterSnapshot;
7
7
  export declare const createEmptyCluster: (cluster?: Partial<ClusterSnapshot>) => ClusterSnapshot;
8
8
  export declare const add0x: (value: string | Hex) => Hex;
@@ -1,3 +1,4 @@
1
1
  import { ConfigReturnType } from '../config/create';
2
+ import { Address } from 'abitype';
2
3
  import { TransactionReceipt } from 'viem';
3
- export declare const waitForTransaction: <T extends Promise<`0x${string}`>>(config: ConfigReturnType, fn: T) => Promise<TransactionReceipt>;
4
+ export declare const waitForTransaction: <T extends Promise<Address>>(config: ConfigReturnType, fn: T) => Promise<TransactionReceipt>;
@@ -1,5 +1,5 @@
1
+ import { KeySharesItem } from '../libs/ssv-keys/KeyShares/KeySharesItem';
1
2
  import { Operator } from '../types/operator';
2
- import { KeySharesItem } from 'ssv-keys';
3
3
  export declare const isKeySharesItem: (item: unknown) => item is KeySharesItem;
4
4
  export declare enum KeysharesValidationErrors {
5
5
  OperatorDoesNotExist = 0,
@@ -17,5 +17,5 @@ export declare class KeysharesValidationError extends Error {
17
17
  }
18
18
  export declare const validateConsistentOperatorIds: (keyshares: KeySharesItem[]) => number[];
19
19
  export declare const ensureValidatorsUniqueness: (keyshares: KeySharesItem[]) => boolean;
20
- export declare const validateConsistentOperatorPublicKeys: (keyshares: KeySharesItem[], operators: Pick<Operator, 'id' | 'publicKey'>[]) => true;
20
+ export declare const validateConsistentOperatorPublicKeys: (keyshares: KeySharesItem[], operators: Pick<Operator, "id" | "publicKey">[]) => true;
21
21
  export declare const ensureNoKeysharesErrors: (keyshares: KeySharesItem[]) => boolean;
@@ -17,5 +17,5 @@ declare const units: {
17
17
  readonly years: 31556952000;
18
18
  };
19
19
  export declare const ms: (value: number, unit: keyof typeof units) => number;
20
- export declare const sortNumbers: <T extends number | bigint>(numbers: T[]) => T[];
20
+ export declare const sortNumbers: <T extends bigint | number>(numbers: T[]) => T[];
21
21
  export {};
@@ -1,13 +1,18 @@
1
1
  import { Address, PublicClient, WalletClient } from 'viem';
2
2
  import { z } from 'zod';
3
- export declare const configArgsSchema: z.ZodType<ConfigArgs, z.ZodTypeDef, ConfigArgs>;
3
+ 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-DCoa7oI7.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,43 +1,43 @@
1
- import { K, F, V, _, T, O, N, Y, z, J, L, Q, k, v, w, d, A, B, Z, a0, $, o, a2, P, R, q, a1, W, X, x, E, s, t, D, C } from "./globals-BHuFvs8-.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 });
5
5
  };
6
6
  export {
7
- K as KeysharesValidationError,
8
- F as KeysharesValidationErrors,
9
- V as KeysharesValidationErrorsMessages,
7
+ o as KeysharesValidationError,
8
+ K as KeysharesValidationErrors,
9
+ n as KeysharesValidationErrorsMessages,
10
10
  _ as _percentageFormatter,
11
- T as add0x,
12
- O as bigintAbs,
13
- N as bigintFloor,
14
- Y as bigintFormatter,
15
- z as bigintMax,
16
- J as bigintMin,
17
- L as bigintRound,
18
- Q as bigintifyNumbers,
19
- k as configArgsSchema,
20
- v as createClusterId,
21
- w as createEmptyCluster,
22
- d as decodeOperatorPublicKey,
23
- A as ensureNoKeysharesErrors,
24
- B as ensureValidatorsUniqueness,
25
- Z as ethFormatter,
26
- a0 as formatBigintInput,
27
- $ as formatSSV,
28
- o as getClusterSnapshot,
29
- a2 as getOperatorIds,
30
- P as isBigIntChanged,
31
- R as isClusterId,
32
- q as isKeySharesItem,
33
- a1 as ms,
34
- W as numberFormatter,
35
- X as percentageFormatter,
36
- x as roundOperatorFee,
37
- E as sortNumbers,
11
+ l as add0x,
12
+ e as bigintAbs,
13
+ d as bigintFloor,
14
+ x as bigintFormatter,
15
+ b as bigintMax,
16
+ a as bigintMin,
17
+ c as bigintRound,
18
+ f as bigintifyNumbers,
19
+ G as configArgsSchema,
20
+ g as createClusterId,
21
+ k as createEmptyCluster,
22
+ E as decodeOperatorPublicKey,
23
+ t as ensureNoKeysharesErrors,
24
+ p as ensureValidatorsUniqueness,
25
+ y as ethFormatter,
26
+ A as formatBigintInput,
27
+ z as formatSSV,
28
+ j as getClusterSnapshot,
29
+ D as getOperatorIds,
30
+ i as isBigIntChanged,
31
+ h as isClusterId,
32
+ m as isKeySharesItem,
33
+ B as ms,
34
+ u as numberFormatter,
35
+ w as percentageFormatter,
36
+ r as roundOperatorFee,
37
+ C as sortNumbers,
38
38
  s as stringifyBigints,
39
- t as tryCatch,
40
- D as validateConsistentOperatorIds,
41
- C as validateConsistentOperatorPublicKeys,
39
+ F as tryCatch,
40
+ v as validateConsistentOperatorIds,
41
+ q as validateConsistentOperatorPublicKeys,
42
42
  waitForTransaction
43
43
  };
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@ssv-labs/ssv-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.1.1",
4
4
  "author": "SSV.Labs",
5
5
  "description": "ssv labs sdk",
6
6
  "keywords": [
7
7
  "ssv",
8
- "sdk"
8
+ "sdk",
9
+ "ssv-keys",
10
+ "keyshares"
9
11
  ],
10
12
  "repository": "https://github.com/ssvlabs/ssv-sdk",
11
13
  "files": [
@@ -24,17 +26,21 @@
24
26
  "import": "./dist/utils.mjs",
25
27
  "require": "./dist/utils.js",
26
28
  "types": "./dist/utils/index.d.ts"
29
+ },
30
+ "./keys": {
31
+ "import": "./dist/keys.mjs",
32
+ "require": "./dist/keys.js",
33
+ "types": "./dist/libs/ssv-keys/index.d.ts"
27
34
  }
28
35
  },
29
36
  "scripts": {
30
37
  "lint": "eslint . --ext .ts --fix",
31
- "watch": "rollup -w -c rollup.config.ts --configPlugin typescript --environment BUILD:development",
32
38
  "build": "vite build",
33
39
  "codegen": "graphql-codegen",
34
40
  "test": "vitest",
35
41
  "test:coverage": "vitest run --coverage",
36
42
  "v-pub-tarball": "npm publish --dry-run",
37
- "type-check": "tsc -b",
43
+ "type-check": "tsc --noEmit",
38
44
  "type:perf": "tsc --extendedDiagnostics",
39
45
  "release": "release-it",
40
46
  "commit": "git-cz",
@@ -49,60 +55,64 @@
49
55
  ]
50
56
  },
51
57
  "devDependencies": {
52
- "@0no-co/graphqlsp": "^1.12.16",
53
- "@commitlint/cli": "^19.2.2",
54
- "@commitlint/config-conventional": "^19.2.2",
55
- "@graphql-codegen/cli": "^5.0.3",
56
- "@graphql-codegen/schema-ast": "^4.1.0",
57
- "@graphql-codegen/typed-document-node": "^5.0.10",
58
- "@graphql-codegen/typescript": "^4.1.0",
59
- "@graphql-codegen/typescript-graphql-request": "^6.2.0",
60
- "@graphql-codegen/typescript-operations": "^4.3.0",
61
- "@nomicfoundation/hardhat-toolbox": "^5.0.0",
62
- "@nomicfoundation/hardhat-viem": "^2.0.6",
63
- "@openzeppelin/contracts": "^4.9.6",
64
- "@openzeppelin/contracts-upgradeable": "^4.9.6",
65
- "@openzeppelin/hardhat-upgrades": "^3.0.5",
66
- "@parcel/watcher": "^2.4.1",
67
- "@release-it/conventional-changelog": "^8.0.1",
68
- "@rollup/plugin-alias": "^5.1.1",
69
- "@rollup/plugin-commonjs": "^28.0.1",
70
- "@rollup/plugin-json": "^6.1.0",
71
- "@rollup/plugin-node-resolve": "^15.2.3",
72
- "@rollup/plugin-terser": "^0.4.4",
73
- "@rollup/plugin-typescript": "^11.1.6",
74
- "@rollup/rollup-darwin-x64": "^4.30.1",
75
- "@types/eslint-plugin-prettier": "^3.1.3",
76
- "@types/lodash-es": "^4.17.12",
77
- "@types/node": "^20.12.7",
78
- "@typescript-eslint/eslint-plugin": "^7.7.0",
79
- "@typescript-eslint/parser": "^7.7.0",
80
- "@vitest/coverage-v8": "^1.5.0",
81
- "@vitest/ui": "^1.5.0",
82
- "commitizen": "^4.3.0",
83
- "concurrently": "^9.0.1",
84
- "cz-git": "^1.9.1",
85
- "eslint": "^8.57.0",
86
- "eslint-config-prettier": "^9.1.0",
87
- "eslint-plugin-prettier": "^5.1.3",
88
- "eslint-plugin-unused-imports": "^4.1.4",
89
- "hardhat": "^2.22.17",
90
- "husky": "^9.0.11",
91
- "lint-staged": "^15.2.2",
92
- "prettier": "^3.2.5",
93
- "release-it": "^17.2.0",
94
- "rollup": "^4.14.3",
95
- "rollup-plugin-delete": "^2.0.0",
96
- "rollup-plugin-dts": "^6.1.1",
97
- "rollup-plugin-tsconfig-paths": "^1.5.2",
98
- "rollup-plugin-typescript2": "^0.36.0",
99
- "semantic-release": "^23.0.8",
100
- "typescript": "^5.4.5",
101
- "vite": "^5.4.10",
102
- "vite-plugin-dts": "^4.3.0",
103
- "vite-plugin-glob": "^0.3.2",
104
- "vite-plugin-node-polyfills": "^0.22.0",
105
- "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"
106
116
  },
107
117
  "config": {
108
118
  "commitizen": {
@@ -110,16 +120,21 @@
110
120
  }
111
121
  },
112
122
  "engines": {
113
- "node": ">=18.0.0"
123
+ "node": ">=22"
114
124
  },
115
125
  "dependencies": {
126
+ "@esbuild/darwin-x64": "0.21.5",
116
127
  "@graphql-typed-document-node/core": "^3.2.0",
117
128
  "@safe-global/protocol-kit": "^5.0.3",
118
129
  "abitype": "^1.0.6",
130
+ "bls-eth-wasm": "^1.4.0",
131
+ "class-validator": "^0.14.2",
119
132
  "dotenv": "^16.4.5",
120
- "graphql-request": "^7.1.0",
133
+ "graphql-request": "^7.2.0",
121
134
  "lodash-es": "^4.17.21",
122
- "ssv-keys": "^1.2.1",
135
+ "node-forge": "^1.3.1",
136
+ "scrypt-js": "^3.0.1",
137
+ "tslib": "^2.8.1",
123
138
  "viem": "^2.21.30",
124
139
  "zod": "^3.23.8"
125
140
  },