@obolnetwork/obol-sdk 2.11.5-rc.1 → 2.11.5
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/dist/browser/src/index.js +16 -7
- package/dist/browser/src/index.js.map +1 -1
- package/dist/cjs/src/index.js +9 -6
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/esm/src/index.js +16 -7
- 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/package.json +4 -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
|
|
92
|
+
version: "2.11.5",
|
|
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"
|
|
@@ -144,6 +144,9 @@ var package_default = {
|
|
|
144
144
|
registry: "https://registry.npmjs.org/",
|
|
145
145
|
access: "public"
|
|
146
146
|
},
|
|
147
|
+
overrides: {
|
|
148
|
+
viem: "2.21.8"
|
|
149
|
+
},
|
|
147
150
|
dependencies: {
|
|
148
151
|
"@chainsafe/bls": "6.0.3",
|
|
149
152
|
"@chainsafe/blst": "^0.2.0",
|
|
@@ -597,7 +600,7 @@ import * as semver from "semver";
|
|
|
597
600
|
// src/verification/v1.6.0.ts
|
|
598
601
|
import {
|
|
599
602
|
UintNumberType as UintNumberType2
|
|
600
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
603
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
601
604
|
|
|
602
605
|
// src/utils.ts
|
|
603
606
|
import { ethers } from "ethers";
|
|
@@ -871,7 +874,7 @@ var verifyDVV1X6 = (clusterLock) => __async(null, null, function* () {
|
|
|
871
874
|
// src/verification/v1.7.0.ts
|
|
872
875
|
import {
|
|
873
876
|
UintNumberType as UintNumberType3
|
|
874
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
877
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
875
878
|
import {
|
|
876
879
|
ByteListType as ByteListType3,
|
|
877
880
|
ByteVectorType as ByteVectorType3,
|
|
@@ -11434,7 +11437,7 @@ var ENR = class _ENR extends BaseENR {
|
|
|
11434
11437
|
// src/verification/v1.8.0.ts
|
|
11435
11438
|
import {
|
|
11436
11439
|
UintNumberType as UintNumberType4
|
|
11437
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
11440
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
11438
11441
|
import {
|
|
11439
11442
|
ByteListType as ByteListType4,
|
|
11440
11443
|
ByteVectorType as ByteVectorType4,
|
|
@@ -11722,7 +11725,7 @@ var validateSmartContractSignature = (_0) => __async(null, [_0], function* ({
|
|
|
11722
11725
|
// src/verification/v1.10.0.ts
|
|
11723
11726
|
import {
|
|
11724
11727
|
UintNumberType as UintNumberType5
|
|
11725
|
-
} from "@chainsafe/ssz/lib/type/uint";
|
|
11728
|
+
} from "@chainsafe/ssz/lib/type/uint.js";
|
|
11726
11729
|
import {
|
|
11727
11730
|
ByteListType as ByteListType5,
|
|
11728
11731
|
ByteVectorType as ByteVectorType5,
|
|
@@ -12663,7 +12666,13 @@ var eoaDepositPayloadSchema = {
|
|
|
12663
12666
|
};
|
|
12664
12667
|
|
|
12665
12668
|
// src/splits/splitHelpers.ts
|
|
12666
|
-
import {
|
|
12669
|
+
import {
|
|
12670
|
+
Contract,
|
|
12671
|
+
Interface,
|
|
12672
|
+
parseEther,
|
|
12673
|
+
ZeroAddress as ZeroAddress2,
|
|
12674
|
+
getAddress as toChecksumAddress
|
|
12675
|
+
} from "ethers";
|
|
12667
12676
|
|
|
12668
12677
|
// src/abi/OWR.ts
|
|
12669
12678
|
var OWRFactoryContract = {
|
|
@@ -15230,7 +15239,7 @@ var deployOVMContract = (_0) => __async(null, [_0], function* ({
|
|
|
15230
15239
|
throw new Error("Failed to extract OVM address from transaction logs");
|
|
15231
15240
|
}
|
|
15232
15241
|
const ovmAddress = "0x" + ovmAddressLog.slice(26, 66);
|
|
15233
|
-
return ovmAddress;
|
|
15242
|
+
return toChecksumAddress(ovmAddress);
|
|
15234
15243
|
} catch (error) {
|
|
15235
15244
|
throw new Error(
|
|
15236
15245
|
`Failed to deploy OVM contract: ${(_c = error.message) != null ? _c : "OVM deployment failed"}`
|