@capxul/mcp 1.0.0-alpha.3 → 1.1.0
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 +31 -62
- package/dist/{_esm-CA4cvybV.mjs → _esm-CC5QpzeQ.mjs} +94 -328
- package/dist/alchemy-rpc-BuobS4-x.mjs +2 -0
- package/dist/{alchemy-rpc-DEpqt2Jx.mjs → alchemy-rpc-vGO5qErZ.mjs} +23 -3
- package/dist/{chunk-Dg0SBOkb.mjs → chunk-B5meny8j.mjs} +3 -1
- package/dist/esm-D2-zCfAo.mjs +4088 -0
- package/dist/eventemitter3-D-pLUuAN.mjs +238 -0
- package/dist/lib-B8hqwgiz.mjs +654 -0
- package/dist/lib-BGlYlc2Y.mjs +3 -0
- package/dist/lib-BRkcywUv.mjs +539 -0
- package/dist/lib-BSq2-y-R.mjs +3 -0
- package/dist/lib-CifIgXqP.mjs +12219 -0
- package/dist/lib-CnLS6gjn.mjs +6980 -0
- package/dist/lib-Dn7-RQTV.mjs +3635 -0
- package/dist/lib-YbuuWTqT.mjs +3 -0
- package/dist/lib-cc_08w0f.mjs +2148 -0
- package/dist/lib-hCYuvdcy.mjs +1764 -0
- package/dist/lib-yehPdjuB.mjs +3 -0
- package/dist/main.mjs +32772 -3624
- package/dist/{src-CJVATdCb.mjs → src-2B8HO-zu.mjs} +958 -752
- package/dist/src-HgvNZjX7.mjs +2 -0
- package/dist/{src-Cg8p_ZgR.mjs → src-Iv70gRG_.mjs} +1 -1
- package/package.json +15 -21
- package/dist/alchemy-rpc-BWwk_YTZ.mjs +0 -2
- package/dist/src-D4Y3802K.mjs +0 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./chunk-B5meny8j.mjs";
|
|
2
|
+
import { t as import_eventemitter3 } from "./eventemitter3-D-pLUuAN.mjs";
|
|
2
3
|
import * as nc from "node:crypto";
|
|
3
4
|
//#region ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.2_zod@3.25.76/node_modules/abitype/dist/esm/version.js
|
|
4
5
|
const version$1 = "1.2.3";
|
|
@@ -904,14 +905,14 @@ function parseAbiParameters(params) {
|
|
|
904
905
|
return abiParameters;
|
|
905
906
|
}
|
|
906
907
|
//#endregion
|
|
907
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
908
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/abi.js
|
|
908
909
|
/** @internal */
|
|
909
910
|
function isSignatures(value) {
|
|
910
911
|
for (const item of value) if (typeof item !== "string") return false;
|
|
911
912
|
return true;
|
|
912
913
|
}
|
|
913
914
|
//#endregion
|
|
914
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
915
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Abi.js
|
|
915
916
|
var Abi_exports = /* @__PURE__ */ __exportAll({
|
|
916
917
|
format: () => format$7,
|
|
917
918
|
from: () => from$27
|
|
@@ -924,11 +925,11 @@ function from$27(abi) {
|
|
|
924
925
|
return abi;
|
|
925
926
|
}
|
|
926
927
|
//#endregion
|
|
927
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
928
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/version.js
|
|
928
929
|
/** @internal */
|
|
929
930
|
const version = "0.1.1";
|
|
930
931
|
//#endregion
|
|
931
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
932
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/errors.js
|
|
932
933
|
/** @internal */
|
|
933
934
|
function getUrl(url) {
|
|
934
935
|
return url;
|
|
@@ -948,7 +949,7 @@ function prettyPrint(args) {
|
|
|
948
949
|
return entries.map(([key, value]) => ` ${`${key}:`.padEnd(maxLength + 1)} ${value}`).join("\n");
|
|
949
950
|
}
|
|
950
951
|
//#endregion
|
|
951
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
952
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Errors.js
|
|
952
953
|
var Errors_exports = /* @__PURE__ */ __exportAll({ BaseError: () => BaseError$1 });
|
|
953
954
|
/**
|
|
954
955
|
* Base error class inherited by all errors thrown by ox.
|
|
@@ -2691,7 +2692,7 @@ function memoized(fn) {
|
|
|
2691
2692
|
};
|
|
2692
2693
|
}
|
|
2693
2694
|
//#endregion
|
|
2694
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
2695
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/bytes.js
|
|
2695
2696
|
/** @internal */
|
|
2696
2697
|
function assertSize$1(bytes, size_) {
|
|
2697
2698
|
if (size$1(bytes) > size_) throw new SizeOverflowError({
|
|
@@ -2757,7 +2758,7 @@ function trim$1(value, options = {}) {
|
|
|
2757
2758
|
return data;
|
|
2758
2759
|
}
|
|
2759
2760
|
//#endregion
|
|
2760
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
2761
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/hex.js
|
|
2761
2762
|
/** @internal */
|
|
2762
2763
|
function assertSize(hex, size_) {
|
|
2763
2764
|
if (size$2(hex) > size_) throw new SizeOverflowError$1({
|
|
@@ -2806,7 +2807,7 @@ function trim(value, options = {}) {
|
|
|
2806
2807
|
return `0x${data}`;
|
|
2807
2808
|
}
|
|
2808
2809
|
//#endregion
|
|
2809
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
2810
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Json.js
|
|
2810
2811
|
var Json_exports = /* @__PURE__ */ __exportAll({
|
|
2811
2812
|
canonicalize: () => canonicalize,
|
|
2812
2813
|
parse: () => parse$1,
|
|
@@ -2906,7 +2907,7 @@ function stringify(value, replacer, space) {
|
|
|
2906
2907
|
}, space);
|
|
2907
2908
|
}
|
|
2908
2909
|
//#endregion
|
|
2909
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
2910
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Hex.js
|
|
2910
2911
|
var Hex_exports = /* @__PURE__ */ __exportAll({
|
|
2911
2912
|
IntegerOutOfRangeError: () => IntegerOutOfRangeError,
|
|
2912
2913
|
InvalidHexBooleanError: () => InvalidHexBooleanError,
|
|
@@ -3613,7 +3614,7 @@ var SizeExceedsPaddingSizeError$1 = class extends BaseError$1 {
|
|
|
3613
3614
|
}
|
|
3614
3615
|
};
|
|
3615
3616
|
//#endregion
|
|
3616
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
3617
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Bytes.js
|
|
3617
3618
|
var Bytes_exports = /* @__PURE__ */ __exportAll({
|
|
3618
3619
|
InvalidBytesBooleanError: () => InvalidBytesBooleanError,
|
|
3619
3620
|
InvalidBytesTypeError: () => InvalidBytesTypeError,
|
|
@@ -4281,7 +4282,7 @@ var SizeExceedsPaddingSizeError = class extends BaseError$1 {
|
|
|
4281
4282
|
}
|
|
4282
4283
|
};
|
|
4283
4284
|
//#endregion
|
|
4284
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
4285
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Hash.js
|
|
4285
4286
|
var Hash_exports = /* @__PURE__ */ __exportAll({
|
|
4286
4287
|
hmac256: () => hmac256,
|
|
4287
4288
|
keccak256: () => keccak256,
|
|
@@ -4433,7 +4434,7 @@ function validate$11(value) {
|
|
|
4433
4434
|
return validate$13(value) && size$2(value) === 32;
|
|
4434
4435
|
}
|
|
4435
4436
|
//#endregion
|
|
4436
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
4437
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/lru.js
|
|
4437
4438
|
/**
|
|
4438
4439
|
* @internal
|
|
4439
4440
|
*
|
|
@@ -4469,7 +4470,7 @@ var LruMap = class extends Map {
|
|
|
4469
4470
|
}
|
|
4470
4471
|
};
|
|
4471
4472
|
//#endregion
|
|
4472
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
4473
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Caches.js
|
|
4473
4474
|
var Caches_exports = /* @__PURE__ */ __exportAll({
|
|
4474
4475
|
checksum: () => checksum$2,
|
|
4475
4476
|
clear: () => clear
|
|
@@ -4489,7 +4490,7 @@ function clear() {
|
|
|
4489
4490
|
for (const cache of Object.values(caches)) cache.clear();
|
|
4490
4491
|
}
|
|
4491
4492
|
//#endregion
|
|
4492
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
4493
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/PublicKey.js
|
|
4493
4494
|
var PublicKey_exports = /* @__PURE__ */ __exportAll({
|
|
4494
4495
|
InvalidCompressedPrefixError: () => InvalidCompressedPrefixError,
|
|
4495
4496
|
InvalidError: () => InvalidError,
|
|
@@ -4848,7 +4849,7 @@ var InvalidSerializedSizeError$1 = class extends BaseError$1 {
|
|
|
4848
4849
|
}
|
|
4849
4850
|
};
|
|
4850
4851
|
//#endregion
|
|
4851
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
4852
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Address.js
|
|
4852
4853
|
var Address_exports = /* @__PURE__ */ __exportAll({
|
|
4853
4854
|
InvalidAddressError: () => InvalidAddressError,
|
|
4854
4855
|
InvalidChecksumError: () => InvalidChecksumError$1,
|
|
@@ -5097,7 +5098,7 @@ var InvalidChecksumError$1 = class extends BaseError$1 {
|
|
|
5097
5098
|
}
|
|
5098
5099
|
};
|
|
5099
5100
|
//#endregion
|
|
5100
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
5101
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/abiItem.js
|
|
5101
5102
|
/** @internal */
|
|
5102
5103
|
function normalizeSignature(signature) {
|
|
5103
5104
|
let active = true;
|
|
@@ -5182,7 +5183,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
5182
5183
|
}
|
|
5183
5184
|
}
|
|
5184
5185
|
//#endregion
|
|
5185
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
5186
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiItem.js
|
|
5186
5187
|
var AbiItem_exports = /* @__PURE__ */ __exportAll({
|
|
5187
5188
|
AmbiguityError: () => AmbiguityError,
|
|
5188
5189
|
InvalidSelectorSizeError: () => InvalidSelectorSizeError,
|
|
@@ -5652,7 +5653,7 @@ var InvalidSelectorSizeError = class extends BaseError$1 {
|
|
|
5652
5653
|
}
|
|
5653
5654
|
};
|
|
5654
5655
|
//#endregion
|
|
5655
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
5656
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Solidity.js
|
|
5656
5657
|
var Solidity_exports = /* @__PURE__ */ __exportAll({
|
|
5657
5658
|
arrayRegex: () => arrayRegex,
|
|
5658
5659
|
bytesRegex: () => bytesRegex,
|
|
@@ -5854,7 +5855,7 @@ const maxUint240 = 2n ** 240n - 1n;
|
|
|
5854
5855
|
const maxUint248 = 2n ** 248n - 1n;
|
|
5855
5856
|
const maxUint256 = 2n ** 256n - 1n;
|
|
5856
5857
|
//#endregion
|
|
5857
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
5858
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
5858
5859
|
/** @internal */
|
|
5859
5860
|
function decodeParameter(cursor, param, options) {
|
|
5860
5861
|
const { checksumAddress, staticPosition } = options;
|
|
@@ -6226,7 +6227,7 @@ function hasDynamicChild(param) {
|
|
|
6226
6227
|
return false;
|
|
6227
6228
|
}
|
|
6228
6229
|
//#endregion
|
|
6229
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
6230
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/cursor.js
|
|
6230
6231
|
const staticCursor = {
|
|
6231
6232
|
bytes: new Uint8Array(),
|
|
6232
6233
|
dataView: /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(0)),
|
|
@@ -6426,7 +6427,7 @@ var RecursiveReadLimitExceededError = class extends BaseError$1 {
|
|
|
6426
6427
|
}
|
|
6427
6428
|
};
|
|
6428
6429
|
//#endregion
|
|
6429
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
6430
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiParameters.js
|
|
6430
6431
|
var AbiParameters_exports = /* @__PURE__ */ __exportAll({
|
|
6431
6432
|
ArrayLengthMismatchError: () => ArrayLengthMismatchError,
|
|
6432
6433
|
BytesSizeMismatchError: () => BytesSizeMismatchError$1,
|
|
@@ -6940,7 +6941,7 @@ var InvalidTypeError = class extends BaseError$1 {
|
|
|
6940
6941
|
}
|
|
6941
6942
|
};
|
|
6942
6943
|
//#endregion
|
|
6943
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
6944
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiConstructor.js
|
|
6944
6945
|
var AbiConstructor_exports = /* @__PURE__ */ __exportAll({
|
|
6945
6946
|
decode: () => decode$4,
|
|
6946
6947
|
encode: () => encode$7,
|
|
@@ -6987,7 +6988,7 @@ function fromAbi$3(abi) {
|
|
|
6987
6988
|
return item;
|
|
6988
6989
|
}
|
|
6989
6990
|
//#endregion
|
|
6990
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
6991
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiError.js
|
|
6991
6992
|
var AbiError_exports = /* @__PURE__ */ __exportAll({
|
|
6992
6993
|
decode: () => decode$3,
|
|
6993
6994
|
encode: () => encode$6,
|
|
@@ -7302,7 +7303,7 @@ const solidityPanic = /*#__PURE__*/ from$19({
|
|
|
7302
7303
|
});
|
|
7303
7304
|
const solidityPanicSelector = "0x4e487b71";
|
|
7304
7305
|
//#endregion
|
|
7305
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
7306
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiEvent.js
|
|
7306
7307
|
var AbiEvent_exports = /* @__PURE__ */ __exportAll({
|
|
7307
7308
|
ArgsMismatchError: () => ArgsMismatchError,
|
|
7308
7309
|
DataMismatchError: () => DataMismatchError,
|
|
@@ -8092,7 +8093,7 @@ var FilterTypeNotSupportedError = class extends BaseError$1 {
|
|
|
8092
8093
|
}
|
|
8093
8094
|
};
|
|
8094
8095
|
//#endregion
|
|
8095
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
8096
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AbiFunction.js
|
|
8096
8097
|
var AbiFunction_exports = /* @__PURE__ */ __exportAll({
|
|
8097
8098
|
decodeData: () => decodeData,
|
|
8098
8099
|
decodeResult: () => decodeResult,
|
|
@@ -8423,7 +8424,7 @@ function getSelector(abiItem) {
|
|
|
8423
8424
|
return getSelector$3(abiItem);
|
|
8424
8425
|
}
|
|
8425
8426
|
//#endregion
|
|
8426
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
8427
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AccessList.js
|
|
8427
8428
|
var AccessList_exports = /* @__PURE__ */ __exportAll({
|
|
8428
8429
|
InvalidStorageKeySizeError: () => InvalidStorageKeySizeError,
|
|
8429
8430
|
fromTupleList: () => fromTupleList$1,
|
|
@@ -8523,10 +8524,10 @@ var InvalidStorageKeySizeError = class extends BaseError$1 {
|
|
|
8523
8524
|
}
|
|
8524
8525
|
};
|
|
8525
8526
|
//#endregion
|
|
8526
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
8527
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AccountProof.js
|
|
8527
8528
|
var AccountProof_exports = /* @__PURE__ */ __exportAll({});
|
|
8528
8529
|
//#endregion
|
|
8529
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
8530
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/AesGcm.js
|
|
8530
8531
|
var AesGcm_exports = /* @__PURE__ */ __exportAll({
|
|
8531
8532
|
decrypt: () => decrypt$1,
|
|
8532
8533
|
encrypt: () => encrypt$2,
|
|
@@ -8643,7 +8644,7 @@ function randomSalt(size = 32) {
|
|
|
8643
8644
|
return random$1(size);
|
|
8644
8645
|
}
|
|
8645
8646
|
//#endregion
|
|
8646
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
8647
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Rlp.js
|
|
8647
8648
|
var Rlp_exports = /* @__PURE__ */ __exportAll({
|
|
8648
8649
|
decodeRlpCursor: () => decodeRlpCursor,
|
|
8649
8650
|
from: () => from$16,
|
|
@@ -10716,7 +10717,7 @@ const secp256k1 = createCurve({
|
|
|
10716
10717
|
}
|
|
10717
10718
|
}, sha256$2);
|
|
10718
10719
|
//#endregion
|
|
10719
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
10720
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Signature.js
|
|
10720
10721
|
var Signature_exports = /* @__PURE__ */ __exportAll({
|
|
10721
10722
|
InvalidRError: () => InvalidRError,
|
|
10722
10723
|
InvalidSError: () => InvalidSError,
|
|
@@ -11349,7 +11350,7 @@ var InvalidVError = class extends BaseError$1 {
|
|
|
11349
11350
|
}
|
|
11350
11351
|
};
|
|
11351
11352
|
//#endregion
|
|
11352
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
11353
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Authorization.js
|
|
11353
11354
|
var Authorization_exports = /* @__PURE__ */ __exportAll({
|
|
11354
11355
|
from: () => from$14,
|
|
11355
11356
|
fromRpc: () => fromRpc$9,
|
|
@@ -11778,7 +11779,7 @@ function toTupleList(list) {
|
|
|
11778
11779
|
return tupleList;
|
|
11779
11780
|
}
|
|
11780
11781
|
//#endregion
|
|
11781
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
11782
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Base32.js
|
|
11782
11783
|
var Base32_exports = /* @__PURE__ */ __exportAll({
|
|
11783
11784
|
InvalidCharacterError: () => InvalidCharacterError$1,
|
|
11784
11785
|
fromBytes: () => fromBytes$4,
|
|
@@ -11899,7 +11900,7 @@ var InvalidCharacterError$1 = class extends BaseError$1 {
|
|
|
11899
11900
|
}
|
|
11900
11901
|
};
|
|
11901
11902
|
//#endregion
|
|
11902
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
11903
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/base58.js
|
|
11903
11904
|
/** @internal */
|
|
11904
11905
|
const integerToAlphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
11905
11906
|
/** @internal */
|
|
@@ -11985,7 +11986,7 @@ function from$13(value) {
|
|
|
11985
11986
|
}
|
|
11986
11987
|
/** @internal */
|
|
11987
11988
|
//#endregion
|
|
11988
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
11989
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Base58.js
|
|
11989
11990
|
var Base58_exports = /* @__PURE__ */ __exportAll({
|
|
11990
11991
|
fromBytes: () => fromBytes$3,
|
|
11991
11992
|
fromHex: () => fromHex$3,
|
|
@@ -12109,7 +12110,7 @@ function toString$1(value) {
|
|
|
12109
12110
|
return toString$3(toHex$4(value));
|
|
12110
12111
|
}
|
|
12111
12112
|
//#endregion
|
|
12112
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
12113
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Base64.js
|
|
12113
12114
|
var Base64_exports = /* @__PURE__ */ __exportAll({
|
|
12114
12115
|
fromBytes: () => fromBytes$2,
|
|
12115
12116
|
fromHex: () => fromHex$2,
|
|
@@ -12328,7 +12329,7 @@ function toString(value) {
|
|
|
12328
12329
|
return toString$2(toBytes$3(value));
|
|
12329
12330
|
}
|
|
12330
12331
|
//#endregion
|
|
12331
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
12332
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Bech32m.js
|
|
12332
12333
|
var Bech32m_exports = /* @__PURE__ */ __exportAll({
|
|
12333
12334
|
ExceedsLengthError: () => ExceedsLengthError,
|
|
12334
12335
|
InvalidCharacterError: () => InvalidCharacterError,
|
|
@@ -12961,7 +12962,7 @@ var BLAKE3 = class BLAKE3 extends BLAKE2 {
|
|
|
12961
12962
|
*/
|
|
12962
12963
|
const blake3 = /* @__PURE__ */ createXOFer((opts) => new BLAKE3(opts));
|
|
12963
12964
|
//#endregion
|
|
12964
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
12965
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/BinaryStateTree.js
|
|
12965
12966
|
var BinaryStateTree_exports = /* @__PURE__ */ __exportAll({
|
|
12966
12967
|
create: () => create$2,
|
|
12967
12968
|
insert: () => insert,
|
|
@@ -13135,7 +13136,7 @@ function hash$5(bytes) {
|
|
|
13135
13136
|
return blake3(bytes);
|
|
13136
13137
|
}
|
|
13137
13138
|
//#endregion
|
|
13138
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
13139
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Kzg.js
|
|
13139
13140
|
var Kzg_exports = /* @__PURE__ */ __exportAll({
|
|
13140
13141
|
from: () => from$12,
|
|
13141
13142
|
versionedHashVersion: () => 1
|
|
@@ -13166,7 +13167,7 @@ function from$12(value) {
|
|
|
13166
13167
|
};
|
|
13167
13168
|
}
|
|
13168
13169
|
//#endregion
|
|
13169
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
13170
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Blobs.js
|
|
13170
13171
|
var Blobs_exports = /* @__PURE__ */ __exportAll({
|
|
13171
13172
|
BlobSizeTooLargeError: () => BlobSizeTooLargeError,
|
|
13172
13173
|
EmptyBlobError: () => EmptyBlobError,
|
|
@@ -13740,7 +13741,7 @@ var InvalidVersionedHashVersionError = class extends BaseError$1 {
|
|
|
13740
13741
|
}
|
|
13741
13742
|
};
|
|
13742
13743
|
//#endregion
|
|
13743
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
13744
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Transaction.js
|
|
13744
13745
|
var Transaction_exports = /* @__PURE__ */ __exportAll({
|
|
13745
13746
|
fromRpc: () => fromRpc$8,
|
|
13746
13747
|
fromRpcType: () => fromRpcType$1,
|
|
@@ -13886,7 +13887,7 @@ function toRpc$12(transaction, _options) {
|
|
|
13886
13887
|
return rpc;
|
|
13887
13888
|
}
|
|
13888
13889
|
//#endregion
|
|
13889
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
13890
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Withdrawal.js
|
|
13890
13891
|
var Withdrawal_exports = /* @__PURE__ */ __exportAll({
|
|
13891
13892
|
fromRpc: () => fromRpc$7,
|
|
13892
13893
|
toRpc: () => toRpc$11
|
|
@@ -13956,7 +13957,7 @@ function toRpc$11(withdrawal) {
|
|
|
13956
13957
|
};
|
|
13957
13958
|
}
|
|
13958
13959
|
//#endregion
|
|
13959
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
13960
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Block.js
|
|
13960
13961
|
var Block_exports = /* @__PURE__ */ __exportAll({
|
|
13961
13962
|
fromRpc: () => fromRpc$6,
|
|
13962
13963
|
toRpc: () => toRpc$10
|
|
@@ -14110,7 +14111,7 @@ function fromRpc$6(block, _options = {}) {
|
|
|
14110
14111
|
};
|
|
14111
14112
|
}
|
|
14112
14113
|
//#endregion
|
|
14113
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
14114
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/BlockOverrides.js
|
|
14114
14115
|
var BlockOverrides_exports = /* @__PURE__ */ __exportAll({
|
|
14115
14116
|
fromRpc: () => fromRpc$5,
|
|
14116
14117
|
toRpc: () => toRpc$9
|
|
@@ -14198,7 +14199,7 @@ function toRpc$9(blockOverrides) {
|
|
|
14198
14199
|
};
|
|
14199
14200
|
}
|
|
14200
14201
|
//#endregion
|
|
14201
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
14202
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Bloom.js
|
|
14202
14203
|
var Bloom_exports = /* @__PURE__ */ __exportAll({
|
|
14203
14204
|
contains: () => contains,
|
|
14204
14205
|
validate: () => validate$7
|
|
@@ -15632,7 +15633,7 @@ const bls12_381 = bls({
|
|
|
15632
15633
|
randomBytes: randomBytes$1
|
|
15633
15634
|
});
|
|
15634
15635
|
//#endregion
|
|
15635
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
15636
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Bls.js
|
|
15636
15637
|
var Bls_exports = /* @__PURE__ */ __exportAll({
|
|
15637
15638
|
aggregate: () => aggregate,
|
|
15638
15639
|
createKeyPair: () => createKeyPair$5,
|
|
@@ -15874,7 +15875,7 @@ function verify$6(options) {
|
|
|
15874
15875
|
return bls12_381.fields.Fp12.eql(isShortSig ? shortSigPairing() : longSigPairing(), bls12_381.fields.Fp12.ONE);
|
|
15875
15876
|
}
|
|
15876
15877
|
//#endregion
|
|
15877
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
15878
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/BlsPoint.js
|
|
15878
15879
|
var BlsPoint_exports = /* @__PURE__ */ __exportAll({
|
|
15879
15880
|
fromBytes: () => fromBytes$1,
|
|
15880
15881
|
fromHex: () => fromHex$1,
|
|
@@ -15925,7 +15926,7 @@ function fromHex$1(hex, group) {
|
|
|
15925
15926
|
return fromBytes$1(toBytes$9(hex), group);
|
|
15926
15927
|
}
|
|
15927
15928
|
//#endregion
|
|
15928
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
15929
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Cbor.js
|
|
15929
15930
|
var Cbor_exports = /* @__PURE__ */ __exportAll({
|
|
15930
15931
|
ArrayTooLargeError: () => ArrayTooLargeError,
|
|
15931
15932
|
ByteStringTooLargeError: () => ByteStringTooLargeError,
|
|
@@ -16648,7 +16649,7 @@ function decodeCursor(cursor) {
|
|
|
16648
16649
|
}
|
|
16649
16650
|
})(decodeCursor || (decodeCursor = {}));
|
|
16650
16651
|
//#endregion
|
|
16651
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
16652
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/CompactSize.js
|
|
16652
16653
|
var CompactSize_exports = /* @__PURE__ */ __exportAll({
|
|
16653
16654
|
InsufficientBytesError: () => InsufficientBytesError,
|
|
16654
16655
|
NegativeValueError: () => NegativeValueError,
|
|
@@ -16815,7 +16816,7 @@ var InsufficientBytesError = class extends BaseError$1 {
|
|
|
16815
16816
|
}
|
|
16816
16817
|
};
|
|
16817
16818
|
//#endregion
|
|
16818
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
16819
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/ContractAddress.js
|
|
16819
16820
|
var ContractAddress_exports = /* @__PURE__ */ __exportAll({
|
|
16820
16821
|
from: () => from$10,
|
|
16821
16822
|
fromCreate: () => fromCreate,
|
|
@@ -16914,7 +16915,7 @@ function fromCreate2(options) {
|
|
|
16914
16915
|
return from$23(slice$1(keccak256(concat(fromHex$8("0xff"), from, salt, bytecodeHash), { as: "Hex" }), 12));
|
|
16915
16916
|
}
|
|
16916
16917
|
//#endregion
|
|
16917
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
16918
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/CoseKey.js
|
|
16918
16919
|
var CoseKey_exports = /* @__PURE__ */ __exportAll({
|
|
16919
16920
|
InvalidCoseKeyError: () => InvalidCoseKeyError,
|
|
16920
16921
|
fromPublicKey: () => fromPublicKey,
|
|
@@ -17588,7 +17589,7 @@ function edwardsToMontgomeryPriv(edwardsPriv) {
|
|
|
17588
17589
|
return ed25519Defaults.adjustScalarBytes(hashed).subarray(0, 32);
|
|
17589
17590
|
}
|
|
17590
17591
|
//#endregion
|
|
17591
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
17592
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Ed25519.js
|
|
17592
17593
|
var Ed25519_exports = /* @__PURE__ */ __exportAll({
|
|
17593
17594
|
createKeyPair: () => createKeyPair$4,
|
|
17594
17595
|
getPublicKey: () => getPublicKey$3,
|
|
@@ -18452,7 +18453,7 @@ function consume_emoji_reversed(cps, eaten) {
|
|
|
18452
18453
|
return emoji;
|
|
18453
18454
|
}
|
|
18454
18455
|
//#endregion
|
|
18455
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
18456
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/ens.js
|
|
18456
18457
|
/** @internal */
|
|
18457
18458
|
function unwrapLabelhash(label) {
|
|
18458
18459
|
if (label.length !== 66) return null;
|
|
@@ -18463,7 +18464,7 @@ function unwrapLabelhash(label) {
|
|
|
18463
18464
|
return hash;
|
|
18464
18465
|
}
|
|
18465
18466
|
//#endregion
|
|
18466
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
18467
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Ens.js
|
|
18467
18468
|
var Ens_exports = /* @__PURE__ */ __exportAll({
|
|
18468
18469
|
labelhash: () => labelhash,
|
|
18469
18470
|
namehash: () => namehash,
|
|
@@ -18534,10 +18535,10 @@ function normalize$2(name) {
|
|
|
18534
18535
|
return ens_normalize(name);
|
|
18535
18536
|
}
|
|
18536
18537
|
//#endregion
|
|
18537
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
18538
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Fee.js
|
|
18538
18539
|
var Fee_exports = /* @__PURE__ */ __exportAll({});
|
|
18539
18540
|
//#endregion
|
|
18540
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
18541
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Filter.js
|
|
18541
18542
|
var Filter_exports = /* @__PURE__ */ __exportAll({
|
|
18542
18543
|
fromRpc: () => fromRpc$4,
|
|
18543
18544
|
toRpc: () => toRpc$8
|
|
@@ -19234,10 +19235,10 @@ var HDKey = class HDKey {
|
|
|
19234
19235
|
}
|
|
19235
19236
|
};
|
|
19236
19237
|
//#endregion
|
|
19237
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
19238
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/entropy.js
|
|
19238
19239
|
let extraEntropy = false;
|
|
19239
19240
|
//#endregion
|
|
19240
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
19241
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Secp256k1.js
|
|
19241
19242
|
var Secp256k1_exports = /* @__PURE__ */ __exportAll({
|
|
19242
19243
|
createKeyPair: () => createKeyPair$3,
|
|
19243
19244
|
getPublicKey: () => getPublicKey$2,
|
|
@@ -19456,7 +19457,7 @@ function verify$4(options) {
|
|
|
19456
19457
|
}] : []);
|
|
19457
19458
|
}
|
|
19458
19459
|
//#endregion
|
|
19459
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
19460
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/hdKey.js
|
|
19460
19461
|
/** @internal */
|
|
19461
19462
|
function fromScure(key) {
|
|
19462
19463
|
return {
|
|
@@ -19472,7 +19473,7 @@ function fromScure(key) {
|
|
|
19472
19473
|
};
|
|
19473
19474
|
}
|
|
19474
19475
|
//#endregion
|
|
19475
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
19476
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/HdKey.js
|
|
19476
19477
|
var HdKey_exports = /* @__PURE__ */ __exportAll({
|
|
19477
19478
|
fromExtendedKey: () => fromExtendedKey,
|
|
19478
19479
|
fromJson: () => fromJson,
|
|
@@ -20140,7 +20141,7 @@ async function scryptAsync$1(password, salt, opts) {
|
|
|
20140
20141
|
return scryptOutput(password, dkLen, B, V, tmp);
|
|
20141
20142
|
}
|
|
20142
20143
|
//#endregion
|
|
20143
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
20144
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Keystore.js
|
|
20144
20145
|
var Keystore_exports = /* @__PURE__ */ __exportAll({
|
|
20145
20146
|
decrypt: () => decrypt,
|
|
20146
20147
|
encrypt: () => encrypt,
|
|
@@ -20493,7 +20494,7 @@ function defineKey(key, options) {
|
|
|
20493
20494
|
}];
|
|
20494
20495
|
}
|
|
20495
20496
|
//#endregion
|
|
20496
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
20497
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Log.js
|
|
20497
20498
|
var Log_exports = /* @__PURE__ */ __exportAll({
|
|
20498
20499
|
fromRpc: () => fromRpc$3,
|
|
20499
20500
|
toRpc: () => toRpc$7
|
|
@@ -41309,7 +41310,7 @@ const wordlist = `的
|
|
|
41309
41310
|
矮
|
|
41310
41311
|
歇`.split("\n");
|
|
41311
41312
|
//#endregion
|
|
41312
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
41313
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Mnemonic.js
|
|
41313
41314
|
var Mnemonic_exports = /* @__PURE__ */ __exportAll({
|
|
41314
41315
|
czech: () => wordlist$9,
|
|
41315
41316
|
english: () => wordlist$8,
|
|
@@ -41514,7 +41515,7 @@ createCurve({
|
|
|
41514
41515
|
const p256 = p256$1;
|
|
41515
41516
|
const secp256r1 = p256$1;
|
|
41516
41517
|
//#endregion
|
|
41517
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
41518
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/P256.js
|
|
41518
41519
|
var P256_exports = /* @__PURE__ */ __exportAll({
|
|
41519
41520
|
createKeyPair: () => createKeyPair$2,
|
|
41520
41521
|
getPublicKey: () => getPublicKey$1,
|
|
@@ -41694,7 +41695,7 @@ function verify$3(options) {
|
|
|
41694
41695
|
});
|
|
41695
41696
|
}
|
|
41696
41697
|
//#endregion
|
|
41697
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
41698
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/PersonalMessage.js
|
|
41698
41699
|
var PersonalMessage_exports = /* @__PURE__ */ __exportAll({
|
|
41699
41700
|
encode: () => encode$2,
|
|
41700
41701
|
getSignPayload: () => getSignPayload$9
|
|
@@ -41737,242 +41738,7 @@ function getSignPayload$9(data) {
|
|
|
41737
41738
|
return keccak256(encode$2(data));
|
|
41738
41739
|
}
|
|
41739
41740
|
//#endregion
|
|
41740
|
-
//#region ../../node_modules/.pnpm/
|
|
41741
|
-
var import_eventemitter3 = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41742
|
-
var has = Object.prototype.hasOwnProperty, prefix = "~";
|
|
41743
|
-
/**
|
|
41744
|
-
* Constructor to create a storage for our `EE` objects.
|
|
41745
|
-
* An `Events` instance is a plain object whose properties are event names.
|
|
41746
|
-
*
|
|
41747
|
-
* @constructor
|
|
41748
|
-
* @private
|
|
41749
|
-
*/
|
|
41750
|
-
function Events() {}
|
|
41751
|
-
if (Object.create) {
|
|
41752
|
-
Events.prototype = Object.create(null);
|
|
41753
|
-
if (!new Events().__proto__) prefix = false;
|
|
41754
|
-
}
|
|
41755
|
-
/**
|
|
41756
|
-
* Representation of a single event listener.
|
|
41757
|
-
*
|
|
41758
|
-
* @param {Function} fn The listener function.
|
|
41759
|
-
* @param {*} context The context to invoke the listener with.
|
|
41760
|
-
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
|
41761
|
-
* @constructor
|
|
41762
|
-
* @private
|
|
41763
|
-
*/
|
|
41764
|
-
function EE(fn, context, once) {
|
|
41765
|
-
this.fn = fn;
|
|
41766
|
-
this.context = context;
|
|
41767
|
-
this.once = once || false;
|
|
41768
|
-
}
|
|
41769
|
-
/**
|
|
41770
|
-
* Add a listener for a given event.
|
|
41771
|
-
*
|
|
41772
|
-
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
41773
|
-
* @param {(String|Symbol)} event The event name.
|
|
41774
|
-
* @param {Function} fn The listener function.
|
|
41775
|
-
* @param {*} context The context to invoke the listener with.
|
|
41776
|
-
* @param {Boolean} once Specify if the listener is a one-time listener.
|
|
41777
|
-
* @returns {EventEmitter}
|
|
41778
|
-
* @private
|
|
41779
|
-
*/
|
|
41780
|
-
function addListener(emitter, event, fn, context, once) {
|
|
41781
|
-
if (typeof fn !== "function") throw new TypeError("The listener must be a function");
|
|
41782
|
-
var listener = new EE(fn, context || emitter, once), evt = prefix ? prefix + event : event;
|
|
41783
|
-
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
|
41784
|
-
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
|
41785
|
-
else emitter._events[evt] = [emitter._events[evt], listener];
|
|
41786
|
-
return emitter;
|
|
41787
|
-
}
|
|
41788
|
-
/**
|
|
41789
|
-
* Clear event by name.
|
|
41790
|
-
*
|
|
41791
|
-
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
41792
|
-
* @param {(String|Symbol)} evt The Event name.
|
|
41793
|
-
* @private
|
|
41794
|
-
*/
|
|
41795
|
-
function clearEvent(emitter, evt) {
|
|
41796
|
-
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
|
41797
|
-
else delete emitter._events[evt];
|
|
41798
|
-
}
|
|
41799
|
-
/**
|
|
41800
|
-
* Minimal `EventEmitter` interface that is molded against the Node.js
|
|
41801
|
-
* `EventEmitter` interface.
|
|
41802
|
-
*
|
|
41803
|
-
* @constructor
|
|
41804
|
-
* @public
|
|
41805
|
-
*/
|
|
41806
|
-
function EventEmitter() {
|
|
41807
|
-
this._events = new Events();
|
|
41808
|
-
this._eventsCount = 0;
|
|
41809
|
-
}
|
|
41810
|
-
/**
|
|
41811
|
-
* Return an array listing the events for which the emitter has registered
|
|
41812
|
-
* listeners.
|
|
41813
|
-
*
|
|
41814
|
-
* @returns {Array}
|
|
41815
|
-
* @public
|
|
41816
|
-
*/
|
|
41817
|
-
EventEmitter.prototype.eventNames = function eventNames() {
|
|
41818
|
-
var names = [], events, name;
|
|
41819
|
-
if (this._eventsCount === 0) return names;
|
|
41820
|
-
for (name in events = this._events) if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
|
41821
|
-
if (Object.getOwnPropertySymbols) return names.concat(Object.getOwnPropertySymbols(events));
|
|
41822
|
-
return names;
|
|
41823
|
-
};
|
|
41824
|
-
/**
|
|
41825
|
-
* Return the listeners registered for a given event.
|
|
41826
|
-
*
|
|
41827
|
-
* @param {(String|Symbol)} event The event name.
|
|
41828
|
-
* @returns {Array} The registered listeners.
|
|
41829
|
-
* @public
|
|
41830
|
-
*/
|
|
41831
|
-
EventEmitter.prototype.listeners = function listeners(event) {
|
|
41832
|
-
var evt = prefix ? prefix + event : event, handlers = this._events[evt];
|
|
41833
|
-
if (!handlers) return [];
|
|
41834
|
-
if (handlers.fn) return [handlers.fn];
|
|
41835
|
-
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) ee[i] = handlers[i].fn;
|
|
41836
|
-
return ee;
|
|
41837
|
-
};
|
|
41838
|
-
/**
|
|
41839
|
-
* Return the number of listeners listening to a given event.
|
|
41840
|
-
*
|
|
41841
|
-
* @param {(String|Symbol)} event The event name.
|
|
41842
|
-
* @returns {Number} The number of listeners.
|
|
41843
|
-
* @public
|
|
41844
|
-
*/
|
|
41845
|
-
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
|
41846
|
-
var evt = prefix ? prefix + event : event, listeners = this._events[evt];
|
|
41847
|
-
if (!listeners) return 0;
|
|
41848
|
-
if (listeners.fn) return 1;
|
|
41849
|
-
return listeners.length;
|
|
41850
|
-
};
|
|
41851
|
-
/**
|
|
41852
|
-
* Calls each of the listeners registered for a given event.
|
|
41853
|
-
*
|
|
41854
|
-
* @param {(String|Symbol)} event The event name.
|
|
41855
|
-
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
|
41856
|
-
* @public
|
|
41857
|
-
*/
|
|
41858
|
-
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
41859
|
-
var evt = prefix ? prefix + event : event;
|
|
41860
|
-
if (!this._events[evt]) return false;
|
|
41861
|
-
var listeners = this._events[evt], len = arguments.length, args, i;
|
|
41862
|
-
if (listeners.fn) {
|
|
41863
|
-
if (listeners.once) this.removeListener(event, listeners.fn, void 0, true);
|
|
41864
|
-
switch (len) {
|
|
41865
|
-
case 1: return listeners.fn.call(listeners.context), true;
|
|
41866
|
-
case 2: return listeners.fn.call(listeners.context, a1), true;
|
|
41867
|
-
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
|
41868
|
-
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
41869
|
-
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
|
41870
|
-
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
|
41871
|
-
}
|
|
41872
|
-
for (i = 1, args = new Array(len - 1); i < len; i++) args[i - 1] = arguments[i];
|
|
41873
|
-
listeners.fn.apply(listeners.context, args);
|
|
41874
|
-
} else {
|
|
41875
|
-
var length = listeners.length, j;
|
|
41876
|
-
for (i = 0; i < length; i++) {
|
|
41877
|
-
if (listeners[i].once) this.removeListener(event, listeners[i].fn, void 0, true);
|
|
41878
|
-
switch (len) {
|
|
41879
|
-
case 1:
|
|
41880
|
-
listeners[i].fn.call(listeners[i].context);
|
|
41881
|
-
break;
|
|
41882
|
-
case 2:
|
|
41883
|
-
listeners[i].fn.call(listeners[i].context, a1);
|
|
41884
|
-
break;
|
|
41885
|
-
case 3:
|
|
41886
|
-
listeners[i].fn.call(listeners[i].context, a1, a2);
|
|
41887
|
-
break;
|
|
41888
|
-
case 4:
|
|
41889
|
-
listeners[i].fn.call(listeners[i].context, a1, a2, a3);
|
|
41890
|
-
break;
|
|
41891
|
-
default:
|
|
41892
|
-
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) args[j - 1] = arguments[j];
|
|
41893
|
-
listeners[i].fn.apply(listeners[i].context, args);
|
|
41894
|
-
}
|
|
41895
|
-
}
|
|
41896
|
-
}
|
|
41897
|
-
return true;
|
|
41898
|
-
};
|
|
41899
|
-
/**
|
|
41900
|
-
* Add a listener for a given event.
|
|
41901
|
-
*
|
|
41902
|
-
* @param {(String|Symbol)} event The event name.
|
|
41903
|
-
* @param {Function} fn The listener function.
|
|
41904
|
-
* @param {*} [context=this] The context to invoke the listener with.
|
|
41905
|
-
* @returns {EventEmitter} `this`.
|
|
41906
|
-
* @public
|
|
41907
|
-
*/
|
|
41908
|
-
EventEmitter.prototype.on = function on(event, fn, context) {
|
|
41909
|
-
return addListener(this, event, fn, context, false);
|
|
41910
|
-
};
|
|
41911
|
-
/**
|
|
41912
|
-
* Add a one-time listener for a given event.
|
|
41913
|
-
*
|
|
41914
|
-
* @param {(String|Symbol)} event The event name.
|
|
41915
|
-
* @param {Function} fn The listener function.
|
|
41916
|
-
* @param {*} [context=this] The context to invoke the listener with.
|
|
41917
|
-
* @returns {EventEmitter} `this`.
|
|
41918
|
-
* @public
|
|
41919
|
-
*/
|
|
41920
|
-
EventEmitter.prototype.once = function once(event, fn, context) {
|
|
41921
|
-
return addListener(this, event, fn, context, true);
|
|
41922
|
-
};
|
|
41923
|
-
/**
|
|
41924
|
-
* Remove the listeners of a given event.
|
|
41925
|
-
*
|
|
41926
|
-
* @param {(String|Symbol)} event The event name.
|
|
41927
|
-
* @param {Function} fn Only remove the listeners that match this function.
|
|
41928
|
-
* @param {*} context Only remove the listeners that have this context.
|
|
41929
|
-
* @param {Boolean} once Only remove one-time listeners.
|
|
41930
|
-
* @returns {EventEmitter} `this`.
|
|
41931
|
-
* @public
|
|
41932
|
-
*/
|
|
41933
|
-
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
41934
|
-
var evt = prefix ? prefix + event : event;
|
|
41935
|
-
if (!this._events[evt]) return this;
|
|
41936
|
-
if (!fn) {
|
|
41937
|
-
clearEvent(this, evt);
|
|
41938
|
-
return this;
|
|
41939
|
-
}
|
|
41940
|
-
var listeners = this._events[evt];
|
|
41941
|
-
if (listeners.fn) {
|
|
41942
|
-
if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) clearEvent(this, evt);
|
|
41943
|
-
} else {
|
|
41944
|
-
for (var i = 0, events = [], length = listeners.length; i < length; i++) if (listeners[i].fn !== fn || once && !listeners[i].once || context && listeners[i].context !== context) events.push(listeners[i]);
|
|
41945
|
-
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
|
41946
|
-
else clearEvent(this, evt);
|
|
41947
|
-
}
|
|
41948
|
-
return this;
|
|
41949
|
-
};
|
|
41950
|
-
/**
|
|
41951
|
-
* Remove all listeners, or those of the specified event.
|
|
41952
|
-
*
|
|
41953
|
-
* @param {(String|Symbol)} [event] The event name.
|
|
41954
|
-
* @returns {EventEmitter} `this`.
|
|
41955
|
-
* @public
|
|
41956
|
-
*/
|
|
41957
|
-
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
|
41958
|
-
var evt;
|
|
41959
|
-
if (event) {
|
|
41960
|
-
evt = prefix ? prefix + event : event;
|
|
41961
|
-
if (this._events[evt]) clearEvent(this, evt);
|
|
41962
|
-
} else {
|
|
41963
|
-
this._events = new Events();
|
|
41964
|
-
this._eventsCount = 0;
|
|
41965
|
-
}
|
|
41966
|
-
return this;
|
|
41967
|
-
};
|
|
41968
|
-
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
41969
|
-
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
|
41970
|
-
EventEmitter.prefixed = prefix;
|
|
41971
|
-
EventEmitter.EventEmitter = EventEmitter;
|
|
41972
|
-
if ("undefined" !== typeof module) module.exports = EventEmitter;
|
|
41973
|
-
})))(), 1);
|
|
41974
|
-
//#endregion
|
|
41975
|
-
//#region ../../node_modules/.pnpm/ox@https+++pkg.pr.new+ox@386a3439fe1ce76d237930f8c6e6bb493746069a_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/RpcResponse.js
|
|
41741
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/RpcResponse.js
|
|
41976
41742
|
var RpcResponse_exports = /* @__PURE__ */ __exportAll({
|
|
41977
41743
|
BaseError: () => BaseError,
|
|
41978
41744
|
InternalError: () => InternalError,
|
|
@@ -42522,7 +42288,7 @@ Object.defineProperty(ParseError, "code", {
|
|
|
42522
42288
|
value: -32700
|
|
42523
42289
|
});
|
|
42524
42290
|
//#endregion
|
|
42525
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
42291
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Provider.js
|
|
42526
42292
|
var Provider_exports = /* @__PURE__ */ __exportAll({
|
|
42527
42293
|
AtomicReadyWalletRejectedUpgradeError: () => AtomicReadyWalletRejectedUpgradeError,
|
|
42528
42294
|
AtomicityNotSupportedError: () => AtomicityNotSupportedError,
|
|
@@ -43002,7 +42768,7 @@ var IsUndefinedError = class extends BaseError$1 {
|
|
|
43002
42768
|
}
|
|
43003
42769
|
};
|
|
43004
42770
|
//#endregion
|
|
43005
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
42771
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/RpcRequest.js
|
|
43006
42772
|
var RpcRequest_exports = /* @__PURE__ */ __exportAll({
|
|
43007
42773
|
createStore: () => createStore,
|
|
43008
42774
|
from: () => from$7
|
|
@@ -43132,7 +42898,7 @@ function from$7(options) {
|
|
|
43132
42898
|
};
|
|
43133
42899
|
}
|
|
43134
42900
|
//#endregion
|
|
43135
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
42901
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/RpcSchema.js
|
|
43136
42902
|
var RpcSchema_exports = /* @__PURE__ */ __exportAll({ from: () => from$6 });
|
|
43137
42903
|
/**
|
|
43138
42904
|
* Instantiates a statically typed Schema. This is a runtime-noop function, and is purposed
|
|
@@ -43180,7 +42946,7 @@ function from$6() {
|
|
|
43180
42946
|
return null;
|
|
43181
42947
|
}
|
|
43182
42948
|
//#endregion
|
|
43183
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
42949
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/promise.js
|
|
43184
42950
|
/** @internal */
|
|
43185
42951
|
function withTimeout(fn, options) {
|
|
43186
42952
|
const { errorInstance = new TimeoutError(), timeout, signal } = options;
|
|
@@ -43220,7 +42986,7 @@ var TimeoutError = class extends BaseError$1 {
|
|
|
43220
42986
|
}
|
|
43221
42987
|
};
|
|
43222
42988
|
//#endregion
|
|
43223
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
42989
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/rpcTransport.js
|
|
43224
42990
|
/** @internal */
|
|
43225
42991
|
function create$1(transport, options_root) {
|
|
43226
42992
|
const requestStore = createStore();
|
|
@@ -43233,7 +42999,7 @@ function create$1(transport, options_root) {
|
|
|
43233
42999
|
} };
|
|
43234
43000
|
}
|
|
43235
43001
|
//#endregion
|
|
43236
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43002
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/RpcTransport.js
|
|
43237
43003
|
var RpcTransport_exports = /* @__PURE__ */ __exportAll({
|
|
43238
43004
|
HttpError: () => HttpError,
|
|
43239
43005
|
MalformedResponseError: () => MalformedResponseError,
|
|
@@ -43329,7 +43095,7 @@ var MalformedResponseError = class extends BaseError$1 {
|
|
|
43329
43095
|
}
|
|
43330
43096
|
};
|
|
43331
43097
|
//#endregion
|
|
43332
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43098
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/uid.js
|
|
43333
43099
|
const size = 256;
|
|
43334
43100
|
let index = size;
|
|
43335
43101
|
let buffer;
|
|
@@ -43343,7 +43109,7 @@ function uid(length = 11) {
|
|
|
43343
43109
|
return buffer.substring(index, index++ + length);
|
|
43344
43110
|
}
|
|
43345
43111
|
//#endregion
|
|
43346
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43112
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Siwe.js
|
|
43347
43113
|
var Siwe_exports = /* @__PURE__ */ __exportAll({
|
|
43348
43114
|
InvalidMessageFieldError: () => InvalidMessageFieldError,
|
|
43349
43115
|
createMessage: () => createMessage,
|
|
@@ -43671,7 +43437,7 @@ var InvalidMessageFieldError = class extends BaseError$1 {
|
|
|
43671
43437
|
}
|
|
43672
43438
|
};
|
|
43673
43439
|
//#endregion
|
|
43674
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43440
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/StateOverrides.js
|
|
43675
43441
|
var StateOverrides_exports = /* @__PURE__ */ __exportAll({
|
|
43676
43442
|
fromRpc: () => fromRpc$2,
|
|
43677
43443
|
toRpc: () => toRpc$6
|
|
@@ -43739,7 +43505,7 @@ function toRpc$6(stateOverrides) {
|
|
|
43739
43505
|
return rpcStateOverrides;
|
|
43740
43506
|
}
|
|
43741
43507
|
//#endregion
|
|
43742
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43508
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TransactionReceipt.js
|
|
43743
43509
|
var TransactionReceipt_exports = /* @__PURE__ */ __exportAll({
|
|
43744
43510
|
fromRpc: () => fromRpc$1,
|
|
43745
43511
|
fromRpcStatus: () => fromRpcStatus,
|
|
@@ -43962,7 +43728,7 @@ function toRpc$5(receipt) {
|
|
|
43962
43728
|
};
|
|
43963
43729
|
}
|
|
43964
43730
|
//#endregion
|
|
43965
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43731
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TransactionRequest.js
|
|
43966
43732
|
var TransactionRequest_exports = /* @__PURE__ */ __exportAll({
|
|
43967
43733
|
fromRpc: () => fromRpc,
|
|
43968
43734
|
toRpc: () => toRpc$4
|
|
@@ -44064,7 +43830,7 @@ function toRpc$4(request) {
|
|
|
44064
43830
|
return request_rpc;
|
|
44065
43831
|
}
|
|
44066
43832
|
//#endregion
|
|
44067
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
43833
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/Value.js
|
|
44068
43834
|
var Value_exports = /* @__PURE__ */ __exportAll({
|
|
44069
43835
|
InvalidDecimalNumberError: () => InvalidDecimalNumberError,
|
|
44070
43836
|
exponents: () => exponents,
|
|
@@ -44243,7 +44009,7 @@ var InvalidDecimalNumberError = class extends BaseError$1 {
|
|
|
44243
44009
|
}
|
|
44244
44010
|
};
|
|
44245
44011
|
//#endregion
|
|
44246
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
44012
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelope.js
|
|
44247
44013
|
var TxEnvelope_exports = /* @__PURE__ */ __exportAll({
|
|
44248
44014
|
FeeCapTooHighError: () => FeeCapTooHighError,
|
|
44249
44015
|
GasPriceTooHighError: () => GasPriceTooHighError,
|
|
@@ -44375,7 +44141,7 @@ var TipAboveFeeCapError = class extends BaseError$1 {
|
|
|
44375
44141
|
}
|
|
44376
44142
|
};
|
|
44377
44143
|
//#endregion
|
|
44378
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
44144
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelopeEip1559.js
|
|
44379
44145
|
var TxEnvelopeEip1559_exports = /* @__PURE__ */ __exportAll({
|
|
44380
44146
|
assert: () => assert$5,
|
|
44381
44147
|
deserialize: () => deserialize$4,
|
|
@@ -44784,7 +44550,7 @@ function validate$5(envelope) {
|
|
|
44784
44550
|
}
|
|
44785
44551
|
}
|
|
44786
44552
|
//#endregion
|
|
44787
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
44553
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelopeEip2930.js
|
|
44788
44554
|
var TxEnvelopeEip2930_exports = /* @__PURE__ */ __exportAll({
|
|
44789
44555
|
assert: () => assert$4,
|
|
44790
44556
|
deserialize: () => deserialize$3,
|
|
@@ -45184,7 +44950,7 @@ function validate$4(envelope) {
|
|
|
45184
44950
|
}
|
|
45185
44951
|
}
|
|
45186
44952
|
//#endregion
|
|
45187
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
44953
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelopeEip4844.js
|
|
45188
44954
|
var TxEnvelopeEip4844_exports = /* @__PURE__ */ __exportAll({
|
|
45189
44955
|
assert: () => assert$3,
|
|
45190
44956
|
deserialize: () => deserialize$2,
|
|
@@ -45675,7 +45441,7 @@ function validate$3(envelope) {
|
|
|
45675
45441
|
}
|
|
45676
45442
|
}
|
|
45677
45443
|
//#endregion
|
|
45678
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
45444
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelopeEip7702.js
|
|
45679
45445
|
var TxEnvelopeEip7702_exports = /* @__PURE__ */ __exportAll({
|
|
45680
45446
|
assert: () => assert$2,
|
|
45681
45447
|
deserialize: () => deserialize$1,
|
|
@@ -46082,7 +45848,7 @@ function validate$2(envelope) {
|
|
|
46082
45848
|
}
|
|
46083
45849
|
}
|
|
46084
45850
|
//#endregion
|
|
46085
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
45851
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TxEnvelopeLegacy.js
|
|
46086
45852
|
var TxEnvelopeLegacy_exports = /* @__PURE__ */ __exportAll({
|
|
46087
45853
|
assert: () => assert$1,
|
|
46088
45854
|
deserialize: () => deserialize,
|
|
@@ -46517,7 +46283,7 @@ function validate$1(envelope) {
|
|
|
46517
46283
|
}
|
|
46518
46284
|
}
|
|
46519
46285
|
//#endregion
|
|
46520
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
46286
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/TypedData.js
|
|
46521
46287
|
var TypedData_exports = /* @__PURE__ */ __exportAll({
|
|
46522
46288
|
BytesSizeMismatchError: () => BytesSizeMismatchError,
|
|
46523
46289
|
InvalidDomainError: () => InvalidDomainError,
|
|
@@ -47125,7 +46891,7 @@ function validateReference(type) {
|
|
|
47125
46891
|
if (type === "address" || type === "bool" || type === "string" || type.startsWith("bytes") || type.startsWith("uint") || type.startsWith("int")) throw new InvalidStructTypeError({ type });
|
|
47126
46892
|
}
|
|
47127
46893
|
//#endregion
|
|
47128
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
46894
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/ValidatorData.js
|
|
47129
46895
|
var ValidatorData_exports = /* @__PURE__ */ __exportAll({
|
|
47130
46896
|
encode: () => encode,
|
|
47131
46897
|
getSignPayload: () => getSignPayload$2
|
|
@@ -47174,7 +46940,7 @@ function getSignPayload$2(value) {
|
|
|
47174
46940
|
return keccak256(encode(value));
|
|
47175
46941
|
}
|
|
47176
46942
|
//#endregion
|
|
47177
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
46943
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/webauthn/Registration.js
|
|
47178
46944
|
const createChallenge$1 = Uint8Array.from([
|
|
47179
46945
|
105,
|
|
47180
46946
|
171,
|
|
@@ -47290,7 +47056,7 @@ var CreateFailedError = class extends BaseError$1 {
|
|
|
47290
47056
|
}
|
|
47291
47057
|
};
|
|
47292
47058
|
//#endregion
|
|
47293
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47059
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/internal/webauthn.js
|
|
47294
47060
|
/**
|
|
47295
47061
|
* Parses an ASN.1 signature into a r and s value.
|
|
47296
47062
|
*
|
|
@@ -47344,7 +47110,7 @@ async function parseCredentialPublicKey(response, attestationObject) {
|
|
|
47344
47110
|
}
|
|
47345
47111
|
}
|
|
47346
47112
|
//#endregion
|
|
47347
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47113
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/webauthn/Authenticator.js
|
|
47348
47114
|
/**
|
|
47349
47115
|
* Gets the authenticator data which contains information about the
|
|
47350
47116
|
* processing of an authenticator request (ie. from `Authentication.sign`).
|
|
@@ -47479,7 +47245,7 @@ function getAttestationObject$1(options) {
|
|
|
47479
47245
|
});
|
|
47480
47246
|
}
|
|
47481
47247
|
//#endregion
|
|
47482
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47248
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/webauthn/Authentication.js
|
|
47483
47249
|
/**
|
|
47484
47250
|
* Returns the request options to sign a challenge with the Web Authentication API.
|
|
47485
47251
|
*
|
|
@@ -47701,7 +47467,7 @@ function verify$2(options) {
|
|
|
47701
47467
|
});
|
|
47702
47468
|
}
|
|
47703
47469
|
//#endregion
|
|
47704
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47470
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/WebAuthnP256.js
|
|
47705
47471
|
var WebAuthnP256_exports = /* @__PURE__ */ __exportAll({
|
|
47706
47472
|
createChallenge: () => createChallenge,
|
|
47707
47473
|
createCredential: () => createCredential,
|
|
@@ -47993,7 +47759,7 @@ function verify$1(options) {
|
|
|
47993
47759
|
return verify$2(options);
|
|
47994
47760
|
}
|
|
47995
47761
|
//#endregion
|
|
47996
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47762
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/WebCryptoP256.js
|
|
47997
47763
|
var WebCryptoP256_exports = /* @__PURE__ */ __exportAll({
|
|
47998
47764
|
createKeyPair: () => createKeyPair$1,
|
|
47999
47765
|
createKeyPairECDH: () => createKeyPairECDH,
|
|
@@ -48182,7 +47948,7 @@ async function verify(options) {
|
|
|
48182
47948
|
}, publicKey, concat(fromNumber(signature.r), fromNumber(signature.s)), from$25(payload));
|
|
48183
47949
|
}
|
|
48184
47950
|
//#endregion
|
|
48185
|
-
//#region ../../node_modules/.pnpm/ox@
|
|
47951
|
+
//#region ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.2_zod@3.25.76/node_modules/ox/_esm/core/X25519.js
|
|
48186
47952
|
var X25519_exports = /* @__PURE__ */ __exportAll({
|
|
48187
47953
|
createKeyPair: () => createKeyPair,
|
|
48188
47954
|
getPublicKey: () => getPublicKey,
|