@obolnetwork/obol-sdk 2.11.5-rc.0 → 2.11.5-rc.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.
- package/README.md +33 -0
- package/dist/browser/src/index.js +18283 -0
- package/dist/browser/src/index.js.map +1 -0
- package/dist/cjs/src/index.js +27 -11
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/esm/src/index.js +27 -11
- package/dist/esm/src/index.js.map +1 -1
- package/dist/types/src/eoa/eoa.d.ts +1 -1
- package/dist/types/src/exits/exit.d.ts +1 -1
- package/dist/types/src/incentives/incentives.d.ts +1 -1
- package/dist/types/src/splits/splitHelpers.d.ts +1 -1
- package/dist/types/src/splits/splits.d.ts +1 -1
- package/dist/types/src/verification/v1.10.0.d.ts +4 -4
- package/dist/types/src/verification/v1.6.0.d.ts +4 -4
- package/dist/types/src/verification/v1.7.0.d.ts +4 -4
- package/dist/types/src/verification/v1.8.0.d.ts +4 -4
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +23 -7
- package/dist/types/src/verification/termsAndConditions.d.ts +0 -1
package/dist/esm/src/index.js
CHANGED
|
@@ -89,7 +89,7 @@ import { v4 as uuidv4 } from "uuid";
|
|
|
89
89
|
// package.json
|
|
90
90
|
var package_default = {
|
|
91
91
|
name: "@obolnetwork/obol-sdk",
|
|
92
|
-
version: "2.11.5-rc.
|
|
92
|
+
version: "2.11.5-rc.2",
|
|
93
93
|
description: "A package for creating Distributed Validators using the Obol API.",
|
|
94
94
|
bugs: {
|
|
95
95
|
url: "https://github.com/obolnetwork/obol-sdk/issues"
|
|
@@ -110,15 +110,30 @@ var package_default = {
|
|
|
110
110
|
"npm:publish:next": "npm publish --tag next",
|
|
111
111
|
release: "release-it",
|
|
112
112
|
"release:dry": "release-it --dry-run --no-npm",
|
|
113
|
-
lint: 'eslint "{src
|
|
114
|
-
"lint-ci":
|
|
115
|
-
"prettier-ci":
|
|
116
|
-
prettier: 'prettier --write "{src
|
|
113
|
+
lint: 'eslint "{src}/**/*.{js,ts}" --fix',
|
|
114
|
+
"lint-ci": "eslint ./src --ext .ts,.js",
|
|
115
|
+
"prettier-ci": "prettier --check ./src --ext .ts,.js",
|
|
116
|
+
prettier: 'prettier --write "{src}/**/*.{js,ts}"',
|
|
117
117
|
docs: "typedoc"
|
|
118
118
|
},
|
|
119
119
|
main: "./dist/cjs/src/index.js",
|
|
120
120
|
module: "./dist/esm/src/index.js",
|
|
121
|
+
browser: "./dist/browser/src/index.js",
|
|
121
122
|
typings: "./dist/types/src/index.d.ts",
|
|
123
|
+
exports: {
|
|
124
|
+
".": {
|
|
125
|
+
types: "./dist/types/src/index.d.ts",
|
|
126
|
+
browser: {
|
|
127
|
+
import: "./dist/browser/src/index.js",
|
|
128
|
+
default: "./dist/browser/src/index.js"
|
|
129
|
+
},
|
|
130
|
+
node: {
|
|
131
|
+
import: "./dist/esm/src/index.js",
|
|
132
|
+
require: "./dist/cjs/src/index.js"
|
|
133
|
+
},
|
|
134
|
+
default: "./dist/esm/src/index.js"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
122
137
|
author: "Obol Labs (https://obol.org)",
|
|
123
138
|
repository: {
|
|
124
139
|
type: "git",
|
|
@@ -129,6 +144,9 @@ var package_default = {
|
|
|
129
144
|
registry: "https://registry.npmjs.org/",
|
|
130
145
|
access: "public"
|
|
131
146
|
},
|
|
147
|
+
overrides: {
|
|
148
|
+
viem: "2.21.8"
|
|
149
|
+
},
|
|
132
150
|
dependencies: {
|
|
133
151
|
"@chainsafe/bls": "6.0.3",
|
|
134
152
|
"@chainsafe/blst": "^0.2.0",
|
|
@@ -144,7 +162,6 @@ var package_default = {
|
|
|
144
162
|
dotenv: "^17.2.2",
|
|
145
163
|
elliptic: "^6.6.1",
|
|
146
164
|
ethers: "^6.15.0",
|
|
147
|
-
"pdf-parse-debugging-disabled": "^1.1.1",
|
|
148
165
|
semver: "^7.7.2",
|
|
149
166
|
uuid: "^9.0.0"
|
|
150
167
|
},
|
|
@@ -153,7 +170,6 @@ var package_default = {
|
|
|
153
170
|
"@types/elliptic": "^6.4.18",
|
|
154
171
|
"@types/jest": "^29.5.12",
|
|
155
172
|
"@types/node": "^24.5.2",
|
|
156
|
-
"@types/pdf-parse": "^1.1.5",
|
|
157
173
|
"@types/semver": "^7.7.1",
|
|
158
174
|
"@types/uuid": "^9.0.1",
|
|
159
175
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
@@ -584,7 +600,7 @@ import * as semver from "semver";
|
|
|
584
600
|
// src/verification/v1.6.0.ts
|
|
585
601
|
import {
|
|
586
602
|
UintNumberType as UintNumberType2
|
|
587
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
603
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
588
604
|
|
|
589
605
|
// src/utils.ts
|
|
590
606
|
import { ethers } from "ethers";
|
|
@@ -858,7 +874,7 @@ var verifyDVV1X6 = (clusterLock) => __async(null, null, function* () {
|
|
|
858
874
|
// src/verification/v1.7.0.ts
|
|
859
875
|
import {
|
|
860
876
|
UintNumberType as UintNumberType3
|
|
861
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
877
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
862
878
|
import {
|
|
863
879
|
ByteListType as ByteListType3,
|
|
864
880
|
ByteVectorType as ByteVectorType3,
|
|
@@ -11421,7 +11437,7 @@ var ENR = class _ENR extends BaseENR {
|
|
|
11421
11437
|
// src/verification/v1.8.0.ts
|
|
11422
11438
|
import {
|
|
11423
11439
|
UintNumberType as UintNumberType4
|
|
11424
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
11440
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
11425
11441
|
import {
|
|
11426
11442
|
ByteListType as ByteListType4,
|
|
11427
11443
|
ByteVectorType as ByteVectorType4,
|
|
@@ -11709,7 +11725,7 @@ var validateSmartContractSignature = (_0) => __async(null, [_0], function* ({
|
|
|
11709
11725
|
// src/verification/v1.10.0.ts
|
|
11710
11726
|
import {
|
|
11711
11727
|
UintNumberType as UintNumberType5
|
|
11712
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
11728
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
11713
11729
|
import {
|
|
11714
11730
|
ByteListType as ByteListType5,
|
|
11715
11731
|
ByteVectorType as ByteVectorType5,
|