@ariestools/cli 0.1.17 → 0.1.18
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/bin/aries.mjs +1218 -719
- package/dist/bin/daemons/chain-server.mjs +6 -6
- package/dist/bin/daemons/dapp-server.mjs +1 -1
- package/dist/bin/daemons/datalake-dev.mjs +793 -490
- package/package.json +11 -11
package/dist/bin/aries.mjs
CHANGED
|
@@ -43924,7 +43924,7 @@ var witnessCommand = {
|
|
|
43924
43924
|
handler: noopHandler$1
|
|
43925
43925
|
};
|
|
43926
43926
|
//#endregion
|
|
43927
|
-
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-daemon@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.
|
|
43927
|
+
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-daemon@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.9_@o_646d8836190a579cf5aa9c1cb187862e/node_modules/@ariestools/cli-kit-daemon/dist/node/index.mjs
|
|
43928
43928
|
async function allocateFreePort(host = "127.0.0.1") {
|
|
43929
43929
|
return await new Promise((resolve, reject) => {
|
|
43930
43930
|
const server = NET.createServer();
|
|
@@ -44228,7 +44228,7 @@ function createDaemonKit$1(config) {
|
|
|
44228
44228
|
};
|
|
44229
44229
|
}
|
|
44230
44230
|
//#endregion
|
|
44231
|
-
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-node@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.
|
|
44231
|
+
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-node@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.9_@ope_f0f84665a1b2bbb14be202b1673ab94b/node_modules/@ariestools/cli-kit-node/dist/node/index.mjs
|
|
44232
44232
|
function resolveEnvironmentValue(key, layers) {
|
|
44233
44233
|
for (const layer of layers) {
|
|
44234
44234
|
if (!Object.hasOwn(layer, key)) continue;
|
|
@@ -45740,8 +45740,8 @@ var init_parse$3 = __esmMin((() => {
|
|
|
45740
45740
|
//#endregion
|
|
45741
45741
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
45742
45742
|
var regexes_exports = /* @__PURE__ */ __exportAll({
|
|
45743
|
-
base64: () => base64$
|
|
45744
|
-
base64url: () => base64url$
|
|
45743
|
+
base64: () => base64$3,
|
|
45744
|
+
base64url: () => base64url$2,
|
|
45745
45745
|
bigint: () => bigint$4,
|
|
45746
45746
|
boolean: () => boolean$3,
|
|
45747
45747
|
browserEmail: () => browserEmail,
|
|
@@ -45758,7 +45758,7 @@ var regexes_exports = /* @__PURE__ */ __exportAll({
|
|
|
45758
45758
|
emoji: () => emoji$1,
|
|
45759
45759
|
extendedDuration: () => extendedDuration,
|
|
45760
45760
|
guid: () => guid$1,
|
|
45761
|
-
hex: () => hex$
|
|
45761
|
+
hex: () => hex$3,
|
|
45762
45762
|
hostname: () => hostname$2,
|
|
45763
45763
|
html5Email: () => html5Email,
|
|
45764
45764
|
httpProtocol: () => httpProtocol,
|
|
@@ -45824,7 +45824,7 @@ function fixedBase64(bodyLength, padding) {
|
|
|
45824
45824
|
function fixedBase64url(length) {
|
|
45825
45825
|
return new RegExp(`^[A-Za-z0-9_-]{${length}}$`);
|
|
45826
45826
|
}
|
|
45827
|
-
var cuid$1, cuid2$1, ulid$1, xid$1, ksuid$1, nanoid$1, duration$1, extendedDuration, guid$1, uuid$1, uuid4, uuid6, uuid7, email$1, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji$1, ipv4$1, ipv6$1, mac$1, cidrv4$1, cidrv6$1, base64$
|
|
45827
|
+
var cuid$1, cuid2$1, ulid$1, xid$1, ksuid$1, nanoid$1, duration$1, extendedDuration, guid$1, uuid$1, uuid4, uuid6, uuid7, email$1, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji$1, ipv4$1, ipv6$1, mac$1, cidrv4$1, cidrv6$1, base64$3, base64url$2, hostname$2, domain, httpProtocol, e164$1, dateSource, date$4, string$4, bigint$4, integer$1, number$6, boolean$3, _null$3, _undefined$2, lowercase, uppercase, hex$3, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url;
|
|
45828
45828
|
var init_regexes = __esmMin((() => {
|
|
45829
45829
|
init_util$2();
|
|
45830
45830
|
cuid$1 = /^[cC][0-9a-z]{6,}$/;
|
|
@@ -45858,8 +45858,8 @@ var init_regexes = __esmMin((() => {
|
|
|
45858
45858
|
};
|
|
45859
45859
|
cidrv4$1 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
|
|
45860
45860
|
cidrv6$1 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
|
|
45861
|
-
base64$
|
|
45862
|
-
base64url$
|
|
45861
|
+
base64$3 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
|
|
45862
|
+
base64url$2 = /^[A-Za-z0-9_-]*$/;
|
|
45863
45863
|
hostname$2 = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
|
|
45864
45864
|
domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
|
|
45865
45865
|
httpProtocol = /^https?$/;
|
|
@@ -45878,7 +45878,7 @@ var init_regexes = __esmMin((() => {
|
|
|
45878
45878
|
_undefined$2 = /^undefined$/i;
|
|
45879
45879
|
lowercase = /^[^A-Z]*$/;
|
|
45880
45880
|
uppercase = /^[^a-z]*$/;
|
|
45881
|
-
hex$
|
|
45881
|
+
hex$3 = /^[0-9a-fA-F]*$/;
|
|
45882
45882
|
md5_hex = /^[0-9a-fA-F]{32}$/;
|
|
45883
45883
|
md5_base64 = /*@__PURE__*/ fixedBase64(22, "==");
|
|
45884
45884
|
md5_base64url = /*@__PURE__*/ fixedBase64url(22);
|
|
@@ -46468,7 +46468,7 @@ function isValidBase64(data) {
|
|
|
46468
46468
|
}
|
|
46469
46469
|
}
|
|
46470
46470
|
function isValidBase64URL(data) {
|
|
46471
|
-
if (!base64url$
|
|
46471
|
+
if (!base64url$2.test(data)) return false;
|
|
46472
46472
|
const base64 = data.replace(/[-_]/g, (c) => c === "-" ? "+" : "/");
|
|
46473
46473
|
return isValidBase64(base64.padEnd(Math.ceil(base64.length / 4) * 4, "="));
|
|
46474
46474
|
}
|
|
@@ -47102,7 +47102,7 @@ var init_schemas$2 = __esmMin((() => {
|
|
|
47102
47102
|
};
|
|
47103
47103
|
});
|
|
47104
47104
|
$ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
|
|
47105
|
-
def.pattern ?? (def.pattern = base64$
|
|
47105
|
+
def.pattern ?? (def.pattern = base64$3);
|
|
47106
47106
|
$ZodStringFormat.init(inst, def);
|
|
47107
47107
|
inst._zod.bag.contentEncoding = "base64";
|
|
47108
47108
|
inst._zod.check = (payload) => {
|
|
@@ -47117,7 +47117,7 @@ var init_schemas$2 = __esmMin((() => {
|
|
|
47117
47117
|
};
|
|
47118
47118
|
});
|
|
47119
47119
|
$ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
|
|
47120
|
-
def.pattern ?? (def.pattern = base64url$
|
|
47120
|
+
def.pattern ?? (def.pattern = base64url$2);
|
|
47121
47121
|
$ZodStringFormat.init(inst, def);
|
|
47122
47122
|
inst._zod.bag.contentEncoding = "base64url";
|
|
47123
47123
|
inst._zod.check = (payload) => {
|
|
@@ -58373,7 +58373,7 @@ var init_esm$1 = __esmMin((() => {
|
|
|
58373
58373
|
init_trace_api();
|
|
58374
58374
|
}));
|
|
58375
58375
|
//#endregion
|
|
58376
|
-
//#region ../../node_modules/.pnpm/@ariestools+telemetry@8.1.
|
|
58376
|
+
//#region ../../node_modules/.pnpm/@ariestools+telemetry@8.1.9_@opentelemetry+api@1.9.1/node_modules/@ariestools/telemetry/dist/neutral/index.mjs
|
|
58377
58377
|
async function timeBudget(name, logger, func, budget, status = false) {
|
|
58378
58378
|
const start = Date.now();
|
|
58379
58379
|
const timer = status ? setInterval(() => {
|
|
@@ -58591,7 +58591,7 @@ var init_neutral$4 = __esmMin((() => {
|
|
|
58591
58591
|
});
|
|
58592
58592
|
}));
|
|
58593
58593
|
//#endregion
|
|
58594
|
-
//#region ../../node_modules/.pnpm/@ariestools+sdk@8.1.
|
|
58594
|
+
//#region ../../node_modules/.pnpm/@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3/node_modules/@ariestools/sdk/dist/node/index.mjs
|
|
58595
58595
|
function findErrorCode(error) {
|
|
58596
58596
|
let current = error;
|
|
58597
58597
|
for (let depth = 0; depth < 8 && current instanceof Error; depth++) {
|
|
@@ -61177,7 +61177,7 @@ var init_index_min = __esmMin((() => {
|
|
|
61177
61177
|
};
|
|
61178
61178
|
}));
|
|
61179
61179
|
//#endregion
|
|
61180
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
61180
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-model.mjs
|
|
61181
61181
|
function creatableModule() {
|
|
61182
61182
|
return (constructor) => {};
|
|
61183
61183
|
}
|
|
@@ -61636,7 +61636,7 @@ var init_archivist_model = __esmMin((() => {
|
|
|
61636
61636
|
};
|
|
61637
61637
|
}));
|
|
61638
61638
|
//#endregion
|
|
61639
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
61639
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-model.mjs
|
|
61640
61640
|
var DivinerDivineQuerySchema, DivinerDivineQueryZod, isDivinerDivineQuery, asDivinerDivineQuery, toDivinerDivineQuery, isDivinerInstance, isDivinerModule, asDivinerModule, asDivinerInstance, withDivinerModule, withDivinerInstance, requiredAttachableDivinerInstanceFunctions, isAttachableDivinerInstance, asAttachableDivinerInstance, IsAttachableDivinerInstanceFactory, DivinerConfigSchema, DivinerConfigZod, isDivinerConfig, asDivinerConfig, toDivinerConfig;
|
|
61641
61641
|
var init_diviner_model = __esmMin((() => {
|
|
61642
61642
|
init_node$2();
|
|
@@ -61667,7 +61667,7 @@ var init_diviner_model = __esmMin((() => {
|
|
|
61667
61667
|
toDivinerConfig = zodToFactory(DivinerConfigZod, "toDivinerConfig");
|
|
61668
61668
|
}));
|
|
61669
61669
|
//#endregion
|
|
61670
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
61670
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-payload-model.mjs
|
|
61671
61671
|
var PayloadDivinerSchema, PayloadDivinerConfigSchema, PayloadDivinerConfigZod, isPayloadDivinerConfig, asPayloadDivinerConfig, toPayloadDivinerConfig, PayloadDivinerQuerySchema, PayloadDivinerQueryPayloadZod, isPayloadDivinerQueryPayloadInternal, isPayloadDivinerQueryPayload, asPayloadDivinerQueryPayload, toPayloadDivinerQueryPayload;
|
|
61672
61672
|
var init_diviner_payload_model = __esmMin((() => {
|
|
61673
61673
|
init_node$2();
|
|
@@ -61697,7 +61697,7 @@ var init_diviner_payload_model = __esmMin((() => {
|
|
|
61697
61697
|
toPayloadDivinerQueryPayload = zodToFactory(PayloadDivinerQueryPayloadZod, "toPayloadDivinerQueryPayload");
|
|
61698
61698
|
}));
|
|
61699
61699
|
//#endregion
|
|
61700
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
61700
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-resolver.mjs
|
|
61701
61701
|
var AbstractModuleResolver, resolveAddressToInstanceDown, resolveAddressToInstanceSiblings, resolveAddressToInstanceUp, resolveAddressToInstanceAll, resolveAddressToInstance, resolveAllUp, resolveAllDown, resolveAll, ResolveHelperStatic, resolveLocalNameToInstanceUp, resolveLocalNameToInstanceDown, resolveLocalNameToInstanceAll, resolveLocalNameToInstance, resolveLocalNameToAddressUp, resolveLocalNameToAddressDown, resolveLocalNameToAddressAll, resolveLocalNameToAddress, transformModuleIdentifier, resolvePathToInstance, resolvePathToAddress, traceModuleIdentifier, ResolveHelper, SimpleModuleResolver, moduleIdentifierParts, CompositeModuleResolver, NameRegistrarTransformer, getMixin, mixinResolverEventEmitter;
|
|
61702
61702
|
var init_module_resolver = __esmMin((() => {
|
|
61703
61703
|
init_node$2();
|
|
@@ -62236,7 +62236,7 @@ var init_module_resolver = __esmMin((() => {
|
|
|
62236
62236
|
};
|
|
62237
62237
|
}));
|
|
62238
62238
|
//#endregion
|
|
62239
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
62239
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node-model.mjs
|
|
62240
62240
|
var NodeAttachQuerySchema, NodeAttachQueryZod, isNodeAttachQuery, asNodeAttachQuery, toNodeAttachQuery, NodeAttachedQuerySchema, NodeAttachedQueryZod, isNodeAttachedQuery, asNodeAttachedQuery, toNodeAttachedQuery, NodeCertifyQuerySchema, NodeCertifyQueryZod, isNodeCertifyQuery, asNodeCertifyQuery, toNodeCertifyQuery, NodeDetachQuerySchema, NodeDetachQueryZod, isNodeDetachQuery, asNodeDetachQuery, toNodeDetachQuery, NodeRegisteredQuerySchema, NodeRegisteredQueryZod, isNodeRegisteredQuery, asNodeRegisteredQuery, toNodeRegisteredQuery, isNodeInstance, isNodeModule, asNodeModule, asNodeInstance, withNodeModule, withNodeInstance, requiredAttachableNodeInstanceFunctions, isAttachableNodeInstance, asAttachableNodeInstance, IsAttachableNodeInstanceFactory, ChildCertificationSchema, ChildCertificationZod, isChildCertification, asChildCertification, toChildCertification, NodeConfigSchema, NodeConfigZod, isNodeConfig, asNodeConfig, toNodeConfig;
|
|
62241
62241
|
var init_node_model = __esmMin((() => {
|
|
62242
62242
|
init_node$2();
|
|
@@ -62305,7 +62305,7 @@ var init_node_model = __esmMin((() => {
|
|
|
62305
62305
|
toNodeConfig = zodToFactory(NodeConfigZod, "toNodeConfig");
|
|
62306
62306
|
}));
|
|
62307
62307
|
//#endregion
|
|
62308
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
62308
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-abstract.mjs
|
|
62309
62309
|
async function determineAccount(params, allowRandomAccount = true) {
|
|
62310
62310
|
if (isDetermineAccountFromAccountParams(params)) {
|
|
62311
62311
|
if (params.account === "random") {
|
|
@@ -63089,7 +63089,7 @@ var init_module_abstract = __esmMin((() => {
|
|
|
63089
63089
|
};
|
|
63090
63090
|
}));
|
|
63091
63091
|
//#endregion
|
|
63092
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
63092
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist-abstract.mjs
|
|
63093
63093
|
var StorageClassLabel, NOT_IMPLEMENTED, AbstractArchivist;
|
|
63094
63094
|
var init_archivist_abstract = __esmMin((() => {
|
|
63095
63095
|
init_node$2();
|
|
@@ -63570,7 +63570,7 @@ var init_archivist_abstract = __esmMin((() => {
|
|
|
63570
63570
|
};
|
|
63571
63571
|
}));
|
|
63572
63572
|
//#endregion
|
|
63573
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
63573
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist-generic.mjs
|
|
63574
63574
|
var __defProp$18, __getOwnPropDesc$17, __getProtoOf$5, __reflectGet$5, __defNormalProp$15, __decorateClass$17, __publicField$15, __superGet$5, GenericArchivistConfigSchema, GenericArchivistConfigZod, isGenericArchivistConfig, asGenericArchivistConfig, toGenericArchivistConfig, GenericArchivist;
|
|
63575
63575
|
var init_archivist_generic = __esmMin((() => {
|
|
63576
63576
|
init_node$2();
|
|
@@ -63668,7 +63668,7 @@ var init_archivist_generic = __esmMin((() => {
|
|
|
63668
63668
|
GenericArchivist = __decorateClass$17([creatableModule()], GenericArchivist);
|
|
63669
63669
|
}));
|
|
63670
63670
|
//#endregion
|
|
63671
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
63671
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist-view.mjs
|
|
63672
63672
|
var __defProp$17, __getOwnPropDesc$16, __getProtoOf$4, __reflectGet$4, __defNormalProp$14, __decorateClass$16, __publicField$14, __superGet$4, ViewArchivistConfigSchema, ViewArchivistConfigZod, isViewArchivistConfig, asViewArchivistConfig, toViewArchivistConfig, ViewArchivist;
|
|
63673
63673
|
var init_archivist_view = __esmMin((() => {
|
|
63674
63674
|
init_node$2();
|
|
@@ -63742,7 +63742,7 @@ var init_archivist_view = __esmMin((() => {
|
|
|
63742
63742
|
ViewArchivist = __decorateClass$16([labeledCreatableModule()], ViewArchivist);
|
|
63743
63743
|
}));
|
|
63744
63744
|
//#endregion
|
|
63745
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
63745
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/bridge-model.mjs
|
|
63746
63746
|
var BridgeConnectQuerySchema, BridgeConnectQueryZod, isBridgeConnectQuery, asBridgeConnectQuery, toBridgeConnectQuery, BridgeDisconnectQuerySchema, BridgeDisconnectQueryZod, isBridgeDisconnectQuery, asBridgeDisconnectQuery, toBridgeDisconnectQuery, BridgeExposeQuerySchema, ModuleFilterPayloadSchema, ModuleFilterPayloadZod, isModuleFilterPayload, asModuleFilterPayload, toModuleFilterPayload, BridgeExposeQueryZod, isBridgeExposeQuery, asBridgeExposeQuery, toBridgeExposeQuery, BridgeUnexposeQuerySchema, BridgeUnexposeQueryZod, isBridgeUnexposeQuery, asBridgeUnexposeQuery, toBridgeUnexposeQuery, isBridgeInstance, isBridgeModule, asBridgeModule, asBridgeInstance, withBridgeModule, withBridgeInstance, requiredAttachableBridgeInstanceFunctions, isAttachableBridgeInstance, asAttachableBridgeInstance, IsAttachableBridgeInstanceFactory, BridgeConfigSchema, BridgeConfigZod, isBridgeConfig, asBridgeConfig, toBridgeConfig;
|
|
63747
63747
|
var init_bridge_model = __esmMin((() => {
|
|
63748
63748
|
init_node$2();
|
|
@@ -63806,7 +63806,7 @@ var init_bridge_model = __esmMin((() => {
|
|
|
63806
63806
|
toBridgeConfig = zodToFactory(BridgeConfigZod, "toBridgeConfig");
|
|
63807
63807
|
}));
|
|
63808
63808
|
//#endregion
|
|
63809
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
63809
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-wrapper.mjs
|
|
63810
63810
|
function constructableModuleWrapper() {
|
|
63811
63811
|
return (constructor) => {};
|
|
63812
63812
|
}
|
|
@@ -64078,7 +64078,7 @@ var init_module_wrapper = __esmMin((() => {
|
|
|
64078
64078
|
ModuleWrapper = __decorateClass$15([constructableModuleWrapper()], ModuleWrapper);
|
|
64079
64079
|
}));
|
|
64080
64080
|
//#endregion
|
|
64081
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64081
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist-wrapper.mjs
|
|
64082
64082
|
var ArchivistWrapper;
|
|
64083
64083
|
var init_archivist_wrapper = __esmMin((() => {
|
|
64084
64084
|
init_archivist_model();
|
|
@@ -64178,7 +64178,7 @@ var init_archivist_wrapper = __esmMin((() => {
|
|
|
64178
64178
|
};
|
|
64179
64179
|
}));
|
|
64180
64180
|
//#endregion
|
|
64181
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64181
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-wrapper.mjs
|
|
64182
64182
|
var DivinerWrapper;
|
|
64183
64183
|
var init_diviner_wrapper = __esmMin((() => {
|
|
64184
64184
|
init_diviner_model();
|
|
@@ -64198,7 +64198,7 @@ var init_diviner_wrapper = __esmMin((() => {
|
|
|
64198
64198
|
};
|
|
64199
64199
|
}));
|
|
64200
64200
|
//#endregion
|
|
64201
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64201
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node-wrapper.mjs
|
|
64202
64202
|
var NodeWrapper;
|
|
64203
64203
|
var init_node_wrapper = __esmMin((() => {
|
|
64204
64204
|
init_async_mutex();
|
|
@@ -64287,7 +64287,7 @@ var init_node_wrapper = __esmMin((() => {
|
|
|
64287
64287
|
};
|
|
64288
64288
|
}));
|
|
64289
64289
|
//#endregion
|
|
64290
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64290
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/sentinel-model.mjs
|
|
64291
64291
|
var SentinelReportQuerySchema, SentinelReportQueryZod, isSentinelReportQuery, asSentinelReportQuery, toSentinelReportQuery, isSentinelInstance, isSentinelModule, asSentinelModule, asSentinelInstance, withSentinelModule, withSentinelInstance, requiredAttachableSentinelInstanceFunctions, isAttachableSentinelInstance, asAttachableSentinelInstance, IsAttachableSentinelInstanceFactory, SentinelAutomationSchema, SentinelIntervalAutomationSchema, SentinelModuleEventAutomationSchema, SentinelIntervalAutomationZod, isSentinelIntervalAutomation, asSentinelIntervalAutomation, toSentinelIntervalAutomation, SentinelModuleEventAutomationZod, isSentinelModuleEventAutomation, asSentinelModuleEventAutomation, toSentinelModuleEventAutomation, SentinelConfigSchema, SentinelConfigZod, isSentinelConfig, asSentinelConfig, toSentinelConfig;
|
|
64292
64292
|
var init_sentinel_model = __esmMin((() => {
|
|
64293
64293
|
init_node$2();
|
|
@@ -64355,7 +64355,7 @@ var init_sentinel_model = __esmMin((() => {
|
|
|
64355
64355
|
toSentinelConfig = zodToFactory(SentinelConfigZod, "toSentinelConfig");
|
|
64356
64356
|
}));
|
|
64357
64357
|
//#endregion
|
|
64358
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64358
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/sentinel-wrapper.mjs
|
|
64359
64359
|
var SentinelWrapper;
|
|
64360
64360
|
var init_sentinel_wrapper = __esmMin((() => {
|
|
64361
64361
|
init_module_wrapper();
|
|
@@ -64381,7 +64381,7 @@ var init_sentinel_wrapper = __esmMin((() => {
|
|
|
64381
64381
|
};
|
|
64382
64382
|
}));
|
|
64383
64383
|
//#endregion
|
|
64384
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64384
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/witness-model.mjs
|
|
64385
64385
|
var WitnessObserveQuerySchema, WitnessObserveQueryZod, isWitnessObserveQuery, asWitnessObserveQuery, toWitnessObserveQuery, isWitnessInstance, isWitnessModule, asWitnessModule, asWitnessInstance, withWitnessModule, withWitnessInstance, requiredAttachableWitnessInstanceFunctions, isAttachableWitnessInstance, asAttachableWitnessInstance, IsAttachableWitnessInstanceFactory, WitnessConfigSchema, WitnessConfigZod, isWitnessConfig, asWitnessConfig, toWitnessConfig;
|
|
64386
64386
|
var init_witness_model = __esmMin((() => {
|
|
64387
64387
|
init_node$2();
|
|
@@ -64412,7 +64412,7 @@ var init_witness_model = __esmMin((() => {
|
|
|
64412
64412
|
toWitnessConfig = zodToFactory(WitnessConfigZod, "toWitnessConfig");
|
|
64413
64413
|
}));
|
|
64414
64414
|
//#endregion
|
|
64415
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64415
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/witness-wrapper.mjs
|
|
64416
64416
|
var WitnessWrapper;
|
|
64417
64417
|
var init_witness_wrapper = __esmMin((() => {
|
|
64418
64418
|
init_module_wrapper();
|
|
@@ -64432,7 +64432,7 @@ var init_witness_wrapper = __esmMin((() => {
|
|
|
64432
64432
|
};
|
|
64433
64433
|
}));
|
|
64434
64434
|
//#endregion
|
|
64435
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64435
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/bridge-abstract.mjs
|
|
64436
64436
|
var AbstractBridge, AbstractBridgeModuleResolver, wrapModuleWithType, ModuleProxyResolver, AbstractModuleProxy;
|
|
64437
64437
|
var init_bridge_abstract = __esmMin((() => {
|
|
64438
64438
|
init_node$2();
|
|
@@ -64863,7 +64863,7 @@ var init_bridge_abstract = __esmMin((() => {
|
|
|
64863
64863
|
};
|
|
64864
64864
|
}));
|
|
64865
64865
|
//#endregion
|
|
64866
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
64866
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/bridge-http.mjs
|
|
64867
64867
|
var __defProp$15, __getOwnPropDesc$14, __getProtoOf$3, __reflectGet$3, __defNormalProp$12, __decorateClass$14, __publicField$12, __superGet$3, HttpBridgeConfigSchema, HttpBridgeConfigZod, isHttpBridgeConfig, asHttpBridgeConfig, toHttpBridgeConfig, HttpModuleProxy, NotFoundModule, HttpBridgeModuleResolver, HttpBridge;
|
|
64868
64868
|
var init_bridge_http = __esmMin((() => {
|
|
64869
64869
|
init_node$2();
|
|
@@ -65162,7 +65162,7 @@ var init_bridge_http = __esmMin((() => {
|
|
|
65162
65162
|
HttpBridge = __decorateClass$14([creatableModule()], HttpBridge);
|
|
65163
65163
|
}));
|
|
65164
65164
|
//#endregion
|
|
65165
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65165
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-abstract.mjs
|
|
65166
65166
|
var delayedResolve, AbstractDiviner;
|
|
65167
65167
|
var init_diviner_abstract = __esmMin((() => {
|
|
65168
65168
|
init_node$2();
|
|
@@ -65286,7 +65286,7 @@ var init_diviner_abstract = __esmMin((() => {
|
|
|
65286
65286
|
};
|
|
65287
65287
|
}));
|
|
65288
65288
|
//#endregion
|
|
65289
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65289
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-boundwitness.mjs
|
|
65290
65290
|
var BoundWitnessDivinerSchema$1, BoundWitnessDivinerConfigSchema$1, BoundWitnessDivinerConfigZod$1, isBoundWitnessDivinerConfig, asBoundWitnessDivinerConfig, toBoundWitnessDivinerConfig, BoundWitnessDiviner$1, applyBoundWitnessDivinerQueryPayload$1, BoundWitnessDivinerQuerySchema$1, BoundWitnessDivinerQueryPayloadZod$1, isBoundWitnessDivinerQueryPayload$1, asBoundWitnessDivinerQueryPayload, toBoundWitnessDivinerQueryPayload, MemoryBoundWitnessDiviner$1;
|
|
65291
65291
|
var init_diviner_boundwitness = __esmMin((() => {
|
|
65292
65292
|
init_diviner_abstract();
|
|
@@ -65340,7 +65340,7 @@ var init_diviner_boundwitness = __esmMin((() => {
|
|
|
65340
65340
|
};
|
|
65341
65341
|
}));
|
|
65342
65342
|
//#endregion
|
|
65343
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65343
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-identity.mjs
|
|
65344
65344
|
var __defProp$14, __getOwnPropDesc$13, __defNormalProp$11, __decorateClass$13, __publicField$11, IdentityDiviner;
|
|
65345
65345
|
var init_diviner_identity = __esmMin((() => {
|
|
65346
65346
|
init_node$2();
|
|
@@ -65370,7 +65370,7 @@ var init_diviner_identity = __esmMin((() => {
|
|
|
65370
65370
|
IdentityDiviner = __decorateClass$13([creatableModule()], IdentityDiviner);
|
|
65371
65371
|
}));
|
|
65372
65372
|
//#endregion
|
|
65373
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65373
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-payload-abstract.mjs
|
|
65374
65374
|
var PayloadDiviner;
|
|
65375
65375
|
var init_diviner_payload_abstract = __esmMin((() => {
|
|
65376
65376
|
init_diviner_abstract();
|
|
@@ -65381,7 +65381,7 @@ var init_diviner_payload_abstract = __esmMin((() => {
|
|
|
65381
65381
|
};
|
|
65382
65382
|
}));
|
|
65383
65383
|
//#endregion
|
|
65384
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65384
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner-payload-generic.mjs
|
|
65385
65385
|
var __defProp$13, __getOwnPropDesc$12, __getProtoOf$2, __reflectGet$2, __defNormalProp$10, __decorateClass$12, __publicField$10, __superGet$2, DEFAULT_INDEX_BATCH_SIZE, DEFAULT_MAX_INDEX_SIZE, GenericPayloadDivinerConfigSchema, GenericPayloadDivinerConfigZod, isGenericPayloadDivinerConfig, asGenericPayloadDivinerConfig, toGenericPayloadDivinerConfig, GenericPayloadDiviner;
|
|
65386
65386
|
var init_diviner_payload_generic = __esmMin((() => {
|
|
65387
65387
|
init_node$2();
|
|
@@ -65533,7 +65533,7 @@ var init_diviner_payload_generic = __esmMin((() => {
|
|
|
65533
65533
|
GenericPayloadDiviner = __decorateClass$12([creatableModule()], GenericPayloadDiviner);
|
|
65534
65534
|
}));
|
|
65535
65535
|
//#endregion
|
|
65536
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65536
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/address-payload-plugin.mjs
|
|
65537
65537
|
var addressPayloadTemplate, AddressPayloadPlugin;
|
|
65538
65538
|
var init_address_payload_plugin = __esmMin((() => {
|
|
65539
65539
|
init_module_model();
|
|
@@ -65548,7 +65548,7 @@ var init_address_payload_plugin = __esmMin((() => {
|
|
|
65548
65548
|
});
|
|
65549
65549
|
}));
|
|
65550
65550
|
//#endregion
|
|
65551
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65551
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/api-location-diviner.mjs
|
|
65552
65552
|
var LocationDivinerApi, CurrentLocationWitnessSchema, CurrentLocationWitnessPayloadZod, isCurrentLocationWitnessPayload, asCurrentLocationWitnessPayload, toCurrentLocationWitnessPayload, LocationWitnessSchema, LocationWitnessPayloadZod, isLocationWitnessPayload, asLocationWitnessPayload, toLocationWitnessPayload, LocationHeatmapQuerySchema, LocationHeatmapAnswerSchema, LocationHeatmapQueryZod, isLocationHeatmapQuery, asLocationHeatmapQuery, toLocationHeatmapQuery, LocationQuadkeyHeatmapQuerySchema, LocationQuadkeyHeatmapAnswerSchema, LocationQuadkeyHeatmapQueryZod, isLocationQuadkeyHeatmapQuery, asLocationQuadkeyHeatmapQuery, toLocationQuadkeyHeatmapQuery, locationQuerySchemas, isSupportedLocationQuerySchema, LocationTimeRangeQuerySchema, LocationTimeRangeAnswerSchema, LocationTimeRangeQueryZod, isLocationTimeRangeQuery, asLocationTimeRangeQuery, toLocationTimeRangeQuery, RemoteDivinerConfigSchema, RemoteDivinerConfigZod, isRemoteDivinerConfig, asRemoteDivinerConfig, toRemoteDivinerConfig, RemoteDivinerError;
|
|
65553
65553
|
var init_api_location_diviner = __esmMin((() => {
|
|
65554
65554
|
init_node$2();
|
|
@@ -65643,7 +65643,7 @@ var init_api_location_diviner = __esmMin((() => {
|
|
|
65643
65643
|
};
|
|
65644
65644
|
}));
|
|
65645
65645
|
//#endregion
|
|
65646
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65646
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist-memory.mjs
|
|
65647
65647
|
var __defProp$12, __getOwnPropDesc$11, __getProtoOf$1, __reflectGet$1, __defNormalProp$9, __decorateClass$11, __publicField$9, __superGet$1, MemoryArchivistConfigSchema, MemoryArchivistConfigZod, isMemoryArchivistConfig, asMemoryArchivistConfig, toMemoryArchivistConfig, MemoryDriver, MemoryArchivist;
|
|
65648
65648
|
var init_archivist_memory = __esmMin((() => {
|
|
65649
65649
|
init_archivist_abstract();
|
|
@@ -65799,7 +65799,7 @@ var init_archivist_memory = __esmMin((() => {
|
|
|
65799
65799
|
MemoryArchivist = __decorateClass$11([creatableModule()], MemoryArchivist);
|
|
65800
65800
|
}));
|
|
65801
65801
|
//#endregion
|
|
65802
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65802
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/archivist.mjs
|
|
65803
65803
|
var init_archivist = __esmMin((() => {
|
|
65804
65804
|
init_archivist_abstract();
|
|
65805
65805
|
init_archivist_memory();
|
|
@@ -65807,7 +65807,7 @@ var init_archivist = __esmMin((() => {
|
|
|
65807
65807
|
init_archivist_wrapper();
|
|
65808
65808
|
}));
|
|
65809
65809
|
//#endregion
|
|
65810
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65810
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/boundwitness-loader.mjs
|
|
65811
65811
|
var BoundWitnessLoader;
|
|
65812
65812
|
var init_boundwitness_loader = __esmMin((() => {
|
|
65813
65813
|
init_node$2();
|
|
@@ -65851,7 +65851,7 @@ var init_boundwitness_loader = __esmMin((() => {
|
|
|
65851
65851
|
};
|
|
65852
65852
|
}));
|
|
65853
65853
|
//#endregion
|
|
65854
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65854
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/bridge-wrapper.mjs
|
|
65855
65855
|
var BridgeWrapper;
|
|
65856
65856
|
var init_bridge_wrapper = __esmMin((() => {
|
|
65857
65857
|
init_bridge_model();
|
|
@@ -65879,21 +65879,21 @@ var init_bridge_wrapper = __esmMin((() => {
|
|
|
65879
65879
|
};
|
|
65880
65880
|
}));
|
|
65881
65881
|
//#endregion
|
|
65882
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65882
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/bridge.mjs
|
|
65883
65883
|
var init_bridge = __esmMin((() => {
|
|
65884
65884
|
init_bridge_abstract();
|
|
65885
65885
|
init_bridge_model();
|
|
65886
65886
|
init_bridge_wrapper();
|
|
65887
65887
|
}));
|
|
65888
65888
|
//#endregion
|
|
65889
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65889
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/diviner.mjs
|
|
65890
65890
|
var init_diviner = __esmMin((() => {
|
|
65891
65891
|
init_diviner_abstract();
|
|
65892
65892
|
init_diviner_model();
|
|
65893
65893
|
init_diviner_wrapper();
|
|
65894
65894
|
}));
|
|
65895
65895
|
//#endregion
|
|
65896
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
65896
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node-abstract.mjs
|
|
65897
65897
|
var AbstractNode, attachedPrivateModules, attachedPublicModules, NodeHelper;
|
|
65898
65898
|
var init_node_abstract = __esmMin((() => {
|
|
65899
65899
|
init_node$2();
|
|
@@ -66102,7 +66102,7 @@ var init_node_abstract = __esmMin((() => {
|
|
|
66102
66102
|
};
|
|
66103
66103
|
}));
|
|
66104
66104
|
//#endregion
|
|
66105
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66105
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node-memory.mjs
|
|
66106
66106
|
var __defProp$11, __getOwnPropDesc$10, __decorateClass$10, MemoryNode, flatAttachAllToExistingNode, flatAttachChildToExistingNode, flatAttachToExistingNode, attachToExistingNode, DEFAULT_NODE_PARAMS, attachToNewNode, flatAttachToNewNode, MemoryNodeHelper;
|
|
66107
66107
|
var init_node_memory = __esmMin((() => {
|
|
66108
66108
|
init_node$2();
|
|
@@ -66334,7 +66334,7 @@ var init_node_memory = __esmMin((() => {
|
|
|
66334
66334
|
};
|
|
66335
66335
|
}));
|
|
66336
66336
|
//#endregion
|
|
66337
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66337
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/manifest-wrapper.mjs
|
|
66338
66338
|
var ManifestWrapper, ManifestWrapperEx;
|
|
66339
66339
|
var init_manifest_wrapper = __esmMin((() => {
|
|
66340
66340
|
init_node$2();
|
|
@@ -66518,7 +66518,7 @@ var init_manifest_wrapper = __esmMin((() => {
|
|
|
66518
66518
|
};
|
|
66519
66519
|
}));
|
|
66520
66520
|
//#endregion
|
|
66521
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66521
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-event-emitter.mjs
|
|
66522
66522
|
var ModuleBaseEmitter;
|
|
66523
66523
|
var init_module_event_emitter = __esmMin((() => {
|
|
66524
66524
|
init_node$2();
|
|
@@ -66570,7 +66570,7 @@ var init_diviner_boundwitness_memory = __esmMin((() => {
|
|
|
66570
66570
|
};
|
|
66571
66571
|
}));
|
|
66572
66572
|
//#endregion
|
|
66573
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66573
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node-view.mjs
|
|
66574
66574
|
var __defProp$10, __getOwnPropDesc$9, __getProtoOf, __reflectGet, __defNormalProp$8, __decorateClass$9, __publicField$8, __superGet, ViewNodeConfigSchema, ViewNodeConfigZod, isViewNodeConfig, asViewNodeConfig, toViewNodeConfig, ViewNode;
|
|
66575
66575
|
var init_node_view = __esmMin((() => {
|
|
66576
66576
|
init_node$2();
|
|
@@ -66686,7 +66686,7 @@ var init_node_view = __esmMin((() => {
|
|
|
66686
66686
|
ViewNode = __decorateClass$9([creatableModule()], ViewNode);
|
|
66687
66687
|
}));
|
|
66688
66688
|
//#endregion
|
|
66689
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66689
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/sentinel-abstract.mjs
|
|
66690
66690
|
var AbstractSentinel;
|
|
66691
66691
|
var init_sentinel_abstract = __esmMin((() => {
|
|
66692
66692
|
init_node$2();
|
|
@@ -66797,7 +66797,7 @@ var init_sentinel_abstract = __esmMin((() => {
|
|
|
66797
66797
|
};
|
|
66798
66798
|
}));
|
|
66799
66799
|
//#endregion
|
|
66800
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
66800
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/sentinel-memory.mjs
|
|
66801
66801
|
var SentinelIntervalAutomationWrapper, SentinelRunner, MemorySentinel;
|
|
66802
66802
|
var init_sentinel_memory = __esmMin((() => {
|
|
66803
66803
|
init_node$2();
|
|
@@ -67076,7 +67076,7 @@ var init_sentinel_memory = __esmMin((() => {
|
|
|
67076
67076
|
};
|
|
67077
67077
|
}));
|
|
67078
67078
|
//#endregion
|
|
67079
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67079
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/witness-abstract.mjs
|
|
67080
67080
|
var AbstractWitness;
|
|
67081
67081
|
var init_witness_abstract = __esmMin((() => {
|
|
67082
67082
|
init_node$2();
|
|
@@ -67149,7 +67149,7 @@ var init_witness_abstract = __esmMin((() => {
|
|
|
67149
67149
|
};
|
|
67150
67150
|
}));
|
|
67151
67151
|
//#endregion
|
|
67152
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67152
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/witness-adhoc.mjs
|
|
67153
67153
|
var AdhocWitnessConfigSchema, AdhocWitnessConfigZod, isAdhocWitnessConfig, asAdhocWitnessConfig, toAdhocWitnessConfig, AdhocWitness;
|
|
67154
67154
|
var init_witness_adhoc = __esmMin((() => {
|
|
67155
67155
|
init_node$2();
|
|
@@ -67176,7 +67176,7 @@ var init_witness_adhoc = __esmMin((() => {
|
|
|
67176
67176
|
};
|
|
67177
67177
|
}));
|
|
67178
67178
|
//#endregion
|
|
67179
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67179
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module-factory-locator.mjs
|
|
67180
67180
|
var standardCreatableModulesList, standardCreatableFactories, ModuleFactoryLocator;
|
|
67181
67181
|
var init_module_factory_locator = __esmMin((() => {
|
|
67182
67182
|
init_node$2();
|
|
@@ -67277,7 +67277,7 @@ var init_module_factory_locator = __esmMin((() => {
|
|
|
67277
67277
|
};
|
|
67278
67278
|
}));
|
|
67279
67279
|
//#endregion
|
|
67280
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67280
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/module.mjs
|
|
67281
67281
|
var init_module = __esmMin((() => {
|
|
67282
67282
|
init_module_abstract();
|
|
67283
67283
|
init_module_event_emitter();
|
|
@@ -67287,7 +67287,7 @@ var init_module = __esmMin((() => {
|
|
|
67287
67287
|
init_module_wrapper();
|
|
67288
67288
|
}));
|
|
67289
67289
|
//#endregion
|
|
67290
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67290
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/node.mjs
|
|
67291
67291
|
var init_node$1 = __esmMin((() => {
|
|
67292
67292
|
init_node_abstract();
|
|
67293
67293
|
init_node_memory();
|
|
@@ -67295,7 +67295,7 @@ var init_node$1 = __esmMin((() => {
|
|
|
67295
67295
|
init_node_wrapper();
|
|
67296
67296
|
}));
|
|
67297
67297
|
//#endregion
|
|
67298
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67298
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/payloadset-plugin.mjs
|
|
67299
67299
|
var createPayloadSetDualPlugin, createPayloadSetWitnessPlugin, createPayloadSetDivinerPlugin, isPayloadSetWitnessPlugin, tryAsPayloadSetWitnessPlugin, isPayloadSetDivinerPlugin, tryAsPayloadSetDivinerPlugin, PayloadSetPluginResolver;
|
|
67300
67300
|
var init_payloadset_plugin = __esmMin((() => {
|
|
67301
67301
|
init_node$2();
|
|
@@ -67371,7 +67371,7 @@ var init_payloadset_plugin = __esmMin((() => {
|
|
|
67371
67371
|
};
|
|
67372
67372
|
}));
|
|
67373
67373
|
//#endregion
|
|
67374
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67374
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/sentinel.mjs
|
|
67375
67375
|
var init_sentinel = __esmMin((() => {
|
|
67376
67376
|
init_sentinel_abstract();
|
|
67377
67377
|
init_sentinel_memory();
|
|
@@ -67379,14 +67379,14 @@ var init_sentinel = __esmMin((() => {
|
|
|
67379
67379
|
init_sentinel_wrapper();
|
|
67380
67380
|
}));
|
|
67381
67381
|
//#endregion
|
|
67382
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67382
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/witness.mjs
|
|
67383
67383
|
var init_witness = __esmMin((() => {
|
|
67384
67384
|
init_witness_abstract();
|
|
67385
67385
|
init_witness_model();
|
|
67386
67386
|
init_witness_wrapper();
|
|
67387
67387
|
}));
|
|
67388
67388
|
//#endregion
|
|
67389
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67389
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/neutral/modules.mjs
|
|
67390
67390
|
var init_modules = __esmMin((() => {
|
|
67391
67391
|
init_address_payload_plugin();
|
|
67392
67392
|
init_api_location_diviner();
|
|
@@ -67402,7 +67402,7 @@ var init_modules = __esmMin((() => {
|
|
|
67402
67402
|
init_witness();
|
|
67403
67403
|
}));
|
|
67404
67404
|
//#endregion
|
|
67405
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.
|
|
67405
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk@7.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opent_ce13df1366b1dcdb54b499e52dce1569/node_modules/@xyo-network/sdk/dist/node/index.mjs
|
|
67406
67406
|
var node_exports = /* @__PURE__ */ __exportAll({
|
|
67407
67407
|
AbstractArchivist: () => AbstractArchivist,
|
|
67408
67408
|
AbstractBridge: () => AbstractBridge,
|
|
@@ -70320,7 +70320,7 @@ function concatBytes$3(...arrays) {
|
|
|
70320
70320
|
});
|
|
70321
70321
|
return r;
|
|
70322
70322
|
}
|
|
70323
|
-
function checkOpts(defaults, opts) {
|
|
70323
|
+
function checkOpts$1(defaults, opts) {
|
|
70324
70324
|
if (opts !== void 0 && toStr.call(opts) !== "[object Object]") throw new Error("Options should be object or undefined");
|
|
70325
70325
|
return Object.assign(defaults, opts);
|
|
70326
70326
|
}
|
|
@@ -71222,7 +71222,7 @@ var init_hmac = __esmMin((() => {
|
|
|
71222
71222
|
//#region ../../node_modules/.pnpm/@noble+hashes@1.3.2/node_modules/@noble/hashes/esm/pbkdf2.js
|
|
71223
71223
|
function pbkdf2Init(hash, _password, _salt, _opts) {
|
|
71224
71224
|
hash$1(hash);
|
|
71225
|
-
const { c, dkLen, asyncTick } = checkOpts({
|
|
71225
|
+
const { c, dkLen, asyncTick } = checkOpts$1({
|
|
71226
71226
|
dkLen: 32,
|
|
71227
71227
|
asyncTick: 10
|
|
71228
71228
|
}, _opts);
|
|
@@ -71354,7 +71354,7 @@ function BlockMix(input, ii, out, oi, r) {
|
|
|
71354
71354
|
}
|
|
71355
71355
|
}
|
|
71356
71356
|
function scryptInit(password, salt, _opts) {
|
|
71357
|
-
const { N, r, p, dkLen, asyncTick, maxmem, onProgress } = checkOpts({
|
|
71357
|
+
const { N, r, p, dkLen, asyncTick, maxmem, onProgress } = checkOpts$1({
|
|
71358
71358
|
dkLen: 32,
|
|
71359
71359
|
asyncTick: 10,
|
|
71360
71360
|
maxmem: 1024 ** 3 + 1024
|
|
@@ -71692,7 +71692,7 @@ var utils_exports = /* @__PURE__ */ __exportAll({
|
|
|
71692
71692
|
numberToHexUnpadded: () => numberToHexUnpadded,
|
|
71693
71693
|
numberToVarBytesBE: () => numberToVarBytesBE,
|
|
71694
71694
|
utf8ToBytes: () => utf8ToBytes$1,
|
|
71695
|
-
validateObject: () => validateObject
|
|
71695
|
+
validateObject: () => validateObject$1
|
|
71696
71696
|
});
|
|
71697
71697
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
71698
71698
|
/**
|
|
@@ -71858,7 +71858,7 @@ function createHmacDrbg(hashLen, qByteLen, hmacFn) {
|
|
|
71858
71858
|
};
|
|
71859
71859
|
return genUntil;
|
|
71860
71860
|
}
|
|
71861
|
-
function validateObject(object, validators, optValidators = {}) {
|
|
71861
|
+
function validateObject$1(object, validators, optValidators = {}) {
|
|
71862
71862
|
const checkField = (fieldName, type, isOptional) => {
|
|
71863
71863
|
const checkVal = validatorFns[type];
|
|
71864
71864
|
if (typeof checkVal !== "function") throw new Error(`Invalid validator "${type}", expected function`);
|
|
@@ -72011,7 +72011,7 @@ function FpSqrt(P) {
|
|
|
72011
72011
|
return tonelliShanks(P);
|
|
72012
72012
|
}
|
|
72013
72013
|
function validateField(field) {
|
|
72014
|
-
return validateObject(field, FIELD_FIELDS.reduce((map, val) => {
|
|
72014
|
+
return validateObject$1(field, FIELD_FIELDS.reduce((map, val) => {
|
|
72015
72015
|
map[val] = "function";
|
|
72016
72016
|
return map;
|
|
72017
72017
|
}, {
|
|
@@ -72293,7 +72293,7 @@ function wNAF(c, bits) {
|
|
|
72293
72293
|
}
|
|
72294
72294
|
function validateBasic(curve) {
|
|
72295
72295
|
validateField(curve.Fp);
|
|
72296
|
-
validateObject(curve, {
|
|
72296
|
+
validateObject$1(curve, {
|
|
72297
72297
|
n: "bigint",
|
|
72298
72298
|
h: "bigint",
|
|
72299
72299
|
Gx: "field",
|
|
@@ -72320,7 +72320,7 @@ var init_curve = __esmMin((() => {
|
|
|
72320
72320
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
72321
72321
|
function validatePointOpts(curve) {
|
|
72322
72322
|
const opts = validateBasic(curve);
|
|
72323
|
-
validateObject(opts, {
|
|
72323
|
+
validateObject$1(opts, {
|
|
72324
72324
|
a: "field",
|
|
72325
72325
|
b: "field"
|
|
72326
72326
|
}, {
|
|
@@ -72699,7 +72699,7 @@ function weierstrassPoints(opts) {
|
|
|
72699
72699
|
}
|
|
72700
72700
|
function validateOpts$1(curve) {
|
|
72701
72701
|
const opts = validateBasic(curve);
|
|
72702
|
-
validateObject(opts, {
|
|
72702
|
+
validateObject$1(opts, {
|
|
72703
72703
|
hash: "hash",
|
|
72704
72704
|
hmac: "function",
|
|
72705
72705
|
randomBytes: "function"
|
|
@@ -77125,7 +77125,7 @@ var init_solidity = __esmMin((() => {
|
|
|
77125
77125
|
function hexPadRight(value) {
|
|
77126
77126
|
const bytes = getBytes(value);
|
|
77127
77127
|
const padOffset = bytes.length % 32;
|
|
77128
|
-
if (padOffset) return concat([bytes, padding$
|
|
77128
|
+
if (padOffset) return concat([bytes, padding$1.slice(padOffset)]);
|
|
77129
77129
|
return hexlify(bytes);
|
|
77130
77130
|
}
|
|
77131
77131
|
function checkString(key) {
|
|
@@ -77193,15 +77193,15 @@ function splitArray(type) {
|
|
|
77193
77193
|
};
|
|
77194
77194
|
return { base: type };
|
|
77195
77195
|
}
|
|
77196
|
-
var padding$
|
|
77196
|
+
var padding$1, BN__1, BN_0$3, BN_1, BN_MAX_UINT256, hexTrue, hexFalse, domainFieldTypes, domainFieldNames, domainChecks, TypedDataEncoder;
|
|
77197
77197
|
var init_typed_data = __esmMin((() => {
|
|
77198
77198
|
init_address$2();
|
|
77199
77199
|
init_crypto();
|
|
77200
77200
|
init_transaction();
|
|
77201
77201
|
init_utils$9();
|
|
77202
77202
|
init_id();
|
|
77203
|
-
padding$
|
|
77204
|
-
padding$
|
|
77203
|
+
padding$1 = /* @__PURE__ */ new Uint8Array(32);
|
|
77204
|
+
padding$1.fill(0);
|
|
77205
77205
|
BN__1 = BigInt(-1);
|
|
77206
77206
|
BN_0$3 = BigInt(0);
|
|
77207
77207
|
BN_1 = BigInt(1);
|
|
@@ -89522,11 +89522,11 @@ var init_wordlist_owl = __esmMin((() => {
|
|
|
89522
89522
|
}));
|
|
89523
89523
|
//#endregion
|
|
89524
89524
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-en.js
|
|
89525
|
-
var words$5, checksum$
|
|
89525
|
+
var words$5, checksum$5, wordlist$8, LangEn;
|
|
89526
89526
|
var init_lang_en = __esmMin((() => {
|
|
89527
89527
|
init_wordlist_owl();
|
|
89528
89528
|
words$5 = "0erleonalorenseinceregesticitStanvetearctssi#ch2Athck&tneLl0And#Il.yLeOutO=S|S%b/ra@SurdU'0Ce[Cid|CountCu'Hie=IdOu,-Qui*Ro[TT]T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At AwlAzyEamEd.EekEwI{etImeIspIt-OpO[Ou^OwdUci$UelUi'Umb!Un^UshYY,$2BeLtu*PPbo?dRiousRr|Rta(R=Sh]/omTe3C!:DMa+MpN)Ng R(gShUght WnY3AlBa>BrisCadeCemb CideCl(eC%a>C*a'ErF&'F(eFyG*eLayLiv M<dMi'Ni$Nti,NyP?tP&dPos.P`PutyRi=ScribeS tSignSkSpair/royTailTe@VelopVi)Vo>3AgramAlAm#dAryCeE'lEtFf G.$Gn.yLemmaNn NosaurRe@RtSag*eScov Sea'ShSmi[S%d Splay/<)V tVideV%)Zzy5Ct%Cum|G~Lph(Ma(Na>NkeyN%OrSeUb!Ve_ftAg#AmaA,-AwEamE[IftIllInkIpI=OpUmY2CkMbNeR(g/T^Ty1Arf1Nam-:G G!RlyRnR`Sily/Sy1HoOlogyOnomy0GeItUca>1F%t0G1GhtTh 2BowD E@r-Eg<tEm|Eph<tEvat%I>Se0B?kBodyBra)Er+Ot]PloyPow Pty0Ab!A@DD![D%'EmyErgyF%)Ga+G(eH<)JoyLi,OughR-hRollSu*T Ti*TryVelope1Isode0U$Uip0AA'OdeOs]R%Upt0CapeSayS&)Ta>0Ern$H-s1Id&)IlOkeOl=1A@Amp!Ce[Ch<+C.eCludeCu'Ecu>Erci'Hau,Hib.I!I,ItOt-P<dPe@Pi*Pla(Po'P*[T&dTra0EEbrow:Br-CeCultyDeIntI`~L'MeMilyMousNNcyNtasyRmSh]TT$Th TigueUltV%.e3Atu*Bru?yD $EEdElMa!N)/iv$T^V W3B Ct]EldGu*LeLmLt N$NdNeNg NishReRmR,Sc$ShTT}[X_gAmeAshAtAv%EeIghtIpOatO{O%Ow UidUshY_mCusGIlLd~owOdOtR)Re,R+tRkRtu}RumRw?dSsil/ UndX_gi!AmeEqu|EshI&dIn+OgOntO,OwnOz&U.2ElNNnyRna)RyTu*:D+tInLaxy~ yMePRa+Rba+Rd&Rl-Rm|SSpTeTh U+Ze3N $NiusN*Nt!Nu(e/u*2O,0AntF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#AtC#dC*tCt]Cur.yEdEkGm|Le@~M(?Ni%N'Nt&)RiesRvi)Ss]Tt!TupV&_dowAftAllowA*EdEllEriffIeldIftI}IpIv O{OeOotOpOrtOuld O=RimpRugUff!Y0Bl(gCkDeE+GhtGnL|Lk~yLv Mil?Mp!N)NgR&/ Tua>XZe1A>Et^IIllInIrtUll0AbAmEepEnd I)IdeIghtImOg<OtOwUsh0AllArtI!OkeOo`0A{AkeApIffOw0ApCc Ci$CkDaFtL?Ldi LidLut]L=Me#eNgOnRryRtUlUndUpUr)U`0A)A*Ati$AwnEakEci$EedEllEndH eI)Id IkeInIr.L.OilOns%O#OrtOtRayReadR(gY0Ua*UeezeUir*l_b!AdiumAffA+AirsAmpAndArtA>AyEakEelEmEpE*oI{IllIngO{Oma^O}OolOryO=Ra>gyReetRikeR#gRugg!Ud|UffUmb!Y!0Bje@Bm.BwayC)[ChDd&Ff G?G+,ItMm NNnyN'tP PplyP*meReRfa)R+Rpri'RroundR=ySpe@/a(1AllowAmpApArmE?EetIftImIngIt^Ord1MbolMptomRup/em:B!Ck!GIlL|LkNkPeR+tSk/eTtooXi3A^Am~NN<tNnisNtRm/Xt_nkAtEmeEnE%yE*EyIngIsOughtReeRi=RowUmbUnd 0CketDeG LtMb MeNyPRedSsueT!5A,BaccoDayDdl EGe` I!tK&MatoM%rowNeNgueNightOlO`PP-Pp!R^RnadoRtoi'SsT$Uri,W?dW WnY_{AdeAff-Ag-A(Ansf ApAshA=lAyEatEeEndI$IbeI{Igg ImIpOphyOub!U{UeUlyUmpetU,U`Y2BeIt]Mb!NaN}lRkeyRnRt!1El=EntyI)InI,O1PeP-$:5Ly5B*lla0Ab!Awa*C!Cov D DoFairFoldHappyIf%mIqueItIv 'KnownLo{TilUsu$Veil1Da>GradeHoldOnP Set1B<Ge0A+EEdEfulE![U$0Il.y:C<tCuumGueLidL!yL=NNishP%Rious/Ult3H-!L=tNd%Ntu*NueRbRifyRs]RyS'lT <3Ab!Br<tCiousCt%yDeoEw~a+Nta+Ol(Rtu$RusSaS.Su$T$Vid5C$I)IdLc<oLumeTeYa+:GeG#ItLk~LnutNtRfa*RmRri%ShSp/eT VeY3Al`Ap#ArA'lA` BDd(gEk&dIrdLcome/T_!AtEatEelEnE*IpIsp 0DeD`FeLd~NNdowNeNgNkNn Nt ReSdomSeShT}[5LfM<Nd OdOlRdRkRldRryR`_pE{E,!I,I>Ong::Rd3Ar~ow9UUngU`:3BraRo9NeO";
|
|
89529
|
-
checksum$
|
|
89529
|
+
checksum$5 = "0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60";
|
|
89530
89530
|
wordlist$8 = null;
|
|
89531
89531
|
LangEn = class LangEn extends WordlistOwl {
|
|
89532
89532
|
/**
|
|
@@ -89538,7 +89538,7 @@ var init_lang_en = __esmMin((() => {
|
|
|
89538
89538
|
* @_ignore:
|
|
89539
89539
|
*/
|
|
89540
89540
|
constructor() {
|
|
89541
|
-
super("en", words$5, checksum$
|
|
89541
|
+
super("en", words$5, checksum$5);
|
|
89542
89542
|
}
|
|
89543
89543
|
/**
|
|
89544
89544
|
* Returns a singleton instance of a ``LangEn``, creating it
|
|
@@ -94672,11 +94672,11 @@ var init_wordlist_owla = __esmMin((() => {
|
|
|
94672
94672
|
}));
|
|
94673
94673
|
//#endregion
|
|
94674
94674
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-cz.js
|
|
94675
|
-
var words$4, checksum$
|
|
94675
|
+
var words$4, checksum$4, wordlist$7, LangCz;
|
|
94676
94676
|
var init_lang_cz = __esmMin((() => {
|
|
94677
94677
|
init_wordlist_owl();
|
|
94678
94678
|
words$4 = "0itatkastcenaovo$taouleraeki&chor*teci%enbalodaeladet'!Chn=0Di#%E%^1Resa2Rese3CeT'#0EjKohol0Pu)%0A&sDul#Ekdo)Ke)Ti#Ul|3}aOgan%0FaltI$@tPi,%TmaTronom0LasL{i#Ol0Tobus4Yl:B#}<C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! Poj Ps!Raz S)v Su~Taj Temn Tk~Ujm=Val Ve+tVin Vol!Vrt!Zvon 0Av RusuUd|Yt-1A+#ArmaAtn(IvoOb RojVihYm`]0L@.ManM.Pt!Z`uZdola2At Lt~Lubo#Ot' Ru[0MaMn?0Emn 0Lam!Oum!R!#Umav#0AtoEh#O[OmO$Ozvyk0Ap|ArAt-IjeIz{Ocn Odr!Rzl.Ut|0AkAl(Am@!Ovu0B,z Tav Ub-Ufa+0Lod Omal RavaR( Rud#Rvu1A^An C`]N (NoOv&Y/l Zav(1I/aR! 0B'.Br0Ed~EnkuEs_aOnR!Uk'odYk";
|
|
94679
|
-
checksum$
|
|
94679
|
+
checksum$4 = "0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a";
|
|
94680
94680
|
wordlist$7 = null;
|
|
94681
94681
|
LangCz = class LangCz extends WordlistOwl {
|
|
94682
94682
|
/**
|
|
@@ -94688,7 +94688,7 @@ var init_lang_cz = __esmMin((() => {
|
|
|
94688
94688
|
* @_ignore:
|
|
94689
94689
|
*/
|
|
94690
94690
|
constructor() {
|
|
94691
|
-
super("cz", words$4, checksum$
|
|
94691
|
+
super("cz", words$4, checksum$4);
|
|
94692
94692
|
}
|
|
94693
94693
|
/**
|
|
94694
94694
|
* Returns a singleton instance of a ``LangCz``, creating it
|
|
@@ -94702,12 +94702,12 @@ var init_lang_cz = __esmMin((() => {
|
|
|
94702
94702
|
}));
|
|
94703
94703
|
//#endregion
|
|
94704
94704
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-es.js
|
|
94705
|
-
var words$3, accents$1, checksum$
|
|
94705
|
+
var words$3, accents$1, checksum$3, wordlist$6, LangEs;
|
|
94706
94706
|
var init_lang_es = __esmMin((() => {
|
|
94707
94707
|
init_wordlist_owla();
|
|
94708
94708
|
words$3 = "0arertoiotadonoaRteirroenaNonaLsolocoiliaralaorrenadaChoN$n0A>Dom,EjaI!#Oga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z EbolEguaEin%EnEp EsIbuIgoIpaIs)IunfoOfeoOmpaOn>OpaO)OzoU>Ue'Ufa2B!@BoEr#MbaM^NelNic(bin(ismoR'T^:0Ic 9C!a0B[l0I{dIrIv!<OT A3Ba'BeG,)Na0ArU $0IlOp@1A:CaC$Cu`G GoI`J?l/eLi&LleL^Lvu]Mp*oR(i R.So3Ci'C#rHicu=In)JezL/!oLozN-c!Nd-e'Ng N*N%NusRRa'RboRdeRed(j(<Rt!3AAjeBr C$CtimaDaDeoDr$EjoErnesG^LLl-ag_N}e&OlinRalRgoRtudS^Sp!aS%Tami`U&VazV!oV*Vo5LcanLum,Lv!RazT ToZ5E=Lg :::C!Te3GuaM('So9DoGaGur:F*}jaPa#Rza93N(+5MoR&";
|
|
94709
94709
|
accents$1 = "aeiou7695@@BZWWavwUJkO@Y-Kn))YEGq#E@O)cI@#ZkMHv$e*))M!!)D**$GW!oKm*Acoh^k&It-pi^SYW)$^n!G)bO!Wkzam(jS#X)Og*^l^RW!bQ#QygBKXfzE))hti!Qm)Cng%%c)mJiI*HJWbmYniCLwNdYyY%WKO^bnT$PuGOr!IvHu&G(GKbtBuhiW&!eO@XMeoYQeCa#!MrTJCq!OW&CHG(WCcW%%)$rfrIegu$)w!G)JGmWWw)MnD%SXXWIT^LWAZuVWB^W)eTL^x&$WGHW(nKWEMA)#$F$x$Waekqs,n7715)W*HM-$WAcCiu(a))VCZ)GG%(*CWWdW%$D!UCO$M";
|
|
94710
|
-
checksum$
|
|
94710
|
+
checksum$3 = "0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300";
|
|
94711
94711
|
wordlist$6 = null;
|
|
94712
94712
|
LangEs = class LangEs extends WordlistOwlA {
|
|
94713
94713
|
/**
|
|
@@ -94719,7 +94719,7 @@ var init_lang_es = __esmMin((() => {
|
|
|
94719
94719
|
* @_ignore:
|
|
94720
94720
|
*/
|
|
94721
94721
|
constructor() {
|
|
94722
|
-
super("es", words$3, accents$1, checksum$
|
|
94722
|
+
super("es", words$3, accents$1, checksum$3);
|
|
94723
94723
|
}
|
|
94724
94724
|
/**
|
|
94725
94725
|
* Returns a singleton instance of a ``LangEs``, creating it
|
|
@@ -94733,12 +94733,12 @@ var init_lang_es = __esmMin((() => {
|
|
|
94733
94733
|
}));
|
|
94734
94734
|
//#endregion
|
|
94735
94735
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-fr.js
|
|
94736
|
-
var words$2, accents, checksum$
|
|
94736
|
+
var words$2, accents, checksum$2, wordlist$5, LangFr;
|
|
94737
94737
|
var init_lang_fr = __esmMin((() => {
|
|
94738
94738
|
init_wordlist_owla();
|
|
94739
94739
|
words$2 = "0erreleontiteurinueiriet cegeanseali medenel q)eniluxaus ch0Ais}And$Diqu E`#Ol*Ord Ou%rOy RasifReuv Ri,Rog RuptS_-SoluS'@UsifYss=0A@m+AjouAr+nCab]Cep,Clam Cola@Cro~eCu}ErbeHatHe,Idu]I Omp&Qu *R$y?Te'TifT)l0Ep&EquatHesifJec%fJug Mett!M* Op,Or Ouc*Res<RoitUl&V be0R R$ef0Fai!Fec,Fi~eF!{Fub]0Ac Enc I#I,Raf Reab#Ru?1D Gu`#L>Mab#S/-0Ou,Us,1Arm Chim+Er&Geb!G)I_ I?ntLeg Lia.Lou Lum O'd*PagaTes<Veo#0A&'BiguB!Enag Ertu?Id$Ir=Orc O'Ovib#Phib+P#'Us/t0Aly<Apho!Ar~+Atom+C+nE/%rG#Gois<Gu#{Im=Nex N$-N)lOd(Om=+Ony?Orm=T_[Tido&X+{1Ai}Eri%fL/*Olog+Pa!`Pe]Por,Puy 0UariumUeduc0Bit!Bus&De'Doi<G_tLequ(Matu!Me?ntMoi!Mu!P_,Ra~ Riv Ro}S_icT +lTic#0PectPh=&P* S|tS v*S+t&Soc>S' TicotT!Tu-0El>O?RiumRo-Ta^T_%fT* Trap 0Ba(eB .Da-Dib#G' Ro!Tom[Tru~e0A]Anc Ari-En*Er<Eug#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2Bi^E`l*Il]eIs(eIv!Lm( L%v Mu]Pi@Ra%fR<'3Anu!C#L(d!Ni^:Ign M>Ng N<'Uph(3Batt!Bi,Bord Brid But/tC= Cemb!Ch* Cid Clar Cor Cri!Cup]Da#Duc%fEs<F_sifFi]Fray Gag Givr Glu%rGraf Jeun Li-Log M/d Me' Mol*Ni~ Nou N&l#Nud PartP_}Pha}Plac Po}R/g Rob Sast!S-n&S tSign Sobe*Ss( Str>Ta~ Tes,To' T!s<V/c V_*V( Vo*3Ab#Alog)Am/tC,Ff G Git=G[Lu M/~eM(u Oxy@Rec%fRig Scu,Spo}Ssip St/-V %rVi}5Ci#C&'G?IgtMa(eMici#Mp,Na&'Nj$Nn Pam(eRto*Ru!Sa.Se'Ss>Ta%$U/>Ub#U-'U,Y_2Ag$Ap Es}Ibb]Oitu!2P +P#xeRab#Rc*3Nas%e:0Lou*0Ar,HarpeHel#La* Lip<Lo!Lu<O#Onom+Or-Ou,Ra}Rem Riva(RouU?U!u`0If>Uqu 1Fac Fec%fFig+FortFray Fusi$0Ali}Ar 2Ec,1Abor Arg*Ectr$Eg/tEph/tEveIgib#I%s?O.Ucid Ud 0B=]Bell*Bry$Er|@Issi$M_ O%$Ouvo*P e'Ploy Por,Pri<Ulsi$0Cadr Ch eClaveCo~eDigu Dos}DroitDui!Erg+F/-F m Fou*Gag G(Glob Ig?Jamb JeuLev NemiNuye{Ri~*Roba.Seig[Tas}T_d!T>To' Trav Um Vah*Viab#Voy Zy?0L+n0Aiss*Arg[At/tAu#Ic +I@m+I Ilog)I[Iso@ItapheO^ReuveRouv Uis/t0U !Uipe0Ig Osi$Re'Up%$0C=>Pad$Pe-P+g#Po*PritQuiv Say S_-S+uSor Ti?TomacTra@0Ag eA]An~eA%^E(d!Endo*Er[lH/olHi^Hn+Ir Off Oi#Onn/tO'd*R/.RoitU@0Phor+0Alu Asi$Enta`I@n-I,Olu%fOqu 1ActAg Auc Cel]Cit/tClusifCu<Ecu,Emp#Erc H= Hor,I.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?Tras$1Ani?If>I$I^Itai!Iv s3AniumBa(Tic/t0A.I[UelU!0I#Op+:Car?Cc(Gab$dG)Ill/tInc!Is<|Lab#Li<Ll$LveMpi!N`#Pe'R>Se{Ss=S&3C&'Det&Get=Hicu#InardLo-Nd!diN Ng Ni?{Ntou<Rdu!R(Rn*RrouR}RtuSt$T /Tus&X/tX 3AducAn@Ctoi!D/.DeoG[t&G)'La(Lla.Naig!Ol$P eRe?ntRtuo<RusSa.Se'Si$S^{S)lT=Tes<Tico#Tr(eVa-Vipa!5Ca%$Gu I#Is(Itu!La`#Lc/L%g Lu?Ra-R&xT Ulo*Ya.Yel#:G$:3N$:Cht:3B!NithS&9Olog+";
|
|
94740
94740
|
accents = "e7693&)U*o&)Ry^)*)W))))#X^))))@@)#Wf)m%)#!))AG)&IIAQIIIBIIHJNAgBIILIDJGo)))HIQIIIIA(IGgJHH(BIIxX#)Ou)@*IAAPIIIJHQJ)&QIQPYI(HYAQC%)!))QHJJ@)#)^f*^AXCJ))$%CP))%&m)u)@e^A#G#))W@!(IKK%!(I%))O@QA))@GG#e))))WHJIWh))my@IIBT^)!)HAYGETHI*))!QnUDG)))nBoKAC*HwyQh))$&)G&)UGO)G)))(BX#v**)%O,e7686)I))@)&)gdMP()))ud)p#L))I^FIHYdWG))D@DFV)QA)o%MyTh%*)Z)%)n(XANc^R)YS";
|
|
94741
|
-
checksum$
|
|
94741
|
+
checksum$2 = "0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045";
|
|
94742
94742
|
wordlist$5 = null;
|
|
94743
94743
|
LangFr = class LangFr extends WordlistOwlA {
|
|
94744
94744
|
/**
|
|
@@ -94750,7 +94750,7 @@ var init_lang_fr = __esmMin((() => {
|
|
|
94750
94750
|
* @_ignore:
|
|
94751
94751
|
*/
|
|
94752
94752
|
constructor() {
|
|
94753
|
-
super("fr", words$2, accents, checksum$
|
|
94753
|
+
super("fr", words$2, accents, checksum$2);
|
|
94754
94754
|
}
|
|
94755
94755
|
/**
|
|
94756
94756
|
* Returns a singleton instance of a ``LangFr``, creating it
|
|
@@ -94764,7 +94764,7 @@ var init_lang_fr = __esmMin((() => {
|
|
|
94764
94764
|
}));
|
|
94765
94765
|
//#endregion
|
|
94766
94766
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-ja.js
|
|
94767
|
-
function hex$
|
|
94767
|
+
function hex$2(word) {
|
|
94768
94768
|
return hexlify(toUtf8Bytes(word));
|
|
94769
94769
|
}
|
|
94770
94770
|
function toString(data) {
|
|
@@ -94853,7 +94853,7 @@ function loadWords$2() {
|
|
|
94853
94853
|
}
|
|
94854
94854
|
wordlist.sort(sortJapanese);
|
|
94855
94855
|
/* c8 ignore start */
|
|
94856
|
-
if (hex$
|
|
94856
|
+
if (hex$2(wordlist[442]) === KiYoKu && hex$2(wordlist[443]) === KyoKu) {
|
|
94857
94857
|
const tmp = wordlist[442];
|
|
94858
94858
|
wordlist[442] = wordlist[443];
|
|
94859
94859
|
wordlist[443] = tmp;
|
|
@@ -94998,11 +94998,11 @@ var init_lang_ko = __esmMin((() => {
|
|
|
94998
94998
|
}));
|
|
94999
94999
|
//#endregion
|
|
95000
95000
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-it.js
|
|
95001
|
-
var words$1, checksum$
|
|
95001
|
+
var words$1, checksum$1, wordlist$2, LangIt;
|
|
95002
95002
|
var init_lang_it = __esmMin((() => {
|
|
95003
95003
|
init_wordlist_owl();
|
|
95004
95004
|
words$1 = "0torea noica!iosorolotaleratelanena%oiadoencotivomai t ca%a0A]Bagl'Bin#E.Is(Oli!Rasi_Rog#0Cade!C[$Cus#E <Hil,I@QuaReRil>Roba+U 0Ag'Deb{DomeEgu#Eri!IpeOtt&Ul&1Fabi,Fe|Fis(F-n Oris`O(R~$0AveEn.E_,Ganc'I!It&OnismoR>*Rume Uzzo4AbardaA Bat)Ber#BoBumeCeCol>E|<FaGe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+Izze-Ol+Uot&:Bac]Bul#Cci&Citur$LeLis`$Mpo<Nni$RaRdi_Rg#RiffaRp&R+rugaS Tt>Ver=Vo/+Zza3CaCn>Lefo$Me-r'MpoMu N@<Ne)Ns'<N+]*O!`RmeR-zzoRze|SiSser#St#T)T ?3F&Gel/Mb)N P>Pog-foRagg'RoTan'To*Tuban.Z'Zzo<5Cc&L,r&L Mbo/MoNfoNsil/Paz'Po*g?PpaRbaRn&R)<R -S}$Ssi!S+tu-Ta$2Aboc]AcheaAfi/Aged?Alc'Amon Ans{Apa$Ar!As*]Att#AveEcc?Emol'Espo*Ibu Iche]Ifogl'Il*InceaIoIs.zzaItur#Ivel/OmbaO$OppoO|/Ov&Ucc#2Batu-Ff#Lipa$Mul Nis?Rb&Rchi$TaTe/:0Ic#0Cel*Ci(!0I!I^_1FaF%'0Ua,4IsseTim#0A$I,Orismo0Ci<|Ge!Ghe!seI]r$If%#I($I+r'Te0Vo0Upa1Aga$G[zaLo0AnzaA C{Ig$*U-'0Ensi,IlizzoOp?:Can.Ccin#Gabon@Gli#LangaLgoL>L,t+Lo)(Lut&L_/Mpa+Ng&N{(NoN+gg'Nve-Po!Ra$Rc#R?n.S}3Det+DovaDu Ge+,I]*Lc)Li=Llu LoceN#Ndemm?N RaceRba,Rgog=Rif~RoRru}Rt~,Sc~Ssil*S+,Te-$Tri=Tus 3Andan.B-n.C[daChingoCi=nzaDim&Gil?G< Go!LeL/$MiniNc{!O/Pe-Rgo/Ro*goRu,n S](S'<SpoSsu Su-TaTel*T^`VandaVi@Zi&5CeGaLa^,Le!LpeRagi<5L}$::::Mpog=N=Pp#T.-Vor-3Fi)Lan.LoNze)Rbi$3Be|N]R]<T 5L/T>5Cche)Fo*LuPpa";
|
|
95005
|
-
checksum$
|
|
95005
|
+
checksum$1 = "0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620";
|
|
95006
95006
|
wordlist$2 = null;
|
|
95007
95007
|
LangIt = class LangIt extends WordlistOwl {
|
|
95008
95008
|
/**
|
|
@@ -95014,7 +95014,7 @@ var init_lang_it = __esmMin((() => {
|
|
|
95014
95014
|
* @_ignore:
|
|
95015
95015
|
*/
|
|
95016
95016
|
constructor() {
|
|
95017
|
-
super("it", words$1, checksum$
|
|
95017
|
+
super("it", words$1, checksum$1);
|
|
95018
95018
|
}
|
|
95019
95019
|
/**
|
|
95020
95020
|
* Returns a singleton instance of a ``LangIt``, creating it
|
|
@@ -95028,11 +95028,11 @@ var init_lang_it = __esmMin((() => {
|
|
|
95028
95028
|
}));
|
|
95029
95029
|
//#endregion
|
|
95030
95030
|
//#region ../../node_modules/.pnpm/ethers@6.17.0/node_modules/ethers/lib.esm/wordlists/lang-pt.js
|
|
95031
|
-
var words, checksum
|
|
95031
|
+
var words, checksum, wordlist$1, LangPt;
|
|
95032
95032
|
var init_lang_pt = __esmMin((() => {
|
|
95033
95033
|
init_wordlist_owl();
|
|
95034
95034
|
words = "0arad!ototealirertainrasoent hoandoaR#riareha!aroele'oronul0Aca%AixoAl A%rDuz'El]Er$IsmoO$ R<g(Revi Rig Rup$S*$Solu$Sur=Ut[0Ab#Alm Amp Anh A,Ei.El( En ErvoEss E$naHa.IdezImaI}#Irr Lam LiveOlhidaOmod Opl Ord Um~ Us?0Ap.EgaEnt_Ep$Equ Er-%EsivoEusI<%ItivoJetivoJun$M' Or Qu''UboV(,Vog#0R}ave0As.Er'EtivoIn?Iv` Li$Lu-%R}.0Ach Arr As&/Enci Iliz Io)It#O+R! Res%Rup U d Ul]2O`h Ud Us.1AmedaArmeAstr Av<caB(gueB*oCat+De@EcrimEgr@Er.FaceF*e%GumHeioI Ica%I- Inh Ivi Mof^Oc Pis%T( TitudeUc* Ug UnoUsivoVo0Aci A=rA[loAss BasBi-%EixaEniz I=Is$,Iz!eOl?On$ O_,Ost+P Pli Pola0Ag+maAlis Arqu@A$m@DaimeElExoG~ Im JoOm&@Ot#Sio,T(i|Uid!eUnci Zol1Ag?Alp Anh#EgoEli=Ert^Es Eti%I$Lau,Lic^OioOn.Os)R-dizRov 0Uec(0AmeAn]A+C^D-%E@Ej Eni$Es)Gilo,GolaMaQuivoRai&Reba%Risc Rob>um S-&T(i&TigoVo[=0F&.Il#P' S?S* So&/Sun$Tr&0Ac#Adu+Al/A[f E End(Er_EuIng'Ir?IvoOl{oRac Revi=RizU&Um0Di$rM-.R>o+TismoT|@Tu 0Ali An%Ar@Ent&Es,I?Is Ul,1Ila1Ar E=Ei%Ulejo:B BosaC&]uCh `C@GagemI<oIl I}e)Ir_Ixis)J~ Le@LizaLsaN&Nd{aN/N'Nque%Ra$Rb#R}es>+c>~/Se#S)n%Ta)Te=rTidaTomTuc Unil]3B(IjoIr^IsebolLd!eLezaLgaLisc Ndi$Ng&aNz(RimbauRl*d>_Sou_XigaZ(_3CoCu=En&Foc&Furc G|naLhe%Mest[Mo$rOlog@OmboOsf(aPol Rr-$Scoi$Sne$SpoSsex$TolaZ _2Ind#OcoOque 2A$BagemC#CejoChec]Ico.L^LetimL]LoMb{oNdeNecoNi)Rb~h>d>e&R+c]V*oXe?2AncoAsaAvezaEuIgaIl/Inc OaOchu+Onze O$Uxo2C]DismoF LeRacoScaS$Z*a:B<aB`oBideBoBri$CauCet^C/r_CiqueDast_De#Fez&IaqueIp'aIxo%J#JuLafrioLc~ Ld{aLibr Lm<%Lo)M^Mbis)MisaMomilaMp<]Mufl Navi&Nc` Ne)NguruN/$Nive%NoaNs#N.Nu=Pac/P`aP* Po.Pric/Pt?PuzRacolRb}oRde&Rec>imb Rn{oRpe%R['>)zRv&/SacoScaSeb[S%loS~oT a)Tiv UleUs?U%l V&oV(na3BolaDil]G}]Lebr L~ Nou+N,N%ioRc Rr#R%'oRvejaTimV^2Aco)Al{aAm#Ap^ArmeAticeAveEfeEg^E'oEqueIco%If[In`oOc&/Ov(UmboU.Uva0CatrizCl}eD!eD['aEn%G<aM-$N$Nz><d>cui$Rurg@T 2A[zaE_Ic OneUbe2A=Ag'Ba@B($rBr C^El/Ent_E,Gum`oIb'IfaIo%L L{aLh(Lid'Lme@L}oLunaM<=Mb* M-.MitivaMov(MplexoMumNc]N=rNec.Nfu,Ng` Nhec(Njug Nsum'Nt+$Nvi%Op( P{oPi?PoQue%lRagemRdi&Rne)R}h>p|&R[ioR%joRuj>voSs-oS%laT}e%U_UveVilZ*]2A%+AvoEcheE=rEmeErEspoI^Im*&Io~oIseItic Os)UaUz{o2B<oEcaId#JoLat+Lm* Lp Ltu+Mpr'Nh#Pi=RativoRr&Rs R$Sp'S% T`o:MascoT 3Ba%rBi.BocheB~h C&queCim&CliveCo%C[.D&Dic#Duz'FesaFum G`oG+uGus.It#Ix La$rLeg#L*e L}gaM<daMit'Moli=Ntis)P-#Pil PoisP[ssaPur Riv>+m SafioSbo.Sc<,S-/Sfi#Sgas%Sigu&SlizeSmam SovaSpesaS)queSvi T&h T-$rT} Tri$UsaV(Vi=Vot#Z-a3Ag+maAle$Da)Fu,Gi.Lat#Lu-%M*u'Nast@Nh{oOceseRe$Sc[)Sf ceSp oSque%Ssip S)n%T?UrnoV(,Vi,rV~g Z(5Br?L|i=M?M*#NativoNz`>m-%Rs&SagemUr#U$r2EnagemIbleOg @2El EndeE$PloQues><%Vi=,:1Lod'O Olog@0Ific It&Uc#1Ei$Etiv 3E.1Ab| Eg(Ei$rEncoEv?Im* Ogi 0B goBol#Br~/Buti=EndaErg'Is,rPat@P-/P*#Polg P[goPurr Ul?0CaixeC-#Ch-%C}t_Deus Doss Faix Fei%FimGaj#G-/Glob Gom#G+x Gu@Jo La.Qu<$Raiz Rol#Rug SaioSe^S*oSop#T<$Te#Tid!eT|.Tr^T~/V(g Vi#Volv(XameX($Xof[Xu$1Id(me0Uip 0E$Gui=Ra)VaVil]0B<j B`$CamaColaCri)Cu)F*geFol F[g Fum#GrimaM&%P<$P`/PigaP}jaP[i)Pum Qu(daTacaT{aTic Tof#T[laTu=Vazi 0AnolIque)0F|i>opeu0Acu Ap| AsivoEntu&Id-%Olu'1Ag(oAl Am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tunoOs$1ArBi.DemD*&F<a$GasmoG~/I-t&IgemIun=LaTo=xoV&/0Cil S^SoT-.0Imismo0S!@T}oTub_Vi=0El]Ul 1Id Ig- :Ca$Ci-%Co%Ctu D @Dr*/G GodeIn`Ir IsagemLav+Lest+Lhe)Li$Lm^Lpi.Nc^N`aNfle$NquecaN)n&PagaioP`^P'oRaf*>ci&Rd&RedeRtidaSmoSs#S%lTam T-%T* T_noUl^Us 3C~i D& Dest[D@t+D+G^I$r&IxeLeLic<oNcaNdur N{aN]scoNs?N%Rceb(Rfei$Rgun)Ri$Rmit'Rn>plexoRsi<>%nceRucaSc#SquisaS,aTisc 3AdaC#Ed!eGm-$Last+Lh#Lo.M-)Nc`NguimN]No%N.On{oPocaQue%R<h>esRue)Sc S$laT<gaVe%2An)Aque)At*aEbeuUmagemUvi&1Eu0DaE'aEtisaLeg^Lici Lu-%Lvil/M MbaNd( N.@P~o,R)Ssu'St&TeUp U,Vo 2A@Anc]A$AxeEceEd?Efei$Emi Ens Ep Esil]E%x$Ev-'Ez Ima)IncesaIsmaIv#Oces,Odu$Ofe)Oibi=Oje$Ome%rOpag OsaO%$rOv?2Blic DimL Lm} Ls{aNh&N'PiloRezaX?:99Ad+Ant@Ar$AseEbr EdaEijoEn%Eri=Im}oInaIosque:B<^BiscoCh Ci} Di&I In]IoIvaJ^L#M&Ng(Nhu+P!u+P`PidezPosaQue%Rid!eS<%Scun/Sg Sp?S%'aSur Taz<aTo{a3AlezaAnim Av(Baix B`deBol C#C-%CheioCiboC|d Cru.Cu DeDim'D}daDuzidaEnvioF* Flet'Fog F[scoFugi G&@GimeG+In#I$rJei.LativoM?M-=M|,Nov#P oP`'Ple$Pol/P[saPudi Qu((S-]Sfri Sga.Sid'Solv(Spei$SsacaS)n%Sum'T&/T(T' Tom^T+.V` Vi,rVol)3Ac/CaGidezGo_,M NgueS^ScoS}/5B&oChe=D^DeioDov@E=rLe)M<oNc S#S{aS$TaT{oT*aT~ UcoUpaXo5B_Gi=Go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A=rArG&L<%LeibolL)gemLumo,Nt!e5L$Vuz`a::D[zRope3QueRe.Rife3Ng ::Ng#Rp 3BuL?9Mb Olog@5Mbi=";
|
|
95035
|
-
checksum
|
|
95035
|
+
checksum = "0x2219000926df7b50d8aa0a3d495826b988287df4657fbd100e6fe596c8f737ac";
|
|
95036
95036
|
wordlist$1 = null;
|
|
95037
95037
|
LangPt = class LangPt extends WordlistOwl {
|
|
95038
95038
|
/**
|
|
@@ -95044,7 +95044,7 @@ var init_lang_pt = __esmMin((() => {
|
|
|
95044
95044
|
* @_ignore:
|
|
95045
95045
|
*/
|
|
95046
95046
|
constructor() {
|
|
95047
|
-
super("pt", words, checksum
|
|
95047
|
+
super("pt", words, checksum);
|
|
95048
95048
|
}
|
|
95049
95049
|
/**
|
|
95050
95050
|
* Returns a singleton instance of a ``LangPt``, creating it
|
|
@@ -95182,7 +95182,7 @@ var init_lib_esm = __esmMin((() => {
|
|
|
95182
95182
|
init_ethers();
|
|
95183
95183
|
}));
|
|
95184
95184
|
//#endregion
|
|
95185
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@2.
|
|
95185
|
+
//#region ../../node_modules/.pnpm/@noble+hashes@2.3.0/node_modules/@noble/hashes/utils.js
|
|
95186
95186
|
init_node();
|
|
95187
95187
|
init_lib_esm();
|
|
95188
95188
|
/**
|
|
@@ -95198,10 +95198,12 @@ init_lib_esm();
|
|
|
95198
95198
|
function isBytes$4(a) {
|
|
95199
95199
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array" && "BYTES_PER_ELEMENT" in a && a.BYTES_PER_ELEMENT === 1;
|
|
95200
95200
|
}
|
|
95201
|
+
const atitle$1 = (title) => title ? `"${title}" ` : "";
|
|
95201
95202
|
/**
|
|
95202
95203
|
* Asserts something is a non-negative integer.
|
|
95203
95204
|
* @param n - number to validate
|
|
95204
95205
|
* @param title - label included in thrown errors
|
|
95206
|
+
* @returns The validated number.
|
|
95205
95207
|
* @throws On wrong argument types. {@link TypeError}
|
|
95206
95208
|
* @throws On wrong argument ranges or values. {@link RangeError}
|
|
95207
95209
|
* @example
|
|
@@ -95211,14 +95213,25 @@ function isBytes$4(a) {
|
|
|
95211
95213
|
* ```
|
|
95212
95214
|
*/
|
|
95213
95215
|
function anumber$3(n, title = "") {
|
|
95214
|
-
if (typeof n !== "number")
|
|
95215
|
-
|
|
95216
|
-
|
|
95217
|
-
|
|
95218
|
-
|
|
95219
|
-
|
|
95220
|
-
|
|
95221
|
-
|
|
95216
|
+
if (typeof n !== "number") throw new TypeError(atitle$1(title) + "expected number, got " + typeof n);
|
|
95217
|
+
if (!Number.isSafeInteger(n) || n < 0) throw new RangeError(atitle$1(title) + "expected integer >= 0, got " + n);
|
|
95218
|
+
return n;
|
|
95219
|
+
}
|
|
95220
|
+
/**
|
|
95221
|
+
* Asserts something is a boolean.
|
|
95222
|
+
* @param value - value to validate
|
|
95223
|
+
* @param title - label included in thrown errors
|
|
95224
|
+
* @returns The validated boolean.
|
|
95225
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
95226
|
+
* @example
|
|
95227
|
+
* Validate a boolean option.
|
|
95228
|
+
* ```ts
|
|
95229
|
+
* abool(true, 'enableXOF');
|
|
95230
|
+
* ```
|
|
95231
|
+
*/
|
|
95232
|
+
function abool$1(value, title = "") {
|
|
95233
|
+
if (typeof value !== "boolean") throw new TypeError(atitle$1(title) + "expected boolean, got type=" + typeof value);
|
|
95234
|
+
return value;
|
|
95222
95235
|
}
|
|
95223
95236
|
/**
|
|
95224
95237
|
* Asserts something is Uint8Array.
|
|
@@ -95235,20 +95248,39 @@ function anumber$3(n, title = "") {
|
|
|
95235
95248
|
* ```
|
|
95236
95249
|
*/
|
|
95237
95250
|
function abytes$3(value, length, title = "") {
|
|
95251
|
+
if (isBytes$4(value) && (length === void 0 || value.length === length)) return value;
|
|
95252
|
+
if (length !== void 0) anumber$3(length, "length");
|
|
95238
95253
|
const bytes = isBytes$4(value);
|
|
95239
|
-
const
|
|
95240
|
-
const
|
|
95241
|
-
|
|
95242
|
-
|
|
95243
|
-
|
|
95244
|
-
const got = bytes ? `length=${len}` : `type=${typeof value}`;
|
|
95245
|
-
const message = prefix + "expected Uint8Array" + ofLen + ", got " + got;
|
|
95246
|
-
if (!bytes) throw new TypeError(message);
|
|
95247
|
-
throw new RangeError(message);
|
|
95248
|
-
}
|
|
95249
|
-
return value;
|
|
95254
|
+
const ofLen = length !== void 0 ? ` of length ${length}` : "";
|
|
95255
|
+
const got = bytes ? `length=${value.length}` : `type=${typeof value}`;
|
|
95256
|
+
const message = atitle$1(title) + "expected Uint8Array" + ofLen + ", got " + got;
|
|
95257
|
+
if (!bytes) throw new TypeError(message);
|
|
95258
|
+
throw new RangeError(message);
|
|
95250
95259
|
}
|
|
95251
95260
|
/**
|
|
95261
|
+
* Asserts something is a wrapped hash constructor.
|
|
95262
|
+
* @param h - hash constructor to validate
|
|
95263
|
+
* @throws On wrong argument types or invalid hash wrapper shape. {@link TypeError}
|
|
95264
|
+
* @throws On invalid hash metadata ranges or values. {@link RangeError}
|
|
95265
|
+
* @throws If the hash metadata allows empty outputs or block sizes. {@link Error}
|
|
95266
|
+
* @example
|
|
95267
|
+
* Validate a callable hash wrapper.
|
|
95268
|
+
* ```ts
|
|
95269
|
+
* import { ahash } from '@noble/hashes/utils.js';
|
|
95270
|
+
* import { sha256 } from '@noble/hashes/sha2.js';
|
|
95271
|
+
* ahash(sha256);
|
|
95272
|
+
* ```
|
|
95273
|
+
*/
|
|
95274
|
+
function ahash(h) {
|
|
95275
|
+
if (typeof h !== "function" || typeof h.create !== "function") throw new TypeError("expected hash wrapped by utils.createHasher");
|
|
95276
|
+
anumber$3(h.outputLen);
|
|
95277
|
+
anumber$3(h.blockLen);
|
|
95278
|
+
if (h.outputLen < 1 || h.blockLen < 1) throw new Error("hash blockLen / outputLen must be >= 1");
|
|
95279
|
+
}
|
|
95280
|
+
const aobject$2 = (value, label) => {
|
|
95281
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) throw new TypeError((label === "object" ? "" : `"${label}" `) + "expected object, got type=" + typeof value);
|
|
95282
|
+
};
|
|
95283
|
+
/**
|
|
95252
95284
|
* Asserts a hash instance has not been destroyed or finished.
|
|
95253
95285
|
* @param instance - hash instance to validate
|
|
95254
95286
|
* @param checkFinished - whether to reject finalized instances
|
|
@@ -95263,8 +95295,8 @@ function abytes$3(value, length, title = "") {
|
|
|
95263
95295
|
* ```
|
|
95264
95296
|
*/
|
|
95265
95297
|
function aexists$1(instance, checkFinished = true) {
|
|
95266
|
-
if (instance.destroyed) throw new Error("
|
|
95267
|
-
if (checkFinished && instance.finished) throw new Error("
|
|
95298
|
+
if (instance.destroyed) throw new Error("hash was destroyed");
|
|
95299
|
+
if (checkFinished && instance.finished) throw new Error("digest() was already called");
|
|
95268
95300
|
}
|
|
95269
95301
|
/**
|
|
95270
95302
|
* Asserts output is a sufficiently-sized byte array.
|
|
@@ -95283,9 +95315,9 @@ function aexists$1(instance, checkFinished = true) {
|
|
|
95283
95315
|
* ```
|
|
95284
95316
|
*/
|
|
95285
95317
|
function aoutput$1(out, instance) {
|
|
95286
|
-
abytes$3(out, void 0, "
|
|
95318
|
+
abytes$3(out, void 0, "output");
|
|
95287
95319
|
const min = instance.outputLen;
|
|
95288
|
-
if (out.length
|
|
95320
|
+
if (!(out.length >= min)) throw new RangeError("\"output\" expected length >= " + min);
|
|
95289
95321
|
}
|
|
95290
95322
|
/**
|
|
95291
95323
|
* Casts a typed array view to Uint32Array.
|
|
@@ -95409,6 +95441,24 @@ function concatBytes$1(...arrays) {
|
|
|
95409
95441
|
return res;
|
|
95410
95442
|
}
|
|
95411
95443
|
/**
|
|
95444
|
+
* Merges default options and passed options.
|
|
95445
|
+
* @param defaults - base option object
|
|
95446
|
+
* @param opts - user overrides
|
|
95447
|
+
* @param title - label included in thrown override errors
|
|
95448
|
+
* @returns Merged option object. The merge mutates `defaults` in place.
|
|
95449
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
95450
|
+
* @example
|
|
95451
|
+
* Merge user overrides onto default options.
|
|
95452
|
+
* ```ts
|
|
95453
|
+
* checkOpts({ dkLen: 32 }, { asyncTick: 10 });
|
|
95454
|
+
* ```
|
|
95455
|
+
*/
|
|
95456
|
+
function checkOpts(defaults, opts, title = "opts") {
|
|
95457
|
+
aobject$2(defaults, "defaults");
|
|
95458
|
+
if (opts !== void 0) aobject$2(opts, title);
|
|
95459
|
+
return Object.assign(defaults, opts);
|
|
95460
|
+
}
|
|
95461
|
+
/**
|
|
95412
95462
|
* Creates a callable hash function from a stateful class constructor.
|
|
95413
95463
|
* @param hashCons - hash constructor or factory
|
|
95414
95464
|
* @param info - optional metadata such as DER OID
|
|
@@ -95416,6 +95466,7 @@ function concatBytes$1(...arrays) {
|
|
|
95416
95466
|
* Wrapper construction eagerly calls `hashCons(undefined)` once to read
|
|
95417
95467
|
* `outputLen` / `blockLen`, so constructor side effects happen at module
|
|
95418
95468
|
* init time.
|
|
95469
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
95419
95470
|
* @example
|
|
95420
95471
|
* Wrap a stateful hash constructor into a callable helper.
|
|
95421
95472
|
* ```ts
|
|
@@ -95426,6 +95477,8 @@ function concatBytes$1(...arrays) {
|
|
|
95426
95477
|
* ```
|
|
95427
95478
|
*/
|
|
95428
95479
|
function createHasher$1(hashCons, info = {}) {
|
|
95480
|
+
if (typeof hashCons !== "function") throw new TypeError("\"hashCons\" expected function, got type=" + typeof hashCons);
|
|
95481
|
+
info = checkOpts({}, info, "info");
|
|
95429
95482
|
const hashC = (msg, opts) => hashCons(opts).update(msg).digest();
|
|
95430
95483
|
const tmp = hashCons(void 0);
|
|
95431
95484
|
hashC.outputLen = tmp.outputLen;
|
|
@@ -95484,7 +95537,39 @@ const oidNist = (suffix) => ({ oid: Uint8Array.from([
|
|
|
95484
95537
|
suffix
|
|
95485
95538
|
]) });
|
|
95486
95539
|
//#endregion
|
|
95487
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@2.
|
|
95540
|
+
//#region ../../node_modules/.pnpm/@noble+hashes@2.3.0/node_modules/@noble/hashes/_u64.js
|
|
95541
|
+
const U32_MASK64$1 = /* @__PURE__ */ (() => BigInt(2 ** 32 - 1))();
|
|
95542
|
+
const _32n$1 = /* @__PURE__ */ BigInt(32);
|
|
95543
|
+
function fromBig$1(n, le = false) {
|
|
95544
|
+
if (le) return {
|
|
95545
|
+
h: Number(n & U32_MASK64$1),
|
|
95546
|
+
l: Number(n >> _32n$1 & U32_MASK64$1)
|
|
95547
|
+
};
|
|
95548
|
+
return {
|
|
95549
|
+
h: Number(n >> _32n$1 & U32_MASK64$1) | 0,
|
|
95550
|
+
l: Number(n & U32_MASK64$1) | 0
|
|
95551
|
+
};
|
|
95552
|
+
}
|
|
95553
|
+
function split$2(lst, le = false) {
|
|
95554
|
+
const len = lst.length;
|
|
95555
|
+
let Ah = new Uint32Array(len);
|
|
95556
|
+
let Al = new Uint32Array(len);
|
|
95557
|
+
for (let i = 0; i < len; i++) {
|
|
95558
|
+
const { h, l } = fromBig$1(lst[i], le);
|
|
95559
|
+
[Ah[i], Al[i]] = [h, l];
|
|
95560
|
+
}
|
|
95561
|
+
return [Ah, Al];
|
|
95562
|
+
}
|
|
95563
|
+
const fromNumH = (n) => n / 2 ** 32 | 0;
|
|
95564
|
+
const fromNumL = (n) => n >>> 0;
|
|
95565
|
+
function setU64FromNum(view, byteOffset, n, isLE) {
|
|
95566
|
+
const h = fromNumH(n);
|
|
95567
|
+
const l = fromNumL(n);
|
|
95568
|
+
view.setUint32(byteOffset, isLE ? l : h, isLE);
|
|
95569
|
+
view.setUint32(byteOffset + 4, isLE ? h : l, isLE);
|
|
95570
|
+
}
|
|
95571
|
+
//#endregion
|
|
95572
|
+
//#region ../../node_modules/.pnpm/@noble+hashes@2.3.0/node_modules/@noble/hashes/_md.js
|
|
95488
95573
|
/**
|
|
95489
95574
|
* Internal Merkle-Damgard hash utils.
|
|
95490
95575
|
* @module
|
|
@@ -95566,23 +95651,26 @@ var HashMD = class {
|
|
|
95566
95651
|
abytes$3(data);
|
|
95567
95652
|
const { view, buffer, blockLen } = this;
|
|
95568
95653
|
const len = data.length;
|
|
95654
|
+
let processed = false;
|
|
95569
95655
|
for (let pos = 0; pos < len;) {
|
|
95570
95656
|
const take = Math.min(blockLen - this.pos, len - pos);
|
|
95571
95657
|
if (take === blockLen) {
|
|
95572
95658
|
const dataView = createView(data);
|
|
95573
95659
|
for (; blockLen <= len - pos; pos += blockLen) this.process(dataView, pos);
|
|
95660
|
+
processed = true;
|
|
95574
95661
|
continue;
|
|
95575
95662
|
}
|
|
95576
|
-
buffer.set(data.subarray(pos, pos + take), this.pos);
|
|
95663
|
+
buffer.set(pos === 0 && take === len ? data : data.subarray(pos, pos + take), this.pos);
|
|
95577
95664
|
this.pos += take;
|
|
95578
95665
|
pos += take;
|
|
95579
95666
|
if (this.pos === blockLen) {
|
|
95580
95667
|
this.process(view, 0);
|
|
95581
95668
|
this.pos = 0;
|
|
95669
|
+
processed = true;
|
|
95582
95670
|
}
|
|
95583
95671
|
}
|
|
95584
95672
|
this.length += data.length;
|
|
95585
|
-
this.roundClean();
|
|
95673
|
+
if (processed) this.roundClean();
|
|
95586
95674
|
return this;
|
|
95587
95675
|
}
|
|
95588
95676
|
digestInto(out) {
|
|
@@ -95592,20 +95680,19 @@ var HashMD = class {
|
|
|
95592
95680
|
const { buffer, view, blockLen, isLE } = this;
|
|
95593
95681
|
let { pos } = this;
|
|
95594
95682
|
buffer[pos++] = 128;
|
|
95595
|
-
|
|
95683
|
+
buffer.fill(0, pos);
|
|
95596
95684
|
if (this.padOffset > blockLen - pos) {
|
|
95597
95685
|
this.process(view, 0);
|
|
95598
|
-
|
|
95686
|
+
buffer.fill(0);
|
|
95599
95687
|
}
|
|
95600
|
-
|
|
95601
|
-
view.setBigUint64(blockLen - 8, BigInt(this.length * 8), isLE);
|
|
95688
|
+
setU64FromNum(view, blockLen - 8, this.length * 8, isLE);
|
|
95602
95689
|
this.process(view, 0);
|
|
95603
|
-
|
|
95690
|
+
this.roundClean();
|
|
95691
|
+
const oview = out === buffer ? view : createView(out);
|
|
95604
95692
|
const len = this.outputLen;
|
|
95605
|
-
if (len % 4) throw new Error("_sha2: outputLen must be aligned to 32bit");
|
|
95606
95693
|
const outLen = len / 4;
|
|
95607
95694
|
const state = this.get();
|
|
95608
|
-
if (outLen > state.length) throw new Error("
|
|
95695
|
+
if (len % 4 || outLen > state.length) throw new Error("invalid outputLen");
|
|
95609
95696
|
for (let i = 0; i < outLen; i++) oview.setUint32(4 * i, state[i], isLE);
|
|
95610
95697
|
}
|
|
95611
95698
|
digest() {
|
|
@@ -95615,15 +95702,13 @@ var HashMD = class {
|
|
|
95615
95702
|
this.destroy();
|
|
95616
95703
|
return res;
|
|
95617
95704
|
}
|
|
95618
|
-
|
|
95619
|
-
|
|
95620
|
-
to.set(...this.get());
|
|
95621
|
-
const { blockLen, buffer, length, finished, destroyed, pos } = this;
|
|
95705
|
+
_cloneIntoMeta(to) {
|
|
95706
|
+
const { buffer, length, finished, destroyed, pos } = this;
|
|
95622
95707
|
to.destroyed = destroyed;
|
|
95623
95708
|
to.finished = finished;
|
|
95624
95709
|
to.length = length;
|
|
95625
95710
|
to.pos = pos;
|
|
95626
|
-
if (
|
|
95711
|
+
if (pos) to.buffer.set(buffer);
|
|
95627
95712
|
return to;
|
|
95628
95713
|
}
|
|
95629
95714
|
clone() {
|
|
@@ -95648,35 +95733,7 @@ const SHA256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
|
95648
95733
|
1541459225
|
|
95649
95734
|
]);
|
|
95650
95735
|
//#endregion
|
|
95651
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@2.
|
|
95652
|
-
const U32_MASK64$1 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
95653
|
-
const _32n$1 = /* @__PURE__ */ BigInt(32);
|
|
95654
|
-
function fromBig$1(n, le = false) {
|
|
95655
|
-
if (le) return {
|
|
95656
|
-
h: Number(n & U32_MASK64$1),
|
|
95657
|
-
l: Number(n >> _32n$1 & U32_MASK64$1)
|
|
95658
|
-
};
|
|
95659
|
-
return {
|
|
95660
|
-
h: Number(n >> _32n$1 & U32_MASK64$1) | 0,
|
|
95661
|
-
l: Number(n & U32_MASK64$1) | 0
|
|
95662
|
-
};
|
|
95663
|
-
}
|
|
95664
|
-
function split$2(lst, le = false) {
|
|
95665
|
-
const len = lst.length;
|
|
95666
|
-
let Ah = new Uint32Array(len);
|
|
95667
|
-
let Al = new Uint32Array(len);
|
|
95668
|
-
for (let i = 0; i < len; i++) {
|
|
95669
|
-
const { h, l } = fromBig$1(lst[i], le);
|
|
95670
|
-
[Ah[i], Al[i]] = [h, l];
|
|
95671
|
-
}
|
|
95672
|
-
return [Ah, Al];
|
|
95673
|
-
}
|
|
95674
|
-
const rotlSH$1 = (h, l, s) => h << s | l >>> 32 - s;
|
|
95675
|
-
const rotlSL$1 = (h, l, s) => l << s | h >>> 32 - s;
|
|
95676
|
-
const rotlBH$1 = (h, l, s) => l << s - 32 | h >>> 64 - s;
|
|
95677
|
-
const rotlBL$1 = (h, l, s) => h << s - 32 | l >>> 64 - s;
|
|
95678
|
-
//#endregion
|
|
95679
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/sha2.js
|
|
95736
|
+
//#region ../../node_modules/.pnpm/@noble+hashes@2.3.0/node_modules/@noble/hashes/sha2.js
|
|
95680
95737
|
/**
|
|
95681
95738
|
* SHA2 hash function. A.k.a. sha256, sha384, sha512, sha512_224, sha512_256.
|
|
95682
95739
|
* SHA256 is the fastest hash implementable in JS, even faster than Blake3.
|
|
@@ -95758,8 +95815,24 @@ const SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
|
95758
95815
|
const SHA256_W = /* @__PURE__ */ new Uint32Array(64);
|
|
95759
95816
|
/** Internal SHA-224 / SHA-256 compression engine from RFC 6234 §6.2. */
|
|
95760
95817
|
var SHA2_32B = class extends HashMD {
|
|
95761
|
-
|
|
95818
|
+
A = 0;
|
|
95819
|
+
B = 0;
|
|
95820
|
+
C = 0;
|
|
95821
|
+
D = 0;
|
|
95822
|
+
E = 0;
|
|
95823
|
+
F = 0;
|
|
95824
|
+
G = 0;
|
|
95825
|
+
H = 0;
|
|
95826
|
+
constructor(outputLen, IV) {
|
|
95762
95827
|
super(64, outputLen, 8, false);
|
|
95828
|
+
this.A = IV[0] | 0;
|
|
95829
|
+
this.B = IV[1] | 0;
|
|
95830
|
+
this.C = IV[2] | 0;
|
|
95831
|
+
this.D = IV[3] | 0;
|
|
95832
|
+
this.E = IV[4] | 0;
|
|
95833
|
+
this.F = IV[5] | 0;
|
|
95834
|
+
this.G = IV[6] | 0;
|
|
95835
|
+
this.H = IV[7] | 0;
|
|
95763
95836
|
}
|
|
95764
95837
|
get() {
|
|
95765
95838
|
const { A, B, C, D, E, F, G, H } = this;
|
|
@@ -95784,6 +95857,10 @@ var SHA2_32B = class extends HashMD {
|
|
|
95784
95857
|
this.G = G | 0;
|
|
95785
95858
|
this.H = H | 0;
|
|
95786
95859
|
}
|
|
95860
|
+
_cloneInto(to) {
|
|
95861
|
+
(to ||= new this.constructor()).set(...this.get());
|
|
95862
|
+
return this._cloneIntoMeta(to);
|
|
95863
|
+
}
|
|
95787
95864
|
process(view, offset) {
|
|
95788
95865
|
for (let i = 0; i < 16; i++, offset += 4) SHA256_W[i] = view.getUint32(offset, false);
|
|
95789
95866
|
for (let i = 16; i < 64; i++) {
|
|
@@ -95828,16 +95905,8 @@ var SHA2_32B = class extends HashMD {
|
|
|
95828
95905
|
};
|
|
95829
95906
|
/** Internal SHA-256 hash class grounded in RFC 6234 §6.2. */
|
|
95830
95907
|
var _SHA256 = class extends SHA2_32B {
|
|
95831
|
-
A = SHA256_IV[0] | 0;
|
|
95832
|
-
B = SHA256_IV[1] | 0;
|
|
95833
|
-
C = SHA256_IV[2] | 0;
|
|
95834
|
-
D = SHA256_IV[3] | 0;
|
|
95835
|
-
E = SHA256_IV[4] | 0;
|
|
95836
|
-
F = SHA256_IV[5] | 0;
|
|
95837
|
-
G = SHA256_IV[6] | 0;
|
|
95838
|
-
H = SHA256_IV[7] | 0;
|
|
95839
95908
|
constructor() {
|
|
95840
|
-
super(32);
|
|
95909
|
+
super(32, SHA256_IV);
|
|
95841
95910
|
}
|
|
95842
95911
|
};
|
|
95843
95912
|
/**
|
|
@@ -95848,6 +95917,7 @@ var _SHA256 = class extends SHA2_32B {
|
|
|
95848
95917
|
* - Each sha256 hash is executing 2^18 bit operations.
|
|
95849
95918
|
* - Good 2024 ASICs can do 200Th/sec with 3500 watts of power, corresponding to 2^36 hashes/joule.
|
|
95850
95919
|
* @param msg - message bytes to hash
|
|
95920
|
+
* @param opts - Reserved hash options.
|
|
95851
95921
|
* @returns Digest bytes.
|
|
95852
95922
|
* @example
|
|
95853
95923
|
* Hash a message with SHA2-256.
|
|
@@ -95857,437 +95927,7 @@ var _SHA256 = class extends SHA2_32B {
|
|
|
95857
95927
|
*/
|
|
95858
95928
|
const sha256 = /* @__PURE__ */ createHasher$1(() => new _SHA256(), /* @__PURE__ */ oidNist(1));
|
|
95859
95929
|
//#endregion
|
|
95860
|
-
//#region ../../node_modules/.pnpm/@scure+
|
|
95861
|
-
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
95862
|
-
function isBytes$3(a) {
|
|
95863
|
-
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array" && "BYTES_PER_ELEMENT" in a && a.BYTES_PER_ELEMENT === 1;
|
|
95864
|
-
}
|
|
95865
|
-
function isArrayOf$1(isString, arr) {
|
|
95866
|
-
if (!Array.isArray(arr)) return false;
|
|
95867
|
-
if (arr.length === 0) return true;
|
|
95868
|
-
if (isString) return arr.every((item) => typeof item === "string");
|
|
95869
|
-
else return arr.every((item) => Number.isSafeInteger(item));
|
|
95870
|
-
}
|
|
95871
|
-
function afn$1(input) {
|
|
95872
|
-
if (typeof input !== "function") throw new TypeError("function expected");
|
|
95873
|
-
return true;
|
|
95874
|
-
}
|
|
95875
|
-
function astr$1(label, input) {
|
|
95876
|
-
if (typeof input !== "string") throw new TypeError(`${label}: string expected`);
|
|
95877
|
-
return true;
|
|
95878
|
-
}
|
|
95879
|
-
function anumber$2(n) {
|
|
95880
|
-
if (typeof n !== "number") throw new TypeError(`number expected, got ${typeof n}`);
|
|
95881
|
-
if (!Number.isSafeInteger(n)) throw new RangeError(`invalid integer: ${n}`);
|
|
95882
|
-
}
|
|
95883
|
-
function aArr$1(input) {
|
|
95884
|
-
if (!Array.isArray(input)) throw new TypeError("array expected");
|
|
95885
|
-
}
|
|
95886
|
-
function astrArr$1(label, input) {
|
|
95887
|
-
if (!isArrayOf$1(true, input)) throw new TypeError(`${label}: array of strings expected`);
|
|
95888
|
-
}
|
|
95889
|
-
function anumArr$1(label, input) {
|
|
95890
|
-
if (!isArrayOf$1(false, input)) throw new TypeError(`${label}: array of numbers expected`);
|
|
95891
|
-
}
|
|
95892
|
-
/**
|
|
95893
|
-
* @__NO_SIDE_EFFECTS__
|
|
95894
|
-
*/
|
|
95895
|
-
function chain$2(...args) {
|
|
95896
|
-
const id = (a) => a;
|
|
95897
|
-
const wrap = (a, b) => (c) => a(b(c));
|
|
95898
|
-
return {
|
|
95899
|
-
encode: args.map((x) => x.encode).reduceRight(wrap, id),
|
|
95900
|
-
decode: args.map((x) => x.decode).reduce(wrap, id)
|
|
95901
|
-
};
|
|
95902
|
-
}
|
|
95903
|
-
/**
|
|
95904
|
-
* Encodes integer radix representation to array of strings using alphabet and back.
|
|
95905
|
-
* Could also be array of strings.
|
|
95906
|
-
* @__NO_SIDE_EFFECTS__
|
|
95907
|
-
*/
|
|
95908
|
-
function alphabet$1(letters) {
|
|
95909
|
-
const lettersA = typeof letters === "string" ? letters.split("") : letters;
|
|
95910
|
-
const len = lettersA.length;
|
|
95911
|
-
astrArr$1("alphabet", lettersA);
|
|
95912
|
-
const indexes = new Map(lettersA.map((l, i) => [l, i]));
|
|
95913
|
-
return {
|
|
95914
|
-
encode: (digits) => {
|
|
95915
|
-
aArr$1(digits);
|
|
95916
|
-
return digits.map((i) => {
|
|
95917
|
-
if (!Number.isSafeInteger(i) || i < 0 || i >= len) throw new Error(`alphabet.encode: digit index outside alphabet "${i}". Allowed: ${letters}`);
|
|
95918
|
-
return lettersA[i];
|
|
95919
|
-
});
|
|
95920
|
-
},
|
|
95921
|
-
decode: (input) => {
|
|
95922
|
-
aArr$1(input);
|
|
95923
|
-
return input.map((letter) => {
|
|
95924
|
-
astr$1("alphabet.decode", letter);
|
|
95925
|
-
const i = indexes.get(letter);
|
|
95926
|
-
if (i === void 0) throw new Error(`Unknown letter: "${letter}". Allowed: ${letters}`);
|
|
95927
|
-
return i;
|
|
95928
|
-
});
|
|
95929
|
-
}
|
|
95930
|
-
};
|
|
95931
|
-
}
|
|
95932
|
-
/**
|
|
95933
|
-
* @__NO_SIDE_EFFECTS__
|
|
95934
|
-
*/
|
|
95935
|
-
function join$4(separator = "") {
|
|
95936
|
-
astr$1("join", separator);
|
|
95937
|
-
return {
|
|
95938
|
-
encode: (from) => {
|
|
95939
|
-
astrArr$1("join.decode", from);
|
|
95940
|
-
return from.join(separator);
|
|
95941
|
-
},
|
|
95942
|
-
decode: (to) => {
|
|
95943
|
-
astr$1("join.decode", to);
|
|
95944
|
-
return to.split(separator);
|
|
95945
|
-
}
|
|
95946
|
-
};
|
|
95947
|
-
}
|
|
95948
|
-
/**
|
|
95949
|
-
* Pad strings array so it has integer number of bits
|
|
95950
|
-
* @__NO_SIDE_EFFECTS__
|
|
95951
|
-
*/
|
|
95952
|
-
function padding$1(bits, chr = "=") {
|
|
95953
|
-
anumber$2(bits);
|
|
95954
|
-
astr$1("padding", chr);
|
|
95955
|
-
return {
|
|
95956
|
-
encode(data) {
|
|
95957
|
-
astrArr$1("padding.encode", data);
|
|
95958
|
-
while (data.length * bits % 8) data.push(chr);
|
|
95959
|
-
return data;
|
|
95960
|
-
},
|
|
95961
|
-
decode(input) {
|
|
95962
|
-
astrArr$1("padding.decode", input);
|
|
95963
|
-
let end = input.length;
|
|
95964
|
-
if (end * bits % 8) throw new Error("padding: invalid, string should have whole number of bytes");
|
|
95965
|
-
for (; end > 0 && input[end - 1] === chr; end--) if ((end - 1) * bits % 8 === 0) throw new Error("padding: invalid, string has too much padding");
|
|
95966
|
-
return input.slice(0, end);
|
|
95967
|
-
}
|
|
95968
|
-
};
|
|
95969
|
-
}
|
|
95970
|
-
/**
|
|
95971
|
-
* @__NO_SIDE_EFFECTS__
|
|
95972
|
-
*/
|
|
95973
|
-
function normalize$2(fn) {
|
|
95974
|
-
afn$1(fn);
|
|
95975
|
-
return {
|
|
95976
|
-
encode: (from) => from,
|
|
95977
|
-
decode: (to) => fn(to)
|
|
95978
|
-
};
|
|
95979
|
-
}
|
|
95980
|
-
/**
|
|
95981
|
-
* Slow: O(n^2) time complexity
|
|
95982
|
-
*/
|
|
95983
|
-
function convertRadix(data, from, to) {
|
|
95984
|
-
if (from < 2) throw new RangeError(`convertRadix: invalid from=${from}, base cannot be less than 2`);
|
|
95985
|
-
if (to < 2) throw new RangeError(`convertRadix: invalid to=${to}, base cannot be less than 2`);
|
|
95986
|
-
aArr$1(data);
|
|
95987
|
-
if (!data.length) return [];
|
|
95988
|
-
let pos = 0;
|
|
95989
|
-
const res = [];
|
|
95990
|
-
const digits = Array.from(data, (d) => {
|
|
95991
|
-
anumber$2(d);
|
|
95992
|
-
if (d < 0 || d >= from) throw new Error(`invalid integer: ${d}`);
|
|
95993
|
-
return d;
|
|
95994
|
-
});
|
|
95995
|
-
const dlen = digits.length;
|
|
95996
|
-
while (true) {
|
|
95997
|
-
let carry = 0;
|
|
95998
|
-
let done = true;
|
|
95999
|
-
for (let i = pos; i < dlen; i++) {
|
|
96000
|
-
const digit = digits[i];
|
|
96001
|
-
const fromCarry = from * carry;
|
|
96002
|
-
const digitBase = fromCarry + digit;
|
|
96003
|
-
if (!Number.isSafeInteger(digitBase) || fromCarry / from !== carry || digitBase - digit !== fromCarry) throw new Error("convertRadix: carry overflow");
|
|
96004
|
-
const div = digitBase / to;
|
|
96005
|
-
carry = digitBase % to;
|
|
96006
|
-
const rounded = Math.floor(div);
|
|
96007
|
-
digits[i] = rounded;
|
|
96008
|
-
if (!Number.isSafeInteger(rounded) || rounded * to + carry !== digitBase) throw new Error("convertRadix: carry overflow");
|
|
96009
|
-
if (!done) continue;
|
|
96010
|
-
else if (!rounded) pos = i;
|
|
96011
|
-
else done = false;
|
|
96012
|
-
}
|
|
96013
|
-
res.push(carry);
|
|
96014
|
-
if (done) break;
|
|
96015
|
-
}
|
|
96016
|
-
for (let i = 0; i < data.length - 1 && data[i] === 0; i++) res.push(0);
|
|
96017
|
-
return res.reverse();
|
|
96018
|
-
}
|
|
96019
|
-
const gcd$1 = (a, b) => b === 0 ? a : gcd$1(b, a % b);
|
|
96020
|
-
const radix2carry$1 = /* @__NO_SIDE_EFFECTS__ */ (from, to) => from + (to - gcd$1(from, to));
|
|
96021
|
-
const powers$1 = /* @__PURE__ */ (() => {
|
|
96022
|
-
let res = [];
|
|
96023
|
-
for (let i = 0; i < 40; i++) res.push(2 ** i);
|
|
96024
|
-
return res;
|
|
96025
|
-
})();
|
|
96026
|
-
/**
|
|
96027
|
-
* Implemented with numbers, because BigInt is 5x slower
|
|
96028
|
-
*/
|
|
96029
|
-
function convertRadix2$1(data, from, to, padding) {
|
|
96030
|
-
aArr$1(data);
|
|
96031
|
-
if (from <= 0 || from > 32) throw new RangeError(`convertRadix2: wrong from=${from}`);
|
|
96032
|
-
if (to <= 0 || to > 32) throw new RangeError(`convertRadix2: wrong to=${to}`);
|
|
96033
|
-
if (/* @__PURE__ */ radix2carry$1(from, to) > 32) throw new Error(`convertRadix2: carry overflow from=${from} to=${to} carryBits=${/* @__PURE__ */ radix2carry$1(from, to)}`);
|
|
96034
|
-
let carry = 0;
|
|
96035
|
-
let pos = 0;
|
|
96036
|
-
const max = powers$1[from];
|
|
96037
|
-
const mask = powers$1[to] - 1;
|
|
96038
|
-
const res = [];
|
|
96039
|
-
for (const n of data) {
|
|
96040
|
-
anumber$2(n);
|
|
96041
|
-
if (n >= max) throw new Error(`convertRadix2: invalid data word=${n} from=${from}`);
|
|
96042
|
-
carry = carry << from | n;
|
|
96043
|
-
if (pos + from > 32) throw new Error(`convertRadix2: carry overflow pos=${pos} from=${from}`);
|
|
96044
|
-
pos += from;
|
|
96045
|
-
for (; pos >= to; pos -= to) res.push((carry >> pos - to & mask) >>> 0);
|
|
96046
|
-
const pow = powers$1[pos];
|
|
96047
|
-
if (pow === void 0) throw new Error("invalid carry");
|
|
96048
|
-
carry &= pow - 1;
|
|
96049
|
-
}
|
|
96050
|
-
carry = carry << to - pos & mask;
|
|
96051
|
-
if (!padding && pos >= from) throw new Error("Excess padding");
|
|
96052
|
-
if (!padding && carry > 0) throw new Error(`Non-zero padding: ${carry}`);
|
|
96053
|
-
if (padding && pos > 0) res.push(carry >>> 0);
|
|
96054
|
-
return res;
|
|
96055
|
-
}
|
|
96056
|
-
/**
|
|
96057
|
-
* @__NO_SIDE_EFFECTS__
|
|
96058
|
-
*/
|
|
96059
|
-
function radix(num) {
|
|
96060
|
-
anumber$2(num);
|
|
96061
|
-
const _256 = 256;
|
|
96062
|
-
return {
|
|
96063
|
-
encode: (bytes) => {
|
|
96064
|
-
if (!isBytes$3(bytes)) throw new TypeError("radix.encode input should be Uint8Array");
|
|
96065
|
-
return convertRadix(Array.from(bytes), _256, num);
|
|
96066
|
-
},
|
|
96067
|
-
decode: (digits) => {
|
|
96068
|
-
anumArr$1("radix.decode", digits);
|
|
96069
|
-
return Uint8Array.from(convertRadix(digits, num, _256));
|
|
96070
|
-
}
|
|
96071
|
-
};
|
|
96072
|
-
}
|
|
96073
|
-
/**
|
|
96074
|
-
* If both bases are power of same number (like `2**8 <-> 2**64`),
|
|
96075
|
-
* there is a linear algorithm. For now we have implementation for power-of-two bases only.
|
|
96076
|
-
* @__NO_SIDE_EFFECTS__
|
|
96077
|
-
*/
|
|
96078
|
-
function radix2$1(bits, revPadding = false) {
|
|
96079
|
-
anumber$2(bits);
|
|
96080
|
-
if (bits <= 0 || bits > 32) throw new RangeError("radix2: bits should be in (0..32]");
|
|
96081
|
-
if (/* @__PURE__ */ radix2carry$1(8, bits) > 32 || /* @__PURE__ */ radix2carry$1(bits, 8) > 32) throw new RangeError("radix2: carry overflow");
|
|
96082
|
-
return {
|
|
96083
|
-
encode: (bytes) => {
|
|
96084
|
-
if (!isBytes$3(bytes)) throw new TypeError("radix2.encode input should be Uint8Array");
|
|
96085
|
-
return convertRadix2$1(Array.from(bytes), 8, bits, !revPadding);
|
|
96086
|
-
},
|
|
96087
|
-
decode: (digits) => {
|
|
96088
|
-
anumArr$1("radix2.decode", digits);
|
|
96089
|
-
return Uint8Array.from(convertRadix2$1(digits, bits, 8, revPadding));
|
|
96090
|
-
}
|
|
96091
|
-
};
|
|
96092
|
-
}
|
|
96093
|
-
function unsafeWrapper$1(fn) {
|
|
96094
|
-
afn$1(fn);
|
|
96095
|
-
return function(...args) {
|
|
96096
|
-
try {
|
|
96097
|
-
return fn.apply(null, args);
|
|
96098
|
-
} catch (e) {}
|
|
96099
|
-
};
|
|
96100
|
-
}
|
|
96101
|
-
function checksum(len, fn) {
|
|
96102
|
-
anumber$2(len);
|
|
96103
|
-
if (len <= 0) throw new RangeError(`checksum length must be positive: ${len}`);
|
|
96104
|
-
afn$1(fn);
|
|
96105
|
-
const _fn = fn;
|
|
96106
|
-
return {
|
|
96107
|
-
encode(data) {
|
|
96108
|
-
if (!isBytes$3(data)) throw new TypeError("checksum.encode: input should be Uint8Array");
|
|
96109
|
-
const sum = _fn(data).slice(0, len);
|
|
96110
|
-
const res = new Uint8Array(data.length + len);
|
|
96111
|
-
res.set(data);
|
|
96112
|
-
res.set(sum, data.length);
|
|
96113
|
-
return res;
|
|
96114
|
-
},
|
|
96115
|
-
decode(data) {
|
|
96116
|
-
if (!isBytes$3(data)) throw new TypeError("checksum.decode: input should be Uint8Array");
|
|
96117
|
-
const payload = data.slice(0, -len);
|
|
96118
|
-
const oldChecksum = data.slice(-len);
|
|
96119
|
-
const newChecksum = _fn(payload).slice(0, len);
|
|
96120
|
-
for (let i = 0; i < len; i++) if (newChecksum[i] !== oldChecksum[i]) throw new Error("Invalid checksum");
|
|
96121
|
-
return payload;
|
|
96122
|
-
}
|
|
96123
|
-
};
|
|
96124
|
-
}
|
|
96125
|
-
/**
|
|
96126
|
-
* Low-level building blocks used by the exported codecs.
|
|
96127
|
-
* @example
|
|
96128
|
-
* Build a radix-32 coder from the low-level helpers.
|
|
96129
|
-
* ```ts
|
|
96130
|
-
* import { utils } from '@scure/base';
|
|
96131
|
-
* utils.radix2(5).encode(Uint8Array.from([1, 2, 3]));
|
|
96132
|
-
* ```
|
|
96133
|
-
*/
|
|
96134
|
-
const utils = /* @__PURE__ */ Object.freeze({
|
|
96135
|
-
alphabet: alphabet$1,
|
|
96136
|
-
chain: chain$2,
|
|
96137
|
-
checksum,
|
|
96138
|
-
convertRadix,
|
|
96139
|
-
convertRadix2: convertRadix2$1,
|
|
96140
|
-
radix,
|
|
96141
|
-
radix2: radix2$1,
|
|
96142
|
-
join: join$4,
|
|
96143
|
-
padding: padding$1
|
|
96144
|
-
});
|
|
96145
|
-
/**
|
|
96146
|
-
* base16 encoding from RFC 4648.
|
|
96147
|
-
* This codec uses RFC 4648 Table 5's uppercase alphabet directly.
|
|
96148
|
-
* RFC 4648 §8 calls base16 "case-insensitive hex encoding", but we intentionally do not case-fold decode input here.
|
|
96149
|
-
* Use `hex` for case-insensitive hex decoding.
|
|
96150
|
-
* @example
|
|
96151
|
-
* ```js
|
|
96152
|
-
* base16.encode(Uint8Array.from([0x12, 0xab]));
|
|
96153
|
-
* // => '12AB'
|
|
96154
|
-
* ```
|
|
96155
|
-
*/
|
|
96156
|
-
const base16$1 = /* @__PURE__ */ Object.freeze(chain$2(radix2$1(4), alphabet$1("0123456789ABCDEF"), join$4("")));
|
|
96157
|
-
chain$2(radix2$1(5), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"), padding$1(5), join$4(""));
|
|
96158
|
-
chain$2(radix2$1(5), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"), join$4(""));
|
|
96159
|
-
chain$2(radix2$1(5), alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"), padding$1(5), join$4(""));
|
|
96160
|
-
chain$2(radix2$1(5), alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"), join$4(""));
|
|
96161
|
-
chain$2(radix2$1(5), alphabet$1("0123456789ABCDEFGHJKMNPQRSTVWXYZ"), join$4(""), normalize$2((s) => s.toUpperCase().replace(/O/g, "0").replace(/[IL]/g, "1")));
|
|
96162
|
-
const hasBase64Builtin$1 = /* @__PURE__ */ (() => typeof Uint8Array.from([]).toBase64 === "function" && typeof Uint8Array.fromBase64 === "function")();
|
|
96163
|
-
hasBase64Builtin$1 || chain$2(radix2$1(6), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), padding$1(6), join$4(""));
|
|
96164
|
-
chain$2(radix2$1(6), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), join$4(""));
|
|
96165
|
-
hasBase64Builtin$1 || chain$2(radix2$1(6), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), padding$1(6), join$4(""));
|
|
96166
|
-
chain$2(radix2$1(6), alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), join$4(""));
|
|
96167
|
-
const genBase58 = /* @__NO_SIDE_EFFECTS__ */ (abc) => chain$2(radix(58), alphabet$1(abc), join$4(""));
|
|
96168
|
-
/**
|
|
96169
|
-
* base58: base64 without ambigous characters +, /, 0, O, I, l.
|
|
96170
|
-
* Quadratic (O(n^2)) - so, can't be used on large inputs.
|
|
96171
|
-
* @example
|
|
96172
|
-
* ```js
|
|
96173
|
-
* const text = base58.encode(Uint8Array.from([0, 1, 2]));
|
|
96174
|
-
* base58.decode(text);
|
|
96175
|
-
* // => Uint8Array.from([0, 1, 2])
|
|
96176
|
-
* ```
|
|
96177
|
-
*/
|
|
96178
|
-
const base58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"));
|
|
96179
|
-
const BECH_ALPHABET$1 = chain$2(alphabet$1("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), join$4(""));
|
|
96180
|
-
const POLYMOD_GENERATORS$1 = [
|
|
96181
|
-
996825010,
|
|
96182
|
-
642813549,
|
|
96183
|
-
513874426,
|
|
96184
|
-
1027748829,
|
|
96185
|
-
705979059
|
|
96186
|
-
];
|
|
96187
|
-
function bech32Polymod$1(pre) {
|
|
96188
|
-
const b = pre >> 25;
|
|
96189
|
-
let chk = (pre & 33554431) << 5;
|
|
96190
|
-
for (let i = 0; i < POLYMOD_GENERATORS$1.length; i++) if ((b >> i & 1) === 1) chk ^= POLYMOD_GENERATORS$1[i];
|
|
96191
|
-
return chk;
|
|
96192
|
-
}
|
|
96193
|
-
function bechChecksum$1(prefix, words, encodingConst = 1) {
|
|
96194
|
-
const len = prefix.length;
|
|
96195
|
-
let chk = 1;
|
|
96196
|
-
for (let i = 0; i < len; i++) {
|
|
96197
|
-
const c = prefix.charCodeAt(i);
|
|
96198
|
-
if (c < 33 || c > 126) throw new Error(`Invalid prefix (${prefix})`);
|
|
96199
|
-
chk = bech32Polymod$1(chk) ^ c >> 5;
|
|
96200
|
-
}
|
|
96201
|
-
chk = bech32Polymod$1(chk);
|
|
96202
|
-
for (let i = 0; i < len; i++) chk = bech32Polymod$1(chk) ^ prefix.charCodeAt(i) & 31;
|
|
96203
|
-
for (let v of words) chk = bech32Polymod$1(chk) ^ v;
|
|
96204
|
-
for (let i = 0; i < 6; i++) chk = bech32Polymod$1(chk);
|
|
96205
|
-
chk ^= encodingConst;
|
|
96206
|
-
return BECH_ALPHABET$1.encode(convertRadix2$1([chk % powers$1[30]], 30, 5, false));
|
|
96207
|
-
}
|
|
96208
|
-
/**
|
|
96209
|
-
* @__NO_SIDE_EFFECTS__
|
|
96210
|
-
*/
|
|
96211
|
-
function genBech32$1(encoding) {
|
|
96212
|
-
const ENCODING_CONST = encoding === "bech32" ? 1 : 734539939;
|
|
96213
|
-
const _words = radix2$1(5);
|
|
96214
|
-
const fromWords = _words.decode;
|
|
96215
|
-
const toWords = _words.encode;
|
|
96216
|
-
const fromWordsUnsafe = unsafeWrapper$1(fromWords);
|
|
96217
|
-
function encode(prefix, words, limit = 90) {
|
|
96218
|
-
astr$1("bech32.encode prefix", prefix);
|
|
96219
|
-
if (isBytes$3(words)) words = Array.from(words);
|
|
96220
|
-
anumArr$1("bech32.encode", words);
|
|
96221
|
-
const plen = prefix.length;
|
|
96222
|
-
if (plen === 0) throw new TypeError(`Invalid prefix length ${plen}`);
|
|
96223
|
-
const actualLength = plen + 7 + words.length;
|
|
96224
|
-
if (limit !== false && actualLength > limit) throw new TypeError(`Length ${actualLength} exceeds limit ${limit}`);
|
|
96225
|
-
const lowered = prefix.toLowerCase();
|
|
96226
|
-
const sum = bechChecksum$1(lowered, words, ENCODING_CONST);
|
|
96227
|
-
return `${lowered}1${BECH_ALPHABET$1.encode(words)}${sum}`;
|
|
96228
|
-
}
|
|
96229
|
-
function decode(str, limit = 90) {
|
|
96230
|
-
astr$1("bech32.decode input", str);
|
|
96231
|
-
const slen = str.length;
|
|
96232
|
-
if (slen < 8 || limit !== false && slen > limit) throw new TypeError(`invalid string length: ${slen} (${str}). Expected (8..${limit})`);
|
|
96233
|
-
const lowered = str.toLowerCase();
|
|
96234
|
-
if (str !== lowered && str !== str.toUpperCase()) throw new Error(`String must be lowercase or uppercase`);
|
|
96235
|
-
const sepIndex = lowered.lastIndexOf("1");
|
|
96236
|
-
if (sepIndex === 0 || sepIndex === -1) throw new Error(`Letter "1" must be present between prefix and data only`);
|
|
96237
|
-
const prefix = lowered.slice(0, sepIndex);
|
|
96238
|
-
const data = lowered.slice(sepIndex + 1);
|
|
96239
|
-
if (data.length < 6) throw new Error("Data must be at least 6 characters long");
|
|
96240
|
-
const words = BECH_ALPHABET$1.decode(data).slice(0, -6);
|
|
96241
|
-
const sum = bechChecksum$1(prefix, words, ENCODING_CONST);
|
|
96242
|
-
if (!data.endsWith(sum)) throw new Error(`Invalid checksum in ${str}: expected "${sum}"`);
|
|
96243
|
-
return {
|
|
96244
|
-
prefix,
|
|
96245
|
-
words
|
|
96246
|
-
};
|
|
96247
|
-
}
|
|
96248
|
-
const decodeUnsafe = unsafeWrapper$1(decode);
|
|
96249
|
-
function decodeToBytes(str) {
|
|
96250
|
-
const { prefix, words } = decode(str, false);
|
|
96251
|
-
return {
|
|
96252
|
-
prefix,
|
|
96253
|
-
words,
|
|
96254
|
-
bytes: fromWords(words)
|
|
96255
|
-
};
|
|
96256
|
-
}
|
|
96257
|
-
function encodeFromBytes(prefix, bytes) {
|
|
96258
|
-
return encode(prefix, toWords(bytes));
|
|
96259
|
-
}
|
|
96260
|
-
return {
|
|
96261
|
-
encode,
|
|
96262
|
-
decode,
|
|
96263
|
-
encodeFromBytes,
|
|
96264
|
-
decodeToBytes,
|
|
96265
|
-
decodeUnsafe,
|
|
96266
|
-
fromWords,
|
|
96267
|
-
fromWordsUnsafe,
|
|
96268
|
-
toWords
|
|
96269
|
-
};
|
|
96270
|
-
}
|
|
96271
|
-
genBech32$1("bech32");
|
|
96272
|
-
/**
|
|
96273
|
-
* bech32m from BIP 350. Operates on words.
|
|
96274
|
-
* It was to mitigate `bech32` weaknesses.
|
|
96275
|
-
* For high-level helpers, check out {@link https://github.com/paulmillr/scure-btc-signer | scure-btc-signer}.
|
|
96276
|
-
* @example
|
|
96277
|
-
* Convert bytes to words, encode them with bech32m, then decode back.
|
|
96278
|
-
* ```ts
|
|
96279
|
-
* const words = bech32m.toWords(Uint8Array.from([1, 2, 3]));
|
|
96280
|
-
* const text = bech32m.encode('bc', words);
|
|
96281
|
-
* bech32m.decode(text);
|
|
96282
|
-
* ```
|
|
96283
|
-
*/
|
|
96284
|
-
const bech32m$1 = /* @__PURE__ */ Object.freeze(genBech32$1("bech32m"));
|
|
96285
|
-
/* @__PURE__ */ (() => typeof Uint8Array.from([]).toHex === "function" && typeof Uint8Array.fromHex === "function")() || chain$2(radix2$1(4), alphabet$1("0123456789abcdef"), join$4(""), normalize$2((s) => {
|
|
96286
|
-
if (typeof s !== "string" || s.length % 2 !== 0) throw new TypeError(`hex.decode: expected string, got ${typeof s} with length ${s.length}`);
|
|
96287
|
-
return s.toLowerCase();
|
|
96288
|
-
}));
|
|
96289
|
-
//#endregion
|
|
96290
|
-
//#region ../../node_modules/.pnpm/@scure+bip39@2.2.0/node_modules/@scure/bip39/index.js
|
|
95930
|
+
//#region ../../node_modules/.pnpm/@scure+bip39@2.3.0/node_modules/@scure/bip39/index.js
|
|
96291
95931
|
/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
|
|
96292
95932
|
const isJapanese = (wordlist) => wordlist[0] === "あいこくしん";
|
|
96293
95933
|
function aentropy(ent) {
|
|
@@ -96323,14 +95963,32 @@ function generateMnemonic(wordlist, strength = 128) {
|
|
|
96323
95963
|
}
|
|
96324
95964
|
const calcChecksum = (entropy) => {
|
|
96325
95965
|
const bitsLeft = 8 - entropy.length / 4;
|
|
96326
|
-
return
|
|
95966
|
+
return sha256(entropy)[0] >> bitsLeft << bitsLeft;
|
|
96327
95967
|
};
|
|
96328
|
-
function
|
|
95968
|
+
function awordlist(wordlist) {
|
|
96329
95969
|
if (!Array.isArray(wordlist) || wordlist.length !== 2048 || typeof wordlist[0] !== "string") throw new TypeError("Wordlist: expected array of 2048 strings");
|
|
96330
95970
|
wordlist.forEach((i) => {
|
|
96331
95971
|
if (typeof i !== "string") throw new TypeError("wordlist: non-string element: " + i);
|
|
96332
95972
|
});
|
|
96333
|
-
|
|
95973
|
+
}
|
|
95974
|
+
function encodeWords(entropy, wordlist) {
|
|
95975
|
+
awordlist(wordlist);
|
|
95976
|
+
const bytes = new Uint8Array(entropy.length + 1);
|
|
95977
|
+
bytes.set(entropy);
|
|
95978
|
+
bytes[entropy.length] = calcChecksum(entropy);
|
|
95979
|
+
const words = [];
|
|
95980
|
+
let carry = 0;
|
|
95981
|
+
let bits = 0;
|
|
95982
|
+
for (const byte of bytes) {
|
|
95983
|
+
carry = carry << 8 | byte;
|
|
95984
|
+
bits += 8;
|
|
95985
|
+
if (bits >= 11) {
|
|
95986
|
+
bits -= 11;
|
|
95987
|
+
words.push(wordlist[carry >>> bits & 2047]);
|
|
95988
|
+
carry &= (1 << bits) - 1;
|
|
95989
|
+
}
|
|
95990
|
+
}
|
|
95991
|
+
return words;
|
|
96334
95992
|
}
|
|
96335
95993
|
/**
|
|
96336
95994
|
* Reversible: Converts raw entropy in form of byte array to mnemonic string.
|
|
@@ -96354,10 +96012,10 @@ function getCoder(wordlist) {
|
|
|
96354
96012
|
*/
|
|
96355
96013
|
function entropyToMnemonic(entropy, wordlist) {
|
|
96356
96014
|
aentropy(entropy);
|
|
96357
|
-
return
|
|
96015
|
+
return encodeWords(entropy, wordlist).join(isJapanese(wordlist) ? " " : " ");
|
|
96358
96016
|
}
|
|
96359
96017
|
//#endregion
|
|
96360
|
-
//#region ../../node_modules/.pnpm/@scure+bip39@2.
|
|
96018
|
+
//#region ../../node_modules/.pnpm/@scure+bip39@2.3.0/node_modules/@scure/bip39/wordlists/english.js
|
|
96361
96019
|
/** English BIP39 wordlist. */
|
|
96362
96020
|
const wordlist = /* @__PURE__ */ Object.freeze(`abandon
|
|
96363
96021
|
ability
|
|
@@ -98408,7 +98066,430 @@ zero
|
|
|
98408
98066
|
zone
|
|
98409
98067
|
zoo`.split("\n"));
|
|
98410
98068
|
//#endregion
|
|
98411
|
-
//#region ../../node_modules/.pnpm/@
|
|
98069
|
+
//#region ../../node_modules/.pnpm/@scure+base@2.3.0/node_modules/@scure/base/index.js
|
|
98070
|
+
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
98071
|
+
const freeze = (fn) => Object.freeze(fn());
|
|
98072
|
+
function isBytes$3(a) {
|
|
98073
|
+
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array" && "BYTES_PER_ELEMENT" in a && a.BYTES_PER_ELEMENT === 1;
|
|
98074
|
+
}
|
|
98075
|
+
/** Asserts something is Uint8Array. */
|
|
98076
|
+
function abytes$2(b) {
|
|
98077
|
+
if (!isBytes$3(b)) throw new TypeError("Uint8Array expected");
|
|
98078
|
+
}
|
|
98079
|
+
function isArrayOf$1(isString, arr) {
|
|
98080
|
+
if (!Array.isArray(arr)) return false;
|
|
98081
|
+
if (arr.length === 0) return true;
|
|
98082
|
+
if (isString) return arr.every((item) => typeof item === "string");
|
|
98083
|
+
else return arr.every((item) => Number.isSafeInteger(item));
|
|
98084
|
+
}
|
|
98085
|
+
function afn$1(input) {
|
|
98086
|
+
if (typeof input !== "function") throw new TypeError("function expected");
|
|
98087
|
+
return true;
|
|
98088
|
+
}
|
|
98089
|
+
function astr$1(label, input) {
|
|
98090
|
+
if (typeof input !== "string") throw new TypeError(`${label}: string expected`);
|
|
98091
|
+
return true;
|
|
98092
|
+
}
|
|
98093
|
+
function anumber$2(n, title = "number") {
|
|
98094
|
+
if (typeof n !== "number") throw new TypeError(`${title}: expected number, got ${typeof n}`);
|
|
98095
|
+
if (!Number.isSafeInteger(n)) throw new RangeError(`${title}: expected safe integer, got ${n}`);
|
|
98096
|
+
}
|
|
98097
|
+
function anumArr$1(label, input) {
|
|
98098
|
+
if (!isArrayOf$1(false, input)) throw new TypeError(`${label}: array of numbers expected`);
|
|
98099
|
+
}
|
|
98100
|
+
function chain$2(...args) {
|
|
98101
|
+
const id = (a) => a;
|
|
98102
|
+
const wrap = (a, b) => (c) => a(b(c));
|
|
98103
|
+
return {
|
|
98104
|
+
encode: args.map((x) => x.encode).reduceRight(wrap, id),
|
|
98105
|
+
decode: args.map((x) => x.decode).reduce(wrap, id)
|
|
98106
|
+
};
|
|
98107
|
+
}
|
|
98108
|
+
const powers$1 = /* @__PURE__ */ (() => {
|
|
98109
|
+
let res = [];
|
|
98110
|
+
for (let i = 0; i < 40; i++) res.push(2 ** i);
|
|
98111
|
+
return res;
|
|
98112
|
+
})();
|
|
98113
|
+
function u8ToNumArr(u8, len = u8.length) {
|
|
98114
|
+
const res = new Array(len);
|
|
98115
|
+
for (let i = 0; i < len; i++) res[i] = u8[i];
|
|
98116
|
+
return res;
|
|
98117
|
+
}
|
|
98118
|
+
const asciiDecoder = /* @__PURE__ */ (() => {
|
|
98119
|
+
try {
|
|
98120
|
+
const decoder = new TextDecoder();
|
|
98121
|
+
return decoder.decode(Uint8Array.of(65, 48, 43, 127)) === "A0+" ? decoder : void 0;
|
|
98122
|
+
} catch (e) {
|
|
98123
|
+
return;
|
|
98124
|
+
}
|
|
98125
|
+
})();
|
|
98126
|
+
const B2S_CHUNK = 8192;
|
|
98127
|
+
function charcodesToString(codes) {
|
|
98128
|
+
const len = codes.length;
|
|
98129
|
+
if (asciiDecoder !== void 0 && len >= 12) return asciiDecoder.decode(codes);
|
|
98130
|
+
if (len <= B2S_CHUNK) return String.fromCharCode.apply(null, codes);
|
|
98131
|
+
let res = "";
|
|
98132
|
+
for (let i = 0; i < len; i += B2S_CHUNK) res += String.fromCharCode.apply(null, codes.subarray(i, i + B2S_CHUNK));
|
|
98133
|
+
return res;
|
|
98134
|
+
}
|
|
98135
|
+
/**
|
|
98136
|
+
* Linear 8 <-> bits regrouping (radix2Slow semantics), with Uint8Array digits and
|
|
98137
|
+
* preallocated output.
|
|
98138
|
+
*/
|
|
98139
|
+
function radix2$1(bits) {
|
|
98140
|
+
anumber$2(bits);
|
|
98141
|
+
if (bits <= 0 || bits > 8) throw new RangeError("radix2: bits should be in (0..8]");
|
|
98142
|
+
const mask = powers$1[bits] - 1;
|
|
98143
|
+
return {
|
|
98144
|
+
encode: (bytes) => {
|
|
98145
|
+
abytes$2(bytes);
|
|
98146
|
+
const len = bytes.length;
|
|
98147
|
+
const res = new Uint8Array(Math.ceil(len * 8 / bits));
|
|
98148
|
+
let carry = 0;
|
|
98149
|
+
let pos = 0;
|
|
98150
|
+
let j = 0;
|
|
98151
|
+
for (let i = 0; i < len;) {
|
|
98152
|
+
if (i + 2 < len) {
|
|
98153
|
+
carry = carry << 24 | bytes[i] << 16 | bytes[i + 1] << 8 | bytes[i + 2];
|
|
98154
|
+
pos += 24;
|
|
98155
|
+
i += 3;
|
|
98156
|
+
} else {
|
|
98157
|
+
carry = (carry << 8 | bytes[i]) & 65535;
|
|
98158
|
+
pos += 8;
|
|
98159
|
+
i++;
|
|
98160
|
+
}
|
|
98161
|
+
for (;;) {
|
|
98162
|
+
pos -= bits;
|
|
98163
|
+
res[j++] = carry >> pos & mask;
|
|
98164
|
+
if (pos < bits) break;
|
|
98165
|
+
}
|
|
98166
|
+
}
|
|
98167
|
+
if (pos > 0) res[j] = carry << bits - pos & mask;
|
|
98168
|
+
return res;
|
|
98169
|
+
},
|
|
98170
|
+
decode: (digits) => {
|
|
98171
|
+
const len = digits.length;
|
|
98172
|
+
const res = new Uint8Array(Math.floor(len * bits / 8));
|
|
98173
|
+
let carry = 0;
|
|
98174
|
+
let pos = 0;
|
|
98175
|
+
let j = 0;
|
|
98176
|
+
for (let i = 0; i < len; i++) {
|
|
98177
|
+
carry = (carry << bits | digits[i]) & 65535;
|
|
98178
|
+
pos += bits;
|
|
98179
|
+
for (; pos >= 8; pos -= 8) res[j++] = carry >> pos - 8 & 255;
|
|
98180
|
+
}
|
|
98181
|
+
carry = carry << 8 - pos & 255;
|
|
98182
|
+
if (pos >= bits) throw new Error("Excess padding");
|
|
98183
|
+
if (carry > 0) throw new Error(`Non-zero padding: ${carry}`);
|
|
98184
|
+
return res;
|
|
98185
|
+
}
|
|
98186
|
+
};
|
|
98187
|
+
}
|
|
98188
|
+
/**
|
|
98189
|
+
* Digit <-> letter mapping fused with string join (chain(alphabetSlow(letters), join(''))
|
|
98190
|
+
* semantics), via char-code lookup tables.
|
|
98191
|
+
*/
|
|
98192
|
+
function alphabet$1(letters, aliases) {
|
|
98193
|
+
const len = letters.length;
|
|
98194
|
+
if (len > 128) throw new Error("alphabet: max 128 letters");
|
|
98195
|
+
const encTable = new Uint8Array(len);
|
|
98196
|
+
const decTable = (/* @__PURE__ */ new Int8Array(128)).fill(-1);
|
|
98197
|
+
for (let i = 0; i < len; i++) {
|
|
98198
|
+
const code = letters.charCodeAt(i);
|
|
98199
|
+
if (letters.codePointAt(i) !== code || code > 127) throw new Error("alphabet: single-char ASCII letters only");
|
|
98200
|
+
encTable[i] = code;
|
|
98201
|
+
decTable[code] = i;
|
|
98202
|
+
}
|
|
98203
|
+
if (aliases !== void 0) for (const alias of Object.keys(aliases)) {
|
|
98204
|
+
const code = alias.charCodeAt(0);
|
|
98205
|
+
const target = decTable[aliases[alias].charCodeAt(0)];
|
|
98206
|
+
if (alias.length !== 1 || code > 127 || target === void 0 || target === -1) throw new Error(`alphabet: invalid alias ${alias}`);
|
|
98207
|
+
decTable[code] = target;
|
|
98208
|
+
}
|
|
98209
|
+
return {
|
|
98210
|
+
encode: (digits) => {
|
|
98211
|
+
const codes = new Uint8Array(digits.length);
|
|
98212
|
+
for (let i = 0; i < digits.length; i++) {
|
|
98213
|
+
const d = digits[i];
|
|
98214
|
+
const code = encTable[d];
|
|
98215
|
+
if (code === void 0) throw new Error(`alphabet.encode: invalid digit ${d}`);
|
|
98216
|
+
codes[i] = code;
|
|
98217
|
+
}
|
|
98218
|
+
return charcodesToString(codes);
|
|
98219
|
+
},
|
|
98220
|
+
decode: (input) => {
|
|
98221
|
+
astr$1("decode", input);
|
|
98222
|
+
const slen = input.length;
|
|
98223
|
+
const digits = new Uint8Array(slen);
|
|
98224
|
+
for (let i = 0; i < slen; i++) {
|
|
98225
|
+
const code = input.charCodeAt(i);
|
|
98226
|
+
const digit = code < 128 ? decTable[code] : -1;
|
|
98227
|
+
if (digit === -1) throw new Error(`Unknown letter "${input[i]}". Allowed: ${letters}`);
|
|
98228
|
+
digits[i] = digit;
|
|
98229
|
+
}
|
|
98230
|
+
return digits;
|
|
98231
|
+
}
|
|
98232
|
+
};
|
|
98233
|
+
}
|
|
98234
|
+
function unsafeWrapper$1(fn) {
|
|
98235
|
+
afn$1(fn);
|
|
98236
|
+
return function(...args) {
|
|
98237
|
+
try {
|
|
98238
|
+
return fn.apply(null, args);
|
|
98239
|
+
} catch (e) {}
|
|
98240
|
+
};
|
|
98241
|
+
}
|
|
98242
|
+
/**
|
|
98243
|
+
* base16 encoding from RFC 4648.
|
|
98244
|
+
* This codec uses RFC 4648 Table 5's uppercase alphabet directly.
|
|
98245
|
+
* RFC 4648 §8 calls base16 "case-insensitive hex encoding", but we intentionally do not case-fold decode input here.
|
|
98246
|
+
* Use `hex` for case-insensitive hex decoding.
|
|
98247
|
+
* @example
|
|
98248
|
+
* ```js
|
|
98249
|
+
* base16.encode(Uint8Array.from([0x12, 0xab]));
|
|
98250
|
+
* // => '12AB'
|
|
98251
|
+
* ```
|
|
98252
|
+
*/
|
|
98253
|
+
const base16$1 = /* @__PURE__ */ freeze(() => chain$2(radix2$1(4), alphabet$1("0123456789ABCDEF")));
|
|
98254
|
+
const B58_GROUP = 656356768;
|
|
98255
|
+
const radix58 = {
|
|
98256
|
+
encode: (bytes) => {
|
|
98257
|
+
abytes$2(bytes);
|
|
98258
|
+
const blen = bytes.length;
|
|
98259
|
+
if (blen === 0) return /* @__PURE__ */ new Uint8Array(0);
|
|
98260
|
+
let zeros = 0;
|
|
98261
|
+
while (zeros < blen - 1 && bytes[zeros] === 0) zeros++;
|
|
98262
|
+
const nlimbs = Math.ceil(blen / 2);
|
|
98263
|
+
const limbs = new Uint16Array(nlimbs);
|
|
98264
|
+
const odd = blen & 1;
|
|
98265
|
+
if (odd) limbs[0] = bytes[0];
|
|
98266
|
+
for (let i = odd, j = odd; i < blen; i += 2, j++) limbs[j] = bytes[i] << 8 | bytes[i + 1];
|
|
98267
|
+
const groups = [];
|
|
98268
|
+
let pos = 0;
|
|
98269
|
+
while (pos < nlimbs) {
|
|
98270
|
+
let carry = 0;
|
|
98271
|
+
for (let i = pos; i < nlimbs; i++) {
|
|
98272
|
+
const cur = carry * 65536 + limbs[i];
|
|
98273
|
+
const q = Math.floor(cur / B58_GROUP);
|
|
98274
|
+
carry = cur - q * B58_GROUP;
|
|
98275
|
+
limbs[i] = q;
|
|
98276
|
+
if (q === 0 && i === pos) pos++;
|
|
98277
|
+
}
|
|
98278
|
+
groups.push(carry);
|
|
98279
|
+
}
|
|
98280
|
+
const top = groups.length - 1;
|
|
98281
|
+
let sig = top * 5;
|
|
98282
|
+
for (let v = groups[top];; v = Math.floor(v / 58)) {
|
|
98283
|
+
sig++;
|
|
98284
|
+
if (v < 58) break;
|
|
98285
|
+
}
|
|
98286
|
+
const res = new Uint8Array(zeros + sig);
|
|
98287
|
+
let j = res.length - 1;
|
|
98288
|
+
for (let g = 0; g < top; g++) {
|
|
98289
|
+
let v = groups[g];
|
|
98290
|
+
for (let k = 0; k < 5; k++) {
|
|
98291
|
+
res[j--] = v % 58;
|
|
98292
|
+
v = Math.floor(v / 58);
|
|
98293
|
+
}
|
|
98294
|
+
}
|
|
98295
|
+
for (let v = groups[top]; j >= zeros; v = Math.floor(v / 58)) res[j--] = v % 58;
|
|
98296
|
+
return res;
|
|
98297
|
+
},
|
|
98298
|
+
decode: (digits) => {
|
|
98299
|
+
abytes$2(digits);
|
|
98300
|
+
const dlen = digits.length;
|
|
98301
|
+
if (dlen === 0) return /* @__PURE__ */ new Uint8Array(0);
|
|
98302
|
+
if (dlen >= 65536) throw new Error("invalid length");
|
|
98303
|
+
let zeros = 0;
|
|
98304
|
+
while (zeros < dlen - 1 && digits[zeros] === 0) zeros++;
|
|
98305
|
+
const limbs = new Uint16Array(Math.ceil(dlen * 6 / 16) + 1);
|
|
98306
|
+
let used = 0;
|
|
98307
|
+
let i = 0;
|
|
98308
|
+
let group = dlen % 5 || 5;
|
|
98309
|
+
while (i < dlen) {
|
|
98310
|
+
let gval = 0;
|
|
98311
|
+
let factor = 1;
|
|
98312
|
+
for (const end = i + group; i < end; i++) {
|
|
98313
|
+
const d = digits[i];
|
|
98314
|
+
if (d >= 58) throw new Error(`invalid integer: ${d}`);
|
|
98315
|
+
gval = gval * 58 + d;
|
|
98316
|
+
factor *= 58;
|
|
98317
|
+
}
|
|
98318
|
+
group = 5;
|
|
98319
|
+
let carry = gval;
|
|
98320
|
+
for (let k = 0; k < used; k++) {
|
|
98321
|
+
const cur = limbs[k] * factor + carry;
|
|
98322
|
+
carry = Math.floor(cur / 65536);
|
|
98323
|
+
limbs[k] = cur - carry * 65536;
|
|
98324
|
+
}
|
|
98325
|
+
for (; carry > 0; carry = Math.floor(carry / 65536)) limbs[used++] = carry % 65536;
|
|
98326
|
+
}
|
|
98327
|
+
const valueBytes = used === 0 ? 1 : used * 2 - (limbs[used - 1] < 256 ? 1 : 0);
|
|
98328
|
+
const res = new Uint8Array(zeros + valueBytes);
|
|
98329
|
+
let j = res.length - 1;
|
|
98330
|
+
for (let k = 0; k < used; k++) {
|
|
98331
|
+
const limb = limbs[k];
|
|
98332
|
+
res[j--] = limb & 255;
|
|
98333
|
+
if (j >= zeros) res[j--] = limb >> 8;
|
|
98334
|
+
}
|
|
98335
|
+
return res;
|
|
98336
|
+
}
|
|
98337
|
+
};
|
|
98338
|
+
const genBase58 = (abc) => chain$2(radix58, alphabet$1(abc));
|
|
98339
|
+
/**
|
|
98340
|
+
* base58: base64 without ambigous characters +, /, 0, O, I, l.
|
|
98341
|
+
* Quadratic (O(n^2)) - so, can't be used on large inputs.
|
|
98342
|
+
* @example
|
|
98343
|
+
* ```js
|
|
98344
|
+
* const text = base58.encode(Uint8Array.from([0, 1, 2]));
|
|
98345
|
+
* base58.decode(text);
|
|
98346
|
+
* // => Uint8Array.from([0, 1, 2])
|
|
98347
|
+
* ```
|
|
98348
|
+
*/
|
|
98349
|
+
const base58 = /* @__PURE__ */ freeze(() => genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"));
|
|
98350
|
+
const BECH_ALPHABET$1 = /* @__PURE__ */ alphabet$1("qpzry9x8gf2tvdw0s3jn54khce6mua7l");
|
|
98351
|
+
function wordsToU8(words) {
|
|
98352
|
+
const len = words.length;
|
|
98353
|
+
const res = new Uint8Array(len);
|
|
98354
|
+
for (let i = 0; i < len; i++) {
|
|
98355
|
+
const w = words[i];
|
|
98356
|
+
if (w < 0 || w >= 32) throw new Error(`alphabet.encode: invalid digit ${w}`);
|
|
98357
|
+
res[i] = w;
|
|
98358
|
+
}
|
|
98359
|
+
return res;
|
|
98360
|
+
}
|
|
98361
|
+
const POLYMOD_GENERATORS$1 = [
|
|
98362
|
+
996825010,
|
|
98363
|
+
642813549,
|
|
98364
|
+
513874426,
|
|
98365
|
+
1027748829,
|
|
98366
|
+
705979059
|
|
98367
|
+
];
|
|
98368
|
+
function bech32Polymod$1(pre) {
|
|
98369
|
+
const b = pre >> 25;
|
|
98370
|
+
let chk = (pre & 33554431) << 5;
|
|
98371
|
+
for (let i = 0; i < POLYMOD_GENERATORS$1.length; i++) if ((b >> i & 1) === 1) chk ^= POLYMOD_GENERATORS$1[i];
|
|
98372
|
+
return chk;
|
|
98373
|
+
}
|
|
98374
|
+
function bechChecksum$1(prefix, words, encodingConst = 1) {
|
|
98375
|
+
const len = prefix.length;
|
|
98376
|
+
let chk = 1;
|
|
98377
|
+
for (let i = 0; i < len; i++) {
|
|
98378
|
+
const c = prefix.charCodeAt(i);
|
|
98379
|
+
if (c < 33 || c > 126) throw new Error(`Invalid prefix (${prefix})`);
|
|
98380
|
+
chk = bech32Polymod$1(chk) ^ c >> 5;
|
|
98381
|
+
}
|
|
98382
|
+
chk = bech32Polymod$1(chk);
|
|
98383
|
+
for (let i = 0; i < len; i++) chk = bech32Polymod$1(chk) ^ prefix.charCodeAt(i) & 31;
|
|
98384
|
+
for (let v of words) chk = bech32Polymod$1(chk) ^ v;
|
|
98385
|
+
for (let i = 0; i < 6; i++) chk = bech32Polymod$1(chk);
|
|
98386
|
+
chk ^= encodingConst;
|
|
98387
|
+
const sum = /* @__PURE__ */ new Uint8Array(6);
|
|
98388
|
+
for (let i = 0; i < 6; i++) sum[i] = chk >>> 5 * (5 - i) & 31;
|
|
98389
|
+
return BECH_ALPHABET$1.encode(sum);
|
|
98390
|
+
}
|
|
98391
|
+
function genBech32$1(encoding) {
|
|
98392
|
+
const ENCODING_CONST = encoding === "bech32" ? 1 : 734539939;
|
|
98393
|
+
const _words = radix2$1(5);
|
|
98394
|
+
const toWords = (from) => {
|
|
98395
|
+
abytes$2(from);
|
|
98396
|
+
const len = from.length;
|
|
98397
|
+
const res = new Array(Math.ceil(len * 8 / 5));
|
|
98398
|
+
let carry = 0;
|
|
98399
|
+
let pos = 0;
|
|
98400
|
+
let j = 0;
|
|
98401
|
+
for (let i = 0; i < len; i++) {
|
|
98402
|
+
carry = carry << 8 | from[i];
|
|
98403
|
+
pos += 8;
|
|
98404
|
+
for (; pos >= 5; pos -= 5) res[j++] = carry >> pos - 5 & 31;
|
|
98405
|
+
}
|
|
98406
|
+
if (pos > 0) res[j] = carry << 5 - pos & 31;
|
|
98407
|
+
return res;
|
|
98408
|
+
};
|
|
98409
|
+
const fromWords = (to) => {
|
|
98410
|
+
anumArr$1("radix2.decode", to);
|
|
98411
|
+
const len = to.length;
|
|
98412
|
+
const digits = new Uint8Array(len);
|
|
98413
|
+
for (let i = 0; i < len; i++) {
|
|
98414
|
+
const w = to[i];
|
|
98415
|
+
if (w < 0 || w >= 32) throw new Error(`convertRadix2: invalid word=${w}`);
|
|
98416
|
+
digits[i] = w;
|
|
98417
|
+
}
|
|
98418
|
+
return _words.decode(digits);
|
|
98419
|
+
};
|
|
98420
|
+
const fromWordsUnsafe = unsafeWrapper$1(fromWords);
|
|
98421
|
+
function encode(prefix, words, limit = 90) {
|
|
98422
|
+
astr$1("bech32.encode prefix", prefix);
|
|
98423
|
+
if (limit !== false) anumber$2(limit, "limit");
|
|
98424
|
+
if (isBytes$3(words)) words = u8ToNumArr(words);
|
|
98425
|
+
anumArr$1("bech32.encode", words);
|
|
98426
|
+
const plen = prefix.length;
|
|
98427
|
+
if (plen === 0) throw new TypeError(`Invalid prefix length ${plen}`);
|
|
98428
|
+
const actualLength = plen + 7 + words.length;
|
|
98429
|
+
if (limit !== false && actualLength > limit) throw new TypeError(`Length ${actualLength} exceeds limit ${limit}`);
|
|
98430
|
+
const lowered = prefix.toLowerCase();
|
|
98431
|
+
const sum = bechChecksum$1(lowered, words, ENCODING_CONST);
|
|
98432
|
+
return `${lowered}1${BECH_ALPHABET$1.encode(wordsToU8(words))}${sum}`;
|
|
98433
|
+
}
|
|
98434
|
+
function decode(str, limit = 90) {
|
|
98435
|
+
astr$1("bech32.decode input", str);
|
|
98436
|
+
if (limit !== false) anumber$2(limit, "limit");
|
|
98437
|
+
const slen = str.length;
|
|
98438
|
+
if (slen < 8 || limit !== false && slen > limit) throw new TypeError(`invalid string length ${slen}, expected (8..${limit})`);
|
|
98439
|
+
const lowered = str.toLowerCase();
|
|
98440
|
+
if (str !== lowered && str !== str.toUpperCase()) throw new Error(`mixed-case string not allowed`);
|
|
98441
|
+
const sepIndex = lowered.lastIndexOf("1");
|
|
98442
|
+
if (sepIndex === 0 || sepIndex === -1) throw new Error(`invalid separator "1"`);
|
|
98443
|
+
const prefix = lowered.slice(0, sepIndex);
|
|
98444
|
+
const data = lowered.slice(sepIndex + 1);
|
|
98445
|
+
if (data.length < 6) throw new Error("invalid data length");
|
|
98446
|
+
const digits = BECH_ALPHABET$1.decode(data);
|
|
98447
|
+
const words = u8ToNumArr(digits, digits.length - 6);
|
|
98448
|
+
const sum = bechChecksum$1(prefix, words, ENCODING_CONST);
|
|
98449
|
+
if (!data.endsWith(sum)) throw new Error(`Invalid checksum in ${str}`);
|
|
98450
|
+
return {
|
|
98451
|
+
prefix,
|
|
98452
|
+
words
|
|
98453
|
+
};
|
|
98454
|
+
}
|
|
98455
|
+
const decodeUnsafe = unsafeWrapper$1(decode);
|
|
98456
|
+
function decodeToBytes(str) {
|
|
98457
|
+
const { prefix, words } = decode(str, false);
|
|
98458
|
+
return {
|
|
98459
|
+
prefix,
|
|
98460
|
+
words,
|
|
98461
|
+
bytes: fromWords(words)
|
|
98462
|
+
};
|
|
98463
|
+
}
|
|
98464
|
+
function encodeFromBytes(prefix, bytes) {
|
|
98465
|
+
return encode(prefix, toWords(bytes));
|
|
98466
|
+
}
|
|
98467
|
+
return {
|
|
98468
|
+
encode,
|
|
98469
|
+
decode,
|
|
98470
|
+
encodeFromBytes,
|
|
98471
|
+
decodeToBytes,
|
|
98472
|
+
decodeUnsafe,
|
|
98473
|
+
fromWords,
|
|
98474
|
+
fromWordsUnsafe,
|
|
98475
|
+
toWords
|
|
98476
|
+
};
|
|
98477
|
+
}
|
|
98478
|
+
/**
|
|
98479
|
+
* bech32m from BIP 350. Operates on words.
|
|
98480
|
+
* It was to mitigate `bech32` weaknesses.
|
|
98481
|
+
* For high-level helpers, check out {@link https://github.com/paulmillr/scure-btc-signer | scure-btc-signer}.
|
|
98482
|
+
* @example
|
|
98483
|
+
* Convert bytes to words, encode them with bech32m, then decode back.
|
|
98484
|
+
* ```ts
|
|
98485
|
+
* const words = bech32m.toWords(Uint8Array.from([1, 2, 3]));
|
|
98486
|
+
* const text = bech32m.encode('bc', words);
|
|
98487
|
+
* bech32m.decode(text);
|
|
98488
|
+
* ```
|
|
98489
|
+
*/
|
|
98490
|
+
const bech32m$1 = /* @__PURE__ */ freeze(() => genBech32$1("bech32m"));
|
|
98491
|
+
//#endregion
|
|
98492
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/address.mjs
|
|
98412
98493
|
init_node$2();
|
|
98413
98494
|
init_mini();
|
|
98414
98495
|
function encodeQuantAddress(hrp, bytes) {
|
|
@@ -98428,7 +98509,7 @@ function tryDecodeQuantAddress(address) {
|
|
|
98428
98509
|
}
|
|
98429
98510
|
(/* @__PURE__ */ string$3()).check(/* @__PURE__ */ refine$2((v) => tryDecodeQuantAddress(v) !== void 0));
|
|
98430
98511
|
//#endregion
|
|
98431
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.
|
|
98512
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/account-model.mjs
|
|
98432
98513
|
init_node$2();
|
|
98433
98514
|
var isPhraseInitializationConfig = (value) => {
|
|
98434
98515
|
if (typeof value === "object" && value !== null) return typeof value.phrase === "string";
|
|
@@ -98464,9 +98545,27 @@ function registerVerifier(algorithm, fn) {
|
|
|
98464
98545
|
registry$1[algorithm] = fn;
|
|
98465
98546
|
}
|
|
98466
98547
|
//#endregion
|
|
98467
|
-
//#region ../../node_modules/.pnpm/@noble+curves@2.
|
|
98548
|
+
//#region ../../node_modules/.pnpm/@noble+curves@2.3.0/node_modules/@noble/curves/utils.js
|
|
98468
98549
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
98469
98550
|
/**
|
|
98551
|
+
* Asserts something is a plain object-ish value, not null or array.
|
|
98552
|
+
* @param value - Value to validate.
|
|
98553
|
+
* @param title - Label included in thrown errors.
|
|
98554
|
+
* @returns The validated object.
|
|
98555
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
98556
|
+
* @example
|
|
98557
|
+
* Validate an options object before checking fields.
|
|
98558
|
+
*
|
|
98559
|
+
* ```ts
|
|
98560
|
+
* aobject({ flag: true });
|
|
98561
|
+
* ```
|
|
98562
|
+
*/
|
|
98563
|
+
function aobject$1(value, title = "object") {
|
|
98564
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) throw new TypeError(title === "object" ? "expected valid options object" : `"${title}" expected object, got type=${typeof value}`);
|
|
98565
|
+
return value;
|
|
98566
|
+
}
|
|
98567
|
+
const atitle = (title) => title ? `"${title}" ` : "";
|
|
98568
|
+
/**
|
|
98470
98569
|
* Validates that a flag is boolean.
|
|
98471
98570
|
* @param value - Value to validate.
|
|
98472
98571
|
* @param title - Optional field name.
|
|
@@ -98480,14 +98579,45 @@ function registerVerifier(algorithm, fn) {
|
|
|
98480
98579
|
* ```
|
|
98481
98580
|
*/
|
|
98482
98581
|
function abool(value, title = "") {
|
|
98483
|
-
if (typeof value !== "boolean")
|
|
98484
|
-
const prefix = title && `"${title}" `;
|
|
98485
|
-
throw new TypeError(prefix + "expected boolean, got type=" + typeof value);
|
|
98486
|
-
}
|
|
98582
|
+
if (typeof value !== "boolean") throw new TypeError(atitle(title) + "expected boolean, got type=" + typeof value);
|
|
98487
98583
|
return value;
|
|
98488
98584
|
}
|
|
98585
|
+
/**
|
|
98586
|
+
* Validates declared required and optional field types on a plain object.
|
|
98587
|
+
* Extra keys are intentionally ignored because many callers validate only the subset they use from
|
|
98588
|
+
* richer option bags or runtime objects.
|
|
98589
|
+
* This walks field schemas and formats detailed errors, so avoid it on hot paths; use direct
|
|
98590
|
+
* one-line guards such as `aobject()`, `afunction()`, `abool()`, or `asafenumber()` instead.
|
|
98591
|
+
* @param object - Object to validate.
|
|
98592
|
+
* @param fields - Required field types.
|
|
98593
|
+
* @param optFields - Optional field types.
|
|
98594
|
+
* @param title - Object label included in thrown errors.
|
|
98595
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
98596
|
+
* @example
|
|
98597
|
+
* Check user options before building a curve helper.
|
|
98598
|
+
*
|
|
98599
|
+
* ```ts
|
|
98600
|
+
* validateObject({ flag: true }, { flag: 'boolean' });
|
|
98601
|
+
* ```
|
|
98602
|
+
*/
|
|
98603
|
+
function validateObject(object, fields = {}, optFields = {}, title = "object") {
|
|
98604
|
+
aobject$1(object, title);
|
|
98605
|
+
aobject$1(fields, "fields");
|
|
98606
|
+
aobject$1(optFields, "optFields");
|
|
98607
|
+
function checkField(fieldName, expectedType, isOpt) {
|
|
98608
|
+
const label = title === "object" ? `param "${String(fieldName)}"` : `"${title}.${String(fieldName)}"`;
|
|
98609
|
+
const val = object[fieldName];
|
|
98610
|
+
if (!Object.hasOwn(object, fieldName) && (isOpt ? val !== void 0 : expectedType !== "function")) throw new TypeError(`${label} is invalid: expected own property`);
|
|
98611
|
+
if (isOpt && val === void 0) return;
|
|
98612
|
+
const current = typeof val;
|
|
98613
|
+
if (current !== expectedType || val === null) throw new TypeError(`${label} is invalid: expected ${expectedType}, got ${current}`);
|
|
98614
|
+
}
|
|
98615
|
+
const iter = (f, isOpt) => Object.entries(f).forEach(([k, v]) => checkField(k, v, isOpt));
|
|
98616
|
+
iter(fields, false);
|
|
98617
|
+
iter(optFields, true);
|
|
98618
|
+
}
|
|
98489
98619
|
//#endregion
|
|
98490
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@2.
|
|
98620
|
+
//#region ../../node_modules/.pnpm/@noble+hashes@2.3.0/node_modules/@noble/hashes/sha3.js
|
|
98491
98621
|
/**
|
|
98492
98622
|
* SHA3 (keccak) hash function, based on a new "Sponge function" design.
|
|
98493
98623
|
* Different from older hashes, the internal state is bigger than output size.
|
|
@@ -98524,13 +98654,20 @@ for (let round = 0, R = _1n$1, x = 1, y = 0; round < 24; round++) {
|
|
|
98524
98654
|
const IOTAS$1 = split$2(_SHA3_IOTA$1, true);
|
|
98525
98655
|
const SHA3_IOTA_H$1 = IOTAS$1[0];
|
|
98526
98656
|
const SHA3_IOTA_L$1 = IOTAS$1[1];
|
|
98657
|
+
const rotlSH$1 = (h, l, s) => h << s | l >>> 32 - s;
|
|
98658
|
+
const rotlSL$1 = (h, l, s) => l << s | h >>> 32 - s;
|
|
98659
|
+
const rotlBH$1 = (h, l, s) => l << s - 32 | h >>> 64 - s;
|
|
98660
|
+
const rotlBL$1 = (h, l, s) => h << s - 32 | l >>> 64 - s;
|
|
98527
98661
|
const rotlH$1 = (h, l, s) => s > 32 ? rotlBH$1(h, l, s) : rotlSH$1(h, l, s);
|
|
98528
98662
|
const rotlL$1 = (h, l, s) => s > 32 ? rotlBL$1(h, l, s) : rotlSL$1(h, l, s);
|
|
98663
|
+
const B = /* @__PURE__ */ new Uint32Array(10);
|
|
98529
98664
|
/**
|
|
98530
98665
|
* `keccakf1600` internal permutation, additionally allows adjusting the round count.
|
|
98531
98666
|
* @param s - 5x5 Keccak state encoded as 25 lanes split into 50 uint32 words
|
|
98532
98667
|
* in this file's local little-endian lane-word order
|
|
98533
98668
|
* @param rounds - number of rounds to execute
|
|
98669
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
98670
|
+
* @throws On wrong argument ranges or values. {@link RangeError}
|
|
98534
98671
|
* @throws If `rounds` is outside the supported `1..24` range. {@link Error}
|
|
98535
98672
|
* @example
|
|
98536
98673
|
* Permute a Keccak state with the default 24 rounds.
|
|
@@ -98539,9 +98676,10 @@ const rotlL$1 = (h, l, s) => s > 32 ? rotlBL$1(h, l, s) : rotlSL$1(h, l, s);
|
|
|
98539
98676
|
* ```
|
|
98540
98677
|
*/
|
|
98541
98678
|
function keccakP$1(s, rounds = 24) {
|
|
98679
|
+
if (!(s instanceof Uint32Array)) throw new TypeError("\"s\" expected Uint32Array(50), got type=" + typeof s);
|
|
98680
|
+
if (s.length !== 50) throw new RangeError("\"s\" expected Uint32Array(50), got length=" + s.length);
|
|
98542
98681
|
anumber$3(rounds, "rounds");
|
|
98543
98682
|
if (rounds < 1 || rounds > 24) throw new Error("\"rounds\" expected integer 1..24");
|
|
98544
|
-
const B = /* @__PURE__ */ new Uint32Array(10);
|
|
98545
98683
|
for (let round = 24 - rounds; round < 24; round++) {
|
|
98546
98684
|
for (let x = 0; x < 10; x++) B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];
|
|
98547
98685
|
for (let x = 0; x < 10; x += 2) {
|
|
@@ -98617,6 +98755,10 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98617
98755
|
enableXOF = false;
|
|
98618
98756
|
rounds;
|
|
98619
98757
|
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
98758
|
+
anumber$3(blockLen, "blockLen");
|
|
98759
|
+
anumber$3(suffix, "suffix");
|
|
98760
|
+
anumber$3(rounds, "rounds");
|
|
98761
|
+
abool$1(enableXOF, "enableXOF");
|
|
98620
98762
|
this.blockLen = blockLen;
|
|
98621
98763
|
this.suffix = suffix;
|
|
98622
98764
|
this.outputLen = outputLen;
|
|
@@ -98624,7 +98766,7 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98624
98766
|
this.canXOF = enableXOF;
|
|
98625
98767
|
this.rounds = rounds;
|
|
98626
98768
|
anumber$3(outputLen, "outputLen");
|
|
98627
|
-
if (!(0 < blockLen && blockLen < 200)) throw new Error("
|
|
98769
|
+
if (!(0 < blockLen && blockLen < 200)) throw new Error("\"blockLen\" must be 1..199");
|
|
98628
98770
|
this.state = /* @__PURE__ */ new Uint8Array(200);
|
|
98629
98771
|
this.state32 = u32$1(this.state);
|
|
98630
98772
|
}
|
|
@@ -98641,9 +98783,19 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98641
98783
|
update(data) {
|
|
98642
98784
|
aexists$1(this);
|
|
98643
98785
|
abytes$3(data);
|
|
98644
|
-
const { blockLen, state } = this;
|
|
98786
|
+
const { blockLen, state, state32 } = this;
|
|
98645
98787
|
const len = data.length;
|
|
98788
|
+
const canUseU32 = blockLen % 4 === 0 && data.byteOffset % 4 === 0;
|
|
98789
|
+
const blockLen32 = blockLen / 4;
|
|
98790
|
+
const data32 = canUseU32 && len >= blockLen ? u32$1(data) : void 0;
|
|
98646
98791
|
for (let pos = 0; pos < len;) {
|
|
98792
|
+
if (data32 !== void 0 && this.pos === 0 && pos % 4 === 0 && len - pos >= blockLen) {
|
|
98793
|
+
for (let i = 0, o = pos / 4; i < blockLen32; i++) state32[i] ^= data32[o + i];
|
|
98794
|
+
pos += blockLen;
|
|
98795
|
+
this.pos = blockLen;
|
|
98796
|
+
this.keccak();
|
|
98797
|
+
continue;
|
|
98798
|
+
}
|
|
98647
98799
|
const take = Math.min(blockLen - this.pos, len - pos);
|
|
98648
98800
|
for (let i = 0; i < take; i++) state[this.pos++] ^= data[pos++];
|
|
98649
98801
|
if (this.pos === blockLen) this.keccak();
|
|
@@ -98675,7 +98827,7 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98675
98827
|
return out;
|
|
98676
98828
|
}
|
|
98677
98829
|
xofInto(out) {
|
|
98678
|
-
if (!this.enableXOF) throw new Error("XOF is not
|
|
98830
|
+
if (!this.enableXOF) throw new Error("XOF is not enabled");
|
|
98679
98831
|
return this.writeInto(out);
|
|
98680
98832
|
}
|
|
98681
98833
|
xof(bytes) {
|
|
@@ -98685,7 +98837,7 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98685
98837
|
digestInto(out) {
|
|
98686
98838
|
aoutput$1(out, this);
|
|
98687
98839
|
if (this.finished) throw new Error("digest() was already called");
|
|
98688
|
-
this.writeInto(out.subarray(0, this.outputLen));
|
|
98840
|
+
this.writeInto(out.length === this.outputLen ? out : out.subarray(0, this.outputLen));
|
|
98689
98841
|
this.destroy();
|
|
98690
98842
|
}
|
|
98691
98843
|
digest() {
|
|
@@ -98714,7 +98866,10 @@ var Keccak$1 = class Keccak$1 {
|
|
|
98714
98866
|
return to;
|
|
98715
98867
|
}
|
|
98716
98868
|
};
|
|
98717
|
-
const genShake = (suffix, blockLen, outputLen, info = {}) => createHasher$1((opts = {}) =>
|
|
98869
|
+
const genShake = (suffix, blockLen, outputLen, info = {}) => createHasher$1((opts = {}) => {
|
|
98870
|
+
opts = checkOpts({}, opts);
|
|
98871
|
+
return new Keccak$1(blockLen, suffix, opts.dkLen === void 0 ? outputLen : opts.dkLen, true);
|
|
98872
|
+
}, info);
|
|
98718
98873
|
/**
|
|
98719
98874
|
* SHAKE128 XOF with 128-bit security and a 16-byte default output.
|
|
98720
98875
|
* @param msg - message bytes to hash
|
|
@@ -98740,16 +98895,24 @@ const shake128 = /* @__PURE__ */ genShake(31, 168, 16, /* @__PURE__ */ oidNist(1
|
|
|
98740
98895
|
*/
|
|
98741
98896
|
const shake256 = /* @__PURE__ */ genShake(31, 136, 32, /* @__PURE__ */ oidNist(12));
|
|
98742
98897
|
//#endregion
|
|
98743
|
-
//#region ../../node_modules/.pnpm/@noble+curves@2.
|
|
98744
|
-
|
|
98745
|
-
|
|
98898
|
+
//#region ../../node_modules/.pnpm/@noble+curves@2.3.0/node_modules/@noble/curves/abstract/modular.js
|
|
98899
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
98900
|
+
//#endregion
|
|
98901
|
+
//#region ../../node_modules/.pnpm/@noble+curves@2.3.0/node_modules/@noble/curves/abstract/fft.js
|
|
98902
|
+
/**
|
|
98903
|
+
* Experimental implementation of NTT / FFT (Fast Fourier Transform) over finite fields.
|
|
98904
|
+
* API may change at any time. The code has not been audited. Feature requests are welcome.
|
|
98905
|
+
* @module
|
|
98906
|
+
*/
|
|
98907
|
+
function checkU32(n, title = "n") {
|
|
98908
|
+
if (typeof n !== "number") throw new TypeError(`wrong u32 integer "${title}": expected number, got type=${typeof n}`);
|
|
98909
|
+
if (!Number.isSafeInteger(n) || n < 0 || n > 4294967295) throw new RangeError(`wrong u32 integer "${title}": expected 0..4294967295, got ${n}`);
|
|
98746
98910
|
return n;
|
|
98747
98911
|
}
|
|
98748
98912
|
/**
|
|
98749
98913
|
* Checks if integer is in form of `1 << X`.
|
|
98750
98914
|
* @param x - Integer to inspect.
|
|
98751
98915
|
* @returns `true` when the value is a power of two.
|
|
98752
|
-
* @throws If `x` is not a valid unsigned 32-bit integer. {@link Error}
|
|
98753
98916
|
* @example
|
|
98754
98917
|
* Validate that an FFT size is a power of two.
|
|
98755
98918
|
*
|
|
@@ -98758,7 +98921,7 @@ function checkU32(n) {
|
|
|
98758
98921
|
* ```
|
|
98759
98922
|
*/
|
|
98760
98923
|
function isPowerOfTwo(x) {
|
|
98761
|
-
checkU32(x);
|
|
98924
|
+
checkU32(x, "x");
|
|
98762
98925
|
return (x & x - 1) === 0 && x !== 0;
|
|
98763
98926
|
}
|
|
98764
98927
|
/**
|
|
@@ -98775,6 +98938,7 @@ function isPowerOfTwo(x) {
|
|
|
98775
98938
|
*/
|
|
98776
98939
|
function reverseBits(n, bits) {
|
|
98777
98940
|
checkU32(n);
|
|
98941
|
+
if (typeof bits !== "number") throw new TypeError("\"bits\" expected number, got type=" + typeof bits);
|
|
98778
98942
|
if (!Number.isSafeInteger(bits) || bits < 0 || bits > 32) throw new Error(`expected integer 0 <= bits <= 32, got ${bits}`);
|
|
98779
98943
|
let reversed = 0;
|
|
98780
98944
|
for (let i = 0; i < bits; i++, n >>>= 1) reversed = reversed << 1 | n & 1;
|
|
@@ -98784,7 +98948,6 @@ function reverseBits(n, bits) {
|
|
|
98784
98948
|
* Similar to `bitLen(x)-1` but much faster for small integers, like indices.
|
|
98785
98949
|
* @param n - Input value.
|
|
98786
98950
|
* @returns Base-2 logarithm. For `n = 0`, the current implementation returns `-1`.
|
|
98787
|
-
* @throws If `n` is not a valid unsigned 32-bit integer. {@link Error}
|
|
98788
98951
|
* @example
|
|
98789
98952
|
* Compute the radix-2 stage count for one transform size.
|
|
98790
98953
|
*
|
|
@@ -98812,6 +98975,7 @@ function log2(n) {
|
|
|
98812
98975
|
* ```
|
|
98813
98976
|
*/
|
|
98814
98977
|
function bitReversalInplace(values) {
|
|
98978
|
+
if (!values || typeof values !== "object" || typeof values.length !== "number") throw new TypeError("\"values\" expected array-like, got type=" + typeof values);
|
|
98815
98979
|
const n = values.length;
|
|
98816
98980
|
if (!isPowerOfTwo(n)) throw new Error("expected positive power-of-two length, got " + n);
|
|
98817
98981
|
const bits = log2(n);
|
|
@@ -98828,7 +98992,7 @@ function bitReversalInplace(values) {
|
|
|
98828
98992
|
/**
|
|
98829
98993
|
* Constructs different flavors of FFT. radix2 implementation of low level mutating API. Flavors:
|
|
98830
98994
|
*
|
|
98831
|
-
* - DIT (Decimation-in-Time): Bottom-Up (leaves to root),
|
|
98995
|
+
* - DIT (Decimation-in-Time): Bottom-Up (leaves to root), Cooley-Tukey
|
|
98832
98996
|
* - DIF (Decimation-in-Frequency): Top-Down (root to leaves), Gentleman-Sande
|
|
98833
98997
|
*
|
|
98834
98998
|
* DIT takes brp input, returns natural output.
|
|
@@ -98840,8 +99004,16 @@ function bitReversalInplace(values) {
|
|
|
98840
99004
|
*
|
|
98841
99005
|
* Cyclic NTT: Rq = Zq[x]/(x^n-1). butterfly_DIT+loop_DIT OR butterfly_DIF+loop_DIT, roots are omega
|
|
98842
99006
|
* Negacyclic NTT: Rq = Zq[x]/(x^n+1). butterfly_DIT+loop_DIF, at least for mlkem / mldsa
|
|
99007
|
+
*
|
|
99008
|
+
* `invertButterflies` indexes roots by a per-butterfly-group counter (`grp`): forward
|
|
99009
|
+
* (`dit: false`) reads `roots[grp]` with grp = 1..; inverse (`dit: true`) reads `roots[N - grp]`
|
|
99010
|
+
* with grp restarting at 1. With `skipStages: 0` one table serves both directions (ωᴺ = 1 makes
|
|
99011
|
+
* the reversed walk self-inverse). With `skipStages > 0` the inverse walk starts at `N - 1`
|
|
99012
|
+
* instead of continuing where the skipped stages would have left off, so the caller must supply
|
|
99013
|
+
* a table shaped for that (ML-KEM: `ζ^BitRev7(i)` over all N=256 indices, whose aliased upper
|
|
99014
|
+
* half is exactly the FIPS 203 inverse walk).
|
|
98843
99015
|
* @param F - Field operations.
|
|
98844
|
-
* @param coreOpts - FFT configuration:
|
|
99016
|
+
* @param coreOpts - FFT configuration. See {@link FFTCoreOpts}:
|
|
98845
99017
|
* - `N`: Transform size. Must be a power of two.
|
|
98846
99018
|
* - `roots`: Stage roots for the selected transform size.
|
|
98847
99019
|
* - `dit`: Whether to run the DIT variant instead of DIF.
|
|
@@ -98863,9 +99035,22 @@ function bitReversalInplace(values) {
|
|
|
98863
99035
|
* ```
|
|
98864
99036
|
*/
|
|
98865
99037
|
const FFTCore = (F, coreOpts) => {
|
|
99038
|
+
validateObject(coreOpts, {
|
|
99039
|
+
N: "number",
|
|
99040
|
+
roots: "object",
|
|
99041
|
+
dit: "boolean"
|
|
99042
|
+
}, {
|
|
99043
|
+
invertButterflies: "boolean",
|
|
99044
|
+
skipStages: "number",
|
|
99045
|
+
brp: "boolean"
|
|
99046
|
+
}, "coreOpts");
|
|
98866
99047
|
const { N, roots, dit, invertButterflies = false, skipStages = 0, brp = true } = coreOpts;
|
|
99048
|
+
checkU32(N, "coreOpts.N");
|
|
98867
99049
|
const bits = log2(N);
|
|
98868
99050
|
if (!isPowerOfTwo(N)) throw new Error("FFT: Polynomial size should be power of two");
|
|
99051
|
+
checkU32(skipStages, "coreOpts.skipStages");
|
|
99052
|
+
const maxSkipStages = bits === 0 ? 0 : bits - 1;
|
|
99053
|
+
if (skipStages > maxSkipStages) throw new Error(`FFT: wrong skipStages: expected 0 <= skipStages <= ${maxSkipStages}`);
|
|
98869
99054
|
if (roots.length !== N) throw new Error(`FFT: wrong roots length: expected ${N}, got ${roots.length}`);
|
|
98870
99055
|
const isDit = dit !== invertButterflies;
|
|
98871
99056
|
return (values) => {
|
|
@@ -98901,7 +99086,7 @@ const FFTCore = (F, coreOpts) => {
|
|
|
98901
99086
|
};
|
|
98902
99087
|
};
|
|
98903
99088
|
//#endregion
|
|
98904
|
-
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.
|
|
99089
|
+
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.7.0/node_modules/@noble/post-quantum/utils.js
|
|
98905
99090
|
/**
|
|
98906
99091
|
* Utilities for hex, bytearray and number handling.
|
|
98907
99092
|
* @module
|
|
@@ -98934,9 +99119,18 @@ const abytesDoc = abytes$3;
|
|
|
98934
99119
|
* ```
|
|
98935
99120
|
*/
|
|
98936
99121
|
const randomBytes$1 = randomBytes$2;
|
|
99122
|
+
function aarray(item, title, inner = () => {}) {
|
|
99123
|
+
if (!Array.isArray(item)) throw new TypeError(`"${title}" expected array, got type=${typeof item}`);
|
|
99124
|
+
for (let i = 0; i < item.length; i++) inner(item[i], `${title}[${i}]`);
|
|
99125
|
+
return item;
|
|
99126
|
+
}
|
|
99127
|
+
function aobject(value, title = "object") {
|
|
99128
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) throw new TypeError(title === "object" ? "expected valid options object" : `"${title}" expected object, got type=${typeof value}`);
|
|
99129
|
+
return value;
|
|
99130
|
+
}
|
|
98937
99131
|
/**
|
|
98938
99132
|
* Compares two byte arrays in a length-constant way for equal lengths.
|
|
98939
|
-
*
|
|
99133
|
+
* Inputs are validated as byte arrays; unequal lengths return `false` immediately.
|
|
98940
99134
|
* @param a - First byte array.
|
|
98941
99135
|
* @param b - Second byte array.
|
|
98942
99136
|
* @returns Whether both arrays contain the same bytes.
|
|
@@ -98947,6 +99141,8 @@ const randomBytes$1 = randomBytes$2;
|
|
|
98947
99141
|
* ```
|
|
98948
99142
|
*/
|
|
98949
99143
|
function equalBytes(a, b) {
|
|
99144
|
+
a = abytes$3(a);
|
|
99145
|
+
b = abytes$3(b);
|
|
98950
99146
|
if (a.length !== b.length) return false;
|
|
98951
99147
|
let diff = 0;
|
|
98952
99148
|
for (let i = 0; i < a.length; i++) diff |= a[i] ^ b[i];
|
|
@@ -98963,7 +99159,8 @@ function equalBytes(a, b) {
|
|
|
98963
99159
|
* ```
|
|
98964
99160
|
*/
|
|
98965
99161
|
function validateOpts(opts) {
|
|
98966
|
-
if (
|
|
99162
|
+
if (isBytes$4(opts)) throw new TypeError("\"opts\" expected object, got Uint8Array");
|
|
99163
|
+
aobject(opts, "opts");
|
|
98967
99164
|
}
|
|
98968
99165
|
/**
|
|
98969
99166
|
* Validates common verification options.
|
|
@@ -99068,10 +99265,11 @@ function vecCoder(c, vecLen) {
|
|
|
99068
99265
|
return {
|
|
99069
99266
|
bytesLen,
|
|
99070
99267
|
encode: (u) => {
|
|
99071
|
-
|
|
99268
|
+
const uArr = aarray(u, "u");
|
|
99269
|
+
if (uArr.length !== vecLen) throw new RangeError(`vecCoder.encode: wrong length=${uArr.length}. Expected: ${vecLen}`);
|
|
99072
99270
|
const res = new Uint8Array(bytesLen);
|
|
99073
|
-
for (let i = 0, pos = 0; i <
|
|
99074
|
-
const b = coder.encode(
|
|
99271
|
+
for (let i = 0, pos = 0; i < uArr.length; i++) {
|
|
99272
|
+
const b = coder.encode(uArr[i]);
|
|
99075
99273
|
res.set(b, pos);
|
|
99076
99274
|
b.fill(0);
|
|
99077
99275
|
pos += b.length;
|
|
@@ -99105,6 +99303,7 @@ function cleanBytes(...list) {
|
|
|
99105
99303
|
* Creates a 32-bit mask with the lowest `bits` bits set.
|
|
99106
99304
|
* @param bits - Number of low bits to keep.
|
|
99107
99305
|
* @returns Bit mask with `bits` ones.
|
|
99306
|
+
* @throws On wrong argument types. {@link TypeError}
|
|
99108
99307
|
* @throws On wrong argument ranges or values. {@link RangeError}
|
|
99109
99308
|
* @example
|
|
99110
99309
|
* Create a low-bit mask for packed-field operations.
|
|
@@ -99113,7 +99312,8 @@ function cleanBytes(...list) {
|
|
|
99113
99312
|
* ```
|
|
99114
99313
|
*/
|
|
99115
99314
|
function getMask(bits) {
|
|
99116
|
-
|
|
99315
|
+
anumber$3(bits, "bits");
|
|
99316
|
+
if (bits > 32) throw new RangeError("\"bits\" expected <= 32, got " + bits);
|
|
99117
99317
|
return bits === 32 ? 4294967295 : ~(-1 << bits) >>> 0;
|
|
99118
99318
|
}
|
|
99119
99319
|
/** Shared empty byte array used as the default context. */
|
|
@@ -99132,8 +99332,8 @@ const EMPTY = /* @__PURE__ */ Uint8Array.of();
|
|
|
99132
99332
|
* ```
|
|
99133
99333
|
*/
|
|
99134
99334
|
function getMessage(msg, ctx = EMPTY) {
|
|
99135
|
-
abytes$3(msg);
|
|
99136
|
-
abytes$3(ctx);
|
|
99335
|
+
abytes$3(msg, void 0, "msg");
|
|
99336
|
+
abytes$3(ctx, void 0, "ctx");
|
|
99137
99337
|
if (ctx.length > 255) throw new RangeError("context should be 255 bytes or less");
|
|
99138
99338
|
return concatBytes$1(new Uint8Array([0, ctx.length]), ctx, msg);
|
|
99139
99339
|
}
|
|
@@ -99167,7 +99367,12 @@ const oidNistP = /* @__PURE__ */ Uint8Array.from([
|
|
|
99167
99367
|
* ```
|
|
99168
99368
|
*/
|
|
99169
99369
|
function checkHash(hash, requiredStrength = 0) {
|
|
99170
|
-
if (
|
|
99370
|
+
if (typeof hash !== "function" || typeof hash.create !== "function") throw new TypeError("\"hash\" expected hash function, got type=" + typeof hash);
|
|
99371
|
+
ahash(hash);
|
|
99372
|
+
anumber$3(requiredStrength, "requiredStrength");
|
|
99373
|
+
const oid = hash.oid;
|
|
99374
|
+
abytes$3(oid, void 0, "hash.oid");
|
|
99375
|
+
if (!equalBytes(oid.subarray(0, 10), oidNistP)) throw new Error("\"hash.oid\" is invalid: expected NIST hash");
|
|
99171
99376
|
const collisionResistance = hash.outputLen * 8 / 2;
|
|
99172
99377
|
if (requiredStrength > collisionResistance) throw new Error("Pre-hash security strength too low: " + collisionResistance + ", required: " + requiredStrength);
|
|
99173
99378
|
}
|
|
@@ -99190,14 +99395,15 @@ function checkHash(hash, requiredStrength = 0) {
|
|
|
99190
99395
|
* ```
|
|
99191
99396
|
*/
|
|
99192
99397
|
function getMessagePrehash(hash, msg, ctx = EMPTY) {
|
|
99193
|
-
|
|
99194
|
-
abytes$3(
|
|
99398
|
+
checkHash(hash);
|
|
99399
|
+
abytes$3(msg, void 0, "msg");
|
|
99400
|
+
abytes$3(ctx, void 0, "ctx");
|
|
99195
99401
|
if (ctx.length > 255) throw new RangeError("context should be 255 bytes or less");
|
|
99196
99402
|
const hashed = hash(msg);
|
|
99197
99403
|
return concatBytes$1(new Uint8Array([1, ctx.length]), ctx, hash.oid, hashed);
|
|
99198
99404
|
}
|
|
99199
99405
|
//#endregion
|
|
99200
|
-
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.
|
|
99406
|
+
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.7.0/node_modules/@noble/post-quantum/_crystals.js
|
|
99201
99407
|
/**
|
|
99202
99408
|
* Internal methods for lattice-based ML-KEM and ML-DSA.
|
|
99203
99409
|
* @module
|
|
@@ -99242,13 +99448,25 @@ const genCrystals = (opts) => {
|
|
|
99242
99448
|
return out;
|
|
99243
99449
|
}
|
|
99244
99450
|
const nttZetas = getZettas();
|
|
99245
|
-
const
|
|
99451
|
+
const inv = (_a) => {
|
|
99452
|
+
throw new Error("not implemented");
|
|
99453
|
+
};
|
|
99454
|
+
const field = isKyber ? {
|
|
99455
|
+
add: (a, b) => {
|
|
99456
|
+
const r = a + b | 0;
|
|
99457
|
+
return r >= Q ? r - Q | 0 : r;
|
|
99458
|
+
},
|
|
99459
|
+
sub: (a, b) => {
|
|
99460
|
+
const r = a - b | 0;
|
|
99461
|
+
return r < 0 ? r + Q | 0 : r;
|
|
99462
|
+
},
|
|
99463
|
+
mul: (a, b) => mod((a | 0) * (b | 0)) | 0,
|
|
99464
|
+
inv
|
|
99465
|
+
} : {
|
|
99246
99466
|
add: (a, b) => mod((a | 0) + (b | 0)) | 0,
|
|
99247
99467
|
sub: (a, b) => mod((a | 0) - (b | 0)) | 0,
|
|
99248
99468
|
mul: (a, b) => mod((a | 0) * (b | 0)) | 0,
|
|
99249
|
-
inv
|
|
99250
|
-
throw new Error("not implemented");
|
|
99251
|
-
}
|
|
99469
|
+
inv
|
|
99252
99470
|
};
|
|
99253
99471
|
const nttOpts = {
|
|
99254
99472
|
N,
|
|
@@ -99276,6 +99494,11 @@ const genCrystals = (opts) => {
|
|
|
99276
99494
|
}
|
|
99277
99495
|
};
|
|
99278
99496
|
const bitsCoder = (d, c) => {
|
|
99497
|
+
for (let i = 0, bufLen = 0; i < N; i++) {
|
|
99498
|
+
bufLen += d;
|
|
99499
|
+
if (bufLen > 32) getMask(bufLen);
|
|
99500
|
+
bufLen %= 8;
|
|
99501
|
+
}
|
|
99279
99502
|
const mask = getMask(d);
|
|
99280
99503
|
const bytesLen = d * (N / 8);
|
|
99281
99504
|
return {
|
|
@@ -99286,7 +99509,7 @@ const genCrystals = (opts) => {
|
|
|
99286
99509
|
for (let i = 0, buf = 0, bufLen = 0, pos = 0; i < poly.length; i++) {
|
|
99287
99510
|
buf |= (c.encode(poly[i]) & mask) << bufLen;
|
|
99288
99511
|
bufLen += d;
|
|
99289
|
-
for (; bufLen >= 8; bufLen -= 8, buf >>= 8) r[pos++] = buf &
|
|
99512
|
+
for (; bufLen >= 8; bufLen -= 8, buf >>= 8) r[pos++] = buf & 255;
|
|
99290
99513
|
}
|
|
99291
99514
|
return r;
|
|
99292
99515
|
},
|
|
@@ -99378,7 +99601,7 @@ const XOF128 = /* @__PURE__ */ createXofShake(shake128);
|
|
|
99378
99601
|
*/
|
|
99379
99602
|
const XOF256 = /* @__PURE__ */ createXofShake(shake256);
|
|
99380
99603
|
//#endregion
|
|
99381
|
-
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.
|
|
99604
|
+
//#region ../../node_modules/.pnpm/@noble+post-quantum@0.7.0/node_modules/@noble/post-quantum/ml-dsa.js
|
|
99382
99605
|
/**
|
|
99383
99606
|
* ML-DSA: Module Lattice-based Digital Signature Algorithm from
|
|
99384
99607
|
* [FIPS-204](https://csrc.nist.gov/pubs/fips/204/ipd). A.k.a. CRYSTALS-Dilithium.
|
|
@@ -99520,10 +99743,10 @@ function getDilithium(opts_) {
|
|
|
99520
99743
|
const MakeHint = (z, r) => {
|
|
99521
99744
|
return z <= GAMMA2 || z > Q - GAMMA2 || z === Q - GAMMA2 && r === 0 ? 0 : 1;
|
|
99522
99745
|
};
|
|
99746
|
+
const HINT_M = Math.floor(8380416 / (2 * GAMMA2));
|
|
99523
99747
|
const UseHint = (h, r) => {
|
|
99524
|
-
const m = Math.floor(8380416 / (2 * GAMMA2));
|
|
99525
99748
|
const { r1, r0 } = decompose(r);
|
|
99526
|
-
if (h === 1) return r0 > 0 ? crystals.mod(r1 + 1,
|
|
99749
|
+
if (h === 1) return r0 > 0 ? crystals.mod(r1 + 1, HINT_M) | 0 : crystals.mod(r1 - 1, HINT_M) | 0;
|
|
99527
99750
|
return r1 | 0;
|
|
99528
99751
|
};
|
|
99529
99752
|
const Power2Round = (r) => {
|
|
@@ -99731,8 +99954,19 @@ function getDilithium(opts_) {
|
|
|
99731
99954
|
sign: (msg, secretKey, opts = {}) => {
|
|
99732
99955
|
validateSigOpts(opts);
|
|
99733
99956
|
validateInternalOpts(opts);
|
|
99734
|
-
|
|
99735
|
-
|
|
99957
|
+
const { extraEntropy: random, externalMu = false } = opts;
|
|
99958
|
+
if (externalMu) abytesDoc(msg, CRH_BYTES, "mu");
|
|
99959
|
+
const ownRnd = random === false || random === void 0;
|
|
99960
|
+
const rnd = random === false ? /* @__PURE__ */ new Uint8Array(32) : random === void 0 ? randomBytes$1(signRandBytes) : random;
|
|
99961
|
+
abytesDoc(rnd, 32, "extraEntropy");
|
|
99962
|
+
const [rho, _K, tr, s1, s2, t0] = (() => {
|
|
99963
|
+
try {
|
|
99964
|
+
return secretCoder.decode(secretKey);
|
|
99965
|
+
} catch (error) {
|
|
99966
|
+
if (ownRnd) cleanBytes(rnd);
|
|
99967
|
+
throw error;
|
|
99968
|
+
}
|
|
99969
|
+
})();
|
|
99736
99970
|
const A = [];
|
|
99737
99971
|
const xof = XOF128(rho);
|
|
99738
99972
|
for (let i = 0; i < K; i++) {
|
|
@@ -99747,9 +99981,8 @@ function getDilithium(opts_) {
|
|
|
99747
99981
|
crystals.NTT.encode(t0[i]);
|
|
99748
99982
|
}
|
|
99749
99983
|
const mu = externalMu ? msg : shake256.create({ dkLen: CRH_BYTES }).update(tr).update(msg).digest();
|
|
99750
|
-
const rnd = random === false ? /* @__PURE__ */ new Uint8Array(32) : random === void 0 ? randomBytes$1(signRandBytes) : random;
|
|
99751
|
-
abytesDoc(rnd, 32, "extraEntropy");
|
|
99752
99984
|
const rhoprime = shake256.create({ dkLen: CRH_BYTES }).update(_K).update(rnd).update(mu).digest();
|
|
99985
|
+
if (ownRnd) cleanBytes(rnd);
|
|
99753
99986
|
abytesDoc(rhoprime, CRH_BYTES);
|
|
99754
99987
|
const x256 = XOF256(rhoprime, ZCoder.bytesLen);
|
|
99755
99988
|
main_loop: for (let kappa = 0;;) {
|
|
@@ -99800,6 +100033,7 @@ function getDilithium(opts_) {
|
|
|
99800
100033
|
verify: (sig, msg, publicKey, opts = {}) => {
|
|
99801
100034
|
validateInternalOpts(opts);
|
|
99802
100035
|
const { externalMu = false } = opts;
|
|
100036
|
+
if (externalMu) abytesDoc(msg, CRH_BYTES, "mu");
|
|
99803
100037
|
const [rho, t1] = publicCoder.decode(publicKey);
|
|
99804
100038
|
const tr = shake256(publicKey, { dkLen: TR_BYTES });
|
|
99805
100039
|
if (sig.length !== sigCoder.bytesLen) return false;
|
|
@@ -99845,10 +100079,12 @@ function getDilithium(opts_) {
|
|
|
99845
100079
|
},
|
|
99846
100080
|
verify: (sig, msg, publicKey, opts = {}) => {
|
|
99847
100081
|
validateVerOpts(opts);
|
|
100082
|
+
abytesDoc(sig, void 0, "signature");
|
|
99848
100083
|
return internal.verify(sig, getMessage(msg, opts.context), publicKey);
|
|
99849
100084
|
},
|
|
99850
100085
|
prehash: (hash) => {
|
|
99851
100086
|
checkHash(hash, securityLevel);
|
|
100087
|
+
const rawHash = hash;
|
|
99852
100088
|
return Object.freeze({
|
|
99853
100089
|
info: Object.freeze({ type: "hashml-dsa" }),
|
|
99854
100090
|
securityLevel,
|
|
@@ -99857,14 +100093,15 @@ function getDilithium(opts_) {
|
|
|
99857
100093
|
getPublicKey: internal.getPublicKey,
|
|
99858
100094
|
sign: (msg, secretKey, opts = {}) => {
|
|
99859
100095
|
validateSigOpts(opts);
|
|
99860
|
-
const M = getMessagePrehash(
|
|
100096
|
+
const M = getMessagePrehash(rawHash, msg, opts.context);
|
|
99861
100097
|
const res = internal.sign(M, secretKey, opts);
|
|
99862
100098
|
cleanBytes(M);
|
|
99863
100099
|
return res;
|
|
99864
100100
|
},
|
|
99865
100101
|
verify: (sig, msg, publicKey, opts = {}) => {
|
|
99866
100102
|
validateVerOpts(opts);
|
|
99867
|
-
|
|
100103
|
+
abytesDoc(sig, void 0, "signature");
|
|
100104
|
+
return internal.verify(sig, getMessagePrehash(rawHash, msg, opts.context), publicKey);
|
|
99868
100105
|
}
|
|
99869
100106
|
});
|
|
99870
100107
|
}
|
|
@@ -99881,7 +100118,7 @@ const ml_dsa65 = /* @__PURE__ */ (() => getDilithium({
|
|
|
99881
100118
|
securityLevel: 192
|
|
99882
100119
|
}))();
|
|
99883
100120
|
//#endregion
|
|
99884
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.
|
|
100121
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/data.mjs
|
|
99885
100122
|
init_node$2();
|
|
99886
100123
|
var AbstractData = class {
|
|
99887
100124
|
/** Type guard for {@link AbstractData} instances. */
|
|
@@ -99937,7 +100174,7 @@ var Data = class _Data extends AbstractData {
|
|
|
99937
100174
|
}
|
|
99938
100175
|
};
|
|
99939
100176
|
//#endregion
|
|
99940
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.
|
|
100177
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/pqc.mjs
|
|
99941
100178
|
init_node$2();
|
|
99942
100179
|
var MlDsa = class {
|
|
99943
100180
|
/** Concatenated public key + signature length in bytes. */
|
|
@@ -100021,7 +100258,7 @@ var MlDsa = class {
|
|
|
100021
100258
|
}
|
|
100022
100259
|
};
|
|
100023
100260
|
//#endregion
|
|
100024
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.
|
|
100261
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/quant-account.mjs
|
|
100025
100262
|
init_node$2();
|
|
100026
100263
|
init_async_mutex();
|
|
100027
100264
|
var __defProp$9 = Object.defineProperty;
|
|
@@ -100237,7 +100474,7 @@ __publicField$7(QuantAccount, "_addressMap", {});
|
|
|
100237
100474
|
__publicField$7(QuantAccount, "_protectedConstructorKey", /* @__PURE__ */ Symbol());
|
|
100238
100475
|
QuantAccount = __decorateClass$8([staticImplements()], QuantAccount);
|
|
100239
100476
|
//#endregion
|
|
100240
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.
|
|
100477
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sdk-protocol-core@7.2.4_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod_14a6919fde991fc75cc198abebccb44a/node_modules/@xyo-network/sdk-protocol-core/dist/neutral/quant-wallet.mjs
|
|
100241
100478
|
init_lib_esm();
|
|
100242
100479
|
init_node$2();
|
|
100243
100480
|
var __defProp$8 = Object.defineProperty;
|
|
@@ -100940,7 +101177,7 @@ function hostname$1(_params) {
|
|
|
100940
101177
|
return /* @__PURE__ */ _stringFormat(ZodCustomStringFormat, "hostname", hostname$2, _params);
|
|
100941
101178
|
}
|
|
100942
101179
|
function hex$1(_params) {
|
|
100943
|
-
return /* @__PURE__ */ _stringFormat(ZodCustomStringFormat, "hex", hex$
|
|
101180
|
+
return /* @__PURE__ */ _stringFormat(ZodCustomStringFormat, "hex", hex$3, _params);
|
|
100944
101181
|
}
|
|
100945
101182
|
function hash(alg, params) {
|
|
100946
101183
|
const format = `${alg}_${params?.enc ?? "hex"}`;
|
|
@@ -102775,7 +103012,7 @@ var init_zod = __esmMin((() => {
|
|
|
102775
103012
|
zod_default = external_exports;
|
|
102776
103013
|
}));
|
|
102777
103014
|
//#endregion
|
|
102778
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.
|
|
103015
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4._8024169a86ceee117dad4c372343057e/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-model.mjs
|
|
102779
103016
|
function isValidStep(step) {
|
|
102780
103017
|
if (typeof step === "number" && Number.isSafeInteger(step)) return step >= 0 && step < StepSizes.length;
|
|
102781
103018
|
return false;
|
|
@@ -103573,6 +103810,8 @@ srcConfirmation: (/* @__PURE__ */ optional$2(HexZod)).check(describe$1("Source c
|
|
|
103573
103810
|
"eligibility-admission",
|
|
103574
103811
|
"attestation-admission",
|
|
103575
103812
|
"certificate-execution",
|
|
103813
|
+
"fork-choice-v2",
|
|
103814
|
+
"bridge-value-ceiling",
|
|
103576
103815
|
...OffenseCodes.map((code) => `${code}.reportable`),
|
|
103577
103816
|
...OffenseCodes.map((code) => `${code}.adjudicable`)
|
|
103578
103817
|
];
|
|
@@ -103673,7 +103912,7 @@ srcConfirmation: (/* @__PURE__ */ optional$2(HexZod)).check(describe$1("Source c
|
|
|
103673
103912
|
AsObjectFactory.create(isTransactionRejection);
|
|
103674
103913
|
}));
|
|
103675
103914
|
//#endregion
|
|
103676
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.
|
|
103915
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4._8024169a86ceee117dad4c372343057e/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-lib.mjs
|
|
103677
103916
|
function derivedReceiveAddress(address, scope) {
|
|
103678
103917
|
const hash = keccak256(new TextEncoder().encode(isDefined(scope) ? `${scope}|${address}` : address));
|
|
103679
103918
|
return toAddress(hash.slice(-40), { prefix: false });
|
|
@@ -103881,7 +104120,7 @@ var init_protocol_lib = __esmMin((() => {
|
|
|
103881
104120
|
XyoViewerMoniker = "XyoViewer";
|
|
103882
104121
|
}));
|
|
103883
104122
|
//#endregion
|
|
103884
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.
|
|
104123
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4._8024169a86ceee117dad4c372343057e/node_modules/@xyo-network/xl1-protocol/dist/neutral/network-model.mjs
|
|
103885
104124
|
function createChainContractManifest(config) {
|
|
103886
104125
|
return ChainContractManifestZod.parse({
|
|
103887
104126
|
...config,
|
|
@@ -103950,13 +104189,49 @@ function chainParamsSuccessionErrors(previous, next, finalizedHeight) {
|
|
|
103950
104189
|
const errors = [];
|
|
103951
104190
|
if (next.version <= previous.version) errors.push(`version must increase: ${previous.version} -> ${next.version}`);
|
|
103952
104191
|
if (next.chainId !== previous.chainId) errors.push(`chainId must not change: ${previous.chainId} -> ${next.chainId}`);
|
|
104192
|
+
if (next.protocolMin < previous.protocolMin) errors.push(`protocolMin must not lower: ${previous.protocolMin} -> ${next.protocolMin}`);
|
|
104193
|
+
const previousDeactivations = previous.deactivations ?? {};
|
|
104194
|
+
const nextDeactivations = next.deactivations ?? {};
|
|
104195
|
+
const isReactivation = (ruleId) => {
|
|
104196
|
+
const deactivation = previousDeactivations[ruleId];
|
|
104197
|
+
const nextActivation = next.activations[ruleId];
|
|
104198
|
+
return deactivation !== void 0 && deactivation <= finalizedHeight && nextActivation !== void 0 && nextActivation > finalizedHeight && nextDeactivations[ruleId] === void 0;
|
|
104199
|
+
};
|
|
103953
104200
|
for (const [ruleId, height] of Object.entries(previous.activations)) {
|
|
103954
104201
|
if (height > finalizedHeight) continue;
|
|
103955
|
-
if (next.activations[ruleId]
|
|
104202
|
+
if (next.activations[ruleId] === height) continue;
|
|
104203
|
+
if (isReactivation(ruleId)) continue;
|
|
104204
|
+
errors.push(`activation for '${ruleId}' is already in force at ${height} and must not move`);
|
|
103956
104205
|
}
|
|
103957
|
-
for (const [ruleId, height] of Object.entries(
|
|
104206
|
+
for (const [ruleId, height] of Object.entries(previousDeactivations)) {
|
|
104207
|
+
if (height > finalizedHeight) continue;
|
|
104208
|
+
if (nextDeactivations[ruleId] === height) continue;
|
|
104209
|
+
if (isReactivation(ruleId)) continue;
|
|
104210
|
+
errors.push(`deactivation for '${ruleId}' is already in force at ${height} and must not move`);
|
|
104211
|
+
}
|
|
104212
|
+
for (const [ruleId, height] of Object.entries(nextDeactivations)) if (height < finalizedHeight && previousDeactivations[ruleId] !== height) errors.push(`deactivation for '${ruleId}' at ${height} is in the past`);
|
|
103958
104213
|
return errors;
|
|
103959
104214
|
}
|
|
104215
|
+
function chainParamsInvariantErrors(params) {
|
|
104216
|
+
const errors = [];
|
|
104217
|
+
if (params.burnFloorBps + params.bountyShareBps > 1e4) errors.push(`burnFloorBps + bountyShareBps must not exceed 10000: ${params.burnFloorBps} + ${params.bountyShareBps}`);
|
|
104218
|
+
const minValidatorStake = tryBigInt(params.minValidatorStakeAtto);
|
|
104219
|
+
const bountyCap = tryBigInt(params.bountyCapAtto);
|
|
104220
|
+
if (minValidatorStake === void 0 || bountyCap === void 0) {
|
|
104221
|
+
errors.push("minValidatorStakeAtto and bountyCapAtto must be parseable amounts");
|
|
104222
|
+
return errors;
|
|
104223
|
+
}
|
|
104224
|
+
const counterSlashMin = minValidatorStake * BigInt(params.slashFractionsBps["invalid-slash-request"] ?? 0) / 10000n;
|
|
104225
|
+
if (counterSlashMin < bountyCap * 2n) errors.push(`the counter-slash at minimum validator stake (${counterSlashMin}) must be at least twice bountyCapAtto (${bountyCap})`);
|
|
104226
|
+
return errors;
|
|
104227
|
+
}
|
|
104228
|
+
function tryBigInt(value) {
|
|
104229
|
+
try {
|
|
104230
|
+
return BigInt(value.startsWith("0x") ? value : `0x${value}`);
|
|
104231
|
+
} catch {
|
|
104232
|
+
return;
|
|
104233
|
+
}
|
|
104234
|
+
}
|
|
103960
104235
|
function createIndexManifestFamilies(maxSteps) {
|
|
103961
104236
|
return {
|
|
103962
104237
|
balances: {
|
|
@@ -104038,7 +104313,7 @@ function networkStakeRewardsIndexSnapshotPath(policyId, snapshotHash) {
|
|
|
104038
104313
|
function networkStakeRewardsIndexStepPath(policyId, step) {
|
|
104039
104314
|
return `${root2(policyId)}/steps/${step.step}/${step.block}.json`;
|
|
104040
104315
|
}
|
|
104041
|
-
var local_default, mainnet_default, testnet_default, NetworkBootstrapSchema, isNetworkBootstrap, MainNetwork, SequenceNetwork, LocalNetwork, ChainContractBlockNumberZod, ChainContractManifestSchema, ChainContractManifestZod, asChainContractManifest, headPath, chainContractByIdPath, chainParamsVersionPath, chainParamsHeadPath, manifestPath, blockNumberPath, blockHashPath, payloadPath, indexSummaryPath, indexManifestPath, indexHeadPath, TRANSACTION_INCLUSION_ROOT, TEMPLATE_SLOTS, blockNumberPathTemplate, blockHashPathTemplate, payloadPathTemplate, ChainManifestSchema, ChainManifestPathsZod, ChainManifestZod, asChainManifest, ChainParamsSchema, offenseCodeZod, RuleIdZod, HeightZod, HexAmountZod, ChainParamsZod, asChainParams, ChainParamsHeadSchema, ChainParamsHeadZod, asChainParamsHead, EvmHashZod, EvmDataZod, EvmEventIndexLogZod, EvmEventIndexFrameZod, EvmEventIndexManifestZod, EvmEventIndexHeadZod, asEvmEventIndexFrame, asEvmEventIndexHead, asEvmEventIndexManifest, IndexManifestSchema, IndexHeadSchema, IndexManifestFamilyZod, indexFamiliesZod, IndexManifestZod, asIndexManifest, IndexHeadFamiliesZod, IndexHeadZod, asIndexHead, NETWORK_STAKE_REWARDS_INDEX_LAYOUT, NETWORK_STAKE_REWARDS_UNMULTIPLIED_POLICY, NetworkStakeRewardsIndexSnapshotSchema, DecimalBigIntZod, NetworkStakeRewardsPolicyIdZod, PositionRewardsZod, BlockRangeZod, StepIdentityJsonZod, NetworkStakeRewardsIndexManifestZod, NetworkStakeRewardsIndexStepZod, NetworkStakeRewardsIndexSnapshotZod, NetworkStakeRewardsIndexHeadZod, asNetworkStakeRewardsIndexManifest, asNetworkStakeRewardsIndexStep, asNetworkStakeRewardsIndexSnapshot, asNetworkStakeRewardsIndexHead, TRANSACTION_INCLUSION_INDEX_LAYOUT, TransactionInclusionManifestZod, TransactionInclusionHeadZod, asTransactionInclusionManifest, asTransactionInclusionHead;
|
|
104316
|
+
var local_default, mainnet_default, testnet_default, NetworkBootstrapSchema, isNetworkBootstrap, MainNetwork, SequenceNetwork, LocalNetwork, AdmissionShadowReportSchema, AdmissionShadowAssessmentZod, ChainContractBlockNumberZod, ChainContractManifestSchema, ChainContractManifestZod, asChainContractManifest, headPath, chainContractByIdPath, chainParamsVersionPath, chainParamsHeadPath, manifestPath, blockNumberPath, blockHashPath, payloadPath, indexSummaryPath, indexManifestPath, indexHeadPath, TRANSACTION_INCLUSION_ROOT, TEMPLATE_SLOTS, blockNumberPathTemplate, blockHashPathTemplate, payloadPathTemplate, ChainManifestSchema, ChainManifestPathsZod, ChainManifestZod, asChainManifest, ChainParamsSchema, offenseCodeZod, RuleIdZod, HeightZod, HexAmountZod, ChainParamsZod, asChainParams, ChainParamsHeadSchema, ChainParamsHeadZod, asChainParamsHead, EvmHashZod, EvmDataZod, EvmEventIndexLogZod, EvmEventIndexFrameZod, EvmEventIndexManifestZod, EvmEventIndexHeadZod, asEvmEventIndexFrame, asEvmEventIndexHead, asEvmEventIndexManifest, IndexManifestSchema, IndexHeadSchema, IndexManifestFamilyZod, indexFamiliesZod, IndexManifestZod, asIndexManifest, IndexHeadFamiliesZod, IndexHeadZod, asIndexHead, NETWORK_STAKE_REWARDS_INDEX_LAYOUT, NETWORK_STAKE_REWARDS_UNMULTIPLIED_POLICY, NetworkStakeRewardsIndexSnapshotSchema, DecimalBigIntZod, NetworkStakeRewardsPolicyIdZod, PositionRewardsZod, BlockRangeZod, StepIdentityJsonZod, NetworkStakeRewardsIndexManifestZod, NetworkStakeRewardsIndexStepZod, NetworkStakeRewardsIndexSnapshotZod, NetworkStakeRewardsIndexHeadZod, asNetworkStakeRewardsIndexManifest, asNetworkStakeRewardsIndexStep, asNetworkStakeRewardsIndexSnapshot, asNetworkStakeRewardsIndexHead, SlashIndexHeadSchema, offenseCodeZod2, SlashIndexKeyRecordSchema, TRANSACTION_INCLUSION_INDEX_LAYOUT, TransactionInclusionManifestZod, TransactionInclusionHeadZod, asTransactionInclusionManifest, asTransactionInclusionHead;
|
|
104042
104317
|
var init_network_model = __esmMin((() => {
|
|
104043
104318
|
init_node$2();
|
|
104044
104319
|
init_node();
|
|
@@ -104085,6 +104360,44 @@ var init_network_model = __esmMin((() => {
|
|
|
104085
104360
|
explorerUrl: "http://localhost:3000"
|
|
104086
104361
|
};
|
|
104087
104362
|
MainNetwork.id, SequenceNetwork.id, LocalNetwork.id;
|
|
104363
|
+
AdmissionShadowReportSchema = (0, node_exports.asSchema)("network.xyo.s3.admission.shadow", true);
|
|
104364
|
+
AdmissionShadowAssessmentZod = object$2({
|
|
104365
|
+
/** Seasoned active stake measured at the evaluation point, hex atto, when it could be. */
|
|
104366
|
+
activeStake: optional$1(string$2()),
|
|
104367
|
+
/** Whether the allow-list admits it. */
|
|
104368
|
+
admittedByAllowList: boolean$1(),
|
|
104369
|
+
/** The candidate's height. */
|
|
104370
|
+
block: int().nonnegative(),
|
|
104371
|
+
/** The candidate's signed identity. */
|
|
104372
|
+
dataHash: string$2(),
|
|
104373
|
+
/** The EVM height stake was measured at, when it could be. */
|
|
104374
|
+
eStar: optional$1(int().nonnegative()),
|
|
104375
|
+
/** Whether participation admits it, when that could be established. */
|
|
104376
|
+
eligible: optional$1(boolean$1()),
|
|
104377
|
+
/** Whether the address held a current intent, when that could be established. */
|
|
104378
|
+
intentValid: optional$1(boolean$1()),
|
|
104379
|
+
/** The producer. */
|
|
104380
|
+
producer: string$2(),
|
|
104381
|
+
/** Why participation refused, when it did. */
|
|
104382
|
+
reason: optional$1(string$2()),
|
|
104383
|
+
/** False when the participation question could not be put at all. */
|
|
104384
|
+
resolvable: boolean$1(),
|
|
104385
|
+
/** The seasoned portion staked by the address on itself, hex atto, when it could be. */
|
|
104386
|
+
selfBond: optional$1(string$2())
|
|
104387
|
+
});
|
|
104388
|
+
object$2({
|
|
104389
|
+
/** Every candidate considered this round. */
|
|
104390
|
+
assessments: array$1(AdmissionShadowAssessmentZod),
|
|
104391
|
+
/** Only those where the two gates disagreed. */
|
|
104392
|
+
divergent: array$1(AdmissionShadowAssessmentZod),
|
|
104393
|
+
/** The finalized height this round was selected against. */
|
|
104394
|
+
head: int().nonnegative(),
|
|
104395
|
+
/** The admission posture that produced the round; reports keep flowing when gating starts. */
|
|
104396
|
+
mode: optional$1(_enum(["shadow", "enforce"])),
|
|
104397
|
+
/** Height of the previous published report, so the series can be walked backwards. */
|
|
104398
|
+
previous: optional$1(int().nonnegative()),
|
|
104399
|
+
schema: literal$1(AdmissionShadowReportSchema)
|
|
104400
|
+
});
|
|
104088
104401
|
ChainContractBlockNumberZod = NumberishZod.pipe(int().nonnegative()).transform((value) => value);
|
|
104089
104402
|
ChainContractManifestSchema = "network.xyo.s3.chain.contract";
|
|
104090
104403
|
ChainContractManifestZod = object$2({
|
|
@@ -104361,6 +104674,42 @@ var init_network_model = __esmMin((() => {
|
|
|
104361
104674
|
asNetworkStakeRewardsIndexStep = zodAsFactory(NetworkStakeRewardsIndexStepZod, "asNetworkStakeRewardsIndexStep");
|
|
104362
104675
|
asNetworkStakeRewardsIndexSnapshot = zodAsFactory(NetworkStakeRewardsIndexSnapshotZod, "asNetworkStakeRewardsIndexSnapshot");
|
|
104363
104676
|
asNetworkStakeRewardsIndexHead = zodAsFactory(NetworkStakeRewardsIndexHeadZod, "asNetworkStakeRewardsIndexHead");
|
|
104677
|
+
SlashIndexHeadSchema = (0, node_exports.asSchema)("network.xyo.s3.slash.index.head", true);
|
|
104678
|
+
offenseCodeZod2 = _enum(OffenseCodes);
|
|
104679
|
+
object$2({
|
|
104680
|
+
/** Highest finalized height the index has folded in. */
|
|
104681
|
+
height: int().nonnegative(),
|
|
104682
|
+
/** Layout version of the objects this head points at. */
|
|
104683
|
+
indexVersion: int().positive(),
|
|
104684
|
+
schema: literal$1(SlashIndexHeadSchema),
|
|
104685
|
+
/** When the pass that wrote this ran, on the EVM clock, when it was known. */
|
|
104686
|
+
anchor: optional$1(int().nonnegative())
|
|
104687
|
+
});
|
|
104688
|
+
SlashIndexKeyRecordSchema = (0, node_exports.asSchema)("network.xyo.s3.slash.index.key", true);
|
|
104689
|
+
object$2({
|
|
104690
|
+
/** Who is accused. */
|
|
104691
|
+
accused: string$2(),
|
|
104692
|
+
/** Hash of the adjudication that closed it, when one has. */
|
|
104693
|
+
adjudication: optional$1(string$2()),
|
|
104694
|
+
/** The canonical height the offense is located at. */
|
|
104695
|
+
block: int().nonnegative(),
|
|
104696
|
+
/** Hashes of challenges filed against reports of it. */
|
|
104697
|
+
challenges: array$1(string$2()),
|
|
104698
|
+
/** The chain it happened on. */
|
|
104699
|
+
chain: string$2(),
|
|
104700
|
+
/** How it was resolved, when it has been. */
|
|
104701
|
+
outcome: optional$1(_enum([
|
|
104702
|
+
"confirmed",
|
|
104703
|
+
"refuted",
|
|
104704
|
+
"indeterminate",
|
|
104705
|
+
"invalid"
|
|
104706
|
+
])),
|
|
104707
|
+
/** Which offense class. */
|
|
104708
|
+
offense: offenseCodeZod2,
|
|
104709
|
+
/** Hashes of every report filed for it, earliest first. */
|
|
104710
|
+
requests: array$1(string$2()),
|
|
104711
|
+
schema: literal$1(SlashIndexKeyRecordSchema)
|
|
104712
|
+
});
|
|
104364
104713
|
TRANSACTION_INCLUSION_INDEX_LAYOUT = "transaction-inclusions-v1";
|
|
104365
104714
|
TransactionInclusionManifestZod = object$2({
|
|
104366
104715
|
/** XL1 chain whose finalized transactions are indexed. */
|
|
@@ -110686,7 +111035,7 @@ var init_validation = __esmMin((() => {
|
|
|
110686
111035
|
};
|
|
110687
111036
|
}));
|
|
110688
111037
|
//#endregion
|
|
110689
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.
|
|
111038
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4._8024169a86ceee117dad4c372343057e/node_modules/@xyo-network/xl1-protocol/dist/neutral/index.mjs
|
|
110690
111039
|
var init_neutral$3 = __esmMin((() => {
|
|
110691
111040
|
init_network_model();
|
|
110692
111041
|
init_protocol_lib();
|
|
@@ -110694,7 +111043,7 @@ var init_neutral$3 = __esmMin((() => {
|
|
|
110694
111043
|
init_validation();
|
|
110695
111044
|
}));
|
|
110696
111045
|
//#endregion
|
|
110697
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
111046
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/driver-memory.mjs
|
|
110698
111047
|
var LruCacheMap, MemoryMap;
|
|
110699
111048
|
var init_driver_memory = __esmMin((() => {
|
|
110700
111049
|
init_index_min();
|
|
@@ -114046,7 +114395,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
114046
114395
|
exports.cosmiconfigSync = cosmiconfigSync;
|
|
114047
114396
|
}));
|
|
114048
114397
|
//#endregion
|
|
114049
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
114398
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/node/protocol-sdk.mjs
|
|
114050
114399
|
function blockRangeSteps(range, steps) {
|
|
114051
114400
|
const result = [];
|
|
114052
114401
|
for (const step of steps) {
|
|
@@ -115305,18 +115654,17 @@ function emptySlashHistory() {
|
|
|
115305
115654
|
requests: /* @__PURE__ */ new Map()
|
|
115306
115655
|
};
|
|
115307
115656
|
}
|
|
115308
|
-
function foldSlashHistory(payloads, into = emptySlashHistory()) {
|
|
115657
|
+
async function foldSlashHistory(payloads, into = emptySlashHistory()) {
|
|
115309
115658
|
for (const payload of payloads) {
|
|
115310
|
-
|
|
115311
|
-
|
|
115312
|
-
into.requests.set(hash, payload);
|
|
115659
|
+
if (isSlashRequest(payload)) {
|
|
115660
|
+
into.requests.set(await node_exports.PayloadBuilder.dataHash(payload), payload);
|
|
115313
115661
|
continue;
|
|
115314
115662
|
}
|
|
115315
115663
|
if (isSlashAdjudication(payload)) {
|
|
115316
115664
|
into.adjudications.set(payload.request, payload);
|
|
115317
115665
|
continue;
|
|
115318
115666
|
}
|
|
115319
|
-
if (isSlashEvidence(payload)) for (const artifact of artifactHashes(payload)) into.evidenceArtifacts.add(artifact);
|
|
115667
|
+
if (isSlashEvidence(payload)) for (const artifact of await artifactHashes(payload)) into.evidenceArtifacts.add(artifact);
|
|
115320
115668
|
}
|
|
115321
115669
|
return into;
|
|
115322
115670
|
}
|
|
@@ -115331,8 +115679,8 @@ function protectedArtifactHashes(history) {
|
|
|
115331
115679
|
function hasFinalizedArtifact(history, artifact) {
|
|
115332
115680
|
return history.evidenceArtifacts.has(artifact);
|
|
115333
115681
|
}
|
|
115334
|
-
function artifactHashes(evidence) {
|
|
115335
|
-
return evidence.artifacts.map((artifact) =>
|
|
115682
|
+
async function artifactHashes(evidence) {
|
|
115683
|
+
return await Promise.all(evidence.artifacts.map((artifact) => node_exports.PayloadBuilder.dataHash(artifact)));
|
|
115336
115684
|
}
|
|
115337
115685
|
function positionFromOption(option) {
|
|
115338
115686
|
return {
|
|
@@ -117800,10 +118148,14 @@ var init_protocol_sdk = __esmMin((() => {
|
|
|
117800
118148
|
* Removes evidence whose retention has expired on both clocks, skipping anything a pending
|
|
117801
118149
|
* report still references. Returns `[pruned, checked]`.
|
|
117802
118150
|
*
|
|
117803
|
-
* Notes drive the sweep: each one names the bundle it describes, so an expired note
|
|
117804
|
-
* bundle with it.
|
|
117805
|
-
*
|
|
117806
|
-
*
|
|
118151
|
+
* Notes drive the candidate sweep: each one names the bundle it describes, so an expired note
|
|
118152
|
+
* takes its bundle with it. The index and rejection families age out on the same clocks —
|
|
118153
|
+
* candidate sightings and pair records by the height they describe, and observer-signed
|
|
118154
|
+
* rejection envelopes together with the rejection payloads they carry — because a store where
|
|
118155
|
+
* only one family is swept grows without bound wherever the subsystem runs. Anything a
|
|
118156
|
+
* protection viewer still claims is left alone regardless of age — retention deliberately
|
|
118157
|
+
* loses to reference protection, since pruning evidence out from under an open report would
|
|
118158
|
+
* destroy the case it rests on.
|
|
117807
118159
|
*/
|
|
117808
118160
|
async pruneEvidence({ batchSize = 100, maxPrune = 5e3, maxCheck = 1e4 } = {}) {
|
|
117809
118161
|
const headNumber = await this.finalizationViewer.headNumber();
|
|
@@ -117815,6 +118167,17 @@ var init_protocol_sdk = __esmMin((() => {
|
|
|
117815
118167
|
evidenceFreshnessEvmBlocks,
|
|
117816
118168
|
evidenceRetentionXl1Blocks
|
|
117817
118169
|
};
|
|
118170
|
+
const clock = {
|
|
118171
|
+
headAnchor,
|
|
118172
|
+
headHeight: headNumber
|
|
118173
|
+
};
|
|
118174
|
+
const expiredAt = async (height, observed = height) => {
|
|
118175
|
+
return isRetentionExpired({
|
|
118176
|
+
observedHeight: observed,
|
|
118177
|
+
subjectAnchor: await this.anchorFor(asXL1BlockNumber(height, true)),
|
|
118178
|
+
subjectHeight: height
|
|
118179
|
+
}, clock, params);
|
|
118180
|
+
};
|
|
117818
118181
|
let checked = 0;
|
|
117819
118182
|
let pruned = 0;
|
|
117820
118183
|
let cursor;
|
|
@@ -117826,19 +118189,11 @@ var init_protocol_sdk = __esmMin((() => {
|
|
|
117826
118189
|
while (batch.length > 0 && pruned < maxPrune && checked < maxCheck) {
|
|
117827
118190
|
const expired = [];
|
|
117828
118191
|
for (const payload of batch) {
|
|
117829
|
-
if (!
|
|
118192
|
+
if (!(0, node_exports.isHashMeta)(payload)) continue;
|
|
118193
|
+
const hashes = await this.expiredEntryHashes(payload, protectedSubjects, expiredAt);
|
|
118194
|
+
if (hashes === void 0) continue;
|
|
117830
118195
|
checked++;
|
|
117831
|
-
|
|
117832
|
-
const subjectHeight = payload.height;
|
|
117833
|
-
const subjectAnchor = await this.anchorFor(asXL1BlockNumber(subjectHeight ?? payload.observed, true));
|
|
117834
|
-
if (isRetentionExpired({
|
|
117835
|
-
observedHeight: payload.observed,
|
|
117836
|
-
subjectAnchor,
|
|
117837
|
-
subjectHeight
|
|
117838
|
-
}, {
|
|
117839
|
-
headAnchor,
|
|
117840
|
-
headHeight: headNumber
|
|
117841
|
-
}, params)) expired.push(payload._hash, payload.bundle);
|
|
118196
|
+
expired.push(...hashes);
|
|
117842
118197
|
}
|
|
117843
118198
|
if (expired.length > 0) {
|
|
117844
118199
|
await this.archivist.delete(expired);
|
|
@@ -117873,6 +118228,44 @@ var init_protocol_sdk = __esmMin((() => {
|
|
|
117873
118228
|
if (Number.isFinite(height) && height <= floor) this._seen.delete(key);
|
|
117874
118229
|
}
|
|
117875
118230
|
}
|
|
118231
|
+
/**
|
|
118232
|
+
* The hashes an evidence entry surrenders when its retention expires, or undefined for a
|
|
118233
|
+
* payload this sweep does not govern.
|
|
118234
|
+
*
|
|
118235
|
+
* An empty array means the entry was considered and kept — protected, or simply not old enough
|
|
118236
|
+
* on both clocks. Each family knows its own subject and its own dependents: a note takes its
|
|
118237
|
+
* bundle, an envelope takes the rejection payloads it signed over.
|
|
118238
|
+
*/
|
|
118239
|
+
async expiredEntryHashes(payload, protectedSubjects, expiredAt) {
|
|
118240
|
+
if (isEvidenceNote(payload)) {
|
|
118241
|
+
if (protectedSubjects.has(payload.subject)) return [];
|
|
118242
|
+
return await expiredAt(payload.height ?? payload.observed, payload.observed) ? [payload._hash, payload.bundle] : [];
|
|
118243
|
+
}
|
|
118244
|
+
if (isCandidateSeen(payload)) {
|
|
118245
|
+
if (protectedSubjects.has(payload.subject)) return [];
|
|
118246
|
+
return await expiredAt(payload.height) ? [payload._hash] : [];
|
|
118247
|
+
}
|
|
118248
|
+
if (isCandidatePair(payload)) {
|
|
118249
|
+
if (payload.subjects.some((subject) => protectedSubjects.has(subject))) return [];
|
|
118250
|
+
return await expiredAt(payload.height) ? [payload._hash] : [];
|
|
118251
|
+
}
|
|
118252
|
+
if ((0, node_exports.isBoundWitness)(payload)) return await this.expiredRejectionHashes(payload, protectedSubjects, expiredAt);
|
|
118253
|
+
}
|
|
118254
|
+
/**
|
|
118255
|
+
* The hashes a rejection envelope surrenders, or undefined when the bound witness carries no
|
|
118256
|
+
* rejection at all — someone else's artifact, and none of this sweep's business.
|
|
118257
|
+
*/
|
|
118258
|
+
async expiredRejectionHashes(envelope, protectedSubjects, expiredAt) {
|
|
118259
|
+
const rejections = (await this.archivist.get(envelope.payload_hashes ?? [])).filter((entry) => (0, node_exports.isHashMeta)(entry)).filter((entry) => isBlockRejection(entry));
|
|
118260
|
+
if (rejections.length === 0) return void 0;
|
|
118261
|
+
const heights = await Promise.all(rejections.map(async (rejection) => {
|
|
118262
|
+
const rejected = rejection.block[0];
|
|
118263
|
+
const subject = await node_exports.PayloadBuilder.dataHash(rejected);
|
|
118264
|
+
return protectedSubjects.has(subject) ? void 0 : rejected.block;
|
|
118265
|
+
}));
|
|
118266
|
+
if (heights.includes(void 0)) return [];
|
|
118267
|
+
return (await Promise.all(heights.map((height) => expiredAt(height)))).every(Boolean) ? [envelope._hash, ...rejections.map((rejection) => rejection._hash)] : [];
|
|
118268
|
+
}
|
|
117876
118269
|
};
|
|
117877
118270
|
/** Connection kinds supported by this provider. */
|
|
117878
118271
|
__publicField$5(SimpleEvidenceStoreRunner, "connectionTypes", [
|
|
@@ -119076,7 +119469,7 @@ var init_protocol_sdk = __esmMin((() => {
|
|
|
119076
119469
|
for (let hi = headNumber; hi >= floor; hi -= SCAN_PAGE_SIZE) {
|
|
119077
119470
|
const limit = Math.min(SCAN_PAGE_SIZE, hi - floor + 1);
|
|
119078
119471
|
const blocks = await this._blockViewer.blocksByNumber(asXL1BlockNumber(hi, true), limit);
|
|
119079
|
-
for (const block of blocks) foldSlashHistory(block[1], history);
|
|
119472
|
+
for (const block of blocks) await foldSlashHistory(block[1], history);
|
|
119080
119473
|
}
|
|
119081
119474
|
this.cachedHistory = history;
|
|
119082
119475
|
this.cachedAt = now;
|
|
@@ -139309,7 +139702,7 @@ var require_deep_freeze_strict = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
139309
139702
|
};
|
|
139310
139703
|
}));
|
|
139311
139704
|
//#endregion
|
|
139312
|
-
//#region ../../node_modules/.pnpm/@ariestools+json-rpc-engine@8.1.
|
|
139705
|
+
//#region ../../node_modules/.pnpm/@ariestools+json-rpc-engine@8.1.9_supports-color@10.2.2_typescript@6.0.3/node_modules/@ariestools/json-rpc-engine/dist/neutral/index.mjs
|
|
139313
139706
|
function stringify(value) {
|
|
139314
139707
|
return JSON.stringify(value, null, 2);
|
|
139315
139708
|
}
|
|
@@ -139605,7 +139998,7 @@ var init_neutral$2 = __esmMin((() => {
|
|
|
139605
139998
|
};
|
|
139606
139999
|
}));
|
|
139607
140000
|
//#endregion
|
|
139608
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
140001
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/rpc.mjs
|
|
139609
140002
|
function hasAllowedClaimDepth(value) {
|
|
139610
140003
|
const pending = [{
|
|
139611
140004
|
depth: 0,
|
|
@@ -142138,7 +142531,7 @@ var init_rpc = __esmMin((() => {
|
|
|
142138
142531
|
};
|
|
142139
142532
|
}));
|
|
142140
142533
|
//#endregion
|
|
142141
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
142534
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/rest-block-viewer.mjs
|
|
142142
142535
|
var __defProp$5, __getOwnPropDesc$4, __defNormalProp$3, __decorateClass$4, __publicField$3, REST_SUMMARY_CACHE_MAX_BY_STEP, RestBlockViewerOptionsZod, MIN_HEAD_POLL_INTERVAL_MS, CURRENT_BLOCK_CACHE_TTL_MS, CURRENT_BLOCK_CACHE_KEY, BLOCKS_BY_NUMBER_STEP_ACCEL_MIN_LIMIT, PayloadFileZod, RestBlockViewer, RestChainContractViewer, RestChainStateViewerOptionsZod, MIN_HEAD_POLL_INTERVAL_MS2, RestChainStateViewer, RestFinalizationViewer, MAX_STEP_BY_FAMILY, RestIndexViewer;
|
|
142143
142536
|
var init_rest_block_viewer = __esmMin((() => {
|
|
142144
142537
|
init_network_model();
|
|
@@ -162819,7 +163212,7 @@ var init_neutral$1 = __esmMin((() => {
|
|
|
162819
163212
|
};
|
|
162820
163213
|
}));
|
|
162821
163214
|
//#endregion
|
|
162822
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
163215
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/providers.mjs
|
|
162823
163216
|
async function resolveEvmProviderFromContext$1(context) {
|
|
162824
163217
|
const evmChainViewer = await context.locator.tryGetInstance(EvmChainViewerMoniker);
|
|
162825
163218
|
if (isDefined(evmChainViewer)) return await evmChainViewer.provider();
|
|
@@ -165217,6 +165610,14 @@ timeAnchor: ExternalTimeAnchorOptionsZod$1.optional() });
|
|
|
165217
165610
|
/** How often the mutable head pointer is re-read. */
|
|
165218
165611
|
headPollIntervalMs: number$1().default(3e4) });
|
|
165219
165612
|
RestChainParamsViewer$1 = class extends AbstractCreatableProvider {
|
|
165613
|
+
/**
|
|
165614
|
+
* Supplies the finalized height succession is judged against, when the host has one.
|
|
165615
|
+
*
|
|
165616
|
+
* Without it the reader still refuses version regressions, chain-id changes, protocolMin
|
|
165617
|
+
* lowering, and broken economics; with it, moves to activations the chain has already passed
|
|
165618
|
+
* are refused too. Hosts with a finalized view should set it.
|
|
165619
|
+
*/
|
|
165620
|
+
finalizedHeight;
|
|
165220
165621
|
/** Moniker implemented by this provider instance. */
|
|
165221
165622
|
moniker = RestChainParamsViewer$1.defaultMoniker;
|
|
165222
165623
|
_options;
|
|
@@ -165243,13 +165644,14 @@ headPollIntervalMs: number$1().default(3e4) });
|
|
|
165243
165644
|
async currentParams() {
|
|
165244
165645
|
return assertEx(await this.tryCurrentParams(), () => "No chain parameter register could be resolved");
|
|
165245
165646
|
}
|
|
165246
|
-
/** A specific register version, or null when it is not published. */
|
|
165647
|
+
/** A specific register version, or null when it is not published or does not validate. */
|
|
165247
165648
|
async paramsByVersion(version) {
|
|
165248
165649
|
const cached = this.versions.get(version);
|
|
165249
165650
|
if (cached !== void 0) return cached;
|
|
165250
165651
|
const document = await this.tryFetchJson(chainParamsVersionPath(this.chainId, version));
|
|
165251
165652
|
if (document === void 0) return null;
|
|
165252
|
-
const params =
|
|
165653
|
+
const params = this.tryParseParams(document, `version ${version}`);
|
|
165654
|
+
if (params === void 0) return null;
|
|
165253
165655
|
this.versions.set(version, params);
|
|
165254
165656
|
return params;
|
|
165255
165657
|
}
|
|
@@ -165263,12 +165665,48 @@ headPollIntervalMs: number$1().default(3e4) });
|
|
|
165263
165665
|
if (this.lastResolved?.version === head.version) return this.lastResolved;
|
|
165264
165666
|
const params = await this.paramsByVersion(head.version);
|
|
165265
165667
|
if (params === null) return this.lastResolved;
|
|
165668
|
+
if (!await this.tryAccept(head, params)) return this.lastResolved;
|
|
165266
165669
|
this.lastResolved = params;
|
|
165267
165670
|
return params;
|
|
165268
165671
|
}
|
|
165672
|
+
/**
|
|
165673
|
+
* Judges a fetched version before it replaces the one in force.
|
|
165674
|
+
*
|
|
165675
|
+
* Order matters only for the reporting: the hash binding proves the head meant this document,
|
|
165676
|
+
* the invariants prove the document holds together, and succession proves it may follow what
|
|
165677
|
+
* this reader already trusted.
|
|
165678
|
+
*/
|
|
165679
|
+
async tryAccept(head, params) {
|
|
165680
|
+
const hash = await node_exports.PayloadBuilder.dataHash(params);
|
|
165681
|
+
if (hash !== head.hash) {
|
|
165682
|
+
this.versions.delete(head.version);
|
|
165683
|
+
this.logger?.warn(`[RestChainParamsViewer] head names version ${head.version} as ${head.hash} but the document hashes to ${hash}; keeping the version in force`);
|
|
165684
|
+
return false;
|
|
165685
|
+
}
|
|
165686
|
+
const invariantErrors = chainParamsInvariantErrors(params);
|
|
165687
|
+
if (invariantErrors.length > 0) {
|
|
165688
|
+
this.logger?.warn(`[RestChainParamsViewer] version ${params.version} violates invariants: ${invariantErrors.join("; ")}`);
|
|
165689
|
+
return false;
|
|
165690
|
+
}
|
|
165691
|
+
if (this.lastResolved !== void 0) {
|
|
165692
|
+
const finalizedHeight = await this.finalizedHeight?.() ?? -1;
|
|
165693
|
+
const successionErrors = chainParamsSuccessionErrors(this.lastResolved, params, finalizedHeight);
|
|
165694
|
+
if (successionErrors.length > 0) {
|
|
165695
|
+
this.logger?.warn(`[RestChainParamsViewer] version ${params.version} may not follow ${this.lastResolved.version}: ${successionErrors.join("; ")}`);
|
|
165696
|
+
return false;
|
|
165697
|
+
}
|
|
165698
|
+
}
|
|
165699
|
+
return true;
|
|
165700
|
+
}
|
|
165269
165701
|
async tryFetchHead() {
|
|
165270
165702
|
const document = await this.tryFetchJson(chainParamsHeadPath(this.chainId));
|
|
165271
|
-
|
|
165703
|
+
if (document === void 0) return void 0;
|
|
165704
|
+
try {
|
|
165705
|
+
return asChainParamsHead(document, true);
|
|
165706
|
+
} catch (error) {
|
|
165707
|
+
this.logger?.warn(`[RestChainParamsViewer] register head failed validation: ${String(error)}`);
|
|
165708
|
+
return;
|
|
165709
|
+
}
|
|
165272
165710
|
}
|
|
165273
165711
|
async tryFetchJson(path) {
|
|
165274
165712
|
try {
|
|
@@ -165280,6 +165718,14 @@ headPollIntervalMs: number$1().default(3e4) });
|
|
|
165280
165718
|
return;
|
|
165281
165719
|
}
|
|
165282
165720
|
}
|
|
165721
|
+
tryParseParams(document, label) {
|
|
165722
|
+
try {
|
|
165723
|
+
return asChainParams(document, true);
|
|
165724
|
+
} catch (error) {
|
|
165725
|
+
this.logger?.warn(`[RestChainParamsViewer] register ${label} failed validation: ${String(error)}`);
|
|
165726
|
+
return;
|
|
165727
|
+
}
|
|
165728
|
+
}
|
|
165283
165729
|
};
|
|
165284
165730
|
/** Connection kinds supported by this provider. */
|
|
165285
165731
|
__publicField$2(RestChainParamsViewer$1, "connectionTypes", ["rest"]);
|
|
@@ -165467,7 +165913,7 @@ headPollIntervalMs: number$1().default(3e4) });
|
|
|
165467
165913
|
RestNetworkStakeStepRewardsByPositionViewer$1 = __decorateClass$3([creatableProvider()], RestNetworkStakeStepRewardsByPositionViewer$1);
|
|
165468
165914
|
}));
|
|
165469
165915
|
//#endregion
|
|
165470
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
165916
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/gateway.mjs
|
|
165471
165917
|
function restGatewayConfigFromEndpoint$1(endpoint) {
|
|
165472
165918
|
const url = new URL(endpoint);
|
|
165473
165919
|
const bucketOrigin = (subdomain) => `${url.protocol}//${subdomain}.${url.host}`;
|
|
@@ -165509,7 +165955,7 @@ var init_gateway = __esmMin((() => {
|
|
|
165509
165955
|
};
|
|
165510
165956
|
}));
|
|
165511
165957
|
//#endregion
|
|
165512
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
165958
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/wrappers.mjs
|
|
165513
165959
|
var init_wrappers = __esmMin((() => {
|
|
165514
165960
|
init_node$2();
|
|
165515
165961
|
init_protocol_lib();
|
|
@@ -165518,7 +165964,7 @@ var init_wrappers = __esmMin((() => {
|
|
|
165518
165964
|
init_protocol_sdk();
|
|
165519
165965
|
}));
|
|
165520
165966
|
//#endregion
|
|
165521
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
165967
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/neutral/index.mjs
|
|
165522
165968
|
var init_neutral = __esmMin((() => {
|
|
165523
165969
|
init_neutral$3();
|
|
165524
165970
|
init_driver_memory();
|
|
@@ -182696,7 +183142,7 @@ var require_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
182696
183142
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182697
183143
|
}));
|
|
182698
183144
|
//#endregion
|
|
182699
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
183145
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/node/gateway.mjs
|
|
182700
183146
|
var import_src = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182701
183147
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
182702
183148
|
if (k2 === void 0) k2 = k;
|
|
@@ -206250,7 +206696,7 @@ var init_sha = __esmMin((() => {
|
|
|
206250
206696
|
init_checksum();
|
|
206251
206697
|
}));
|
|
206252
206698
|
//#endregion
|
|
206253
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.
|
|
206699
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@o_252fb2827c5feda163f247b20a570aee/node_modules/@xyo-network/xl1-sdk/dist/node/providers.mjs
|
|
206254
206700
|
var import_dist_cjs = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
206255
206701
|
const { getFlexibleChecksumsPlugin, NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, resolveFlexibleChecksumsConfig } = (init_flexible_checksums(), __toCommonJS(flexible_checksums_exports));
|
|
206256
206702
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = (init_client(), __toCommonJS(client_exports));
|
|
@@ -218590,7 +219036,7 @@ var import_dist_cjs = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
218590
219036
|
() => __Unit
|
|
218591
219037
|
];
|
|
218592
219038
|
var CreateSessionCommand = class extends command(_ep4, _mw0, "CreateSession", CreateSession$) {};
|
|
218593
|
-
var packageInfo = { version: "3.
|
|
219039
|
+
var packageInfo = { version: "3.1109.0" };
|
|
218594
219040
|
const getRuntimeConfig$1 = (config) => {
|
|
218595
219041
|
return {
|
|
218596
219042
|
apiVersion: "2006-03-01",
|
|
@@ -221356,6 +221802,14 @@ var RestChainParamsViewerOptionsZod = object$2({
|
|
|
221356
221802
|
/** How often the mutable head pointer is re-read. */
|
|
221357
221803
|
headPollIntervalMs: number$1().default(3e4) });
|
|
221358
221804
|
var RestChainParamsViewer = class extends AbstractCreatableProvider {
|
|
221805
|
+
/**
|
|
221806
|
+
* Supplies the finalized height succession is judged against, when the host has one.
|
|
221807
|
+
*
|
|
221808
|
+
* Without it the reader still refuses version regressions, chain-id changes, protocolMin
|
|
221809
|
+
* lowering, and broken economics; with it, moves to activations the chain has already passed
|
|
221810
|
+
* are refused too. Hosts with a finalized view should set it.
|
|
221811
|
+
*/
|
|
221812
|
+
finalizedHeight;
|
|
221359
221813
|
/** Moniker implemented by this provider instance. */
|
|
221360
221814
|
moniker = RestChainParamsViewer.defaultMoniker;
|
|
221361
221815
|
_options;
|
|
@@ -221382,13 +221836,14 @@ var RestChainParamsViewer = class extends AbstractCreatableProvider {
|
|
|
221382
221836
|
async currentParams() {
|
|
221383
221837
|
return assertEx(await this.tryCurrentParams(), () => "No chain parameter register could be resolved");
|
|
221384
221838
|
}
|
|
221385
|
-
/** A specific register version, or null when it is not published. */
|
|
221839
|
+
/** A specific register version, or null when it is not published or does not validate. */
|
|
221386
221840
|
async paramsByVersion(version) {
|
|
221387
221841
|
const cached = this.versions.get(version);
|
|
221388
221842
|
if (cached !== void 0) return cached;
|
|
221389
221843
|
const document = await this.tryFetchJson(chainParamsVersionPath(this.chainId, version));
|
|
221390
221844
|
if (document === void 0) return null;
|
|
221391
|
-
const params =
|
|
221845
|
+
const params = this.tryParseParams(document, `version ${version}`);
|
|
221846
|
+
if (params === void 0) return null;
|
|
221392
221847
|
this.versions.set(version, params);
|
|
221393
221848
|
return params;
|
|
221394
221849
|
}
|
|
@@ -221402,12 +221857,48 @@ var RestChainParamsViewer = class extends AbstractCreatableProvider {
|
|
|
221402
221857
|
if (this.lastResolved?.version === head.version) return this.lastResolved;
|
|
221403
221858
|
const params = await this.paramsByVersion(head.version);
|
|
221404
221859
|
if (params === null) return this.lastResolved;
|
|
221860
|
+
if (!await this.tryAccept(head, params)) return this.lastResolved;
|
|
221405
221861
|
this.lastResolved = params;
|
|
221406
221862
|
return params;
|
|
221407
221863
|
}
|
|
221864
|
+
/**
|
|
221865
|
+
* Judges a fetched version before it replaces the one in force.
|
|
221866
|
+
*
|
|
221867
|
+
* Order matters only for the reporting: the hash binding proves the head meant this document,
|
|
221868
|
+
* the invariants prove the document holds together, and succession proves it may follow what
|
|
221869
|
+
* this reader already trusted.
|
|
221870
|
+
*/
|
|
221871
|
+
async tryAccept(head, params) {
|
|
221872
|
+
const hash = await node_exports.PayloadBuilder.dataHash(params);
|
|
221873
|
+
if (hash !== head.hash) {
|
|
221874
|
+
this.versions.delete(head.version);
|
|
221875
|
+
this.logger?.warn(`[RestChainParamsViewer] head names version ${head.version} as ${head.hash} but the document hashes to ${hash}; keeping the version in force`);
|
|
221876
|
+
return false;
|
|
221877
|
+
}
|
|
221878
|
+
const invariantErrors = chainParamsInvariantErrors(params);
|
|
221879
|
+
if (invariantErrors.length > 0) {
|
|
221880
|
+
this.logger?.warn(`[RestChainParamsViewer] version ${params.version} violates invariants: ${invariantErrors.join("; ")}`);
|
|
221881
|
+
return false;
|
|
221882
|
+
}
|
|
221883
|
+
if (this.lastResolved !== void 0) {
|
|
221884
|
+
const finalizedHeight = await this.finalizedHeight?.() ?? -1;
|
|
221885
|
+
const successionErrors = chainParamsSuccessionErrors(this.lastResolved, params, finalizedHeight);
|
|
221886
|
+
if (successionErrors.length > 0) {
|
|
221887
|
+
this.logger?.warn(`[RestChainParamsViewer] version ${params.version} may not follow ${this.lastResolved.version}: ${successionErrors.join("; ")}`);
|
|
221888
|
+
return false;
|
|
221889
|
+
}
|
|
221890
|
+
}
|
|
221891
|
+
return true;
|
|
221892
|
+
}
|
|
221408
221893
|
async tryFetchHead() {
|
|
221409
221894
|
const document = await this.tryFetchJson(chainParamsHeadPath(this.chainId));
|
|
221410
|
-
|
|
221895
|
+
if (document === void 0) return void 0;
|
|
221896
|
+
try {
|
|
221897
|
+
return asChainParamsHead(document, true);
|
|
221898
|
+
} catch (error) {
|
|
221899
|
+
this.logger?.warn(`[RestChainParamsViewer] register head failed validation: ${String(error)}`);
|
|
221900
|
+
return;
|
|
221901
|
+
}
|
|
221411
221902
|
}
|
|
221412
221903
|
async tryFetchJson(path) {
|
|
221413
221904
|
try {
|
|
@@ -221419,6 +221910,14 @@ var RestChainParamsViewer = class extends AbstractCreatableProvider {
|
|
|
221419
221910
|
return;
|
|
221420
221911
|
}
|
|
221421
221912
|
}
|
|
221913
|
+
tryParseParams(document, label) {
|
|
221914
|
+
try {
|
|
221915
|
+
return asChainParams(document, true);
|
|
221916
|
+
} catch (error) {
|
|
221917
|
+
this.logger?.warn(`[RestChainParamsViewer] register ${label} failed validation: ${String(error)}`);
|
|
221918
|
+
return;
|
|
221919
|
+
}
|
|
221920
|
+
}
|
|
221422
221921
|
};
|
|
221423
221922
|
/** Connection kinds supported by this provider. */
|
|
221424
221923
|
__publicField$1(RestChainParamsViewer, "connectionTypes", ["rest"]);
|
|
@@ -221605,7 +222104,7 @@ __publicField$1(RestNetworkStakeStepRewardsByPositionViewer, "monikers", [Networ
|
|
|
221605
222104
|
__publicField$1(RestNetworkStakeStepRewardsByPositionViewer, "surface", "node");
|
|
221606
222105
|
RestNetworkStakeStepRewardsByPositionViewer = __decorateClass$2([creatableProvider()], RestNetworkStakeStepRewardsByPositionViewer);
|
|
221607
222106
|
//#endregion
|
|
221608
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-s3-providers@5.2.
|
|
222107
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-s3-providers@5.2.3_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@_ba0f59bd3ab7382e38be90584bbe2f7f/node_modules/@xyo-network/xl1-s3-providers/dist/node/index.mjs
|
|
221609
222108
|
init_node$2();
|
|
221610
222109
|
init_protocol_sdk();
|
|
221611
222110
|
init_zod();
|
|
@@ -221933,7 +222432,7 @@ var S3ChainParamsPublishRunner = class extends AbstractS3Provider {
|
|
|
221933
222432
|
const chainId = params.chainId;
|
|
221934
222433
|
const previous = await this.currentPublished(chainId);
|
|
221935
222434
|
const finalizedHeight = (await this.blockViewer.currentBlock())[0].block;
|
|
221936
|
-
const errors = chainParamsSuccessionErrors(previous, params, finalizedHeight);
|
|
222435
|
+
const errors = [...chainParamsSuccessionErrors(previous, params, finalizedHeight), ...chainParamsInvariantErrors(params)];
|
|
221937
222436
|
assertEx(errors.length === 0, () => `Refusing to publish register version: ${errors.join("; ")}`);
|
|
221938
222437
|
const versionPath = chainParamsVersionPath(chainId, params.version);
|
|
221939
222438
|
assertEx(!await this.hasJson(versionPath), () => `Register version ${params.version} is already published and versions are immutable`);
|
|
@@ -222821,7 +223320,7 @@ var ProviderConfigFieldsZod = object$2({
|
|
|
222821
223320
|
providerBindings: record$1(string$2(), ProviderBindingConfigZod).default({})
|
|
222822
223321
|
});
|
|
222823
223322
|
//#endregion
|
|
222824
|
-
//#region ../../node_modules/.pnpm/@ariestools+actor@1.3.0_@ariestools+sdk@8.1.
|
|
223323
|
+
//#region ../../node_modules/.pnpm/@ariestools+actor@1.3.0_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3__@opentelemetry+api@1.9.1_zod@4.4.3/node_modules/@ariestools/actor/dist/neutral/index.mjs
|
|
222825
223324
|
init_node$2();
|
|
222826
223325
|
init_neutral$4();
|
|
222827
223326
|
var __defProp = Object.defineProperty;
|
|
@@ -223076,7 +223575,7 @@ ${err.stack}` : "";
|
|
|
223076
223575
|
return String(err);
|
|
223077
223576
|
}
|
|
223078
223577
|
//#endregion
|
|
223079
|
-
//#region ../../node_modules/.pnpm/@ariestools+actor-system@1.3.0_@ariestools+sdk@8.1.
|
|
223578
|
+
//#region ../../node_modules/.pnpm/@ariestools+actor-system@1.3.0_@ariestools+sdk@8.1.9_@opentelemetry+api@1.9.1_zod@4.4.3_99589d3d6b11ec18e4a82403e89fc88c/node_modules/@ariestools/actor-system/dist/neutral/index.mjs
|
|
223080
223579
|
init_zod();
|
|
223081
223580
|
var ActorSystemSelectionZod = strictObject({
|
|
223082
223581
|
config: unknown$1().optional(),
|
|
@@ -223098,7 +223597,7 @@ var ActorSystemSelectionZod = strictObject({
|
|
|
223098
223597
|
});
|
|
223099
223598
|
ProviderConfigFieldsZod.extend({ actors: array$1(ActorSystemSelectionZod).default([]) });
|
|
223100
223599
|
//#endregion
|
|
223101
|
-
//#region ../../node_modules/.pnpm/@ariestools+cli-kit@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.
|
|
223600
|
+
//#region ../../node_modules/.pnpm/@ariestools+cli-kit@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.1.9_@opentele_37d14ccaa0e676b5af069d15cfccb615/node_modules/@ariestools/cli-kit/dist/node/index.mjs
|
|
223102
223601
|
var SYS_EXITS = {
|
|
223103
223602
|
/** `EX_OK` (0): successful termination. */
|
|
223104
223603
|
ok: 0,
|