@xyo-network/xl1-cli 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-min.mjs +1037 -1009
- package/dist/cli-min.mjs.map +1 -1
- package/package.json +61 -60
package/dist/cli-min.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "node:url";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
import { Buffer as Buffer$1 } from "node:buffer";
|
|
4
3
|
import { ROOT_CONTEXT, SpanStatusCode, context, metrics, propagation, trace } from "@opentelemetry/api";
|
|
5
4
|
import http from "http";
|
|
6
5
|
import https from "https";
|
|
@@ -75,7 +74,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
75
74
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp$29({}, "__esModule", { value: true }), mod);
|
|
76
75
|
var __require$1 = /* @__PURE__ */ createRequire(import.meta.url);
|
|
77
76
|
//#endregion
|
|
78
|
-
//#region ../../node_modules/.pnpm/@xylabs+enum@6.0.
|
|
77
|
+
//#region ../../node_modules/.pnpm/@xylabs+enum@6.0.7/node_modules/@xylabs/enum/dist/neutral/index.mjs
|
|
79
78
|
var Enum = (obj) => {
|
|
80
79
|
return obj;
|
|
81
80
|
};
|
|
@@ -3890,7 +3889,7 @@ const { Deflate, deflate, deflateRaw, gzip } = deflate_1$1;
|
|
|
3890
3889
|
const { Inflate, inflate, inflateRaw, ungzip } = inflate_1$1;
|
|
3891
3890
|
var gzip_1 = gzip;
|
|
3892
3891
|
//#endregion
|
|
3893
|
-
//#region ../../node_modules/.pnpm/@xylabs+fetch@6.0.
|
|
3892
|
+
//#region ../../node_modules/.pnpm/@xylabs+fetch@6.0.7_pako@2.1.0/node_modules/@xylabs/fetch/dist/neutral/index.mjs
|
|
3894
3893
|
function fetchCompress(url, options = {}) {
|
|
3895
3894
|
const { compressMinLength = 1024, ...init } = options;
|
|
3896
3895
|
if (init.body !== void 0 && init.body !== null) {
|
|
@@ -4022,7 +4021,7 @@ var FetchJsonClient = class _FetchJsonClient extends FetchClient {
|
|
|
4022
4021
|
};
|
|
4023
4022
|
new FetchJsonClient();
|
|
4024
4023
|
//#endregion
|
|
4025
|
-
//#region ../../node_modules/.pnpm/@xylabs+typeof@6.0.
|
|
4024
|
+
//#region ../../node_modules/.pnpm/@xylabs+typeof@6.0.7/node_modules/@xylabs/typeof/dist/neutral/index.mjs
|
|
4026
4025
|
var typeOf = (item) => {
|
|
4027
4026
|
return Array.isArray(item) ? "array" : typeof item;
|
|
4028
4027
|
};
|
|
@@ -4086,12 +4085,12 @@ var validateType = (typeName, value, optional = false) => {
|
|
|
4086
4085
|
}
|
|
4087
4086
|
};
|
|
4088
4087
|
//#endregion
|
|
4089
|
-
//#region ../../node_modules/.pnpm/@xylabs+exists@6.0.
|
|
4088
|
+
//#region ../../node_modules/.pnpm/@xylabs+exists@6.0.7/node_modules/@xylabs/exists/dist/neutral/index.mjs
|
|
4090
4089
|
var exists$1 = (x) => {
|
|
4091
4090
|
return x === void 0 || x === null ? false : true;
|
|
4092
4091
|
};
|
|
4093
4092
|
//#endregion
|
|
4094
|
-
//#region ../../node_modules/.pnpm/@xylabs+array@6.0.
|
|
4093
|
+
//#region ../../node_modules/.pnpm/@xylabs+array@6.0.7/node_modules/@xylabs/array/dist/neutral/index.mjs
|
|
4095
4094
|
var containsAll = (source, target) => target.every((i) => source.includes(i));
|
|
4096
4095
|
var filterAs = (x, predicate) => {
|
|
4097
4096
|
return x.map(predicate).filter(exists$1);
|
|
@@ -4100,7 +4099,7 @@ var uniq = (arr) => {
|
|
|
4100
4099
|
return [...new Set(arr)];
|
|
4101
4100
|
};
|
|
4102
4101
|
//#endregion
|
|
4103
|
-
//#region ../../node_modules/.pnpm/@xylabs+assert@6.0.
|
|
4102
|
+
//#region ../../node_modules/.pnpm/@xylabs+assert@6.0.7/node_modules/@xylabs/assert/dist/neutral/index.mjs
|
|
4104
4103
|
function assertDefinedEx(expr, func) {
|
|
4105
4104
|
if (expr !== void 0) return expr;
|
|
4106
4105
|
if (typeof func === "function") {
|
|
@@ -15781,7 +15780,7 @@ function number$4(params) {
|
|
|
15781
15780
|
return /* @__PURE__ */ _coercedNumber(ZodMiniNumber, params);
|
|
15782
15781
|
}
|
|
15783
15782
|
//#endregion
|
|
15784
|
-
//#region ../../node_modules/.pnpm/@xylabs+error@6.0.
|
|
15783
|
+
//#region ../../node_modules/.pnpm/@xylabs+error@6.0.7/node_modules/@xylabs/error/dist/neutral/index.mjs
|
|
15785
15784
|
var assertError = (value, assert, defaultMessage) => {
|
|
15786
15785
|
if (!isUndefined(assert)) {
|
|
15787
15786
|
const assertString = typeof assert === "string" ? assert : typeof assert === "boolean" ? defaultMessage : assert(value, defaultMessage);
|
|
@@ -15797,7 +15796,7 @@ var handleErrorAsync = async (error, handler) => {
|
|
|
15797
15796
|
else throw error;
|
|
15798
15797
|
};
|
|
15799
15798
|
//#endregion
|
|
15800
|
-
//#region ../../node_modules/.pnpm/@xylabs+hex@6.0.
|
|
15799
|
+
//#region ../../node_modules/.pnpm/@xylabs+hex@6.0.7_zod@4.4.3/node_modules/@xylabs/hex/dist/neutral/index.mjs
|
|
15801
15800
|
var HexRegExMinMax = (minBytes = 0, maxBytes = Number.MAX_SAFE_INTEGER / 2) => {
|
|
15802
15801
|
return new RegExp(`^[a-f0-9]{${minBytes * 2},${maxBytes * 2}}$`);
|
|
15803
15802
|
};
|
|
@@ -15965,7 +15964,7 @@ function hexToBigInt(hex) {
|
|
|
15965
15964
|
var BigIntToJsonZod = /* @__PURE__ */ pipe$1((/* @__PURE__ */ bigint$2()).check(/* @__PURE__ */ _nonnegative()), /* @__PURE__ */ transform$1((x) => toHex(x)));
|
|
15966
15965
|
var JsonToBigIntZod = /* @__PURE__ */ pipe$1(/* @__PURE__ */ string$3(), /* @__PURE__ */ transform$1((x) => hexToBigInt(toHex(x))));
|
|
15967
15966
|
//#endregion
|
|
15968
|
-
//#region ../../node_modules/.pnpm/@xylabs+arraybuffer@6.0.
|
|
15967
|
+
//#region ../../node_modules/.pnpm/@xylabs+arraybuffer@6.0.7_zod@4.4.3/node_modules/@xylabs/arraybuffer/dist/neutral/index.mjs
|
|
15969
15968
|
function isArrayBuffer(value) {
|
|
15970
15969
|
return value instanceof ArrayBuffer;
|
|
15971
15970
|
}
|
|
@@ -16001,7 +16000,7 @@ function toUint8Array(value, padLength, base) {
|
|
|
16001
16000
|
return arrayBuffer ? new Uint8Array(arrayBuffer) : void 0;
|
|
16002
16001
|
}
|
|
16003
16002
|
//#endregion
|
|
16004
|
-
//#region ../../node_modules/.pnpm/@xylabs+base@6.0.
|
|
16003
|
+
//#region ../../node_modules/.pnpm/@xylabs+base@6.0.7_@opentelemetry+api@1.9.1_zod@4.4.3/node_modules/@xylabs/base/dist/neutral/index.mjs
|
|
16005
16004
|
var DEFAULT_HISTORY_INTERVAL = 1e3 * 5;
|
|
16006
16005
|
var DEFAULT_HISTORY_TIME = 3600 * 1e3;
|
|
16007
16006
|
var MAX_GC_FREQUENCY = 1e3 * 60;
|
|
@@ -16133,7 +16132,7 @@ var globallyUnique = (name, value, domain = "global") => {
|
|
|
16133
16132
|
}
|
|
16134
16133
|
});
|
|
16135
16134
|
//#endregion
|
|
16136
|
-
//#region ../../node_modules/.pnpm/@xylabs+timer@6.0.
|
|
16135
|
+
//#region ../../node_modules/.pnpm/@xylabs+timer@6.0.7/node_modules/@xylabs/timer/dist/neutral/index.mjs
|
|
16137
16136
|
var timeouts = [];
|
|
16138
16137
|
var currentTimeout;
|
|
16139
16138
|
var interval = -1;
|
|
@@ -16178,12 +16177,12 @@ var setTimeoutEx = (func, delay) => {
|
|
|
16178
16177
|
return id;
|
|
16179
16178
|
};
|
|
16180
16179
|
//#endregion
|
|
16181
|
-
//#region ../../node_modules/.pnpm/@xylabs+delay@6.0.
|
|
16180
|
+
//#region ../../node_modules/.pnpm/@xylabs+delay@6.0.7/node_modules/@xylabs/delay/dist/neutral/index.mjs
|
|
16182
16181
|
var delay$1 = (ms) => {
|
|
16183
16182
|
return new Promise((resolve) => setTimeoutEx(() => resolve(), ms));
|
|
16184
16183
|
};
|
|
16185
16184
|
//#endregion
|
|
16186
|
-
//#region ../../node_modules/.pnpm/@xylabs+forget@6.0.
|
|
16185
|
+
//#region ../../node_modules/.pnpm/@xylabs+forget@6.0.7/node_modules/@xylabs/forget/dist/node/index.mjs
|
|
16187
16186
|
var defaultForgetConfig = { timeout: 3e4 };
|
|
16188
16187
|
var defaultForgetNodeConfig = {
|
|
16189
16188
|
...defaultForgetConfig,
|
|
@@ -16309,8 +16308,9 @@ var forgetNode = (promise, config) => {
|
|
|
16309
16308
|
ForgetPromiseNode.forget(promise, config);
|
|
16310
16309
|
};
|
|
16311
16310
|
//#endregion
|
|
16312
|
-
//#region ../../node_modules/.pnpm/@xylabs+events@6.0.
|
|
16311
|
+
//#region ../../node_modules/.pnpm/@xylabs+events@6.0.7_@opentelemetry+api@1.9.1_zod@4.4.3/node_modules/@xylabs/events/dist/neutral/index.mjs
|
|
16313
16312
|
var NO_META_EVENT_ERROR_MESSAGE = "`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`";
|
|
16313
|
+
var processGlobal = globalThis;
|
|
16314
16314
|
var resolvedPromise = Promise.resolve();
|
|
16315
16315
|
var isMetaEvent = (eventName) => eventName === "listenerAdded" || eventName === "listenerRemoved";
|
|
16316
16316
|
var Events = class _Events extends Base {
|
|
@@ -16340,8 +16340,8 @@ var Events = class _Events extends Base {
|
|
|
16340
16340
|
}
|
|
16341
16341
|
/** Whether debug mode is enabled globally or via the DEBUG environment variable. */
|
|
16342
16342
|
static get isDebugEnabled() {
|
|
16343
|
-
if (typeof
|
|
16344
|
-
const env =
|
|
16343
|
+
if (typeof processGlobal.process?.env !== "object") return _Events.isGlobalDebugEnabled;
|
|
16344
|
+
const env = processGlobal.process?.env;
|
|
16345
16345
|
return env?.DEBUG === "events" || env?.DEBUG === "*" || _Events.isGlobalDebugEnabled;
|
|
16346
16346
|
}
|
|
16347
16347
|
static set isDebugEnabled(newValue) {
|
|
@@ -16662,7 +16662,7 @@ var BaseEmitter = class extends Base {
|
|
|
16662
16662
|
}
|
|
16663
16663
|
};
|
|
16664
16664
|
//#endregion
|
|
16665
|
-
//#region ../../node_modules/.pnpm/@xylabs+telemetry@6.0.
|
|
16665
|
+
//#region ../../node_modules/.pnpm/@xylabs+telemetry@6.0.7_@opentelemetry+api@1.9.1/node_modules/@xylabs/telemetry/dist/neutral/index.mjs
|
|
16666
16666
|
async function timeBudget(name, logger, func, budget, status = false) {
|
|
16667
16667
|
const start = Date.now();
|
|
16668
16668
|
const timer = status ? setInterval(() => {
|
|
@@ -16975,7 +16975,7 @@ var Mutex = class {
|
|
|
16975
16975
|
}
|
|
16976
16976
|
};
|
|
16977
16977
|
//#endregion
|
|
16978
|
-
//#region ../../node_modules/.pnpm/@xylabs+creatable@6.0.
|
|
16978
|
+
//#region ../../node_modules/.pnpm/@xylabs+creatable@6.0.7_@opentelemetry+api@1.9.1_async-mutex@0.5.0_zod@4.4.3/node_modules/@xylabs/creatable/dist/neutral/index.mjs
|
|
16979
16979
|
var __defProp$28 = Object.defineProperty;
|
|
16980
16980
|
var __getOwnPropDesc$27 = Object.getOwnPropertyDescriptor;
|
|
16981
16981
|
var __decorateClass$27 = (decorators, target, key, kind) => {
|
|
@@ -17295,7 +17295,7 @@ var hasAllLabels$1 = (source, required) => {
|
|
|
17295
17295
|
});
|
|
17296
17296
|
};
|
|
17297
17297
|
//#endregion
|
|
17298
|
-
//#region ../../node_modules/.pnpm/@xylabs+decimal-precision@6.0.
|
|
17298
|
+
//#region ../../node_modules/.pnpm/@xylabs+decimal-precision@6.0.7/node_modules/@xylabs/decimal-precision/dist/neutral/index.mjs
|
|
17299
17299
|
var toFixedPoint = (value, places = 18) => {
|
|
17300
17300
|
if (!Number.isInteger(places)) throw new Error(`places (${places}) must be an Integer`);
|
|
17301
17301
|
if (typeof value === "string") {
|
|
@@ -44089,7 +44089,7 @@ var Wallet = class Wallet extends BaseWallet {
|
|
|
44089
44089
|
}
|
|
44090
44090
|
};
|
|
44091
44091
|
//#endregion
|
|
44092
|
-
//#region ../../node_modules/.pnpm/@xylabs+logger@6.0.
|
|
44092
|
+
//#region ../../node_modules/.pnpm/@xylabs+logger@6.0.7/node_modules/@xylabs/logger/dist/neutral/index.mjs
|
|
44093
44093
|
var NoOpLogFunction = (..._data) => void 0;
|
|
44094
44094
|
var LogLevel = Enum({
|
|
44095
44095
|
error: 1,
|
|
@@ -44171,7 +44171,7 @@ var SilentLogger = class {
|
|
|
44171
44171
|
warn = NoOpLogFunction;
|
|
44172
44172
|
};
|
|
44173
44173
|
//#endregion
|
|
44174
|
-
//#region ../../node_modules/.pnpm/@xylabs+zod@6.0.
|
|
44174
|
+
//#region ../../node_modules/.pnpm/@xylabs+zod@6.0.7_zod@4.4.3/node_modules/@xylabs/zod/dist/neutral/index.mjs
|
|
44175
44175
|
var formatZodValue = (value) => {
|
|
44176
44176
|
return JSON.stringify(value) ?? String(value);
|
|
44177
44177
|
};
|
|
@@ -44212,7 +44212,7 @@ function zodToFactory(zod, name) {
|
|
|
44212
44212
|
return toFunc;
|
|
44213
44213
|
}
|
|
44214
44214
|
//#endregion
|
|
44215
|
-
//#region ../../node_modules/.pnpm/@xylabs+object@6.0.
|
|
44215
|
+
//#region ../../node_modules/.pnpm/@xylabs+object@6.0.7_zod@4.4.3/node_modules/@xylabs/object/dist/neutral/index-un-deprecated.mjs
|
|
44216
44216
|
var AsTypeFactory = {
|
|
44217
44217
|
create: (typeCheck) => {
|
|
44218
44218
|
const func = (value, assertOrConfig, config) => {
|
|
@@ -44394,7 +44394,7 @@ var toSafeJson = (value, maxDepth = 3) => {
|
|
|
44394
44394
|
};
|
|
44395
44395
|
var ValidatorBase = class extends ObjectWrapper {};
|
|
44396
44396
|
//#endregion
|
|
44397
|
-
//#region ../../node_modules/.pnpm/@xylabs+promise@6.0.
|
|
44397
|
+
//#region ../../node_modules/.pnpm/@xylabs+promise@6.0.7/node_modules/@xylabs/promise/dist/neutral/index.mjs
|
|
44398
44398
|
var fulfilled = (val) => {
|
|
44399
44399
|
return val.status === "fulfilled";
|
|
44400
44400
|
};
|
|
@@ -44424,7 +44424,7 @@ var rejected = (val) => {
|
|
|
44424
44424
|
return val.status === "rejected";
|
|
44425
44425
|
};
|
|
44426
44426
|
//#endregion
|
|
44427
|
-
//#region ../../node_modules/.pnpm/@xylabs+retry@6.0.
|
|
44427
|
+
//#region ../../node_modules/.pnpm/@xylabs+retry@6.0.7/node_modules/@xylabs/retry/dist/neutral/index.mjs
|
|
44428
44428
|
var retry = async (func, config) => {
|
|
44429
44429
|
const { complete = (value) => value !== void 0, retries = 0, interval = 100, backoff = 2 } = config ?? {};
|
|
44430
44430
|
const result = await func();
|
|
@@ -44439,12 +44439,12 @@ var retry = async (func, config) => {
|
|
|
44439
44439
|
});
|
|
44440
44440
|
};
|
|
44441
44441
|
//#endregion
|
|
44442
|
-
//#region ../../node_modules/.pnpm/@xylabs+set@6.0.
|
|
44442
|
+
//#region ../../node_modules/.pnpm/@xylabs+set@6.0.7/node_modules/@xylabs/set/dist/neutral/index.mjs
|
|
44443
44443
|
var difference = (a, b) => {
|
|
44444
44444
|
return new Set([...a].filter((x) => !b.has(x)));
|
|
44445
44445
|
};
|
|
44446
44446
|
//#endregion
|
|
44447
|
-
//#region ../../node_modules/.pnpm/@xylabs+static-implements@6.0.
|
|
44447
|
+
//#region ../../node_modules/.pnpm/@xylabs+static-implements@6.0.7/node_modules/@xylabs/static-implements/dist/neutral/index.mjs
|
|
44448
44448
|
function staticImplements() {
|
|
44449
44449
|
return (constructor) => {};
|
|
44450
44450
|
}
|
|
@@ -45770,7 +45770,7 @@ function multicast(coldObservable) {
|
|
|
45770
45770
|
});
|
|
45771
45771
|
}
|
|
45772
45772
|
//#endregion
|
|
45773
|
-
//#region ../../node_modules/.pnpm/@xylabs+threads@6.0.
|
|
45773
|
+
//#region ../../node_modules/.pnpm/@xylabs+threads@6.0.7_debug@4.4.3_observable-fns@0.6.1/node_modules/@xylabs/threads/dist/node/master/index-node.mjs
|
|
45774
45774
|
var import_src = /* @__PURE__ */ __toESM(require_src$1(), 1);
|
|
45775
45775
|
cpus().length;
|
|
45776
45776
|
function resolveScriptPath(scriptPath, baseURL) {
|
|
@@ -46340,7 +46340,8 @@ var debugSpawn = (0, import_src.default)("threads:master:spawn");
|
|
|
46340
46340
|
var debugThreadUtils = (0, import_src.default)("threads:master:thread-utils");
|
|
46341
46341
|
var isInitMessage = (data) => data?.type === "init";
|
|
46342
46342
|
var isUncaughtErrorMessage = (data) => data?.type === "uncaughtError";
|
|
46343
|
-
var
|
|
46343
|
+
var workerInitTimeout = globalThis.process?.env?.THREADS_WORKER_INIT_TIMEOUT;
|
|
46344
|
+
var initMessageTimeout = workerInitTimeout !== void 0 && workerInitTimeout !== "" ? Number.parseInt(workerInitTimeout, 10) : 1e4;
|
|
46344
46345
|
async function withTimeout(promise, timeoutInMs, errorMessage) {
|
|
46345
46346
|
let timeoutHandle;
|
|
46346
46347
|
const timeout = new Promise((resolve, reject) => {
|
|
@@ -46430,51 +46431,55 @@ async function spawn(worker, options) {
|
|
|
46430
46431
|
getWorkerImplementation().blob;
|
|
46431
46432
|
var Worker2$1 = getWorkerImplementation().default;
|
|
46432
46433
|
//#endregion
|
|
46433
|
-
//#region ../../node_modules/.pnpm
|
|
46434
|
-
|
|
46434
|
+
//#region ../../node_modules/.pnpm/@xyo-network+wasm@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_a930ee1d6c2fa30609c1039f71431a82/node_modules/@xyo-network/wasm/dist/neutral/index.mjs
|
|
46435
|
+
var validate$2 = (bytes) => Promise.resolve(WebAssembly.validate(new Uint8Array(bytes)));
|
|
46436
|
+
var bigInt = async () => {
|
|
46435
46437
|
try {
|
|
46436
|
-
|
|
46437
|
-
|
|
46438
|
-
|
|
46438
|
+
const mod = new Uint8Array([
|
|
46439
|
+
0,
|
|
46440
|
+
97,
|
|
46441
|
+
115,
|
|
46442
|
+
109,
|
|
46443
|
+
1,
|
|
46444
|
+
0,
|
|
46445
|
+
0,
|
|
46446
|
+
0,
|
|
46447
|
+
1,
|
|
46448
|
+
6,
|
|
46449
|
+
1,
|
|
46450
|
+
96,
|
|
46451
|
+
1,
|
|
46452
|
+
126,
|
|
46453
|
+
1,
|
|
46454
|
+
126,
|
|
46455
|
+
3,
|
|
46456
|
+
2,
|
|
46457
|
+
1,
|
|
46458
|
+
0,
|
|
46459
|
+
7,
|
|
46460
|
+
5,
|
|
46461
|
+
1,
|
|
46462
|
+
1,
|
|
46463
|
+
98,
|
|
46464
|
+
0,
|
|
46465
|
+
0,
|
|
46466
|
+
10,
|
|
46467
|
+
6,
|
|
46468
|
+
1,
|
|
46469
|
+
4,
|
|
46470
|
+
0,
|
|
46471
|
+
32,
|
|
46472
|
+
0,
|
|
46473
|
+
11
|
|
46474
|
+
]);
|
|
46475
|
+
const { instance } = await WebAssembly.instantiate(mod);
|
|
46476
|
+
const fn = instance.exports.b;
|
|
46477
|
+
return fn(0n) === 0n;
|
|
46478
|
+
} catch {
|
|
46479
|
+
return false;
|
|
46439
46480
|
}
|
|
46440
|
-
}
|
|
46441
|
-
|
|
46442
|
-
97,
|
|
46443
|
-
115,
|
|
46444
|
-
109,
|
|
46445
|
-
1,
|
|
46446
|
-
0,
|
|
46447
|
-
0,
|
|
46448
|
-
0,
|
|
46449
|
-
1,
|
|
46450
|
-
6,
|
|
46451
|
-
1,
|
|
46452
|
-
96,
|
|
46453
|
-
1,
|
|
46454
|
-
126,
|
|
46455
|
-
1,
|
|
46456
|
-
126,
|
|
46457
|
-
3,
|
|
46458
|
-
2,
|
|
46459
|
-
1,
|
|
46460
|
-
0,
|
|
46461
|
-
7,
|
|
46462
|
-
5,
|
|
46463
|
-
1,
|
|
46464
|
-
1,
|
|
46465
|
-
98,
|
|
46466
|
-
0,
|
|
46467
|
-
0,
|
|
46468
|
-
10,
|
|
46469
|
-
6,
|
|
46470
|
-
1,
|
|
46471
|
-
4,
|
|
46472
|
-
0,
|
|
46473
|
-
32,
|
|
46474
|
-
0,
|
|
46475
|
-
11
|
|
46476
|
-
]));
|
|
46477
|
-
const bulkMemory = async () => WebAssembly.validate(new Uint8Array([
|
|
46481
|
+
};
|
|
46482
|
+
var bulkMemory = () => validate$2([
|
|
46478
46483
|
0,
|
|
46479
46484
|
97,
|
|
46480
46485
|
115,
|
|
@@ -46514,8 +46519,8 @@ const bulkMemory = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46514
46519
|
0,
|
|
46515
46520
|
0,
|
|
46516
46521
|
11
|
|
46517
|
-
])
|
|
46518
|
-
|
|
46522
|
+
]);
|
|
46523
|
+
var exceptions = () => validate$2([
|
|
46519
46524
|
0,
|
|
46520
46525
|
97,
|
|
46521
46526
|
115,
|
|
@@ -46544,8 +46549,8 @@ const exceptions = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46544
46549
|
25,
|
|
46545
46550
|
11,
|
|
46546
46551
|
11
|
|
46547
|
-
])
|
|
46548
|
-
|
|
46552
|
+
]);
|
|
46553
|
+
var extendedConst = () => validate$2([
|
|
46549
46554
|
0,
|
|
46550
46555
|
97,
|
|
46551
46556
|
115,
|
|
@@ -46570,8 +46575,8 @@ const extendedConst = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46570
46575
|
106,
|
|
46571
46576
|
11,
|
|
46572
46577
|
0
|
|
46573
|
-
])
|
|
46574
|
-
|
|
46578
|
+
]);
|
|
46579
|
+
var gc = () => validate$2([
|
|
46575
46580
|
0,
|
|
46576
46581
|
97,
|
|
46577
46582
|
115,
|
|
@@ -46587,8 +46592,8 @@ const gc = () => (async () => WebAssembly.validate(new Uint8Array([
|
|
|
46587
46592
|
1,
|
|
46588
46593
|
120,
|
|
46589
46594
|
0
|
|
46590
|
-
])
|
|
46591
|
-
|
|
46595
|
+
]);
|
|
46596
|
+
var memory64 = () => validate$2([
|
|
46592
46597
|
0,
|
|
46593
46598
|
97,
|
|
46594
46599
|
115,
|
|
@@ -46602,8 +46607,8 @@ const memory64 = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46602
46607
|
1,
|
|
46603
46608
|
4,
|
|
46604
46609
|
1
|
|
46605
|
-
])
|
|
46606
|
-
|
|
46610
|
+
]);
|
|
46611
|
+
var multiValue = () => validate$2([
|
|
46607
46612
|
0,
|
|
46608
46613
|
97,
|
|
46609
46614
|
115,
|
|
@@ -46634,8 +46639,8 @@ const multiValue = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46634
46639
|
65,
|
|
46635
46640
|
0,
|
|
46636
46641
|
11
|
|
46637
|
-
])
|
|
46638
|
-
|
|
46642
|
+
]);
|
|
46643
|
+
var mutableGlobals = () => validate$2([
|
|
46639
46644
|
0,
|
|
46640
46645
|
97,
|
|
46641
46646
|
115,
|
|
@@ -46669,8 +46674,8 @@ const mutableGlobals = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46669
46674
|
97,
|
|
46670
46675
|
3,
|
|
46671
46676
|
1
|
|
46672
|
-
])
|
|
46673
|
-
|
|
46677
|
+
]);
|
|
46678
|
+
var relaxedSimd = () => validate$2([
|
|
46674
46679
|
0,
|
|
46675
46680
|
97,
|
|
46676
46681
|
115,
|
|
@@ -46707,8 +46712,8 @@ const relaxedSimd = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46707
46712
|
128,
|
|
46708
46713
|
2,
|
|
46709
46714
|
11
|
|
46710
|
-
])
|
|
46711
|
-
|
|
46715
|
+
]);
|
|
46716
|
+
var saturatedFloatToInt = () => validate$2([
|
|
46712
46717
|
0,
|
|
46713
46718
|
97,
|
|
46714
46719
|
115,
|
|
@@ -46741,8 +46746,8 @@ const saturatedFloatToInt = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46741
46746
|
0,
|
|
46742
46747
|
26,
|
|
46743
46748
|
11
|
|
46744
|
-
])
|
|
46745
|
-
|
|
46749
|
+
]);
|
|
46750
|
+
var signExtensions = () => validate$2([
|
|
46746
46751
|
0,
|
|
46747
46752
|
97,
|
|
46748
46753
|
115,
|
|
@@ -46771,8 +46776,8 @@ const signExtensions = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46771
46776
|
192,
|
|
46772
46777
|
26,
|
|
46773
46778
|
11
|
|
46774
|
-
])
|
|
46775
|
-
|
|
46779
|
+
]);
|
|
46780
|
+
var simd = () => validate$2([
|
|
46776
46781
|
0,
|
|
46777
46782
|
97,
|
|
46778
46783
|
115,
|
|
@@ -46804,9 +46809,9 @@ const simd = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46804
46809
|
253,
|
|
46805
46810
|
98,
|
|
46806
46811
|
11
|
|
46807
|
-
])
|
|
46808
|
-
|
|
46809
|
-
|
|
46812
|
+
]);
|
|
46813
|
+
var streamingCompilation = () => Promise.resolve("compileStreaming" in WebAssembly);
|
|
46814
|
+
var tailCall = () => validate$2([
|
|
46810
46815
|
0,
|
|
46811
46816
|
97,
|
|
46812
46817
|
115,
|
|
@@ -46833,54 +46838,60 @@ const tailCall = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46833
46838
|
18,
|
|
46834
46839
|
0,
|
|
46835
46840
|
11
|
|
46836
|
-
])
|
|
46837
|
-
|
|
46841
|
+
]);
|
|
46842
|
+
var threads = async () => {
|
|
46838
46843
|
try {
|
|
46839
|
-
|
|
46840
|
-
|
|
46841
|
-
|
|
46844
|
+
if (!(typeof MessageChannel !== "undefined" && (() => {
|
|
46845
|
+
try {
|
|
46846
|
+
new MessageChannel().port1.postMessage(new SharedArrayBuffer(1));
|
|
46847
|
+
return true;
|
|
46848
|
+
} catch {
|
|
46849
|
+
return false;
|
|
46850
|
+
}
|
|
46851
|
+
})())) return false;
|
|
46852
|
+
return WebAssembly.validate(new Uint8Array([
|
|
46853
|
+
0,
|
|
46854
|
+
97,
|
|
46855
|
+
115,
|
|
46856
|
+
109,
|
|
46857
|
+
1,
|
|
46858
|
+
0,
|
|
46859
|
+
0,
|
|
46860
|
+
0,
|
|
46861
|
+
1,
|
|
46862
|
+
4,
|
|
46863
|
+
1,
|
|
46864
|
+
96,
|
|
46865
|
+
0,
|
|
46866
|
+
0,
|
|
46867
|
+
3,
|
|
46868
|
+
2,
|
|
46869
|
+
1,
|
|
46870
|
+
0,
|
|
46871
|
+
5,
|
|
46872
|
+
4,
|
|
46873
|
+
1,
|
|
46874
|
+
3,
|
|
46875
|
+
1,
|
|
46876
|
+
1,
|
|
46877
|
+
10,
|
|
46878
|
+
11,
|
|
46879
|
+
1,
|
|
46880
|
+
9,
|
|
46881
|
+
0,
|
|
46882
|
+
65,
|
|
46883
|
+
0,
|
|
46884
|
+
254,
|
|
46885
|
+
16,
|
|
46886
|
+
2,
|
|
46887
|
+
0,
|
|
46888
|
+
26,
|
|
46889
|
+
11
|
|
46890
|
+
]));
|
|
46891
|
+
} catch {
|
|
46892
|
+
return false;
|
|
46842
46893
|
}
|
|
46843
|
-
}
|
|
46844
|
-
0,
|
|
46845
|
-
97,
|
|
46846
|
-
115,
|
|
46847
|
-
109,
|
|
46848
|
-
1,
|
|
46849
|
-
0,
|
|
46850
|
-
0,
|
|
46851
|
-
0,
|
|
46852
|
-
1,
|
|
46853
|
-
4,
|
|
46854
|
-
1,
|
|
46855
|
-
96,
|
|
46856
|
-
0,
|
|
46857
|
-
0,
|
|
46858
|
-
3,
|
|
46859
|
-
2,
|
|
46860
|
-
1,
|
|
46861
|
-
0,
|
|
46862
|
-
5,
|
|
46863
|
-
4,
|
|
46864
|
-
1,
|
|
46865
|
-
3,
|
|
46866
|
-
1,
|
|
46867
|
-
1,
|
|
46868
|
-
10,
|
|
46869
|
-
11,
|
|
46870
|
-
1,
|
|
46871
|
-
9,
|
|
46872
|
-
0,
|
|
46873
|
-
65,
|
|
46874
|
-
0,
|
|
46875
|
-
254,
|
|
46876
|
-
16,
|
|
46877
|
-
2,
|
|
46878
|
-
0,
|
|
46879
|
-
26,
|
|
46880
|
-
11
|
|
46881
|
-
]));
|
|
46882
|
-
//#endregion
|
|
46883
|
-
//#region ../../node_modules/.pnpm/@xyo-network+wasm@6.0.5_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_6b4c3c48354c672407241b07c21c7502/node_modules/@xyo-network/wasm/dist/neutral/index.mjs
|
|
46894
|
+
};
|
|
46884
46895
|
var WasmFeatureDetectors = {
|
|
46885
46896
|
bigInt,
|
|
46886
46897
|
bulkMemory,
|
|
@@ -47011,7 +47022,7 @@ var WasmSupport = class _WasmSupport {
|
|
|
47011
47022
|
* @license MIT
|
|
47012
47023
|
*/
|
|
47013
47024
|
//#endregion
|
|
47014
|
-
//#region ../../node_modules/.pnpm/@xyo-network+hash@6.0.
|
|
47025
|
+
//#region ../../node_modules/.pnpm/@xyo-network+hash@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_789248af8c2588b6d4ba478718e00065/node_modules/@xyo-network/hash/dist/node/index.mjs
|
|
47015
47026
|
var import_index_umd = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
47016
47027
|
(function(global, factory) {
|
|
47017
47028
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.hashwasm = {}));
|
|
@@ -49431,7 +49442,7 @@ var NodeObjectHasher = class extends ObjectHasher {
|
|
|
49431
49442
|
static createNodeWorker = createNodeWorker;
|
|
49432
49443
|
};
|
|
49433
49444
|
//#endregion
|
|
49434
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-model@6.0.
|
|
49445
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_b1df9e8a9d1f8327b88a592a4adf0ba9/node_modules/@xyo-network/payload-model/dist/neutral/index.mjs
|
|
49435
49446
|
var SchemaRegEx = /^(?:[a-z0-9]+\.)*[a-z0-9]+$/;
|
|
49436
49447
|
var SchemaZod = /* @__PURE__ */ pipe$1((/* @__PURE__ */ string$3()).check(/* @__PURE__ */ _regex(SchemaRegEx)), /* @__PURE__ */ transform$1((v) => v));
|
|
49437
49448
|
var isSchema = zodIsFactory(SchemaZod);
|
|
@@ -49651,7 +49662,7 @@ var isPayloadBundle = zodIsFactory(PayloadBundleZod);
|
|
|
49651
49662
|
zodToFactory(PayloadBundleZod, "asPayloadBundle");
|
|
49652
49663
|
asSchema("network.xyo.payload.set", true);
|
|
49653
49664
|
//#endregion
|
|
49654
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-builder@6.0.
|
|
49665
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-builder@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-ba_1678cee6d1538095ee7886d63640c2a3/node_modules/@xyo-network/payload-builder/dist/neutral/index.mjs
|
|
49655
49666
|
var omitSchema = (payload) => {
|
|
49656
49667
|
const result = structuredClone(payload);
|
|
49657
49668
|
delete result.schema;
|
|
@@ -49822,7 +49833,7 @@ var PayloadBuilder = class _PayloadBuilder {
|
|
|
49822
49833
|
}
|
|
49823
49834
|
};
|
|
49824
49835
|
//#endregion
|
|
49825
|
-
//#region ../../node_modules/.pnpm/@xyo-network+schema-name-validator@6.0.
|
|
49836
|
+
//#region ../../node_modules/.pnpm/@xyo-network+schema-name-validator@6.0.7/node_modules/@xyo-network/schema-name-validator/dist/neutral/index.mjs
|
|
49826
49837
|
var SchemaNameValidator = class {
|
|
49827
49838
|
schema;
|
|
49828
49839
|
_parts;
|
|
@@ -49889,7 +49900,7 @@ var SchemaNameValidator = class {
|
|
|
49889
49900
|
}
|
|
49890
49901
|
};
|
|
49891
49902
|
//#endregion
|
|
49892
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-validator@6.0.
|
|
49903
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-validator@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-_20e4dd4413f40d2f798108058baa7ba4/node_modules/@xyo-network/payload-validator/dist/neutral/index.mjs
|
|
49893
49904
|
var defaultSchemaNameValidatorFactory = (schema) => new SchemaNameValidator(schema);
|
|
49894
49905
|
var PayloadValidator = class _PayloadValidator extends ValidatorBase {
|
|
49895
49906
|
static schemaNameValidatorFactory = defaultSchemaNameValidatorFactory;
|
|
@@ -49918,7 +49929,7 @@ var PayloadValidator = class _PayloadValidator extends ValidatorBase {
|
|
|
49918
49929
|
}
|
|
49919
49930
|
};
|
|
49920
49931
|
//#endregion
|
|
49921
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-wrapper@6.0.
|
|
49932
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-wrapper@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-ba_7b5de49a6826325263528b99ab8e02ba/node_modules/@xyo-network/payload-wrapper/dist/neutral/index.mjs
|
|
49922
49933
|
var isPayloadWrapperBase = (value) => {
|
|
49923
49934
|
return value instanceof PayloadWrapperBase;
|
|
49924
49935
|
};
|
|
@@ -50031,10 +50042,10 @@ var payloadJsonSchema = {
|
|
|
50031
50042
|
type: "object"
|
|
50032
50043
|
};
|
|
50033
50044
|
//#endregion
|
|
50034
|
-
//#region ../../node_modules/.pnpm/@xyo-network+config-payload-plugin@6.0.
|
|
50045
|
+
//#region ../../node_modules/.pnpm/@xyo-network+config-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tr_ddf95e6b23c0e99cc5c7eaf424daf6a7/node_modules/@xyo-network/config-payload-plugin/dist/neutral/index.mjs
|
|
50035
50046
|
var ConfigSchema = asSchema("network.xyo.config", true);
|
|
50036
50047
|
//#endregion
|
|
50037
|
-
//#region ../../node_modules/.pnpm/@xyo-network+account-model@6.0.
|
|
50048
|
+
//#region ../../node_modules/.pnpm/@xyo-network+account-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_608fbe0e95760dcbc9bab73feb722d59/node_modules/@xyo-network/account-model/dist/neutral/index.mjs
|
|
50038
50049
|
var isPhraseInitializationConfig = (value) => {
|
|
50039
50050
|
if (typeof value === "object" && value !== null) return typeof value.phrase === "string";
|
|
50040
50051
|
return false;
|
|
@@ -50066,6 +50077,9 @@ function stripAddressPrefix(address) {
|
|
|
50066
50077
|
const underscore = address.indexOf("_");
|
|
50067
50078
|
return underscore === -1 ? address : address.slice(underscore + 1);
|
|
50068
50079
|
}
|
|
50080
|
+
function addressTo20Bytes(address) {
|
|
50081
|
+
return toUint8Array(stripAddressPrefix(address), 20).buffer;
|
|
50082
|
+
}
|
|
50069
50083
|
var JwtAlg = Enum({ ES256K: "ES256K" });
|
|
50070
50084
|
var JwtTyp = Enum({ JWT: "JWT" });
|
|
50071
50085
|
var JwtSchema = Enum({ Signin: "network.xyo.auth.signin" });
|
|
@@ -50079,11 +50093,6 @@ async function verifySignature(address, hash, signature) {
|
|
|
50079
50093
|
if (!fn) throw new Error(`No verifier registered for algorithm [${algorithm}]. Did you import the account package?`);
|
|
50080
50094
|
return await fn(address, hash, signature);
|
|
50081
50095
|
}
|
|
50082
|
-
var XyoAddressRegEx = /^(?:qr1_)?[0-9a-f]{40}$/;
|
|
50083
|
-
var XyoAddressZod = AddressZod;
|
|
50084
|
-
function addressTo20Bytes(address) {
|
|
50085
|
-
return toUint8Array(stripAddressPrefix(address), 20).buffer;
|
|
50086
|
-
}
|
|
50087
50096
|
//#endregion
|
|
50088
50097
|
//#region ../../node_modules/.pnpm/@bitauth+libauth@3.0.0/node_modules/@bitauth/libauth/build/lib/format/base64.js
|
|
50089
50098
|
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
@@ -50882,7 +50891,18 @@ const hasBase64Builtin = /* @__PURE__ */ (() => typeof Uint8Array.from([]).toBas
|
|
|
50882
50891
|
hasBase64Builtin || chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), padding(6), join$1(""));
|
|
50883
50892
|
chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), join$1(""));
|
|
50884
50893
|
hasBase64Builtin || chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), padding(6), join$1(""));
|
|
50885
|
-
|
|
50894
|
+
/**
|
|
50895
|
+
* base64 from RFC 4648, using URL-safe alphabet. No padding.
|
|
50896
|
+
* Use `base64url` for padded version.
|
|
50897
|
+
* @example
|
|
50898
|
+
* ```js
|
|
50899
|
+
* base64urlnopad.encode(Uint8Array.from([0x12, 0xab]));
|
|
50900
|
+
* // => 'Eqs'
|
|
50901
|
+
* base64urlnopad.decode('Eqs');
|
|
50902
|
+
* // => Uint8Array.from([0x12, 0xab])
|
|
50903
|
+
* ```
|
|
50904
|
+
*/
|
|
50905
|
+
const base64urlnopad = /* @__PURE__ */ Object.freeze(chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), join$1("")));
|
|
50886
50906
|
const genBase58 = /* @__NO_SIDE_EFFECTS__ */ (abc) => chain(radix(58), alphabet(abc), join$1(""));
|
|
50887
50907
|
/**
|
|
50888
50908
|
* base58: base64 without ambigous characters +, /, 0, O, I, l.
|
|
@@ -50994,7 +51014,7 @@ genBech32("bech32m");
|
|
|
50994
51014
|
return s.toLowerCase();
|
|
50995
51015
|
}));
|
|
50996
51016
|
//#endregion
|
|
50997
|
-
//#region ../../node_modules/.pnpm/@xyo-network+data@6.0.
|
|
51017
|
+
//#region ../../node_modules/.pnpm/@xyo-network+data@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_b985dba4ece598280ee656c4918a8332/node_modules/@xyo-network/data/dist/neutral/index.mjs
|
|
50998
51018
|
var AbstractData = class _AbstractData {
|
|
50999
51019
|
get length() {
|
|
51000
51020
|
return this.bytes.byteLength;
|
|
@@ -51034,7 +51054,7 @@ var Data = class _Data extends AbstractData {
|
|
|
51034
51054
|
}
|
|
51035
51055
|
};
|
|
51036
51056
|
//#endregion
|
|
51037
|
-
//#region ../../node_modules/.pnpm/@xyo-network+elliptic@6.0.
|
|
51057
|
+
//#region ../../node_modules/.pnpm/@xyo-network+elliptic@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@openteleme_0f0f208c519ba0bac12da41a362522c5/node_modules/@xyo-network/elliptic/dist/neutral/index.mjs
|
|
51038
51058
|
var wasmSupportStatic = new WasmSupport([
|
|
51039
51059
|
"bigInt",
|
|
51040
51060
|
"mutableGlobals",
|
|
@@ -51109,7 +51129,7 @@ var Elliptic = class {
|
|
|
51109
51129
|
}
|
|
51110
51130
|
};
|
|
51111
51131
|
//#endregion
|
|
51112
|
-
//#region ../../node_modules/.pnpm/@xyo-network+account@6.0.
|
|
51132
|
+
//#region ../../node_modules/.pnpm/@xyo-network+account@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@opentelemet_a89412474eb517916902d1e74c851d50/node_modules/@xyo-network/account/dist/neutral/index.mjs
|
|
51113
51133
|
var __defProp$27 = Object.defineProperty;
|
|
51114
51134
|
var __getOwnPropDesc$26 = Object.getOwnPropertyDescriptor;
|
|
51115
51135
|
var __defNormalProp$24 = (obj, key, value) => key in obj ? __defProp$27(obj, key, {
|
|
@@ -51130,10 +51150,10 @@ registerVerifier("secp256k1", async (address, hash, signature) => {
|
|
|
51130
51150
|
return await Elliptic.verify(hash, signature, addressTo20Bytes(address));
|
|
51131
51151
|
});
|
|
51132
51152
|
function base64urlEncode(bytes) {
|
|
51133
|
-
return
|
|
51153
|
+
return base64urlnopad.encode(bytes);
|
|
51134
51154
|
}
|
|
51135
51155
|
function base64urlDecode(value) {
|
|
51136
|
-
return
|
|
51156
|
+
return base64urlnopad.decode(value);
|
|
51137
51157
|
}
|
|
51138
51158
|
function base64urlEncodeJson(value) {
|
|
51139
51159
|
return base64urlEncode(new TextEncoder().encode(JSON.stringify(value)));
|
|
@@ -51461,14 +51481,14 @@ __publicField$24(Account, "_addressMap", {});
|
|
|
51461
51481
|
__publicField$24(Account, "_protectedConstructorKey", /* @__PURE__ */ Symbol());
|
|
51462
51482
|
Account = __decorateClass$26([staticImplements()], Account);
|
|
51463
51483
|
//#endregion
|
|
51464
|
-
//#region ../../node_modules/.pnpm/@xyo-network+query-payload-plugin@6.0.
|
|
51484
|
+
//#region ../../node_modules/.pnpm/@xyo-network+query-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tra_08aae63b13b1cf8a8072dc95a3be828e/node_modules/@xyo-network/query-payload-plugin/dist/neutral/index.mjs
|
|
51465
51485
|
var QuerySchema = asSchema("network.xyo.query", true);
|
|
51466
51486
|
//#endregion
|
|
51467
|
-
//#region ../../node_modules/.pnpm/@xyo-network+schema-payload-plugin@6.0.
|
|
51487
|
+
//#region ../../node_modules/.pnpm/@xyo-network+schema-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tr_a5ceef9ab175d78a060ab3e129561725/node_modules/@xyo-network/schema-payload-plugin/dist/neutral/index.mjs
|
|
51468
51488
|
var SchemaSchema = asSchema("network.xyo.schema", true);
|
|
51469
51489
|
var isSchemaPayload = isPayloadOfSchemaType(SchemaSchema);
|
|
51470
51490
|
//#endregion
|
|
51471
|
-
//#region ../../node_modules/.pnpm/@xyo-network+manifest-model@6.0.
|
|
51491
|
+
//#region ../../node_modules/.pnpm/@xyo-network+manifest-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-bas_a27d359f73d335c7e6589e532f9fbfc2/node_modules/@xyo-network/manifest-model/dist/neutral/index.mjs
|
|
51472
51492
|
var isString$1 = (value) => typeof value === "string";
|
|
51473
51493
|
var asBrandedZod = (schema) => {
|
|
51474
51494
|
return /* @__PURE__ */ pipe$1(schema, /* @__PURE__ */ transform$1((value) => value));
|
|
@@ -51543,19 +51563,29 @@ zodToFactory(/* @__PURE__ */ extend(NodeManifestZod, { schema: /* @__PURE__ */ l
|
|
|
51543
51563
|
zodToFactory(/* @__PURE__ */ extend(ModuleManifestZod, { schema: /* @__PURE__ */ union$2([/* @__PURE__ */ literal$2(ModuleManifestPayloadSchema), /* @__PURE__ */ literal$2(NodeManifestPayloadSchema)]) }), "toModuleManifestPayload");
|
|
51544
51564
|
zodToFactory(/* @__PURE__ */ extend(PackageManifestZod, { schema: /* @__PURE__ */ literal$2(PackageManifestPayloadSchema) }), "toPackageManifestPayload");
|
|
51545
51565
|
//#endregion
|
|
51546
|
-
//#region ../../node_modules/.pnpm/@xyo-network+
|
|
51566
|
+
//#region ../../node_modules/.pnpm/@xyo-network+address@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_139a0bcc54e2aab42e9bb956d81e8cca/node_modules/@xyo-network/address/dist/neutral/index.mjs
|
|
51567
|
+
var XyoLegacyAddressZod = AddressZod;
|
|
51568
|
+
zodToFactory(XyoLegacyAddressZod, "toXyoLegacyAddress");
|
|
51569
|
+
var XyoQuant1AddressZod = /* @__PURE__ */ pipe$1((/* @__PURE__ */ string$3()).check(/* @__PURE__ */ _regex(/^qr1_[0-9a-f]{40}$/)), /* @__PURE__ */ transform$1((v) => v));
|
|
51570
|
+
zodToFactory(XyoQuant1AddressZod, "toXyoQuant1Address");
|
|
51571
|
+
var XyoAddressRegEx = /^(?:qr1_)?[0-9a-f]{40}$/;
|
|
51572
|
+
var XyoAddressZod = /* @__PURE__ */ union$2([XyoLegacyAddressZod, XyoQuant1AddressZod]);
|
|
51573
|
+
var asXyoAddress = zodAsFactory(XyoAddressZod, "asXyoAddress");
|
|
51574
|
+
var toXyoAddress = zodToFactory(XyoAddressZod, "toXyoAddress");
|
|
51575
|
+
//#endregion
|
|
51576
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace_62fb41e5307635fedda703bcbd6df99b/node_modules/@xyo-network/boundwitness-model/dist/neutral/index.mjs
|
|
51547
51577
|
var BoundWitnessSchema = asSchema("network.xyo.boundwitness", true);
|
|
51548
51578
|
var SignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: /* @__PURE__ */ array$2(/* @__PURE__ */ union$2([HexZod, /* @__PURE__ */ _null$1()])) });
|
|
51549
51579
|
var UnsignedSignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: /* @__PURE__ */ array$2(/* @__PURE__ */ _null$1()) });
|
|
51550
51580
|
var SignedSignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: (/* @__PURE__ */ array$2(HexZod)).check(/* @__PURE__ */ _minLength(1)) });
|
|
51551
51581
|
var BoundWitnessRequiredFieldsZod = /* @__PURE__ */ object$4({
|
|
51552
|
-
addresses: /* @__PURE__ */ array$2(
|
|
51582
|
+
addresses: /* @__PURE__ */ array$2(XyoAddressZod),
|
|
51553
51583
|
payload_hashes: /* @__PURE__ */ array$2(HashZod),
|
|
51554
51584
|
payload_schemas: /* @__PURE__ */ array$2(SchemaZod),
|
|
51555
51585
|
previous_hashes: /* @__PURE__ */ array$2(/* @__PURE__ */ nullable$2(HashZod))
|
|
51556
51586
|
});
|
|
51557
51587
|
var BoundWitnessMetaZod = /* @__PURE__ */ extend(/* @__PURE__ */ object$4({
|
|
51558
|
-
$destination: /* @__PURE__ */ optional$2(
|
|
51588
|
+
$destination: /* @__PURE__ */ optional$2(XyoAddressZod),
|
|
51559
51589
|
$sourceQuery: /* @__PURE__ */ optional$2(HashZod)
|
|
51560
51590
|
}), SignaturesMetaZod.shape);
|
|
51561
51591
|
var BoundWitnessZod = /* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(PayloadZod, { schema: /* @__PURE__ */ literal$2(BoundWitnessSchema) }), BoundWitnessRequiredFieldsZod.shape), BoundWitnessMetaZod.shape);
|
|
@@ -51569,7 +51599,7 @@ var UnsignedBoundWitnessZod = /* @__PURE__ */ extend(BoundWitnessZod, UnsignedSi
|
|
|
51569
51599
|
UnsignedBoundWitnessZod.shape;
|
|
51570
51600
|
var isQueryBoundWitness = (x) => isBoundWitness(x) && x?.query !== void 0;
|
|
51571
51601
|
//#endregion
|
|
51572
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-builder@6.0.
|
|
51602
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-builder@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_2c018070516641ba80a4096e3e348867/node_modules/@xyo-network/boundwitness-builder/dist/neutral/index.mjs
|
|
51573
51603
|
var GeneratedBoundWitnessFields = [
|
|
51574
51604
|
"addresses",
|
|
51575
51605
|
"payload_hashes",
|
|
@@ -51768,7 +51798,7 @@ var QueryBoundWitnessBuilder = class extends BoundWitnessBuilder {
|
|
|
51768
51798
|
}
|
|
51769
51799
|
};
|
|
51770
51800
|
//#endregion
|
|
51771
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-validator@6.0.
|
|
51801
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-validator@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9_bdb28e94a96c9bb1978a757516efb7df/node_modules/@xyo-network/boundwitness-validator/dist/neutral/index.mjs
|
|
51772
51802
|
var boundWitnessArrayPropertyContains = (bw, prop, value) => {
|
|
51773
51803
|
return bw[prop]?.includes(value);
|
|
51774
51804
|
};
|
|
@@ -51858,7 +51888,7 @@ var BoundWitnessValidator = class _BoundWitnessValidator extends PayloadValidato
|
|
|
51858
51888
|
}
|
|
51859
51889
|
};
|
|
51860
51890
|
//#endregion
|
|
51861
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-wrapper@6.0.
|
|
51891
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-wrapper@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_2eb99cf81f197b3b6ac6b773b6f1239f/node_modules/@xyo-network/boundwitness-wrapper/dist/neutral/index.mjs
|
|
51862
51892
|
var isBoundWitnessWrapper = (value) => {
|
|
51863
51893
|
if (isPayloadWrapperBase(value)) return typeof value.payloadsDataHashMap === "function";
|
|
51864
51894
|
return false;
|
|
@@ -52316,266 +52346,6 @@ const oidNist = (suffix) => ({ oid: Uint8Array.from([
|
|
|
52316
52346
|
suffix
|
|
52317
52347
|
]) });
|
|
52318
52348
|
//#endregion
|
|
52319
|
-
//#region ../../node_modules/.pnpm/store2@2.14.4/node_modules/store2/dist/store2.js
|
|
52320
|
-
var require_store2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52321
|
-
/*! store2 - v2.14.4 - 2024-12-26
|
|
52322
|
-
* Copyright (c) 2024 Nathan Bubna; Licensed MIT */
|
|
52323
|
-
(function(window, define) {
|
|
52324
|
-
var _ = {
|
|
52325
|
-
version: "2.14.4",
|
|
52326
|
-
areas: {},
|
|
52327
|
-
apis: {},
|
|
52328
|
-
nsdelim: ".",
|
|
52329
|
-
inherit: function(api, o) {
|
|
52330
|
-
for (var p in api) if (!o.hasOwnProperty(p)) Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(api, p));
|
|
52331
|
-
return o;
|
|
52332
|
-
},
|
|
52333
|
-
stringify: function(d, fn) {
|
|
52334
|
-
return d === void 0 || typeof d === "function" ? d + "" : JSON.stringify(d, fn || _.replace);
|
|
52335
|
-
},
|
|
52336
|
-
parse: function(s, fn) {
|
|
52337
|
-
try {
|
|
52338
|
-
return JSON.parse(s, fn || _.revive);
|
|
52339
|
-
} catch (e) {
|
|
52340
|
-
return s;
|
|
52341
|
-
}
|
|
52342
|
-
},
|
|
52343
|
-
fn: function(name, fn) {
|
|
52344
|
-
_.storeAPI[name] = fn;
|
|
52345
|
-
for (var api in _.apis) _.apis[api][name] = fn;
|
|
52346
|
-
},
|
|
52347
|
-
get: function(area, key) {
|
|
52348
|
-
return area.getItem(key);
|
|
52349
|
-
},
|
|
52350
|
-
set: function(area, key, string) {
|
|
52351
|
-
area.setItem(key, string);
|
|
52352
|
-
},
|
|
52353
|
-
remove: function(area, key) {
|
|
52354
|
-
area.removeItem(key);
|
|
52355
|
-
},
|
|
52356
|
-
key: function(area, i) {
|
|
52357
|
-
return area.key(i);
|
|
52358
|
-
},
|
|
52359
|
-
length: function(area) {
|
|
52360
|
-
return area.length;
|
|
52361
|
-
},
|
|
52362
|
-
clear: function(area) {
|
|
52363
|
-
area.clear();
|
|
52364
|
-
},
|
|
52365
|
-
Store: function(id, area, namespace) {
|
|
52366
|
-
var store = _.inherit(_.storeAPI, function(key, data, overwrite) {
|
|
52367
|
-
if (arguments.length === 0) return store.getAll();
|
|
52368
|
-
if (typeof data === "function") return store.transact(key, data, overwrite);
|
|
52369
|
-
if (data !== void 0) return store.set(key, data, overwrite);
|
|
52370
|
-
if (typeof key === "string" || typeof key === "number") return store.get(key);
|
|
52371
|
-
if (typeof key === "function") return store.each(key);
|
|
52372
|
-
if (!key) return store.clear();
|
|
52373
|
-
return store.setAll(key, data);
|
|
52374
|
-
});
|
|
52375
|
-
store._id = id;
|
|
52376
|
-
try {
|
|
52377
|
-
var testKey = "__store2_test";
|
|
52378
|
-
area.setItem(testKey, "ok");
|
|
52379
|
-
store._area = area;
|
|
52380
|
-
area.removeItem(testKey);
|
|
52381
|
-
} catch (e) {
|
|
52382
|
-
store._area = _.storage("fake");
|
|
52383
|
-
}
|
|
52384
|
-
store._ns = namespace || "";
|
|
52385
|
-
if (!_.areas[id]) _.areas[id] = store._area;
|
|
52386
|
-
if (!_.apis[store._ns + store._id]) _.apis[store._ns + store._id] = store;
|
|
52387
|
-
return store;
|
|
52388
|
-
},
|
|
52389
|
-
storeAPI: {
|
|
52390
|
-
area: function(id, area) {
|
|
52391
|
-
var store = this[id];
|
|
52392
|
-
if (!store || !store.area) {
|
|
52393
|
-
store = _.Store(id, area, this._ns);
|
|
52394
|
-
if (!this[id]) this[id] = store;
|
|
52395
|
-
}
|
|
52396
|
-
return store;
|
|
52397
|
-
},
|
|
52398
|
-
namespace: function(namespace, singleArea, delim) {
|
|
52399
|
-
delim = delim || this._delim || _.nsdelim;
|
|
52400
|
-
if (!namespace) return this._ns ? this._ns.substring(0, this._ns.length - delim.length) : "";
|
|
52401
|
-
var ns = namespace, store = this[ns];
|
|
52402
|
-
if (!store || !store.namespace) {
|
|
52403
|
-
store = _.Store(this._id, this._area, this._ns + ns + delim);
|
|
52404
|
-
store._delim = delim;
|
|
52405
|
-
if (!this[ns]) this[ns] = store;
|
|
52406
|
-
if (!singleArea) for (var name in _.areas) store.area(name, _.areas[name]);
|
|
52407
|
-
}
|
|
52408
|
-
return store;
|
|
52409
|
-
},
|
|
52410
|
-
isFake: function(force) {
|
|
52411
|
-
if (force) {
|
|
52412
|
-
this._real = this._area;
|
|
52413
|
-
this._area = _.storage("fake");
|
|
52414
|
-
} else if (force === false) this._area = this._real || this._area;
|
|
52415
|
-
return this._area.name === "fake";
|
|
52416
|
-
},
|
|
52417
|
-
toString: function() {
|
|
52418
|
-
return "store" + (this._ns ? "." + this.namespace() : "") + "[" + this._id + "]";
|
|
52419
|
-
},
|
|
52420
|
-
has: function(key) {
|
|
52421
|
-
if (this._area.has) return this._area.has(this._in(key));
|
|
52422
|
-
return !!(this._in(key) in this._area);
|
|
52423
|
-
},
|
|
52424
|
-
size: function() {
|
|
52425
|
-
return this.keys().length;
|
|
52426
|
-
},
|
|
52427
|
-
each: function(fn, fill) {
|
|
52428
|
-
for (var i = 0, m = _.length(this._area); i < m; i++) {
|
|
52429
|
-
var key = this._out(_.key(this._area, i));
|
|
52430
|
-
if (key !== void 0) {
|
|
52431
|
-
if (fn.call(this, key, this.get(key), fill) === false) break;
|
|
52432
|
-
}
|
|
52433
|
-
if (m > _.length(this._area)) {
|
|
52434
|
-
m--;
|
|
52435
|
-
i--;
|
|
52436
|
-
}
|
|
52437
|
-
}
|
|
52438
|
-
return fill || this;
|
|
52439
|
-
},
|
|
52440
|
-
keys: function(fillList) {
|
|
52441
|
-
return this.each(function(k, v, list) {
|
|
52442
|
-
list.push(k);
|
|
52443
|
-
}, fillList || []);
|
|
52444
|
-
},
|
|
52445
|
-
get: function(key, alt) {
|
|
52446
|
-
var s = _.get(this._area, this._in(key)), fn;
|
|
52447
|
-
if (typeof alt === "function") {
|
|
52448
|
-
fn = alt;
|
|
52449
|
-
alt = null;
|
|
52450
|
-
}
|
|
52451
|
-
return s !== null ? _.parse(s, fn) : alt != null ? alt : s;
|
|
52452
|
-
},
|
|
52453
|
-
getAll: function(fillObj) {
|
|
52454
|
-
return this.each(function(k, v, all) {
|
|
52455
|
-
all[k] = v;
|
|
52456
|
-
}, fillObj || {});
|
|
52457
|
-
},
|
|
52458
|
-
transact: function(key, fn, alt) {
|
|
52459
|
-
var val = this.get(key, alt), ret = fn(val);
|
|
52460
|
-
this.set(key, ret === void 0 ? val : ret);
|
|
52461
|
-
return this;
|
|
52462
|
-
},
|
|
52463
|
-
set: function(key, data, overwrite) {
|
|
52464
|
-
var d = this.get(key), replacer;
|
|
52465
|
-
if (d != null && overwrite === false) return data;
|
|
52466
|
-
if (typeof overwrite === "function") {
|
|
52467
|
-
replacer = overwrite;
|
|
52468
|
-
overwrite = void 0;
|
|
52469
|
-
}
|
|
52470
|
-
return _.set(this._area, this._in(key), _.stringify(data, replacer), overwrite) || d;
|
|
52471
|
-
},
|
|
52472
|
-
setAll: function(data, overwrite) {
|
|
52473
|
-
var changed, val;
|
|
52474
|
-
for (var key in data) {
|
|
52475
|
-
val = data[key];
|
|
52476
|
-
if (this.set(key, val, overwrite) !== val) changed = true;
|
|
52477
|
-
}
|
|
52478
|
-
return changed;
|
|
52479
|
-
},
|
|
52480
|
-
add: function(key, data, replacer) {
|
|
52481
|
-
var d = this.get(key);
|
|
52482
|
-
if (d instanceof Array) data = d.concat(data);
|
|
52483
|
-
else if (d !== null) {
|
|
52484
|
-
var type = typeof d;
|
|
52485
|
-
if (type === typeof data && type === "object") {
|
|
52486
|
-
for (var k in data) d[k] = data[k];
|
|
52487
|
-
data = d;
|
|
52488
|
-
} else data = d + data;
|
|
52489
|
-
}
|
|
52490
|
-
_.set(this._area, this._in(key), _.stringify(data, replacer));
|
|
52491
|
-
return data;
|
|
52492
|
-
},
|
|
52493
|
-
remove: function(key, alt) {
|
|
52494
|
-
var d = this.get(key, alt);
|
|
52495
|
-
_.remove(this._area, this._in(key));
|
|
52496
|
-
return d;
|
|
52497
|
-
},
|
|
52498
|
-
clear: function() {
|
|
52499
|
-
if (!this._ns) _.clear(this._area);
|
|
52500
|
-
else this.each(function(k) {
|
|
52501
|
-
_.remove(this._area, this._in(k));
|
|
52502
|
-
}, 1);
|
|
52503
|
-
return this;
|
|
52504
|
-
},
|
|
52505
|
-
clearAll: function() {
|
|
52506
|
-
var area = this._area;
|
|
52507
|
-
for (var id in _.areas) if (_.areas.hasOwnProperty(id)) {
|
|
52508
|
-
this._area = _.areas[id];
|
|
52509
|
-
this.clear();
|
|
52510
|
-
}
|
|
52511
|
-
this._area = area;
|
|
52512
|
-
return this;
|
|
52513
|
-
},
|
|
52514
|
-
_in: function(k) {
|
|
52515
|
-
if (typeof k !== "string") k = _.stringify(k);
|
|
52516
|
-
return this._ns ? this._ns + k : k;
|
|
52517
|
-
},
|
|
52518
|
-
_out: function(k) {
|
|
52519
|
-
return this._ns ? k && k.indexOf(this._ns) === 0 ? k.substring(this._ns.length) : void 0 : k;
|
|
52520
|
-
}
|
|
52521
|
-
},
|
|
52522
|
-
storage: function(name) {
|
|
52523
|
-
return _.inherit(_.storageAPI, {
|
|
52524
|
-
items: {},
|
|
52525
|
-
name
|
|
52526
|
-
});
|
|
52527
|
-
},
|
|
52528
|
-
storageAPI: {
|
|
52529
|
-
length: 0,
|
|
52530
|
-
has: function(k) {
|
|
52531
|
-
return this.items.hasOwnProperty(k);
|
|
52532
|
-
},
|
|
52533
|
-
key: function(i) {
|
|
52534
|
-
var c = 0;
|
|
52535
|
-
for (var k in this.items) if (this.has(k) && i === c++) return k;
|
|
52536
|
-
},
|
|
52537
|
-
setItem: function(k, v) {
|
|
52538
|
-
if (!this.has(k)) this.length++;
|
|
52539
|
-
this.items[k] = v;
|
|
52540
|
-
},
|
|
52541
|
-
removeItem: function(k) {
|
|
52542
|
-
if (this.has(k)) {
|
|
52543
|
-
delete this.items[k];
|
|
52544
|
-
this.length--;
|
|
52545
|
-
}
|
|
52546
|
-
},
|
|
52547
|
-
getItem: function(k) {
|
|
52548
|
-
return this.has(k) ? this.items[k] : null;
|
|
52549
|
-
},
|
|
52550
|
-
clear: function() {
|
|
52551
|
-
for (var k in this.items) this.removeItem(k);
|
|
52552
|
-
}
|
|
52553
|
-
}
|
|
52554
|
-
};
|
|
52555
|
-
var store = _.Store("local", (function() {
|
|
52556
|
-
try {
|
|
52557
|
-
return localStorage;
|
|
52558
|
-
} catch (e) {}
|
|
52559
|
-
})());
|
|
52560
|
-
store.local = store;
|
|
52561
|
-
store._ = _;
|
|
52562
|
-
store.area("session", (function() {
|
|
52563
|
-
try {
|
|
52564
|
-
return sessionStorage;
|
|
52565
|
-
} catch (e) {}
|
|
52566
|
-
})());
|
|
52567
|
-
store.area("page", _.storage("page"));
|
|
52568
|
-
if (typeof define === "function" && define.amd !== void 0) define("store2", [], function() {
|
|
52569
|
-
return store;
|
|
52570
|
-
});
|
|
52571
|
-
else if (typeof module !== "undefined" && module.exports) module.exports = store;
|
|
52572
|
-
else {
|
|
52573
|
-
if (window.store) _.conflict = window.store;
|
|
52574
|
-
window.store = store;
|
|
52575
|
-
}
|
|
52576
|
-
})(exports, exports && exports.define);
|
|
52577
|
-
}));
|
|
52578
|
-
//#endregion
|
|
52579
52349
|
//#region ../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/_md.js
|
|
52580
52350
|
/**
|
|
52581
52351
|
* Internal Merkle-Damgard hash utils.
|
|
@@ -55041,7 +54811,7 @@ zero
|
|
|
55041
54811
|
zone
|
|
55042
54812
|
zoo`.split("\n"));
|
|
55043
54813
|
//#endregion
|
|
55044
|
-
//#region ../../node_modules/.pnpm/@xyo-network+wallet@6.0.
|
|
54814
|
+
//#region ../../node_modules/.pnpm/@xyo-network+wallet@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@opentelemetr_804fdc2c8785924af5fd47a5e8743b77/node_modules/@xyo-network/wallet/dist/neutral/index.mjs
|
|
55045
54815
|
var __defProp$26 = Object.defineProperty;
|
|
55046
54816
|
var __getOwnPropDesc$25 = Object.getOwnPropertyDescriptor;
|
|
55047
54817
|
var __defNormalProp$23 = (obj, key, value) => key in obj ? __defProp$26(obj, key, {
|
|
@@ -61071,6 +60841,229 @@ var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
61071
60841
|
});
|
|
61072
60842
|
}));
|
|
61073
60843
|
//#endregion
|
|
60844
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/module-model/dist/neutral/index.mjs
|
|
60845
|
+
var ModuleConfigSchema = asSchema("network.xyo.module.config", true);
|
|
60846
|
+
function creatableModule() {
|
|
60847
|
+
return (constructor) => {};
|
|
60848
|
+
}
|
|
60849
|
+
var buildModuleFactory = (mod, labels) => {
|
|
60850
|
+
return {
|
|
60851
|
+
...mod,
|
|
60852
|
+
configSchemas: mod.configSchemas,
|
|
60853
|
+
create: mod.create.bind(mod),
|
|
60854
|
+
defaultConfigSchema: mod.defaultConfigSchema,
|
|
60855
|
+
labels: {
|
|
60856
|
+
...mod.labels,
|
|
60857
|
+
...labels
|
|
60858
|
+
}
|
|
60859
|
+
};
|
|
60860
|
+
};
|
|
60861
|
+
var registerCreatableModuleFactory = (registry, factory5, labels, primary = false) => {
|
|
60862
|
+
const primarySchemas = primary !== true && isTruthy(primary) ? Array.isArray(primary) ? primary : [primary] : [];
|
|
60863
|
+
for (const primarySchema of primarySchemas) if (!factory5.configSchemas.includes(primarySchema)) console.warn(`Primary schema ${String(primary)} not found in factory configSchemas`);
|
|
60864
|
+
const isPrimaryForSchema = (schema) => {
|
|
60865
|
+
switch (typeof primary) {
|
|
60866
|
+
case "boolean": return primary;
|
|
60867
|
+
case "string": return schema === primary;
|
|
60868
|
+
case "object": if (Array.isArray(primary)) return primary.includes(schema);
|
|
60869
|
+
}
|
|
60870
|
+
throw new Error(`Invalid primary value: ${String(primary)}`);
|
|
60871
|
+
};
|
|
60872
|
+
const factoryClone = buildModuleFactory(factory5, labels);
|
|
60873
|
+
registry[factory5.defaultConfigSchema] = [factoryClone, ...registry[factoryClone.defaultConfigSchema] ?? []];
|
|
60874
|
+
for (const schema of factoryClone.configSchemas) registry[schema] = isPrimaryForSchema(schema) ? [factoryClone, ...registry[schema] ?? []] : [...registry[schema] ?? [], factoryClone];
|
|
60875
|
+
};
|
|
60876
|
+
var registerCreatableModuleFactories = (factories, registry = {}, primary = false) => {
|
|
60877
|
+
for (const factory5 of factories) registerCreatableModuleFactory(registry, factory5, void 0, primary);
|
|
60878
|
+
return registry;
|
|
60879
|
+
};
|
|
60880
|
+
function labeledCreatableModule() {
|
|
60881
|
+
return (constructor) => {};
|
|
60882
|
+
}
|
|
60883
|
+
var hasLabels$1 = (factory5) => {
|
|
60884
|
+
return factory5.labels !== void 0;
|
|
60885
|
+
};
|
|
60886
|
+
var ModuleFactory = class _ModuleFactory {
|
|
60887
|
+
configSchemas;
|
|
60888
|
+
creatableModule;
|
|
60889
|
+
defaultConfigSchema;
|
|
60890
|
+
defaultLogger;
|
|
60891
|
+
defaultParams;
|
|
60892
|
+
labels;
|
|
60893
|
+
constructor(creatableModule2, params, labels = {}) {
|
|
60894
|
+
this.creatableModule = creatableModule2;
|
|
60895
|
+
this.defaultParams = params;
|
|
60896
|
+
this.configSchemas = creatableModule2.configSchemas;
|
|
60897
|
+
this.defaultConfigSchema = creatableModule2.defaultConfigSchema;
|
|
60898
|
+
assertEx(this.configSchemas.includes(this.defaultConfigSchema), () => "defaultConfigSchema must be in configSchemas");
|
|
60899
|
+
this.labels = Object.assign({}, creatableModule2.labels ?? {}, labels ?? {});
|
|
60900
|
+
}
|
|
60901
|
+
static withParams(creatableModule2, params, labels = {}) {
|
|
60902
|
+
return new _ModuleFactory(creatableModule2, params, labels);
|
|
60903
|
+
}
|
|
60904
|
+
create(params) {
|
|
60905
|
+
const mergedParams = {
|
|
60906
|
+
...this.defaultParams,
|
|
60907
|
+
...params,
|
|
60908
|
+
config: {
|
|
60909
|
+
schema: this.creatableModule.defaultConfigSchema,
|
|
60910
|
+
...this.defaultParams?.config,
|
|
60911
|
+
...params?.config
|
|
60912
|
+
}
|
|
60913
|
+
};
|
|
60914
|
+
return this.creatableModule.create(mergedParams);
|
|
60915
|
+
}
|
|
60916
|
+
factory(params, labels = {}) {
|
|
60917
|
+
return new _ModuleFactory(this.creatableModule, params, labels);
|
|
60918
|
+
}
|
|
60919
|
+
};
|
|
60920
|
+
var ModuleManifestQuerySchema = asSchema("network.xyo.query.module.manifest", true);
|
|
60921
|
+
var ModuleAddressQuerySchema = asSchema("network.xyo.query.module.address", true);
|
|
60922
|
+
var ModuleStateQuerySchema = asSchema("network.xyo.query.module.state", true);
|
|
60923
|
+
var ModuleSubscribeQuerySchema = asSchema("network.xyo.query.module.subscribe", true);
|
|
60924
|
+
var isQueryableModuleObject = new IsObjectFactory().create({
|
|
60925
|
+
address: "string",
|
|
60926
|
+
queries: "array",
|
|
60927
|
+
query: "function"
|
|
60928
|
+
});
|
|
60929
|
+
var asQueryableModuleObject = AsObjectFactory.create(isQueryableModuleObject);
|
|
60930
|
+
var IsQueryableModuleFactory = class {
|
|
60931
|
+
create(expectedQueries, additionalChecks) {
|
|
60932
|
+
const result = (obj, config) => {
|
|
60933
|
+
const mod = asQueryableModuleObject(obj);
|
|
60934
|
+
return isQueryableModuleObject(mod, config) && (expectedQueries?.reduce((prev, query) => prev && mod.queries.includes(query), true) ?? true) && (additionalChecks?.reduce((prev, check) => prev && check(obj, config), true) ?? true);
|
|
60935
|
+
};
|
|
60936
|
+
return result;
|
|
60937
|
+
}
|
|
60938
|
+
};
|
|
60939
|
+
var requiredQueryableModuleQueries = [ModuleStateQuerySchema];
|
|
60940
|
+
var isQueryableModule = new IsQueryableModuleFactory().create(requiredQueryableModuleQueries, [isQueryableModuleObject]);
|
|
60941
|
+
AsObjectFactory.create(isQueryableModule);
|
|
60942
|
+
var isModuleInstance = new IsObjectFactory().create({
|
|
60943
|
+
manifest: "function",
|
|
60944
|
+
state: "function"
|
|
60945
|
+
}, [isQueryableModule]);
|
|
60946
|
+
var asModuleInstance = AsObjectFactory.create(isModuleInstance);
|
|
60947
|
+
var isAttachableModuleInstance = new IsObjectFactory().create({
|
|
60948
|
+
downResolver: "object",
|
|
60949
|
+
upResolver: "object"
|
|
60950
|
+
}, [isModuleInstance]);
|
|
60951
|
+
var asAttachableModuleInstance = AsObjectFactory.create(isAttachableModuleInstance);
|
|
60952
|
+
var DeadModuleError = class _DeadModuleError extends Error {
|
|
60953
|
+
error;
|
|
60954
|
+
id;
|
|
60955
|
+
constructor(id, error, msg = "Dead Module Error") {
|
|
60956
|
+
super(`${msg} [${id}]: ${error?.message ?? toSafeJsonString(error)}`);
|
|
60957
|
+
this.id = id;
|
|
60958
|
+
this.error = error;
|
|
60959
|
+
Object.setPrototypeOf(this, _DeadModuleError.prototype);
|
|
60960
|
+
}
|
|
60961
|
+
};
|
|
60962
|
+
var IsInstanceFactory = class extends IsObjectFactory {};
|
|
60963
|
+
var ObjectResolverPriority = {
|
|
60964
|
+
Disabled: -1,
|
|
60965
|
+
VeryLow: 0,
|
|
60966
|
+
Low: 1,
|
|
60967
|
+
Normal: 2,
|
|
60968
|
+
High: 3,
|
|
60969
|
+
VeryHigh: 4
|
|
60970
|
+
};
|
|
60971
|
+
var hasAllLabels = (source, required) => {
|
|
60972
|
+
if (!required) return true;
|
|
60973
|
+
return Object.entries(required).every(([key, value]) => {
|
|
60974
|
+
return Object.hasOwn(source ?? {}, key) && source?.[key] === value;
|
|
60975
|
+
});
|
|
60976
|
+
};
|
|
60977
|
+
var ModuleLimitationViewLabel = { ModuleLimitationLabelName: "view" };
|
|
60978
|
+
var duplicateModules = (value, index, array) => {
|
|
60979
|
+
return array.findIndex((v) => v.address === value.address) === index;
|
|
60980
|
+
};
|
|
60981
|
+
var isSerializable = (value, maxDepth = 10) => {
|
|
60982
|
+
if (maxDepth <= 0) return false;
|
|
60983
|
+
if (value === null || typeof value === "boolean" || typeof value === "number" || typeof value === "string") return true;
|
|
60984
|
+
if (Array.isArray(value)) return value.every((item) => isSerializable(item, maxDepth - 1));
|
|
60985
|
+
if (typeof value === "object") {
|
|
60986
|
+
if (value instanceof Date || value instanceof RegExp) return true;
|
|
60987
|
+
if (value instanceof Set || value instanceof Map) return false;
|
|
60988
|
+
if (value !== null && value !== void 0) return Object.values(value).every((item) => isSerializable(item, maxDepth - 1));
|
|
60989
|
+
}
|
|
60990
|
+
return false;
|
|
60991
|
+
};
|
|
60992
|
+
var ReservedModuleIdentifierCharacters = new Set(Object.keys({
|
|
60993
|
+
" ": true,
|
|
60994
|
+
"!": true,
|
|
60995
|
+
"\"": true,
|
|
60996
|
+
"#": true,
|
|
60997
|
+
"$": true,
|
|
60998
|
+
"%": true,
|
|
60999
|
+
"&": true,
|
|
61000
|
+
"'": true,
|
|
61001
|
+
"(": true,
|
|
61002
|
+
")": true,
|
|
61003
|
+
"*": true,
|
|
61004
|
+
",": true,
|
|
61005
|
+
".": true,
|
|
61006
|
+
"/": true,
|
|
61007
|
+
":": true,
|
|
61008
|
+
";": true,
|
|
61009
|
+
"<": true,
|
|
61010
|
+
"=": true,
|
|
61011
|
+
">": true,
|
|
61012
|
+
"?": true,
|
|
61013
|
+
"@": true,
|
|
61014
|
+
"[": true,
|
|
61015
|
+
"]": true,
|
|
61016
|
+
"^": true,
|
|
61017
|
+
"_": true,
|
|
61018
|
+
"{": true,
|
|
61019
|
+
"|": true,
|
|
61020
|
+
"}": true,
|
|
61021
|
+
"~": true
|
|
61022
|
+
}));
|
|
61023
|
+
var isModuleName = (value) => {
|
|
61024
|
+
return typeof value === "string" && !isAddress(value) && !includesReservedModuleIdentifierCharacter(value);
|
|
61025
|
+
};
|
|
61026
|
+
var includesReservedModuleIdentifierCharacter = (value) => {
|
|
61027
|
+
return typeof value === "string" && [...value].some((char) => ReservedModuleIdentifierCharacters.has(char));
|
|
61028
|
+
};
|
|
61029
|
+
var AddressSchema = asSchema("network.xyo.address", true);
|
|
61030
|
+
asSchema("network.xyo.address.child", true);
|
|
61031
|
+
var isAddressPayload = isPayloadOfSchemaType(AddressSchema);
|
|
61032
|
+
AsObjectFactory.create(isAddressPayload);
|
|
61033
|
+
AsObjectFactory.createOptional(isAddressPayload);
|
|
61034
|
+
var AddressPreviousHashSchema = asSchema("network.xyo.address.hash.previous", true);
|
|
61035
|
+
var ModuleDescriptionSchema = asSchema("network.xyo.module.description", true);
|
|
61036
|
+
var ModuleStateSchema = asSchema("network.xyo.module.state", true);
|
|
61037
|
+
var isModuleState = (payload) => {
|
|
61038
|
+
return isPayloadOfSchemaType(ModuleStateSchema)(payload);
|
|
61039
|
+
};
|
|
61040
|
+
AsObjectFactory.create(isModuleState);
|
|
61041
|
+
AsObjectFactory.createOptional(isModuleState);
|
|
61042
|
+
var WithFactory = { create: (typeCheck) => {
|
|
61043
|
+
return (mod, closure) => {
|
|
61044
|
+
return typeCheck(mod) ? closure(mod) : void 0;
|
|
61045
|
+
};
|
|
61046
|
+
} };
|
|
61047
|
+
asSchema("network.xyo.archivist.snapshot", true);
|
|
61048
|
+
var ArchivistStatsPayloadSchema = asSchema("network.xyo.archivist.stats", true);
|
|
61049
|
+
var ArchivistAllQuerySchema = asSchema("network.xyo.query.archivist.all", true);
|
|
61050
|
+
var ArchivistClearQuerySchema = asSchema("network.xyo.query.archivist.clear", true);
|
|
61051
|
+
var ArchivistCommitQuerySchema = asSchema("network.xyo.query.archivist.commit", true);
|
|
61052
|
+
var ArchivistDeleteQuerySchema = asSchema("network.xyo.query.archivist.delete", true);
|
|
61053
|
+
var ArchivistGetQuerySchema = asSchema("network.xyo.query.archivist.get", true);
|
|
61054
|
+
var ArchivistInsertQuerySchema = asSchema("network.xyo.query.archivist.insert", true);
|
|
61055
|
+
var ArchivistNextQuerySchema = asSchema("network.xyo.query.archivist.next", true);
|
|
61056
|
+
var ArchivistSnapshotQuerySchema = asSchema("network.xyo.query.archivist.snapshot", true);
|
|
61057
|
+
var isArchivistInstance = new IsInstanceFactory().create({ get: "function" }, [isModuleInstance]);
|
|
61058
|
+
var isArchivistModule = new IsQueryableModuleFactory().create([ArchivistGetQuerySchema]);
|
|
61059
|
+
AsObjectFactory.create(isArchivistModule);
|
|
61060
|
+
var asArchivistInstance = AsObjectFactory.create(isArchivistInstance);
|
|
61061
|
+
WithFactory.create(isArchivistModule);
|
|
61062
|
+
WithFactory.create(isArchivistInstance);
|
|
61063
|
+
var isAttachableArchivistInstance = new IsObjectFactory().create({}, [isArchivistInstance, isAttachableModuleInstance]);
|
|
61064
|
+
var asAttachableArchivistInstance = AsObjectFactory.create(isAttachableArchivistInstance);
|
|
61065
|
+
var ArchivistConfigSchema = asSchema("network.xyo.archivist.config", true);
|
|
61066
|
+
//#endregion
|
|
61074
61067
|
//#region ../../node_modules/.pnpm/lru-cache@11.5.1/node_modules/lru-cache/dist/esm/node/index.min.js
|
|
61075
61068
|
var S = channel("lru-cache:metrics"), W = tracingChannel("lru-cache");
|
|
61076
61069
|
var L = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
|
|
@@ -61708,236 +61701,13 @@ var T = (u) => !!u && u === Math.floor(u) && u > 0 && isFinite(u), j = (u) => T(
|
|
|
61708
61701
|
}
|
|
61709
61702
|
};
|
|
61710
61703
|
//#endregion
|
|
61711
|
-
//#region ../../node_modules/.pnpm/@xyo-network+
|
|
61712
|
-
var ModuleConfigSchema = asSchema("network.xyo.module.config", true);
|
|
61713
|
-
function creatableModule() {
|
|
61714
|
-
return (constructor) => {};
|
|
61715
|
-
}
|
|
61716
|
-
var buildModuleFactory = (mod, labels) => {
|
|
61717
|
-
return {
|
|
61718
|
-
...mod,
|
|
61719
|
-
configSchemas: mod.configSchemas,
|
|
61720
|
-
create: mod.create.bind(mod),
|
|
61721
|
-
defaultConfigSchema: mod.defaultConfigSchema,
|
|
61722
|
-
labels: {
|
|
61723
|
-
...mod.labels,
|
|
61724
|
-
...labels
|
|
61725
|
-
}
|
|
61726
|
-
};
|
|
61727
|
-
};
|
|
61728
|
-
var registerCreatableModuleFactory = (registry, factory5, labels, primary = false) => {
|
|
61729
|
-
const primarySchemas = primary !== true && isTruthy(primary) ? Array.isArray(primary) ? primary : [primary] : [];
|
|
61730
|
-
for (const primarySchema of primarySchemas) if (!factory5.configSchemas.includes(primarySchema)) console.warn(`Primary schema ${String(primary)} not found in factory configSchemas`);
|
|
61731
|
-
const isPrimaryForSchema = (schema) => {
|
|
61732
|
-
switch (typeof primary) {
|
|
61733
|
-
case "boolean": return primary;
|
|
61734
|
-
case "string": return schema === primary;
|
|
61735
|
-
case "object": if (Array.isArray(primary)) return primary.includes(schema);
|
|
61736
|
-
}
|
|
61737
|
-
throw new Error(`Invalid primary value: ${String(primary)}`);
|
|
61738
|
-
};
|
|
61739
|
-
const factoryClone = buildModuleFactory(factory5, labels);
|
|
61740
|
-
registry[factory5.defaultConfigSchema] = [factoryClone, ...registry[factoryClone.defaultConfigSchema] ?? []];
|
|
61741
|
-
for (const schema of factoryClone.configSchemas) registry[schema] = isPrimaryForSchema(schema) ? [factoryClone, ...registry[schema] ?? []] : [...registry[schema] ?? [], factoryClone];
|
|
61742
|
-
};
|
|
61743
|
-
var registerCreatableModuleFactories = (factories, registry = {}, primary = false) => {
|
|
61744
|
-
for (const factory5 of factories) registerCreatableModuleFactory(registry, factory5, void 0, primary);
|
|
61745
|
-
return registry;
|
|
61746
|
-
};
|
|
61747
|
-
function labeledCreatableModule() {
|
|
61748
|
-
return (constructor) => {};
|
|
61749
|
-
}
|
|
61750
|
-
var hasLabels$1 = (factory5) => {
|
|
61751
|
-
return factory5.labels !== void 0;
|
|
61752
|
-
};
|
|
61753
|
-
var ModuleFactory = class _ModuleFactory {
|
|
61754
|
-
configSchemas;
|
|
61755
|
-
creatableModule;
|
|
61756
|
-
defaultConfigSchema;
|
|
61757
|
-
defaultLogger;
|
|
61758
|
-
defaultParams;
|
|
61759
|
-
labels;
|
|
61760
|
-
constructor(creatableModule2, params, labels = {}) {
|
|
61761
|
-
this.creatableModule = creatableModule2;
|
|
61762
|
-
this.defaultParams = params;
|
|
61763
|
-
this.configSchemas = creatableModule2.configSchemas;
|
|
61764
|
-
this.defaultConfigSchema = creatableModule2.defaultConfigSchema;
|
|
61765
|
-
assertEx(this.configSchemas.includes(this.defaultConfigSchema), () => "defaultConfigSchema must be in configSchemas");
|
|
61766
|
-
this.labels = Object.assign({}, creatableModule2.labels ?? {}, labels ?? {});
|
|
61767
|
-
}
|
|
61768
|
-
static withParams(creatableModule2, params, labels = {}) {
|
|
61769
|
-
return new _ModuleFactory(creatableModule2, params, labels);
|
|
61770
|
-
}
|
|
61771
|
-
create(params) {
|
|
61772
|
-
const mergedParams = {
|
|
61773
|
-
...this.defaultParams,
|
|
61774
|
-
...params,
|
|
61775
|
-
config: {
|
|
61776
|
-
schema: this.creatableModule.defaultConfigSchema,
|
|
61777
|
-
...this.defaultParams?.config,
|
|
61778
|
-
...params?.config
|
|
61779
|
-
}
|
|
61780
|
-
};
|
|
61781
|
-
return this.creatableModule.create(mergedParams);
|
|
61782
|
-
}
|
|
61783
|
-
factory(params, labels = {}) {
|
|
61784
|
-
return new _ModuleFactory(this.creatableModule, params, labels);
|
|
61785
|
-
}
|
|
61786
|
-
};
|
|
61787
|
-
var ModuleManifestQuerySchema = asSchema("network.xyo.query.module.manifest", true);
|
|
61788
|
-
var ModuleAddressQuerySchema = asSchema("network.xyo.query.module.address", true);
|
|
61789
|
-
var ModuleStateQuerySchema = asSchema("network.xyo.query.module.state", true);
|
|
61790
|
-
var ModuleSubscribeQuerySchema = asSchema("network.xyo.query.module.subscribe", true);
|
|
61791
|
-
var isQueryableModuleObject = new IsObjectFactory().create({
|
|
61792
|
-
address: "string",
|
|
61793
|
-
queries: "array",
|
|
61794
|
-
query: "function"
|
|
61795
|
-
});
|
|
61796
|
-
var asQueryableModuleObject = AsObjectFactory.create(isQueryableModuleObject);
|
|
61797
|
-
var IsQueryableModuleFactory = class {
|
|
61798
|
-
create(expectedQueries, additionalChecks) {
|
|
61799
|
-
const result = (obj, config) => {
|
|
61800
|
-
const mod = asQueryableModuleObject(obj);
|
|
61801
|
-
return isQueryableModuleObject(mod, config) && (expectedQueries?.reduce((prev, query) => prev && mod.queries.includes(query), true) ?? true) && (additionalChecks?.reduce((prev, check) => prev && check(obj, config), true) ?? true);
|
|
61802
|
-
};
|
|
61803
|
-
return result;
|
|
61804
|
-
}
|
|
61805
|
-
};
|
|
61806
|
-
var requiredQueryableModuleQueries = [ModuleStateQuerySchema];
|
|
61807
|
-
var isQueryableModule = new IsQueryableModuleFactory().create(requiredQueryableModuleQueries, [isQueryableModuleObject]);
|
|
61808
|
-
AsObjectFactory.create(isQueryableModule);
|
|
61809
|
-
var isModuleInstance = new IsObjectFactory().create({
|
|
61810
|
-
manifest: "function",
|
|
61811
|
-
state: "function"
|
|
61812
|
-
}, [isQueryableModule]);
|
|
61813
|
-
var asModuleInstance = AsObjectFactory.create(isModuleInstance);
|
|
61814
|
-
var isAttachableModuleInstance = new IsObjectFactory().create({
|
|
61815
|
-
downResolver: "object",
|
|
61816
|
-
upResolver: "object"
|
|
61817
|
-
}, [isModuleInstance]);
|
|
61818
|
-
var asAttachableModuleInstance = AsObjectFactory.create(isAttachableModuleInstance);
|
|
61819
|
-
var DeadModuleError = class _DeadModuleError extends Error {
|
|
61820
|
-
error;
|
|
61821
|
-
id;
|
|
61822
|
-
constructor(id, error, msg = "Dead Module Error") {
|
|
61823
|
-
super(`${msg} [${id}]: ${error?.message ?? toSafeJsonString(error)}`);
|
|
61824
|
-
this.id = id;
|
|
61825
|
-
this.error = error;
|
|
61826
|
-
Object.setPrototypeOf(this, _DeadModuleError.prototype);
|
|
61827
|
-
}
|
|
61828
|
-
};
|
|
61829
|
-
var IsInstanceFactory = class extends IsObjectFactory {};
|
|
61830
|
-
var ObjectResolverPriority = {
|
|
61831
|
-
Disabled: -1,
|
|
61832
|
-
VeryLow: 0,
|
|
61833
|
-
Low: 1,
|
|
61834
|
-
Normal: 2,
|
|
61835
|
-
High: 3,
|
|
61836
|
-
VeryHigh: 4
|
|
61837
|
-
};
|
|
61838
|
-
var hasAllLabels = (source, required) => {
|
|
61839
|
-
if (!required) return true;
|
|
61840
|
-
return Object.entries(required).every(([key, value]) => {
|
|
61841
|
-
return Object.hasOwn(source ?? {}, key) && source?.[key] === value;
|
|
61842
|
-
});
|
|
61843
|
-
};
|
|
61844
|
-
var ModuleLimitationViewLabel = { ModuleLimitationLabelName: "view" };
|
|
61845
|
-
var duplicateModules = (value, index, array) => {
|
|
61846
|
-
return array.findIndex((v) => v.address === value.address) === index;
|
|
61847
|
-
};
|
|
61848
|
-
var isSerializable = (value, maxDepth = 10) => {
|
|
61849
|
-
if (maxDepth <= 0) return false;
|
|
61850
|
-
if (value === null || typeof value === "boolean" || typeof value === "number" || typeof value === "string") return true;
|
|
61851
|
-
if (Array.isArray(value)) return value.every((item) => isSerializable(item, maxDepth - 1));
|
|
61852
|
-
if (typeof value === "object") {
|
|
61853
|
-
if (value instanceof Date || value instanceof RegExp) return true;
|
|
61854
|
-
if (value instanceof Set || value instanceof Map) return false;
|
|
61855
|
-
if (value !== null && value !== void 0) return Object.values(value).every((item) => isSerializable(item, maxDepth - 1));
|
|
61856
|
-
}
|
|
61857
|
-
return false;
|
|
61858
|
-
};
|
|
61859
|
-
var ReservedModuleIdentifierCharacters = new Set(Object.keys({
|
|
61860
|
-
" ": true,
|
|
61861
|
-
"!": true,
|
|
61862
|
-
"\"": true,
|
|
61863
|
-
"#": true,
|
|
61864
|
-
"$": true,
|
|
61865
|
-
"%": true,
|
|
61866
|
-
"&": true,
|
|
61867
|
-
"'": true,
|
|
61868
|
-
"(": true,
|
|
61869
|
-
")": true,
|
|
61870
|
-
"*": true,
|
|
61871
|
-
",": true,
|
|
61872
|
-
".": true,
|
|
61873
|
-
"/": true,
|
|
61874
|
-
":": true,
|
|
61875
|
-
";": true,
|
|
61876
|
-
"<": true,
|
|
61877
|
-
"=": true,
|
|
61878
|
-
">": true,
|
|
61879
|
-
"?": true,
|
|
61880
|
-
"@": true,
|
|
61881
|
-
"[": true,
|
|
61882
|
-
"]": true,
|
|
61883
|
-
"^": true,
|
|
61884
|
-
"_": true,
|
|
61885
|
-
"{": true,
|
|
61886
|
-
"|": true,
|
|
61887
|
-
"}": true,
|
|
61888
|
-
"~": true
|
|
61889
|
-
}));
|
|
61890
|
-
var isModuleName = (value) => {
|
|
61891
|
-
return typeof value === "string" && !isAddress(value) && !includesReservedModuleIdentifierCharacter(value);
|
|
61892
|
-
};
|
|
61893
|
-
var includesReservedModuleIdentifierCharacter = (value) => {
|
|
61894
|
-
return typeof value === "string" && [...value].some((char) => ReservedModuleIdentifierCharacters.has(char));
|
|
61895
|
-
};
|
|
61896
|
-
var AddressSchema = asSchema("network.xyo.address", true);
|
|
61897
|
-
asSchema("network.xyo.address.child", true);
|
|
61898
|
-
var isAddressPayload = isPayloadOfSchemaType(AddressSchema);
|
|
61899
|
-
AsObjectFactory.create(isAddressPayload);
|
|
61900
|
-
AsObjectFactory.createOptional(isAddressPayload);
|
|
61901
|
-
var AddressPreviousHashSchema = asSchema("network.xyo.address.hash.previous", true);
|
|
61902
|
-
var ModuleDescriptionSchema = asSchema("network.xyo.module.description", true);
|
|
61903
|
-
var ModuleStateSchema = asSchema("network.xyo.module.state", true);
|
|
61904
|
-
var isModuleState = (payload) => {
|
|
61905
|
-
return isPayloadOfSchemaType(ModuleStateSchema)(payload);
|
|
61906
|
-
};
|
|
61907
|
-
AsObjectFactory.create(isModuleState);
|
|
61908
|
-
AsObjectFactory.createOptional(isModuleState);
|
|
61909
|
-
var WithFactory = { create: (typeCheck) => {
|
|
61910
|
-
return (mod, closure) => {
|
|
61911
|
-
return typeCheck(mod) ? closure(mod) : void 0;
|
|
61912
|
-
};
|
|
61913
|
-
} };
|
|
61914
|
-
asSchema("network.xyo.archivist.snapshot", true);
|
|
61915
|
-
var ArchivistStatsPayloadSchema = asSchema("network.xyo.archivist.stats", true);
|
|
61916
|
-
var ArchivistAllQuerySchema = asSchema("network.xyo.query.archivist.all", true);
|
|
61917
|
-
var ArchivistClearQuerySchema = asSchema("network.xyo.query.archivist.clear", true);
|
|
61918
|
-
var ArchivistCommitQuerySchema = asSchema("network.xyo.query.archivist.commit", true);
|
|
61919
|
-
var ArchivistDeleteQuerySchema = asSchema("network.xyo.query.archivist.delete", true);
|
|
61920
|
-
var ArchivistGetQuerySchema = asSchema("network.xyo.query.archivist.get", true);
|
|
61921
|
-
var ArchivistInsertQuerySchema = asSchema("network.xyo.query.archivist.insert", true);
|
|
61922
|
-
var ArchivistNextQuerySchema = asSchema("network.xyo.query.archivist.next", true);
|
|
61923
|
-
var ArchivistSnapshotQuerySchema = asSchema("network.xyo.query.archivist.snapshot", true);
|
|
61924
|
-
var isArchivistInstance = new IsInstanceFactory().create({ get: "function" }, [isModuleInstance]);
|
|
61925
|
-
var isArchivistModule = new IsQueryableModuleFactory().create([ArchivistGetQuerySchema]);
|
|
61926
|
-
AsObjectFactory.create(isArchivistModule);
|
|
61927
|
-
var asArchivistInstance = AsObjectFactory.create(isArchivistInstance);
|
|
61928
|
-
WithFactory.create(isArchivistModule);
|
|
61929
|
-
WithFactory.create(isArchivistInstance);
|
|
61930
|
-
var isAttachableArchivistInstance = new IsObjectFactory().create({}, [isArchivistInstance, isAttachableModuleInstance]);
|
|
61931
|
-
var asAttachableArchivistInstance = AsObjectFactory.create(isAttachableArchivistInstance);
|
|
61932
|
-
var ArchivistConfigSchema = asSchema("network.xyo.archivist.config", true);
|
|
61933
|
-
//#endregion
|
|
61934
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-model@6.0.1_bb9a6976fa728ced4921b1d9112fc9e3/node_modules/@xyo-network/diviner-payload-model/dist/neutral/index.mjs
|
|
61704
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/diviner-payload-model/dist/neutral/index.mjs
|
|
61935
61705
|
var PayloadDivinerSchema = asSchema("network.xyo.diviner.payload", true);
|
|
61936
61706
|
var PayloadDivinerConfigSchema = asSchema(`${PayloadDivinerSchema}.config`, true);
|
|
61937
61707
|
var isPayloadDivinerQueryPayload = isPayloadOfSchemaType(asSchema(`${PayloadDivinerSchema}.query`, true));
|
|
61938
61708
|
var asPayloadDivinerQueryPayload = AsObjectFactory.create(isPayloadDivinerQueryPayload);
|
|
61939
61709
|
//#endregion
|
|
61940
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-resolver@6.0.
|
|
61710
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-resolver@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/module-resolver/dist/neutral/index.mjs
|
|
61941
61711
|
var AbstractModuleResolver = class extends Base {
|
|
61942
61712
|
get priority() {
|
|
61943
61713
|
return this.params.priority ?? ObjectResolverPriority.Normal;
|
|
@@ -62382,7 +62152,7 @@ var CompositeModuleResolver = class _CompositeModuleResolver extends AbstractMod
|
|
|
62382
62152
|
}
|
|
62383
62153
|
};
|
|
62384
62154
|
//#endregion
|
|
62385
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-model@6.0.
|
|
62155
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/node-model/dist/neutral/index.mjs
|
|
62386
62156
|
var NodeAttachQuerySchema = asSchema("network.xyo.query.node.attach", true);
|
|
62387
62157
|
var NodeAttachedQuerySchema = asSchema("network.xyo.query.node.attached", true);
|
|
62388
62158
|
var NodeCertifyQuerySchema = asSchema("network.xyo.query.node.certify", true);
|
|
@@ -62405,7 +62175,7 @@ var asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance);
|
|
|
62405
62175
|
var ChildCertificationSchema = asSchema("network.xyo.child.certification", true);
|
|
62406
62176
|
var NodeConfigSchema = asSchema("network.xyo.node.config", true);
|
|
62407
62177
|
//#endregion
|
|
62408
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract@6.0.
|
|
62178
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/module-abstract/dist/neutral/index.mjs
|
|
62409
62179
|
var isDetermineAccountFromAccountParams = (params) => {
|
|
62410
62180
|
assertEx(isUndefined(params.accountPath), () => "accountPath may not be provided when account is provided");
|
|
62411
62181
|
return isDefined(params.account);
|
|
@@ -63159,7 +62929,7 @@ var LoggerModuleStatusReporter = class {
|
|
|
63159
62929
|
}
|
|
63160
62930
|
};
|
|
63161
62931
|
//#endregion
|
|
63162
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-abstract@6.0.
|
|
62932
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/archivist-abstract/dist/neutral/index.mjs
|
|
63163
62933
|
var StorageClassLabel = "network.xyo.storage.class";
|
|
63164
62934
|
var NOT_IMPLEMENTED = "Not implemented";
|
|
63165
62935
|
var AbstractArchivist = class _AbstractArchivist extends AbstractModuleInstance {
|
|
@@ -63633,7 +63403,7 @@ var AbstractArchivist = class _AbstractArchivist extends AbstractModuleInstance
|
|
|
63633
63403
|
}
|
|
63634
63404
|
};
|
|
63635
63405
|
//#endregion
|
|
63636
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-generic@6.0.
|
|
63406
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-generic@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/archivist-generic/dist/neutral/index.mjs
|
|
63637
63407
|
var __defProp$25 = Object.defineProperty;
|
|
63638
63408
|
var __getOwnPropDesc$24 = Object.getOwnPropertyDescriptor;
|
|
63639
63409
|
var __getProtoOf$7 = Object.getPrototypeOf;
|
|
@@ -63716,7 +63486,7 @@ __publicField$22(GenericArchivist, "labels", {
|
|
|
63716
63486
|
});
|
|
63717
63487
|
GenericArchivist = __decorateClass$24([creatableModule()], GenericArchivist);
|
|
63718
63488
|
//#endregion
|
|
63719
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-memory@6.0.
|
|
63489
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-memory@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/archivist-memory/dist/neutral/index.mjs
|
|
63720
63490
|
var __defProp$24 = Object.defineProperty;
|
|
63721
63491
|
var __getOwnPropDesc$23 = Object.getOwnPropertyDescriptor;
|
|
63722
63492
|
var __getProtoOf$6 = Object.getPrototypeOf;
|
|
@@ -63855,7 +63625,7 @@ __publicField$21(MemoryArchivist, "labels", {
|
|
|
63855
63625
|
});
|
|
63856
63626
|
MemoryArchivist = __decorateClass$23([creatableModule()], MemoryArchivist);
|
|
63857
63627
|
//#endregion
|
|
63858
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-wrapper@6.0.
|
|
63628
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-wrapper@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/module-wrapper/dist/neutral/index.mjs
|
|
63859
63629
|
var __defProp$23 = Object.defineProperty;
|
|
63860
63630
|
var __getOwnPropDesc$22 = Object.getOwnPropertyDescriptor;
|
|
63861
63631
|
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$23(obj, key, {
|
|
@@ -64214,7 +63984,7 @@ var ArchivistWrapper = class extends ModuleWrapper {
|
|
|
64214
63984
|
}
|
|
64215
63985
|
};
|
|
64216
63986
|
//#endregion
|
|
64217
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-model@6.0.
|
|
63987
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/bridge-model/dist/neutral/index.mjs
|
|
64218
63988
|
var BridgeConnectQuerySchema = asSchema("network.xyo.query.bridge.connect", true);
|
|
64219
63989
|
var BridgeDisconnectQuerySchema = asSchema("network.xyo.query.bridge.disconnect", true);
|
|
64220
63990
|
var BridgeExposeQuerySchema = asSchema("network.xyo.query.bridge.expose", true);
|
|
@@ -64230,7 +64000,7 @@ var isAttachableBridgeInstance = new IsObjectFactory().create({}, [isBridgeInsta
|
|
|
64230
64000
|
AsObjectFactory.create(isAttachableBridgeInstance);
|
|
64231
64001
|
var BridgeConfigSchema = asSchema("network.xyo.bridge.config", true);
|
|
64232
64002
|
//#endregion
|
|
64233
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-model@6.0.
|
|
64003
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/diviner-model/dist/neutral/index.mjs
|
|
64234
64004
|
var DivinerDivineQuerySchema = asSchema("network.xyo.query.diviner.divine", true);
|
|
64235
64005
|
var isDivinerInstance = new IsInstanceFactory().create({ divine: "function" }, [isModuleInstance]);
|
|
64236
64006
|
var isDivinerModule = new IsQueryableModuleFactory().create([DivinerDivineQuerySchema]);
|
|
@@ -64335,7 +64105,7 @@ var NodeWrapper = class extends ModuleWrapper {
|
|
|
64335
64105
|
}
|
|
64336
64106
|
};
|
|
64337
64107
|
//#endregion
|
|
64338
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-model@6.0.
|
|
64108
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/sentinel-model/dist/neutral/index.mjs
|
|
64339
64109
|
var SentinelReportQuerySchema = asSchema("network.xyo.query.sentinel.report", true);
|
|
64340
64110
|
var isSentinelInstance = new IsInstanceFactory().create({ report: "function" }, [isModuleInstance]);
|
|
64341
64111
|
var isSentinelModule = new IsQueryableModuleFactory().create([SentinelReportQuerySchema]);
|
|
@@ -64370,7 +64140,7 @@ var SentinelWrapper = class extends ModuleWrapper {
|
|
|
64370
64140
|
}
|
|
64371
64141
|
};
|
|
64372
64142
|
//#endregion
|
|
64373
|
-
//#region ../../node_modules/.pnpm/@xyo-network+witness-model@6.0.
|
|
64143
|
+
//#region ../../node_modules/.pnpm/@xyo-network+witness-model@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/witness-model/dist/neutral/index.mjs
|
|
64374
64144
|
var WitnessObserveQuerySchema = asSchema("network.xyo.query.witness.observe", true);
|
|
64375
64145
|
var isWitnessInstance = new IsInstanceFactory().create({ observe: "function" }, [isModuleInstance]);
|
|
64376
64146
|
var isWitnessModule = new IsQueryableModuleFactory().create([WitnessObserveQuerySchema]);
|
|
@@ -64395,7 +64165,7 @@ var WitnessWrapper = class extends ModuleWrapper {
|
|
|
64395
64165
|
}
|
|
64396
64166
|
};
|
|
64397
64167
|
//#endregion
|
|
64398
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-abstract@6.0.
|
|
64168
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/bridge-abstract/dist/neutral/index.mjs
|
|
64399
64169
|
var AbstractBridge = class _AbstractBridge extends AbstractModuleInstance {
|
|
64400
64170
|
static configSchemas = [...super.configSchemas, BridgeConfigSchema];
|
|
64401
64171
|
static defaultConfigSchema = BridgeConfigSchema;
|
|
@@ -64806,7 +64576,7 @@ var AbstractModuleProxy = class extends AbstractModuleInstance {
|
|
|
64806
64576
|
}
|
|
64807
64577
|
};
|
|
64808
64578
|
//#endregion
|
|
64809
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-abstract@6.0.
|
|
64579
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/diviner-abstract/dist/neutral/index.mjs
|
|
64810
64580
|
var delayedResolve = async (parent, id, closure, as = asModuleInstance, timeout = 3e4, logger) => {
|
|
64811
64581
|
const start = Date.now();
|
|
64812
64582
|
let result;
|
|
@@ -64918,7 +64688,7 @@ var AbstractDiviner = class _AbstractDiviner extends AbstractModuleInstance {
|
|
|
64918
64688
|
}
|
|
64919
64689
|
};
|
|
64920
64690
|
//#endregion
|
|
64921
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-abstract@6.0.
|
|
64691
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/node-abstract/dist/neutral/index.mjs
|
|
64922
64692
|
var AbstractNode = class _AbstractNode extends AbstractModuleInstance {
|
|
64923
64693
|
static configSchemas = [...super.configSchemas, NodeConfigSchema];
|
|
64924
64694
|
static defaultConfigSchema = NodeConfigSchema;
|
|
@@ -65121,7 +64891,7 @@ var NodeHelper = {
|
|
|
65121
64891
|
attachedPublicModules
|
|
65122
64892
|
};
|
|
65123
64893
|
//#endregion
|
|
65124
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-memory@6.0.
|
|
64894
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-memory@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/node-memory/dist/neutral/index.mjs
|
|
65125
64895
|
var __defProp$22 = Object.defineProperty;
|
|
65126
64896
|
var __getOwnPropDesc$21 = Object.getOwnPropertyDescriptor;
|
|
65127
64897
|
var __decorateClass$21 = (decorators, target, key, kind) => {
|
|
@@ -65342,7 +65112,7 @@ var MemoryNodeHelper = {
|
|
|
65342
65112
|
flatAttachToNewNode
|
|
65343
65113
|
};
|
|
65344
65114
|
//#endregion
|
|
65345
|
-
//#region ../../node_modules/.pnpm/@xyo-network+manifest-wrapper@6.0.
|
|
65115
|
+
//#region ../../node_modules/.pnpm/@xyo-network+manifest-wrapper@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/manifest-wrapper/dist/neutral/index.mjs
|
|
65346
65116
|
var ManifestWrapper = class extends PayloadWrapper {
|
|
65347
65117
|
locator;
|
|
65348
65118
|
logger;
|
|
@@ -65432,7 +65202,7 @@ var ManifestWrapper = class extends PayloadWrapper {
|
|
|
65432
65202
|
}
|
|
65433
65203
|
};
|
|
65434
65204
|
//#endregion
|
|
65435
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-view@6.0.
|
|
65205
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-view@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/archivist-view/dist/neutral/index.mjs
|
|
65436
65206
|
var __defProp$21 = Object.defineProperty;
|
|
65437
65207
|
var __getOwnPropDesc$20 = Object.getOwnPropertyDescriptor;
|
|
65438
65208
|
var __getProtoOf$5 = Object.getPrototypeOf;
|
|
@@ -65491,7 +65261,7 @@ __publicField$19(ViewArchivist, "labels", {
|
|
|
65491
65261
|
});
|
|
65492
65262
|
ViewArchivist = __decorateClass$20([labeledCreatableModule()], ViewArchivist);
|
|
65493
65263
|
//#endregion
|
|
65494
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-http@6.0.
|
|
65264
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-http@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/bridge-http/dist/neutral/index.mjs
|
|
65495
65265
|
var __defProp$20 = Object.defineProperty;
|
|
65496
65266
|
var __getOwnPropDesc$19 = Object.getOwnPropertyDescriptor;
|
|
65497
65267
|
var __getProtoOf$4 = Object.getPrototypeOf;
|
|
@@ -65764,7 +65534,7 @@ __publicField$18(HttpBridge, "fetchClient", new FetchJsonClient());
|
|
|
65764
65534
|
__publicField$18(HttpBridge, "maxFailureCacheSize", 1e3);
|
|
65765
65535
|
HttpBridge = __decorateClass$19([creatableModule()], HttpBridge);
|
|
65766
65536
|
//#endregion
|
|
65767
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-boundwitness@6.0.
|
|
65537
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-boundwitness@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/diviner-boundwitness/dist/neutral/memory.mjs
|
|
65768
65538
|
var applyBoundWitnessDivinerQueryPayload = (filter, payloads = []) => {
|
|
65769
65539
|
if (!filter) return [];
|
|
65770
65540
|
const { addresses, cursor, destination, limit, order = "desc", payload_hashes, payload_schemas, sourceQuery } = filter;
|
|
@@ -65803,7 +65573,7 @@ var MemoryBoundWitnessDiviner = class extends BoundWitnessDiviner {
|
|
|
65803
65573
|
}
|
|
65804
65574
|
};
|
|
65805
65575
|
//#endregion
|
|
65806
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-identity@6.0.
|
|
65576
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-identity@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/diviner-identity/dist/neutral/index.mjs
|
|
65807
65577
|
var __defProp$19 = Object.defineProperty;
|
|
65808
65578
|
var __getOwnPropDesc$18 = Object.getOwnPropertyDescriptor;
|
|
65809
65579
|
var __defNormalProp$17 = (obj, key, value) => key in obj ? __defProp$19(obj, key, {
|
|
@@ -65827,13 +65597,13 @@ var IdentityDiviner = class extends AbstractDiviner {
|
|
|
65827
65597
|
__publicField$17(IdentityDiviner, "targetSchema", asSchema("network.xyo.test", true));
|
|
65828
65598
|
IdentityDiviner = __decorateClass$18([creatableModule()], IdentityDiviner);
|
|
65829
65599
|
//#endregion
|
|
65830
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-abstract@6.0.
|
|
65600
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/diviner-payload-abstract/dist/neutral/index.mjs
|
|
65831
65601
|
var PayloadDiviner = class extends AbstractDiviner {
|
|
65832
65602
|
static configSchemas = [...super.configSchemas, PayloadDivinerConfigSchema];
|
|
65833
65603
|
static defaultConfigSchema = PayloadDivinerConfigSchema;
|
|
65834
65604
|
};
|
|
65835
65605
|
//#endregion
|
|
65836
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-generic@6.0.
|
|
65606
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-generic@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/diviner-payload-generic/dist/neutral/index.mjs
|
|
65837
65607
|
var __defProp$18 = Object.defineProperty;
|
|
65838
65608
|
var __getOwnPropDesc$17 = Object.getOwnPropertyDescriptor;
|
|
65839
65609
|
var __getProtoOf$3 = Object.getPrototypeOf;
|
|
@@ -65969,7 +65739,7 @@ __publicField$16(GenericPayloadDiviner, "configSchemas", [...__superGet$3(Generi
|
|
|
65969
65739
|
__publicField$16(GenericPayloadDiviner, "defaultConfigSchema", GenericPayloadDivinerConfigSchema);
|
|
65970
65740
|
GenericPayloadDiviner = __decorateClass$17([creatableModule()], GenericPayloadDiviner);
|
|
65971
65741
|
//#endregion
|
|
65972
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-view@6.0.
|
|
65742
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-view@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/node-view/dist/neutral/index.mjs
|
|
65973
65743
|
var __defProp$17 = Object.defineProperty;
|
|
65974
65744
|
var __getOwnPropDesc$16 = Object.getOwnPropertyDescriptor;
|
|
65975
65745
|
var __getProtoOf$2 = Object.getPrototypeOf;
|
|
@@ -66067,7 +65837,7 @@ __publicField$15(ViewNode, "defaultConfigSchema", ViewNodeConfigSchema);
|
|
|
66067
65837
|
__publicField$15(ViewNode, "labels", { ...ModuleLimitationViewLabel });
|
|
66068
65838
|
ViewNode = __decorateClass$16([creatableModule()], ViewNode);
|
|
66069
65839
|
//#endregion
|
|
66070
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-abstract@6.0.
|
|
65840
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-abstract@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/sentinel-abstract/dist/neutral/index.mjs
|
|
66071
65841
|
var AbstractSentinel = class _AbstractSentinel extends AbstractModuleInstance {
|
|
66072
65842
|
static configSchemas = [...super.configSchemas, SentinelConfigSchema];
|
|
66073
65843
|
static defaultConfigSchema = SentinelConfigSchema;
|
|
@@ -66173,7 +65943,7 @@ var AbstractSentinel = class _AbstractSentinel extends AbstractModuleInstance {
|
|
|
66173
65943
|
}
|
|
66174
65944
|
};
|
|
66175
65945
|
//#endregion
|
|
66176
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-memory@6.0.
|
|
65946
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-memory@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/sentinel-memory/dist/neutral/index.mjs
|
|
66177
65947
|
var SentinelIntervalAutomationWrapper = class extends PayloadWrapper {
|
|
66178
65948
|
constructor(payload) {
|
|
66179
65949
|
super(payload);
|
|
@@ -66509,7 +66279,7 @@ var AbstractWitness = class _AbstractWitness extends AbstractModuleInstance {
|
|
|
66509
66279
|
}
|
|
66510
66280
|
};
|
|
66511
66281
|
//#endregion
|
|
66512
|
-
//#region ../../node_modules/.pnpm/@xyo-network+witness-adhoc@6.0.
|
|
66282
|
+
//#region ../../node_modules/.pnpm/@xyo-network+witness-adhoc@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/witness-adhoc/dist/neutral/index.mjs
|
|
66513
66283
|
var AdhocWitnessConfigSchema = asSchema("network.xyo.witness.adhoc.config", true);
|
|
66514
66284
|
var AdhocWitness = class extends AbstractWitness {
|
|
66515
66285
|
static configSchemas = [...super.configSchemas, AdhocWitnessConfigSchema];
|
|
@@ -66522,7 +66292,7 @@ var AdhocWitness = class extends AbstractWitness {
|
|
|
66522
66292
|
}
|
|
66523
66293
|
};
|
|
66524
66294
|
//#endregion
|
|
66525
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-factory-locator@6.0.
|
|
66295
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-factory-locator@6.0.2_46f8a9a3060d864748ed312145f36934/node_modules/@xyo-network/module-factory-locator/dist/neutral/index.mjs
|
|
66526
66296
|
var standardCreatableModulesList = [
|
|
66527
66297
|
HttpBridge.factory(),
|
|
66528
66298
|
ViewArchivist.factory(),
|
|
@@ -68812,7 +68582,7 @@ config$1(en_default());
|
|
|
68812
68582
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/index.js
|
|
68813
68583
|
var zod_default = external_exports;
|
|
68814
68584
|
//#endregion
|
|
68815
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-model@2.0.
|
|
68585
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-model@2.0.9_cfb5b89ca37510fe1ca6cdf9bccfb2d5/node_modules/@xyo-network/xl1-protocol-model/dist/neutral/index.mjs
|
|
68816
68586
|
var BridgeDetailsDestinationFieldsZod = /* @__PURE__ */ object$4({
|
|
68817
68587
|
/**
|
|
68818
68588
|
* Destination network
|
|
@@ -69077,7 +68847,7 @@ var BlockScriptsZod = /* @__PURE__ */ object$4({ script: /* @__PURE__ */ optiona
|
|
|
69077
68847
|
var TransactionFeesZod = /* @__PURE__ */ object$4({ fees: TransactionFeesHexZod });
|
|
69078
68848
|
var TransactionBoundWitnessIdentityFields = /* @__PURE__ */ object$4({
|
|
69079
68849
|
chain: ChainZod,
|
|
69080
|
-
from:
|
|
68850
|
+
from: XyoAddressZod
|
|
69081
68851
|
});
|
|
69082
68852
|
var TransactionBoundWitnessFieldsZod = /* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(/* @__PURE__ */ object$4(), BlockDurationZod.shape), TransactionFeesZod.shape), TransactionBoundWitnessIdentityFields.shape), BlockScriptsZod.shape);
|
|
69083
68853
|
var TransactionBoundWitnessZod = /* @__PURE__ */ safeExtend(BoundWitnessZod, TransactionBoundWitnessFieldsZod.shape);
|
|
@@ -69120,8 +68890,8 @@ var TransferSchema = asSchema("network.xyo.transfer", true);
|
|
|
69120
68890
|
var TransferFieldsZod = /* @__PURE__ */ object$4({
|
|
69121
68891
|
context: /* @__PURE__ */ optional$2(JsonObjectZod),
|
|
69122
68892
|
epoch: /* @__PURE__ */ number$5(),
|
|
69123
|
-
from:
|
|
69124
|
-
transfers: /* @__PURE__ */ record$2(
|
|
68893
|
+
from: XyoAddressZod,
|
|
68894
|
+
transfers: /* @__PURE__ */ record$2(XyoAddressZod, HexZod)
|
|
69125
68895
|
});
|
|
69126
68896
|
var TransferZod = /* @__PURE__ */ extend(PayloadZodOfSchema(TransferSchema), TransferFieldsZod.shape);
|
|
69127
68897
|
var isTransfer = isPayloadOfSchemaType(TransferSchema);
|
|
@@ -69377,7 +69147,7 @@ var RewardsRangeOptionsZod = object$2({
|
|
|
69377
69147
|
positions: array$1(number$2()).optional(),
|
|
69378
69148
|
range: BlockRangeZod.optional(),
|
|
69379
69149
|
steps: array$1(StepIdentityZod).optional(),
|
|
69380
|
-
stakers: array$1(
|
|
69150
|
+
stakers: array$1(XyoAddressZod).optional()
|
|
69381
69151
|
});
|
|
69382
69152
|
var LocalSequenceRegex = new RegExp(HexRegExMinMax(SequenceConstants.localSequenceBytes, SequenceConstants.localSequenceBytes));
|
|
69383
69153
|
var LocalSequenceToStringZod = string$2().regex(LocalSequenceRegex);
|
|
@@ -69392,8 +69162,8 @@ var StakeZod = object$2({
|
|
|
69392
69162
|
addBlock: number$2(),
|
|
69393
69163
|
id: number$2(),
|
|
69394
69164
|
removeBlock: number$2(),
|
|
69395
|
-
staked:
|
|
69396
|
-
staker:
|
|
69165
|
+
staked: XyoAddressZod,
|
|
69166
|
+
staker: XyoAddressZod,
|
|
69397
69167
|
withdrawBlock: number$2()
|
|
69398
69168
|
});
|
|
69399
69169
|
var StakeToJsonZod = StakeZod.transform((val) => ({
|
|
@@ -69401,8 +69171,8 @@ var StakeToJsonZod = StakeZod.transform((val) => ({
|
|
|
69401
69171
|
amount: BigIntToJsonZod.parse(val.amount),
|
|
69402
69172
|
id: val.id,
|
|
69403
69173
|
removeBlock: val.removeBlock,
|
|
69404
|
-
staked:
|
|
69405
|
-
staker:
|
|
69174
|
+
staked: XyoAddressZod.parse(val.staked),
|
|
69175
|
+
staker: XyoAddressZod.parse(val.staker),
|
|
69406
69176
|
withdrawBlock: val.withdrawBlock
|
|
69407
69177
|
}));
|
|
69408
69178
|
var JsonToStakeZod = StakeZod.extend({ amount: HexZod }).transform((val) => ({
|
|
@@ -69442,7 +69212,7 @@ var TimeDomainZod = union$1([
|
|
|
69442
69212
|
literal$1("epoch"),
|
|
69443
69213
|
literal$1("ethereum")
|
|
69444
69214
|
]);
|
|
69445
|
-
tuple([
|
|
69215
|
+
tuple([XyoAddressZod, XyoAddressZod]);
|
|
69446
69216
|
var XL1_PROTOCOL_VERSION = 1002e3;
|
|
69447
69217
|
var RejectionErrorZod = object$2({
|
|
69448
69218
|
hash: HashZod,
|
|
@@ -69466,7 +69236,7 @@ var TransactionRejectionSchema = asSchema("network.xyo.transaction.rejection", t
|
|
|
69466
69236
|
var isTransactionRejection = isPayloadOfSchemaType(TransactionRejectionSchema);
|
|
69467
69237
|
AsObjectFactory.create(isTransactionRejection);
|
|
69468
69238
|
//#endregion
|
|
69469
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-lib@2.0.
|
|
69239
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-lib@2.0.9_cfb5b89ca37510fe1ca6cdf9bccfb2d5/node_modules/@xyo-network/xl1-protocol-lib/dist/neutral/index.mjs
|
|
69470
69240
|
function derivedReceiveAddress(address, scope) {
|
|
69471
69241
|
return toAddress(keccak256(new TextEncoder().encode(isDefined(scope) ? `${scope}|${address}` : address)).slice(-40), { prefix: false });
|
|
69472
69242
|
}
|
|
@@ -71622,7 +71392,7 @@ function getOriginalId(rawRequest) {
|
|
|
71622
71392
|
return [void 0, false];
|
|
71623
71393
|
}
|
|
71624
71394
|
//#endregion
|
|
71625
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-sdk@2.0.
|
|
71395
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-sdk@2.0.9_715c119614011e51ea6387adc9d7968a/node_modules/@xyo-network/xl1-protocol-sdk/dist/neutral/index.mjs
|
|
71626
71396
|
var __defProp$16 = Object.defineProperty;
|
|
71627
71397
|
var __getOwnPropDesc$15 = Object.getOwnPropertyDescriptor;
|
|
71628
71398
|
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$16(obj, key, {
|
|
@@ -72079,7 +71849,7 @@ var ChainConfigZod = /* @__PURE__ */ object$4({
|
|
|
72079
71849
|
title: "chain.id",
|
|
72080
71850
|
type: "string"
|
|
72081
71851
|
}),
|
|
72082
|
-
genesisRewardAddress: (/* @__PURE__ */ optional$2(
|
|
71852
|
+
genesisRewardAddress: (/* @__PURE__ */ optional$2(XyoAddressZod)).register(globalRegistry, {
|
|
72083
71853
|
description: "Address to send the initial genesis rewards to, if a new chain is being created.",
|
|
72084
71854
|
title: "chain.genesisRewardAddress",
|
|
72085
71855
|
type: "Address"
|
|
@@ -72438,8 +72208,8 @@ var netBalancesForPayloads = (context, payloads) => {
|
|
|
72438
72208
|
for (const payload of payloads) if (isTransfer(payload)) {
|
|
72439
72209
|
const { from } = payload;
|
|
72440
72210
|
for (const [address, amount] of Object.entries(payload.transfers)) {
|
|
72441
|
-
balances[
|
|
72442
|
-
balances[
|
|
72211
|
+
balances[toXyoAddress(address, true)] = (balances[toXyoAddress(address, true)] ?? 0n) + hexToBigInt(amount);
|
|
72212
|
+
balances[toXyoAddress(from, true)] = (balances[toXyoAddress(from, true)] ?? 0n) - hexToBigInt(amount);
|
|
72443
72213
|
}
|
|
72444
72214
|
}
|
|
72445
72215
|
return balances;
|
|
@@ -72566,14 +72336,14 @@ async function allStakersForRange(chain, externalRange, staked) {
|
|
|
72566
72336
|
const mergedEvents = await mergedAddRemoveStakeEventsByStaker(chain, [0, externalRange[1]], staked);
|
|
72567
72337
|
const resultWithZeros = {};
|
|
72568
72338
|
for (const event of mergedEvents) {
|
|
72569
|
-
const staker =
|
|
72339
|
+
const staker = toXyoAddress(event.args.staker, true);
|
|
72570
72340
|
resultWithZeros[staker] = resultWithZeros[staker] ?? 0n;
|
|
72571
72341
|
if (event.name === "StakeAdded") resultWithZeros[staker] += event.args.amount;
|
|
72572
72342
|
else if (event.name === "StakeRemoved") resultWithZeros[staker] -= event.args.amount;
|
|
72573
72343
|
}
|
|
72574
72344
|
const nonZero = Object.entries(resultWithZeros).filter(([, amount]) => amount > 0n).map(([address]) => address);
|
|
72575
72345
|
const result = {};
|
|
72576
|
-
for (const address of nonZero) result[
|
|
72346
|
+
for (const address of nonZero) result[toXyoAddress(address, true)] = resultWithZeros[toXyoAddress(address, true)];
|
|
72577
72347
|
return result;
|
|
72578
72348
|
}
|
|
72579
72349
|
async function allStakersForStep(context, blockViewer, stakeEventsViewer, stepContext, staked) {
|
|
@@ -72699,12 +72469,12 @@ function findUncles(context, finalizedWindowedChain, blocks) {
|
|
|
72699
72469
|
return blocksToChains(blocks).map((chain) => toValidUncle(context, finalizedWindowedChain, chain)).filter(exists$1);
|
|
72700
72470
|
}
|
|
72701
72471
|
var ValidationConfigZod = object$2({
|
|
72702
|
-
allowedRewardRedeemers: array$1(
|
|
72472
|
+
allowedRewardRedeemers: array$1(XyoAddressZod).optional().register(globalRegistry, {
|
|
72703
72473
|
description: "List of allowed reward redeemer addresses, if undefined anyone can participate",
|
|
72704
72474
|
title: "allowedRewardRedeemers",
|
|
72705
72475
|
type: "array"
|
|
72706
72476
|
}),
|
|
72707
|
-
allowedRewardEscrowAccountSigners: array$1(
|
|
72477
|
+
allowedRewardEscrowAccountSigners: array$1(XyoAddressZod).optional().register(globalRegistry, {
|
|
72708
72478
|
description: "List of allowed reward escrow account signer addresses, if undefined anyone can participate",
|
|
72709
72479
|
title: "allowedRewardEscrowAccountSigners",
|
|
72710
72480
|
type: "array"
|
|
@@ -73434,7 +73204,7 @@ async function balancesSummary(context, semaphores, blockViewer, summaryMap, con
|
|
|
73434
73204
|
const summaries = await Promise.all(ranges.map((range2) => balancesStepSummaryFromRange(context, semaphores, blockViewer, summaryMap, range2)));
|
|
73435
73205
|
const balances = {};
|
|
73436
73206
|
for (const summary of summaries) for (const [address, balance] of Object.entries(summary.balances)) {
|
|
73437
|
-
const validAddress =
|
|
73207
|
+
const validAddress = asXyoAddress(address, () => `Invalid address: ${address}`);
|
|
73438
73208
|
balances[validAddress] = (balances[validAddress] ?? 0n) + parseSignedBigInt(balance);
|
|
73439
73209
|
}
|
|
73440
73210
|
return [balances, {
|
|
@@ -75053,13 +74823,13 @@ var SimpleStakeTotalsViewer = class extends AbstractCreatableProvider {
|
|
|
75053
74823
|
async activeByStaked(staked, time = Number.MAX_SAFE_INTEGER) {
|
|
75054
74824
|
let active = 0n;
|
|
75055
74825
|
const positions = await this.stakeViewer.activeStakes();
|
|
75056
|
-
for (const position of positions) if ((position.removeBlock === 0 || position.removeBlock > time) &&
|
|
74826
|
+
for (const position of positions) if ((position.removeBlock === 0 || position.removeBlock > time) && asXyoAddress(position.staked) === asXyoAddress(staked)) active += position.amount;
|
|
75057
74827
|
return active;
|
|
75058
74828
|
}
|
|
75059
74829
|
async activeByStaker(staker, time = Number.MAX_SAFE_INTEGER) {
|
|
75060
74830
|
let active = 0n;
|
|
75061
74831
|
const positions = await this.stakeViewer.activeStakes();
|
|
75062
|
-
for (const position of positions) if ((position.removeBlock === 0 || position.removeBlock > time) &&
|
|
74832
|
+
for (const position of positions) if ((position.removeBlock === 0 || position.removeBlock > time) && asXyoAddress(position.staker) === asXyoAddress(staker)) active += position.amount;
|
|
75063
74833
|
return active;
|
|
75064
74834
|
}
|
|
75065
74835
|
async createHandler() {
|
|
@@ -75075,7 +74845,7 @@ var SimpleStakeTotalsViewer = class extends AbstractCreatableProvider {
|
|
|
75075
74845
|
async pendingByStaker(staker, time = Number.MAX_SAFE_INTEGER) {
|
|
75076
74846
|
let pending = 0n;
|
|
75077
74847
|
const positions = await this.stakeViewer.removedStakes();
|
|
75078
|
-
for (const position of positions) if (position.removeBlock !== 0 && position.removeBlock <= time && (position.withdrawBlock === 0 || position.withdrawBlock > time) &&
|
|
74848
|
+
for (const position of positions) if (position.removeBlock !== 0 && position.removeBlock <= time && (position.withdrawBlock === 0 || position.withdrawBlock > time) && asXyoAddress(position.staker) === asXyoAddress(staker)) pending += position.amount;
|
|
75079
74849
|
return pending;
|
|
75080
74850
|
}
|
|
75081
74851
|
async withdrawn(time = Number.MAX_SAFE_INTEGER) {
|
|
@@ -75087,7 +74857,7 @@ var SimpleStakeTotalsViewer = class extends AbstractCreatableProvider {
|
|
|
75087
74857
|
async withdrawnByStaker(staker, time = Number.MAX_SAFE_INTEGER) {
|
|
75088
74858
|
let withdrawn = 0n;
|
|
75089
74859
|
const positions = await this.stakeViewer.withdrawnStakes();
|
|
75090
|
-
for (const position of positions) if (position.withdrawBlock !== 0 && position.withdrawBlock <= time &&
|
|
74860
|
+
for (const position of positions) if (position.withdrawBlock !== 0 && position.withdrawBlock <= time && asXyoAddress(position.staker) === asXyoAddress(staker)) withdrawn += position.amount;
|
|
75091
74861
|
return withdrawn;
|
|
75092
74862
|
}
|
|
75093
74863
|
};
|
|
@@ -75113,13 +74883,13 @@ var SimpleStakeViewer = class extends AbstractCreatableProvider {
|
|
|
75113
74883
|
async activeByAddressStaked(staked) {
|
|
75114
74884
|
let active = 0n;
|
|
75115
74885
|
const positions = await this.activeStakes();
|
|
75116
|
-
for (const position of positions) if (position.removeBlock === 0 &&
|
|
74886
|
+
for (const position of positions) if (position.removeBlock === 0 && asXyoAddress(position.staked) === asXyoAddress(staked)) active += position.amount;
|
|
75117
74887
|
return active;
|
|
75118
74888
|
}
|
|
75119
74889
|
async activeByStaker(staker) {
|
|
75120
74890
|
let active = 0n;
|
|
75121
74891
|
const positions = await this.activeStakes();
|
|
75122
|
-
for (const position of positions) if (position.removeBlock === 0 &&
|
|
74892
|
+
for (const position of positions) if (position.removeBlock === 0 && asXyoAddress(position.staker) === asXyoAddress(staker)) active += position.amount;
|
|
75123
74893
|
return active;
|
|
75124
74894
|
}
|
|
75125
74895
|
activeStakes() {
|
|
@@ -75141,7 +74911,7 @@ var SimpleStakeViewer = class extends AbstractCreatableProvider {
|
|
|
75141
74911
|
async pendingByStaker(staker) {
|
|
75142
74912
|
let pending = 0n;
|
|
75143
74913
|
const positions = await this.removedStakes();
|
|
75144
|
-
for (const position of positions) if (position.removeBlock !== 0 && position.withdrawBlock === 0 &&
|
|
74914
|
+
for (const position of positions) if (position.removeBlock !== 0 && position.withdrawBlock === 0 && asXyoAddress(position.staker) === asXyoAddress(staker)) pending += position.amount;
|
|
75145
74915
|
return pending;
|
|
75146
74916
|
}
|
|
75147
74917
|
removedStakes() {
|
|
@@ -75154,15 +74924,15 @@ var SimpleStakeViewer = class extends AbstractCreatableProvider {
|
|
|
75154
74924
|
return assertEx(this.positions[id], () => /* @__PURE__ */ new Error(`Stake with id ${id} not found`));
|
|
75155
74925
|
}
|
|
75156
74926
|
stakeByStaker(staker, slot) {
|
|
75157
|
-
return this.positions.filter((s) =>
|
|
74927
|
+
return this.positions.filter((s) => asXyoAddress(s.staker) === asXyoAddress(staker))[slot];
|
|
75158
74928
|
}
|
|
75159
74929
|
stakesByStaked(staked, range = [0, void 0]) {
|
|
75160
74930
|
const endBlock = range[1] ?? Number.MAX_SAFE_INTEGER;
|
|
75161
|
-
return this.positions.filter((s) =>
|
|
74931
|
+
return this.positions.filter((s) => asXyoAddress(s.staked) === asXyoAddress(staked) && s.addBlock <= endBlock && s.removeBlock <= endBlock);
|
|
75162
74932
|
}
|
|
75163
74933
|
stakesByStaker(staker, range = [0, void 0]) {
|
|
75164
74934
|
const endBlock = range[1] ?? Number.MAX_SAFE_INTEGER;
|
|
75165
|
-
return this.positions.filter((s) =>
|
|
74935
|
+
return this.positions.filter((s) => asXyoAddress(s.staker) === asXyoAddress(staker) && s.addBlock <= endBlock && s.removeBlock <= endBlock);
|
|
75166
74936
|
}
|
|
75167
74937
|
stakingTokenAddress() {
|
|
75168
74938
|
return toAddress("0x000000000000000000000000000011");
|
|
@@ -75176,7 +74946,7 @@ var SimpleStakeViewer = class extends AbstractCreatableProvider {
|
|
|
75176
74946
|
async withdrawnByStaker(staker) {
|
|
75177
74947
|
let withdrawn = 0n;
|
|
75178
74948
|
const positions = await this.withdrawnStakes();
|
|
75179
|
-
for (const position of positions) if (position.withdrawBlock !== 0 &&
|
|
74949
|
+
for (const position of positions) if (position.withdrawBlock !== 0 && asXyoAddress(position.staker) === asXyoAddress(staker)) withdrawn += position.amount;
|
|
75180
74950
|
return withdrawn;
|
|
75181
74951
|
}
|
|
75182
74952
|
withdrawnStakes() {
|
|
@@ -75720,7 +75490,7 @@ function _v4(options, buf, offset) {
|
|
|
75720
75490
|
return unsafeStringify(rnds);
|
|
75721
75491
|
}
|
|
75722
75492
|
//#endregion
|
|
75723
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-rpc@2.0.
|
|
75493
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-rpc@2.0.9_77658ea279b706f8290a9fe147a0fc4e/node_modules/@xyo-network/xl1-rpc/dist/node/index-node.mjs
|
|
75724
75494
|
var __defProp$15 = Object.defineProperty;
|
|
75725
75495
|
var __getOwnPropDesc$14 = Object.getOwnPropertyDescriptor;
|
|
75726
75496
|
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$15(obj, key, {
|
|
@@ -75906,22 +75676,22 @@ var JsonRpcErrorCodes = {
|
|
|
75906
75676
|
var AccountBalanceViewerRpcSchemas = {
|
|
75907
75677
|
accountBalanceViewer_qualifiedAccountBalances: {
|
|
75908
75678
|
params: {
|
|
75909
|
-
to: tuple([array$1(
|
|
75910
|
-
from: tuple([array$1(
|
|
75679
|
+
to: tuple([array$1(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
75680
|
+
from: tuple([array$1(XyoAddressZod), ChainQualifiedConfigZod])
|
|
75911
75681
|
},
|
|
75912
75682
|
result: {
|
|
75913
|
-
to: ChainQualifiedZod(record$1(
|
|
75914
|
-
from: ChainQualifiedZod(record$1(
|
|
75683
|
+
to: ChainQualifiedZod(record$1(XyoAddressZod, BigIntToJsonZod)),
|
|
75684
|
+
from: ChainQualifiedZod(record$1(XyoAddressZod, JsonToBigIntZod))
|
|
75915
75685
|
}
|
|
75916
75686
|
},
|
|
75917
75687
|
accountBalanceViewer_qualifiedAccountBalanceHistories: {
|
|
75918
75688
|
params: {
|
|
75919
|
-
to: tuple([array$1(
|
|
75920
|
-
from: tuple([array$1(
|
|
75689
|
+
to: tuple([array$1(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
75690
|
+
from: tuple([array$1(XyoAddressZod), ChainQualifiedConfigZod])
|
|
75921
75691
|
},
|
|
75922
75692
|
result: {
|
|
75923
|
-
to: ChainQualifiedZod(record$1(
|
|
75924
|
-
from: ChainQualifiedZod(record$1(
|
|
75693
|
+
to: ChainQualifiedZod(record$1(XyoAddressZod, array$1(AccountBalanceHistoryItemZod))),
|
|
75694
|
+
from: ChainQualifiedZod(record$1(XyoAddressZod, array$1(AccountBalanceHistoryItemZod)))
|
|
75925
75695
|
}
|
|
75926
75696
|
}
|
|
75927
75697
|
};
|
|
@@ -76112,8 +75882,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
76112
75882
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76113
75883
|
},
|
|
76114
75884
|
result: {
|
|
76115
|
-
to: /* @__PURE__ */ record$2(
|
|
76116
|
-
from: /* @__PURE__ */ record$2(
|
|
75885
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75886
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76117
75887
|
}
|
|
76118
75888
|
},
|
|
76119
75889
|
networkStakingStepRewardsByStakerViewer_claimed: {
|
|
@@ -76122,8 +75892,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
76122
75892
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76123
75893
|
},
|
|
76124
75894
|
result: {
|
|
76125
|
-
to: /* @__PURE__ */ record$2(
|
|
76126
|
-
from: /* @__PURE__ */ record$2(
|
|
75895
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75896
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76127
75897
|
}
|
|
76128
75898
|
},
|
|
76129
75899
|
networkStakingStepRewardsByStakerViewer_earned: {
|
|
@@ -76132,8 +75902,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
76132
75902
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76133
75903
|
},
|
|
76134
75904
|
result: {
|
|
76135
|
-
to: /* @__PURE__ */ record$2(
|
|
76136
|
-
from: /* @__PURE__ */ record$2(
|
|
75905
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75906
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76137
75907
|
}
|
|
76138
75908
|
},
|
|
76139
75909
|
networkStakingStepRewardsByStakerViewer_total: {
|
|
@@ -76142,8 +75912,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
76142
75912
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76143
75913
|
},
|
|
76144
75914
|
result: {
|
|
76145
|
-
to: /* @__PURE__ */ record$2(
|
|
76146
|
-
from: /* @__PURE__ */ record$2(
|
|
75915
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75916
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76147
75917
|
}
|
|
76148
75918
|
},
|
|
76149
75919
|
networkStakingStepRewardsByStakerViewer_unclaimed: {
|
|
@@ -76152,8 +75922,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
76152
75922
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76153
75923
|
},
|
|
76154
75924
|
result: {
|
|
76155
|
-
to: /* @__PURE__ */ record$2(
|
|
76156
|
-
from: /* @__PURE__ */ record$2(
|
|
75925
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75926
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76157
75927
|
}
|
|
76158
75928
|
}
|
|
76159
75929
|
};
|
|
@@ -76164,8 +75934,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
76164
75934
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76165
75935
|
},
|
|
76166
75936
|
result: {
|
|
76167
|
-
to: /* @__PURE__ */ record$2(
|
|
76168
|
-
from: /* @__PURE__ */ record$2(
|
|
75937
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75938
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76169
75939
|
}
|
|
76170
75940
|
},
|
|
76171
75941
|
networkStakingStepRewardsByStepViewer_claimed: {
|
|
@@ -76174,8 +75944,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
76174
75944
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76175
75945
|
},
|
|
76176
75946
|
result: {
|
|
76177
|
-
to: /* @__PURE__ */ record$2(
|
|
76178
|
-
from: /* @__PURE__ */ record$2(
|
|
75947
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75948
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76179
75949
|
}
|
|
76180
75950
|
},
|
|
76181
75951
|
networkStakingStepRewardsByStepViewer_earned: {
|
|
@@ -76184,8 +75954,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
76184
75954
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76185
75955
|
},
|
|
76186
75956
|
result: {
|
|
76187
|
-
to: /* @__PURE__ */ record$2(
|
|
76188
|
-
from: /* @__PURE__ */ record$2(
|
|
75957
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75958
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76189
75959
|
}
|
|
76190
75960
|
},
|
|
76191
75961
|
networkStakingStepRewardsByStepViewer_total: {
|
|
@@ -76194,8 +75964,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
76194
75964
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76195
75965
|
},
|
|
76196
75966
|
result: {
|
|
76197
|
-
to: /* @__PURE__ */ record$2(
|
|
76198
|
-
from: /* @__PURE__ */ record$2(
|
|
75967
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75968
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76199
75969
|
}
|
|
76200
75970
|
},
|
|
76201
75971
|
networkStakingStepRewardsByStepViewer_unclaimed: {
|
|
@@ -76204,8 +75974,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
76204
75974
|
from: /* @__PURE__ */ tuple$1([/* @__PURE__ */ optional$2(RewardsRangeOptionsZod)])
|
|
76205
75975
|
},
|
|
76206
75976
|
result: {
|
|
76207
|
-
to: /* @__PURE__ */ record$2(
|
|
76208
|
-
from: /* @__PURE__ */ record$2(
|
|
75977
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
75978
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76209
75979
|
}
|
|
76210
75980
|
}
|
|
76211
75981
|
};
|
|
@@ -76274,8 +76044,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
76274
76044
|
},
|
|
76275
76045
|
stakeTotalsViewer_activeByStaked: {
|
|
76276
76046
|
params: {
|
|
76277
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76278
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76047
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())]),
|
|
76048
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())])
|
|
76279
76049
|
},
|
|
76280
76050
|
result: {
|
|
76281
76051
|
to: BigIntToJsonZod,
|
|
@@ -76284,8 +76054,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
76284
76054
|
},
|
|
76285
76055
|
stakeTotalsViewer_activeByStaker: {
|
|
76286
76056
|
params: {
|
|
76287
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76288
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76057
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())]),
|
|
76058
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())])
|
|
76289
76059
|
},
|
|
76290
76060
|
result: {
|
|
76291
76061
|
to: BigIntToJsonZod,
|
|
@@ -76304,8 +76074,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
76304
76074
|
},
|
|
76305
76075
|
stakeTotalsViewer_pendingByStaker: {
|
|
76306
76076
|
params: {
|
|
76307
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76308
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76077
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())]),
|
|
76078
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())])
|
|
76309
76079
|
},
|
|
76310
76080
|
result: {
|
|
76311
76081
|
to: BigIntToJsonZod,
|
|
@@ -76324,8 +76094,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
76324
76094
|
},
|
|
76325
76095
|
stakeTotalsViewer_withdrawnByStaker: {
|
|
76326
76096
|
params: {
|
|
76327
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76328
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76097
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())]),
|
|
76098
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ optional$2(/* @__PURE__ */ number$5())])
|
|
76329
76099
|
},
|
|
76330
76100
|
result: {
|
|
76331
76101
|
to: BigIntToJsonZod,
|
|
@@ -76351,8 +76121,8 @@ var StakeViewerRpcSchemas = {
|
|
|
76351
76121
|
from: NoArgsZod
|
|
76352
76122
|
},
|
|
76353
76123
|
result: {
|
|
76354
|
-
to:
|
|
76355
|
-
from:
|
|
76124
|
+
to: XyoAddressZod,
|
|
76125
|
+
from: XyoAddressZod
|
|
76356
76126
|
}
|
|
76357
76127
|
},
|
|
76358
76128
|
stakeViewer_stakeById: {
|
|
@@ -76367,8 +76137,8 @@ var StakeViewerRpcSchemas = {
|
|
|
76367
76137
|
},
|
|
76368
76138
|
stakeViewer_stakeByStaker: {
|
|
76369
76139
|
params: {
|
|
76370
|
-
to: tuple([
|
|
76371
|
-
from: tuple([
|
|
76140
|
+
to: tuple([XyoAddressZod, number$2()]),
|
|
76141
|
+
from: tuple([XyoAddressZod, number$2()])
|
|
76372
76142
|
},
|
|
76373
76143
|
result: {
|
|
76374
76144
|
to: StakeToJsonZod,
|
|
@@ -76377,8 +76147,8 @@ var StakeViewerRpcSchemas = {
|
|
|
76377
76147
|
},
|
|
76378
76148
|
stakeViewer_stakesByStaker: {
|
|
76379
76149
|
params: {
|
|
76380
|
-
to: tuple([
|
|
76381
|
-
from: tuple([
|
|
76150
|
+
to: tuple([XyoAddressZod]),
|
|
76151
|
+
from: tuple([XyoAddressZod])
|
|
76382
76152
|
},
|
|
76383
76153
|
result: {
|
|
76384
76154
|
to: array$1(StakeToJsonZod),
|
|
@@ -76387,8 +76157,8 @@ var StakeViewerRpcSchemas = {
|
|
|
76387
76157
|
},
|
|
76388
76158
|
stakeViewer_stakesByStaked: {
|
|
76389
76159
|
params: {
|
|
76390
|
-
to: tuple([
|
|
76391
|
-
from: tuple([
|
|
76160
|
+
to: tuple([XyoAddressZod]),
|
|
76161
|
+
from: tuple([XyoAddressZod])
|
|
76392
76162
|
},
|
|
76393
76163
|
result: {
|
|
76394
76164
|
to: array$1(StakeToJsonZod),
|
|
@@ -76401,8 +76171,8 @@ var StakeViewerRpcSchemas = {
|
|
|
76401
76171
|
from: NoArgsZod
|
|
76402
76172
|
},
|
|
76403
76173
|
result: {
|
|
76404
|
-
to:
|
|
76405
|
-
from:
|
|
76174
|
+
to: XyoAddressZod,
|
|
76175
|
+
from: XyoAddressZod
|
|
76406
76176
|
}
|
|
76407
76177
|
}
|
|
76408
76178
|
};
|
|
@@ -76623,8 +76393,8 @@ var XyoSignerRpcSchemas = {
|
|
|
76623
76393
|
from: tuple([]).default([])
|
|
76624
76394
|
},
|
|
76625
76395
|
result: {
|
|
76626
|
-
to:
|
|
76627
|
-
from:
|
|
76396
|
+
to: XyoAddressZod,
|
|
76397
|
+
from: XyoAddressZod
|
|
76628
76398
|
}
|
|
76629
76399
|
},
|
|
76630
76400
|
xyoSigner_signTransaction: {
|
|
@@ -76641,8 +76411,8 @@ var XyoSignerRpcSchemas = {
|
|
|
76641
76411
|
var XyoViewerRpcSchemas = {
|
|
76642
76412
|
xyoViewer_networkStakeStepRewardClaimedByAddress: {
|
|
76643
76413
|
params: {
|
|
76644
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76645
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76414
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod]),
|
|
76415
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod])
|
|
76646
76416
|
},
|
|
76647
76417
|
result: {
|
|
76648
76418
|
to: BigIntToJsonZod,
|
|
@@ -76651,28 +76421,28 @@ var XyoViewerRpcSchemas = {
|
|
|
76651
76421
|
},
|
|
76652
76422
|
xyoViewer_networkStakeStepRewardAddressReward: {
|
|
76653
76423
|
params: {
|
|
76654
|
-
to: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76655
|
-
from: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76424
|
+
to: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod]),
|
|
76425
|
+
from: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod])
|
|
76656
76426
|
},
|
|
76657
76427
|
result: {
|
|
76658
|
-
to: /* @__PURE__ */ record$2(
|
|
76659
|
-
from: /* @__PURE__ */ record$2(
|
|
76428
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
76429
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76660
76430
|
}
|
|
76661
76431
|
},
|
|
76662
76432
|
xyoViewer_networkStakeStepRewardAddressHistory: {
|
|
76663
76433
|
params: {
|
|
76664
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76665
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76434
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod]),
|
|
76435
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod])
|
|
76666
76436
|
},
|
|
76667
76437
|
result: {
|
|
76668
|
-
to: /* @__PURE__ */ record$2(
|
|
76669
|
-
from: /* @__PURE__ */ record$2(
|
|
76438
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
76439
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76670
76440
|
}
|
|
76671
76441
|
},
|
|
76672
76442
|
xyoViewer_networkStakeStepRewardAddressShare: {
|
|
76673
76443
|
params: {
|
|
76674
|
-
to: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76675
|
-
from: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76444
|
+
to: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod]),
|
|
76445
|
+
from: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod])
|
|
76676
76446
|
},
|
|
76677
76447
|
result: {
|
|
76678
76448
|
to: /* @__PURE__ */ tuple$1([BigIntToJsonZod, BigIntToJsonZod]),
|
|
@@ -76681,8 +76451,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76681
76451
|
},
|
|
76682
76452
|
xyoViewer_networkStakeStepRewardWeightForAddress: {
|
|
76683
76453
|
params: {
|
|
76684
|
-
to: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76685
|
-
from: /* @__PURE__ */ tuple$1([StepIdentityZod,
|
|
76454
|
+
to: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod]),
|
|
76455
|
+
from: /* @__PURE__ */ tuple$1([StepIdentityZod, XyoAddressZod])
|
|
76686
76456
|
},
|
|
76687
76457
|
result: {
|
|
76688
76458
|
to: BigIntToJsonZod,
|
|
@@ -76691,8 +76461,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76691
76461
|
},
|
|
76692
76462
|
xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
|
|
76693
76463
|
params: {
|
|
76694
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76695
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76464
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod]),
|
|
76465
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod])
|
|
76696
76466
|
},
|
|
76697
76467
|
result: {
|
|
76698
76468
|
to: BigIntToJsonZod,
|
|
@@ -76705,8 +76475,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76705
76475
|
from: /* @__PURE__ */ tuple$1([StepIdentityZod])
|
|
76706
76476
|
},
|
|
76707
76477
|
result: {
|
|
76708
|
-
to: /* @__PURE__ */ record$2(
|
|
76709
|
-
from: /* @__PURE__ */ record$2(
|
|
76478
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
76479
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, /* @__PURE__ */ pipe$1(JsonToBigIntZod, /* @__PURE__ */ transform$1((val) => asAttoXL1(val))))
|
|
76710
76480
|
}
|
|
76711
76481
|
},
|
|
76712
76482
|
xyoViewer_networkStakeStepRewardPositionWeight: {
|
|
@@ -76765,8 +76535,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76765
76535
|
from: /* @__PURE__ */ tuple$1([StepIdentityZod])
|
|
76766
76536
|
},
|
|
76767
76537
|
result: {
|
|
76768
|
-
to: /* @__PURE__ */ record$2(
|
|
76769
|
-
from: /* @__PURE__ */ record$2(
|
|
76538
|
+
to: /* @__PURE__ */ record$2(XyoAddressZod, BigIntToJsonZod),
|
|
76539
|
+
from: /* @__PURE__ */ record$2(XyoAddressZod, JsonToBigIntZod)
|
|
76770
76540
|
}
|
|
76771
76541
|
},
|
|
76772
76542
|
xyoViewer_networkStakeStepRewardForStepForPosition: {
|
|
@@ -76821,8 +76591,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76821
76591
|
},
|
|
76822
76592
|
xyoViewer_accountBalance: {
|
|
76823
76593
|
params: {
|
|
76824
|
-
to: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([
|
|
76825
|
-
from: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([
|
|
76594
|
+
to: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([XyoAddressZod]), /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ union$2([XL1BlockRangeZod, HashZod])])]),
|
|
76595
|
+
from: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([XyoAddressZod]), /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ union$2([XL1BlockRangeZod, HashZod])])])
|
|
76826
76596
|
},
|
|
76827
76597
|
result: {
|
|
76828
76598
|
to: BigIntToJsonZod,
|
|
@@ -76831,8 +76601,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76831
76601
|
},
|
|
76832
76602
|
xyoViewer_accountBalanceHistory: {
|
|
76833
76603
|
params: {
|
|
76834
|
-
to: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([
|
|
76835
|
-
from: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([
|
|
76604
|
+
to: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([XyoAddressZod]), /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ union$2([XL1BlockRangeZod, HashZod])])]),
|
|
76605
|
+
from: /* @__PURE__ */ union$2([/* @__PURE__ */ tuple$1([XyoAddressZod]), /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ union$2([XL1BlockRangeZod, HashZod])])])
|
|
76836
76606
|
},
|
|
76837
76607
|
result: {
|
|
76838
76608
|
to: /* @__PURE__ */ array$2(AccountBalanceHistoryItemZod),
|
|
@@ -76881,8 +76651,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76881
76651
|
},
|
|
76882
76652
|
xyoViewer_stakeByStaker: {
|
|
76883
76653
|
params: {
|
|
76884
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76885
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76654
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ number$5()]),
|
|
76655
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod, /* @__PURE__ */ number$5()])
|
|
76886
76656
|
},
|
|
76887
76657
|
result: {
|
|
76888
76658
|
to: StakeToJsonZod,
|
|
@@ -76901,8 +76671,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76901
76671
|
},
|
|
76902
76672
|
xyoViewer_stakesByStaker: {
|
|
76903
76673
|
params: {
|
|
76904
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76905
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76674
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod]),
|
|
76675
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod])
|
|
76906
76676
|
},
|
|
76907
76677
|
result: {
|
|
76908
76678
|
to: /* @__PURE__ */ array$2(StakeToJsonZod),
|
|
@@ -76911,8 +76681,8 @@ var XyoViewerRpcSchemas = {
|
|
|
76911
76681
|
},
|
|
76912
76682
|
xyoViewer_stakesByStaked: {
|
|
76913
76683
|
params: {
|
|
76914
|
-
to: /* @__PURE__ */ tuple$1([
|
|
76915
|
-
from: /* @__PURE__ */ tuple$1([
|
|
76684
|
+
to: /* @__PURE__ */ tuple$1([XyoAddressZod]),
|
|
76685
|
+
from: /* @__PURE__ */ tuple$1([XyoAddressZod])
|
|
76916
76686
|
},
|
|
76917
76687
|
result: {
|
|
76918
76688
|
to: /* @__PURE__ */ array$2(StakeToJsonZod),
|
|
@@ -78050,7 +77820,7 @@ var JsonRpcDataLakeViewer = class extends JsonRpcDataLakeViewerMethods {};
|
|
|
78050
77820
|
__publicField$13(JsonRpcDataLakeViewer, "dependencies", []);
|
|
78051
77821
|
JsonRpcDataLakeViewer = __decorateClass$14([creatableProvider()], JsonRpcDataLakeViewer);
|
|
78052
77822
|
//#endregion
|
|
78053
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-providers@2.0.
|
|
77823
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-providers@2.0.9_77658ea279b706f8290a9fe147a0fc4e/node_modules/@xyo-network/xl1-providers/dist/node/index.mjs
|
|
78054
77824
|
var __defProp$14 = Object.defineProperty;
|
|
78055
77825
|
var __getOwnPropDesc$13 = Object.getOwnPropertyDescriptor;
|
|
78056
77826
|
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$14(obj, key, {
|
|
@@ -79064,7 +78834,7 @@ __publicField$12(SimpleDeadLetterQueueViewer, "dependencies", []);
|
|
|
79064
78834
|
__publicField$12(SimpleDeadLetterQueueViewer, "monikers", [DeadLetterQueueViewerMoniker]);
|
|
79065
78835
|
SimpleDeadLetterQueueViewer = __decorateClass$13([creatableProvider()], SimpleDeadLetterQueueViewer);
|
|
79066
78836
|
//#endregion
|
|
79067
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-schema@2.0.
|
|
78837
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-schema@2.0.9_cfb5b89ca37510fe1ca6cdf9bccfb2d5/node_modules/@xyo-network/xl1-schema/dist/neutral/index.mjs
|
|
79068
78838
|
var BlockBoundWitnessJsonSchema = {
|
|
79069
78839
|
...boundWitnessJsonSchema,
|
|
79070
78840
|
$id: "https://schemas.xyo.network/2.0/block",
|
|
@@ -79195,7 +78965,7 @@ var TransactionBoundWitnessJsonSchema = {
|
|
|
79195
78965
|
},
|
|
79196
78966
|
from: {
|
|
79197
78967
|
type: "string",
|
|
79198
|
-
pattern:
|
|
78968
|
+
pattern: XyoAddressRegEx.source
|
|
79199
78969
|
},
|
|
79200
78970
|
nbf: { type: "integer" },
|
|
79201
78971
|
exp: { type: "integer" },
|
|
@@ -79255,7 +79025,7 @@ var ChainStakeIntentPayloadJsonSchema = {
|
|
|
79255
79025
|
...payloadJsonSchema.properties,
|
|
79256
79026
|
from: {
|
|
79257
79027
|
type: "string",
|
|
79258
|
-
pattern:
|
|
79028
|
+
pattern: XyoAddressRegEx.source
|
|
79259
79029
|
},
|
|
79260
79030
|
intent: {
|
|
79261
79031
|
type: "string",
|
|
@@ -79297,13 +79067,13 @@ var TransferPayloadJsonSchema = {
|
|
|
79297
79067
|
...payloadJsonSchema.properties,
|
|
79298
79068
|
from: {
|
|
79299
79069
|
type: "string",
|
|
79300
|
-
pattern:
|
|
79070
|
+
pattern: XyoAddressRegEx.source
|
|
79301
79071
|
},
|
|
79302
79072
|
epoch: { type: "number" },
|
|
79303
79073
|
transfers: {
|
|
79304
79074
|
type: "object",
|
|
79305
|
-
propertyNames: { pattern:
|
|
79306
|
-
patternProperties: { [
|
|
79075
|
+
propertyNames: { pattern: XyoAddressRegEx.source },
|
|
79076
|
+
patternProperties: { [XyoAddressRegEx.source]: {
|
|
79307
79077
|
type: "string",
|
|
79308
79078
|
pattern: Uint256RegEx.source
|
|
79309
79079
|
} }
|
|
@@ -79322,7 +79092,7 @@ var TransferPayloadJsonSchema = {
|
|
|
79322
79092
|
};
|
|
79323
79093
|
var TransferPayloadJsonSchemaPayload = new PayloadBuilder({ schema: SchemaSchema }).fields({ definition: TransferPayloadJsonSchema }).build();
|
|
79324
79094
|
//#endregion
|
|
79325
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-validation@2.0.
|
|
79095
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-validation@2.0.9_cfb5b89ca37510fe1ca6cdf9bccfb2d5/node_modules/@xyo-network/xl1-validation/dist/neutral/index.mjs
|
|
79326
79096
|
var import_ajv = require_ajv();
|
|
79327
79097
|
function maxTransactionFeeCost(tx) {
|
|
79328
79098
|
const { base, gasLimit, priority } = tx.fees;
|
|
@@ -79445,7 +79215,7 @@ var TransactionElevationValidator = (context, tx) => {
|
|
|
79445
79215
|
var TransactionFromValidator = (context, tx) => {
|
|
79446
79216
|
const errors = [];
|
|
79447
79217
|
try {
|
|
79448
|
-
const from =
|
|
79218
|
+
const from = asXyoAddress(tx[0].from);
|
|
79449
79219
|
if (from === void 0) errors.push(new HydratedTransactionValidationError(tx?.[0]?._hash ?? "0000000000000000000000000000000000000000000000000000000000000000", tx, "Transaction from is not a valid address"));
|
|
79450
79220
|
else if (!addressesContains(tx[0], from)) errors.push(new HydratedTransactionValidationError(tx?.[0]?._hash ?? "0000000000000000000000000000000000000000000000000000000000000000", tx, "Transaction from address must be listed in addresses"));
|
|
79451
79221
|
} catch (ex) {
|
|
@@ -79514,7 +79284,7 @@ var validateTransaction = async (context, tx, additionalValidators) => {
|
|
|
79514
79284
|
}
|
|
79515
79285
|
};
|
|
79516
79286
|
//#endregion
|
|
79517
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-wrappers@2.0.
|
|
79287
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-wrappers@2.0.9_715c119614011e51ea6387adc9d7968a/node_modules/@xyo-network/xl1-wrappers/dist/neutral/index.mjs
|
|
79518
79288
|
function parseHexOrBigInt(value) {
|
|
79519
79289
|
return AttoXL1(typeof value === "bigint" ? value : hexToBigInt(value));
|
|
79520
79290
|
}
|
|
@@ -79718,7 +79488,7 @@ var ChainHeadSelector = class extends ChainFinalizer {
|
|
|
79718
79488
|
return await spanRootAsync("findBestHead", async () => {
|
|
79719
79489
|
const allProposedBlocks = await this.mempoolViewer.pendingBlocks();
|
|
79720
79490
|
const allowedProducers = this.allowedProducers;
|
|
79721
|
-
const proposedBlocks = isDefined(allowedProducers) && allowedProducers.length > 0 ? allProposedBlocks.filter((pb) => allowedProducers.includes(pb[0].addresses[0])) : allProposedBlocks;
|
|
79491
|
+
const proposedBlocks = isDefined(allowedProducers) && allowedProducers.length > 0 ? allProposedBlocks.filter((pb) => allowedProducers.includes(toAddress(pb[0].addresses[0]))) : allProposedBlocks;
|
|
79722
79492
|
this.windowedFinalizedChain = await getWindowedChain(this.context, this.blockViewer, this.maxWindowSize, this.windowedFinalizedChain);
|
|
79723
79493
|
const uncles = findUncles(this.context, this.windowedFinalizedChain, proposedBlocks);
|
|
79724
79494
|
return findBestUncle(this.windowedFinalizedChain, uncles, { minCandidates: this.minCandidates }) ?? this.windowedFinalizedChain;
|
|
@@ -79845,7 +79615,7 @@ var createGenesisBlock = async (initialBlockProducer, nextContractAddress, genes
|
|
|
79845
79615
|
ChainStakeIntentPayloadJsonSchemaPayload,
|
|
79846
79616
|
HashPayloadJsonSchemaPayload
|
|
79847
79617
|
]);
|
|
79848
|
-
const intentPayload = await createProducerChainStakeIntent(initialBlockProducer.address, 1, 0);
|
|
79618
|
+
const intentPayload = await createProducerChainStakeIntent(toAddress(initialBlockProducer.address), 1, 0);
|
|
79849
79619
|
blockPayloads.push(intentPayload);
|
|
79850
79620
|
if (genesisBlockRewardAmount > 0n) blockPayloads.push(await PayloadBuilder.addHashMeta(createTransferPayload(nextContractAddress, { [genesisBlockRewardAddress]: genesisBlockRewardAmount })));
|
|
79851
79621
|
return await buildGenesisBlock(nextContractAddress, [], blockPayloads, [initialBlockProducer]);
|
|
@@ -100472,7 +100242,7 @@ var HeadValidationDiviner = class extends AbstractDiviner {
|
|
|
100472
100242
|
return isDefined(oldHeadBlock) ? b[0].block > oldHeadBlock.block : true;
|
|
100473
100243
|
});
|
|
100474
100244
|
const payloadsToFinalize = blocksToFinalize.flatMap((b) => flattenHydratedBlock(b));
|
|
100475
|
-
finalizedBlocksAttributes = [{ producer: newHeadBlock.addresses[0] }, ...finalizedBlocksAttributes];
|
|
100245
|
+
finalizedBlocksAttributes = [{ producer: toAddress(newHeadBlock.addresses[0]) }, ...finalizedBlocksAttributes];
|
|
100476
100246
|
this.logger?.info("Validated new HeadBlock head from (block) in", `${Date.now() - start}ms`, newHeadBlock.block, "to", oldHeadBlock?.block);
|
|
100477
100247
|
this.logger?.info("Validated new HeadBlock head from (hash) in", `${Date.now() - start}ms`, newHeadBlock._hash, "to", oldHeadBlock?._hash);
|
|
100478
100248
|
await this.spanAsync("HeadValidationDiviner:commitToOutArchivist", async () => {
|
|
@@ -101088,7 +100858,7 @@ var createBootstrapHead = async (account, chainId, genesisBlockRewardAmount, gen
|
|
|
101088
100858
|
const chain = [];
|
|
101089
100859
|
const genesisBlock = await createGenesisBlock(account, chainId, genesisBlockRewardAmount, genesisBlockRewardAddress);
|
|
101090
100860
|
chain.push(genesisBlock);
|
|
101091
|
-
const producerDeclarationPayload = createDeclarationIntent(account.address, "producer", genesisBlock[0].block, genesisBlock[0].block + 1e4);
|
|
100861
|
+
const producerDeclarationPayload = createDeclarationIntent(toAddress(account.address), "producer", genesisBlock[0].block, genesisBlock[0].block + 1e4);
|
|
101092
100862
|
const producerDeclarationBlock = await buildNextBlock(genesisBlock[0], [], [producerDeclarationPayload], [account]);
|
|
101093
100863
|
chain.push(producerDeclarationBlock);
|
|
101094
100864
|
return chain;
|
|
@@ -101361,7 +101131,7 @@ var SimpleBlockRunner = class extends AbstractCreatableProvider {
|
|
|
101361
101131
|
async createHandler() {
|
|
101362
101132
|
this._rejectedTransactionsArchivist = this.params.rejectedTransactionsArchivist ?? await MemoryArchivist.create();
|
|
101363
101133
|
this._account = assertEx(this.params.account, () => "Account is required");
|
|
101364
|
-
this._address = this.account.address;
|
|
101134
|
+
this._address = toAddress(this.account.address);
|
|
101365
101135
|
this._accountBalanceViewer = await this.locateAndCreate(AccountBalanceViewerMoniker);
|
|
101366
101136
|
this._blockRewardViewer = await this.locateAndCreate(BlockRewardViewerMoniker);
|
|
101367
101137
|
this._blockValidationViewer = await this.locator.getInstance(BlockValidationViewerMoniker);
|
|
@@ -101679,17 +101449,16 @@ function initTelemetry(params) {
|
|
|
101679
101449
|
};
|
|
101680
101450
|
}
|
|
101681
101451
|
//#endregion
|
|
101682
|
-
//#region ../../node_modules/.pnpm/@xylabs+mongo@6.0.
|
|
101452
|
+
//#region ../../node_modules/.pnpm/@xylabs+mongo@6.0.7_mongodb@7.2.0/node_modules/@xylabs/mongo/dist/node/index.mjs
|
|
101683
101453
|
var MongoClientWrapper = class _MongoClientWrapper {
|
|
101684
101454
|
/** Global cache of wrapper instances keyed by connection URI. */
|
|
101685
101455
|
static clients = /* @__PURE__ */ new Map();
|
|
101686
101456
|
client;
|
|
101687
101457
|
constructor(uri, maxPoolSize, closeDelay) {
|
|
101688
|
-
|
|
101689
|
-
|
|
101690
|
-
|
|
101691
|
-
};
|
|
101692
|
-
this.client = new MongoClient(uri, options);
|
|
101458
|
+
this.client = new MongoClient(uri, {
|
|
101459
|
+
maxIdleTimeMS: closeDelay,
|
|
101460
|
+
maxPoolSize
|
|
101461
|
+
});
|
|
101693
101462
|
}
|
|
101694
101463
|
/**
|
|
101695
101464
|
* Gets or creates a cached MongoClientWrapper for the given URI.
|
|
@@ -102014,14 +101783,14 @@ var canUseEvmProvider = (context) => {
|
|
|
102014
101783
|
return canUseInfuraProvider(context) || canUseJsonRpcProvider(context);
|
|
102015
101784
|
};
|
|
102016
101785
|
//#endregion
|
|
102017
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-model-mongodb@6.0.
|
|
101786
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-model-mongodb@6.0.2_863031a67647825b1a495837b0142018/node_modules/@xyo-network/archivist-model-mongodb/dist/node/index.mjs
|
|
102018
101787
|
var MongoDBArchivistConfigSchema = asSchema("network.xyo.archivist.mongodb.config", true);
|
|
102019
101788
|
//#endregion
|
|
102020
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-model-mongodb@6.0.
|
|
101789
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-model-mongodb@6.0.2_863031a67647825b1a495837b0142018/node_modules/@xyo-network/module-model-mongodb/dist/node/index.mjs
|
|
102021
101790
|
var MongoDBStorageClassLabels = { "network.xyo.storage.class": "mongodb" };
|
|
102022
101791
|
asSchema("network.xyo.module.mongodb.config", true);
|
|
102023
101792
|
//#endregion
|
|
102024
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract-mongodb@6.0.
|
|
101793
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract-mongodb@6.0.2_863031a67647825b1a495837b0142018/node_modules/@xyo-network/module-abstract-mongodb/dist/node/index.mjs
|
|
102025
101794
|
var __defProp$8 = Object.defineProperty;
|
|
102026
101795
|
var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
|
|
102027
101796
|
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, {
|
|
@@ -102279,7 +102048,7 @@ var ensureExistingCollectionIsCapped = async (sdk, max, docSize = 1024) => {
|
|
|
102279
102048
|
});
|
|
102280
102049
|
};
|
|
102281
102050
|
//#endregion
|
|
102282
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-mongodb@6.0.
|
|
102051
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-mongodb@6.0.2_83b24c4dcbe5f129245a624b55267865/node_modules/@xyo-network/payload-mongodb/dist/node/index.mjs
|
|
102283
102052
|
function payloadFromDbRepresentation(value) {
|
|
102284
102053
|
const clone = structuredClone(value);
|
|
102285
102054
|
const metaNormalized = {};
|
|
@@ -102307,7 +102076,7 @@ var toDbRepresentation = (value) => {
|
|
|
102307
102076
|
return isBoundWitness(value) ? boundWitnessToDbRepresentation(value) : payloadToDbRepresentation(value);
|
|
102308
102077
|
};
|
|
102309
102078
|
//#endregion
|
|
102310
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-mongodb@6.0.
|
|
102079
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-mongodb@6.0.2_a0826d8fde729c7dba8bf4546ba6c294/node_modules/@xyo-network/archivist-mongodb/dist/node/index.mjs
|
|
102311
102080
|
var validByType = async (payloads = []) => {
|
|
102312
102081
|
const results = [[], []];
|
|
102313
102082
|
await Promise.all(payloads.map(async (payload) => {
|
|
@@ -102521,7 +102290,7 @@ var MongoDBArchivistV2Deletable = class extends MongoDBArchivistV2 {
|
|
|
102521
102290
|
];
|
|
102522
102291
|
};
|
|
102523
102292
|
//#endregion
|
|
102524
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-lmdb@6.0.
|
|
102293
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-lmdb@6.0.2_a69e075ab68062f41b036a55fbb91a42/node_modules/@xyo-network/archivist-lmdb/dist/browser/index.mjs
|
|
102525
102294
|
var __defProp$7 = Object.defineProperty;
|
|
102526
102295
|
var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
|
|
102527
102296
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -110119,11 +109888,11 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110119
109888
|
}
|
|
110120
109889
|
return (hint === "string" ? String : Number)(input);
|
|
110121
109890
|
}
|
|
110122
|
-
var Buffer$
|
|
109891
|
+
var Buffer$6 = __require$1("buffer").Buffer;
|
|
110123
109892
|
var inspect$1 = __require$1("util").inspect;
|
|
110124
109893
|
var custom = inspect$1 && inspect$1.custom || "inspect";
|
|
110125
109894
|
function copyBuffer(src, target, offset) {
|
|
110126
|
-
Buffer$
|
|
109895
|
+
Buffer$6.prototype.copy.call(src, target, offset);
|
|
110127
109896
|
}
|
|
110128
109897
|
module.exports = /*#__PURE__*/ function() {
|
|
110129
109898
|
function BufferList() {
|
|
@@ -110189,8 +109958,8 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110189
109958
|
{
|
|
110190
109959
|
key: "concat",
|
|
110191
109960
|
value: function concat(n) {
|
|
110192
|
-
if (this.length === 0) return Buffer$
|
|
110193
|
-
var ret = Buffer$
|
|
109961
|
+
if (this.length === 0) return Buffer$6.alloc(0);
|
|
109962
|
+
var ret = Buffer$6.allocUnsafe(n >>> 0);
|
|
110194
109963
|
var p = this.head;
|
|
110195
109964
|
var i = 0;
|
|
110196
109965
|
while (p) {
|
|
@@ -110252,7 +110021,7 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110252
110021
|
{
|
|
110253
110022
|
key: "_getBuffer",
|
|
110254
110023
|
value: function _getBuffer(n) {
|
|
110255
|
-
var ret = Buffer$
|
|
110024
|
+
var ret = Buffer$6.allocUnsafe(n);
|
|
110256
110025
|
var p = this.head;
|
|
110257
110026
|
var c = 1;
|
|
110258
110027
|
p.data.copy(ret);
|
|
@@ -110926,13 +110695,13 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
110926
110695
|
return emitter.listeners(type).length;
|
|
110927
110696
|
};
|
|
110928
110697
|
var Stream = require_stream$1();
|
|
110929
|
-
var Buffer$
|
|
110698
|
+
var Buffer$5 = __require$1("buffer").Buffer;
|
|
110930
110699
|
var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() {};
|
|
110931
110700
|
function _uint8ArrayToBuffer(chunk) {
|
|
110932
|
-
return Buffer$
|
|
110701
|
+
return Buffer$5.from(chunk);
|
|
110933
110702
|
}
|
|
110934
110703
|
function _isUint8Array(obj) {
|
|
110935
|
-
return Buffer$
|
|
110704
|
+
return Buffer$5.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
110936
110705
|
}
|
|
110937
110706
|
var debugUtil = __require$1("util");
|
|
110938
110707
|
var debug;
|
|
@@ -111030,7 +110799,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111030
110799
|
if (typeof chunk === "string") {
|
|
111031
110800
|
encoding = encoding || state.defaultEncoding;
|
|
111032
110801
|
if (encoding !== state.encoding) {
|
|
111033
|
-
chunk = Buffer$
|
|
110802
|
+
chunk = Buffer$5.from(chunk, encoding);
|
|
111034
110803
|
encoding = "";
|
|
111035
110804
|
}
|
|
111036
110805
|
skipChunkCheck = true;
|
|
@@ -111052,7 +110821,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111052
110821
|
if (!skipChunkCheck) er = chunkInvalid(state, chunk);
|
|
111053
110822
|
if (er) errorOrDestroy(stream, er);
|
|
111054
110823
|
else if (state.objectMode || chunk && chunk.length > 0) {
|
|
111055
|
-
if (typeof chunk !== "string" && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer$
|
|
110824
|
+
if (typeof chunk !== "string" && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer$5.prototype) chunk = _uint8ArrayToBuffer(chunk);
|
|
111056
110825
|
if (addToFront) if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());
|
|
111057
110826
|
else addChunk(stream, state, chunk, true);
|
|
111058
110827
|
else if (state.ended) errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());
|
|
@@ -111654,13 +111423,13 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111654
111423
|
Writable.WritableState = WritableState;
|
|
111655
111424
|
var internalUtil = { deprecate: require_node$3() };
|
|
111656
111425
|
var Stream = require_stream$1();
|
|
111657
|
-
var Buffer$
|
|
111426
|
+
var Buffer$4 = __require$1("buffer").Buffer;
|
|
111658
111427
|
var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() {};
|
|
111659
111428
|
function _uint8ArrayToBuffer(chunk) {
|
|
111660
|
-
return Buffer$
|
|
111429
|
+
return Buffer$4.from(chunk);
|
|
111661
111430
|
}
|
|
111662
111431
|
function _isUint8Array(obj) {
|
|
111663
|
-
return Buffer$
|
|
111432
|
+
return Buffer$4.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
111664
111433
|
}
|
|
111665
111434
|
var destroyImpl = require_destroy();
|
|
111666
111435
|
var getHighWaterMark = require_state().getHighWaterMark;
|
|
@@ -111768,7 +111537,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111768
111537
|
var state = this._writableState;
|
|
111769
111538
|
var ret = false;
|
|
111770
111539
|
var isBuf = !state.objectMode && _isUint8Array(chunk);
|
|
111771
|
-
if (isBuf && !Buffer$
|
|
111540
|
+
if (isBuf && !Buffer$4.isBuffer(chunk)) chunk = _uint8ArrayToBuffer(chunk);
|
|
111772
111541
|
if (typeof encoding === "function") {
|
|
111773
111542
|
cb = encoding;
|
|
111774
111543
|
encoding = null;
|
|
@@ -111818,7 +111587,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111818
111587
|
}
|
|
111819
111588
|
});
|
|
111820
111589
|
function decodeChunk(state, chunk, encoding) {
|
|
111821
|
-
if (!state.objectMode && state.decodeStrings !== false && typeof chunk === "string") chunk = Buffer$
|
|
111590
|
+
if (!state.objectMode && state.decodeStrings !== false && typeof chunk === "string") chunk = Buffer$4.from(chunk, encoding);
|
|
111822
111591
|
return chunk;
|
|
111823
111592
|
}
|
|
111824
111593
|
Object.defineProperty(Writable.prototype, "writableHighWaterMark", {
|
|
@@ -150666,7 +150435,7 @@ var require_body_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
150666
150435
|
}
|
|
150667
150436
|
}));
|
|
150668
150437
|
//#endregion
|
|
150669
|
-
//#region ../../node_modules/.pnpm/@xylabs+express@6.0.
|
|
150438
|
+
//#region ../../node_modules/.pnpm/@xylabs+express@6.0.7_body-parser@2.2.2_connect@3.7.0_rollbar@3.1.0_winston-transport@4.9.0_winston@3.19.0_zod@4.4.3/node_modules/@xylabs/express/dist/node/index.mjs
|
|
150670
150439
|
var import_winston_transport = /* @__PURE__ */ __toESM(require_winston_transport(), 1);
|
|
150671
150440
|
var import_body_parser = /* @__PURE__ */ __toESM(require_body_parser(), 1);
|
|
150672
150441
|
var { colorize, combine, timestamp, printf } = import_winston.format;
|
|
@@ -152811,7 +152580,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
152811
152580
|
})();
|
|
152812
152581
|
}));
|
|
152813
152582
|
//#endregion
|
|
152814
|
-
//#region packages/orchestration-express/dist/
|
|
152583
|
+
//#region packages/orchestration-express/dist/node/index.mjs
|
|
152815
152584
|
var import_compression = /* @__PURE__ */ __toESM(require_compression(), 1);
|
|
152816
152585
|
var import_lib = /* @__PURE__ */ __toESM(require_lib$1(), 1);
|
|
152817
152586
|
var sendOk = (res, body) => {
|
|
@@ -153573,7 +153342,7 @@ function formatInsecureGenesisRewardWarning(accounts) {
|
|
|
153573
153342
|
}
|
|
153574
153343
|
async function resolveGenesisRewardAddress(config) {
|
|
153575
153344
|
if (config.chain.genesisRewardAddress) return config.chain.genesisRewardAddress;
|
|
153576
|
-
return (await (await generateXyoBaseWalletFromPhrase(INSECURE_GENESIS_REWARD_MNEMONIC)).derivePath("0")).address;
|
|
153345
|
+
return toAddress((await (await generateXyoBaseWalletFromPhrase(INSECURE_GENESIS_REWARD_MNEMONIC)).derivePath("0")).address);
|
|
153577
153346
|
}
|
|
153578
153347
|
async function resolveWalletForActor(actorName, accountPath) {
|
|
153579
153348
|
return await deriveWalletAtPath(activeWalletReport?.root.mnemonic ?? "crane ribbon cook cousin tobacco vital moral protect merit knock veteran hint knee ocean nurse", accountPath ?? resolveActorAccountPath(actorName));
|
|
@@ -154138,14 +153907,15 @@ async function initFinalizationArchivistIfNeeded(archivist, config, account, opt
|
|
|
154138
153907
|
if (configuredChainId && possibleHead && possibleHead.chain !== configuredChainId) throw new Error(`Configured chain ID (${configuredChainId}) does not match the existing chain ID (${possibleHead.chain})`);
|
|
154139
153908
|
let possibleChainId = configuredChainId;
|
|
154140
153909
|
if (!possibleHead) {
|
|
154141
|
-
|
|
153910
|
+
const chainId2 = possibleChainId ?? toAddress((await Account.random()).address);
|
|
153911
|
+
possibleChainId = chainId2;
|
|
154142
153912
|
if (!config.chain.genesisRewardAddress) {
|
|
154143
153913
|
const accounts = await buildInsecureGenesisRewardAccounts();
|
|
154144
153914
|
options.logger?.warn(formatInsecureGenesisRewardWarning(accounts));
|
|
154145
153915
|
if (options.onInsecureGenesisConfirm) await options.onInsecureGenesisConfirm();
|
|
154146
153916
|
}
|
|
154147
153917
|
const genesisRewardAddress = await resolveGenesisRewardAddress(config);
|
|
154148
|
-
const payloads = (await createBootstrapHead(account,
|
|
153918
|
+
const payloads = (await createBootstrapHead(account, chainId2, asAttoXL1(GENESIS_REWARD_AMOUNT), genesisRewardAddress)).flatMap((block) => flattenHydratedBlock(block));
|
|
154149
153919
|
await archivist.insert(payloads);
|
|
154150
153920
|
}
|
|
154151
153921
|
return [possibleHead ?? assertEx(await findMostRecentBlock(archivist), () => "No blocks found in chain archivist"), assertEx(possibleChainId, () => "Chain ID could not be determined")];
|
|
@@ -156555,7 +156325,7 @@ var require_utils$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156555
156325
|
var proxyaddr = require_proxy_addr();
|
|
156556
156326
|
var qs = require_lib$2();
|
|
156557
156327
|
var querystring = __require$1("node:querystring");
|
|
156558
|
-
const { Buffer: Buffer$
|
|
156328
|
+
const { Buffer: Buffer$3 } = __require$1("node:buffer");
|
|
156559
156329
|
/**
|
|
156560
156330
|
* A list of lowercased HTTP methods that are supported by Node.js.
|
|
156561
156331
|
* @api private
|
|
@@ -156726,7 +156496,7 @@ var require_utils$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156726
156496
|
*/
|
|
156727
156497
|
function createETagGenerator(options) {
|
|
156728
156498
|
return function generateETag(body, encoding) {
|
|
156729
|
-
return etag(!Buffer$
|
|
156499
|
+
return etag(!Buffer$3.isBuffer(body) ? Buffer$3.from(body, encoding) : body, options);
|
|
156730
156500
|
};
|
|
156731
156501
|
}
|
|
156732
156502
|
/**
|
|
@@ -161197,7 +160967,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161197
160967
|
var extname = path$5.extname;
|
|
161198
160968
|
var resolve = path$5.resolve;
|
|
161199
160969
|
var vary = require_vary();
|
|
161200
|
-
const { Buffer: Buffer$
|
|
160970
|
+
const { Buffer: Buffer$2 } = __require$1("node:buffer");
|
|
161201
160971
|
/**
|
|
161202
160972
|
* Response prototype.
|
|
161203
160973
|
* @public
|
|
@@ -161294,10 +161064,10 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161294
161064
|
var generateETag = !this.get("ETag") && typeof etagFn === "function";
|
|
161295
161065
|
var len;
|
|
161296
161066
|
if (chunk !== void 0) {
|
|
161297
|
-
if (Buffer$
|
|
161298
|
-
else if (!generateETag && chunk.length < 1e3) len = Buffer$
|
|
161067
|
+
if (Buffer$2.isBuffer(chunk)) len = chunk.length;
|
|
161068
|
+
else if (!generateETag && chunk.length < 1e3) len = Buffer$2.byteLength(chunk, encoding);
|
|
161299
161069
|
else {
|
|
161300
|
-
chunk = Buffer$
|
|
161070
|
+
chunk = Buffer$2.from(chunk, encoding);
|
|
161301
161071
|
encoding = void 0;
|
|
161302
161072
|
len = chunk.length;
|
|
161303
161073
|
}
|
|
@@ -161782,7 +161552,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161782
161552
|
}
|
|
161783
161553
|
});
|
|
161784
161554
|
this.status(status);
|
|
161785
|
-
this.set("Content-Length", Buffer$
|
|
161555
|
+
this.set("Content-Length", Buffer$2.byteLength(body));
|
|
161786
161556
|
if (this.req.method === "HEAD") this.end();
|
|
161787
161557
|
else this.end(body);
|
|
161788
161558
|
};
|
|
@@ -171519,13 +171289,13 @@ var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
171519
171289
|
//#endregion
|
|
171520
171290
|
//#region ../../node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js
|
|
171521
171291
|
var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
171522
|
-
const Buffer$
|
|
171292
|
+
const Buffer$1 = __require$1("buffer").Buffer;
|
|
171523
171293
|
const StringDecoder = __require$1("string_decoder").StringDecoder;
|
|
171524
171294
|
const decoder = new StringDecoder();
|
|
171525
171295
|
const errors = require_redis_errors();
|
|
171526
171296
|
const ReplyError = errors.ReplyError;
|
|
171527
171297
|
const ParserError = errors.ParserError;
|
|
171528
|
-
var bufferPool = Buffer$
|
|
171298
|
+
var bufferPool = Buffer$1.allocUnsafe(32 * 1024);
|
|
171529
171299
|
var bufferOffset = 0;
|
|
171530
171300
|
var interval = null;
|
|
171531
171301
|
var counter = 0;
|
|
@@ -171802,7 +171572,7 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
171802
171572
|
if (bufferPool.length < length + bufferOffset) {
|
|
171803
171573
|
const multiplier = length > 1024 * 1024 * 75 ? 2 : 3;
|
|
171804
171574
|
if (bufferOffset > 1024 * 1024 * 111) bufferOffset = 1024 * 1024 * 50;
|
|
171805
|
-
bufferPool = Buffer$
|
|
171575
|
+
bufferPool = Buffer$1.allocUnsafe(length * multiplier + bufferOffset);
|
|
171806
171576
|
bufferOffset = 0;
|
|
171807
171577
|
counter++;
|
|
171808
171578
|
if (interval === null) interval = setInterval(decreaseBufferPool, 50);
|
|
@@ -171928,7 +171698,7 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
171928
171698
|
} else if (this.bigStrSize === 0) {
|
|
171929
171699
|
const oldLength = this.buffer.length;
|
|
171930
171700
|
const remainingLength = oldLength - this.offset;
|
|
171931
|
-
const newBuffer = Buffer$
|
|
171701
|
+
const newBuffer = Buffer$1.allocUnsafe(remainingLength + buffer.length);
|
|
171932
171702
|
this.buffer.copy(newBuffer, 0, this.offset, oldLength);
|
|
171933
171703
|
buffer.copy(newBuffer, remainingLength, 0, buffer.length);
|
|
171934
171704
|
this.buffer = newBuffer;
|
|
@@ -173660,7 +173430,7 @@ var init_tslib_es6 = __esmMin((() => {
|
|
|
173660
173430
|
};
|
|
173661
173431
|
}));
|
|
173662
173432
|
//#endregion
|
|
173663
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173433
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/async-fifo-queue.js
|
|
173664
173434
|
var require_async_fifo_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173665
173435
|
/**
|
|
173666
173436
|
* (c) 2017-2025 BullForce Labs AB, MIT Licensed.
|
|
@@ -173813,7 +173583,7 @@ var require_async_fifo_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173813
173583
|
exports.AsyncFifoQueue = AsyncFifoQueue;
|
|
173814
173584
|
}));
|
|
173815
173585
|
//#endregion
|
|
173816
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173586
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/backoffs.js
|
|
173817
173587
|
var require_backoffs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173818
173588
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173819
173589
|
exports.Backoffs = void 0;
|
|
@@ -173857,7 +173627,7 @@ var require_backoffs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173857
173627
|
}
|
|
173858
173628
|
}));
|
|
173859
173629
|
//#endregion
|
|
173860
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173630
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/child-command.js
|
|
173861
173631
|
var require_child_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173862
173632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173863
173633
|
exports.ChildCommand = void 0;
|
|
@@ -173875,7 +173645,7 @@ var require_child_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173875
173645
|
})(ChildCommand || (exports.ChildCommand = ChildCommand = {}));
|
|
173876
173646
|
}));
|
|
173877
173647
|
//#endregion
|
|
173878
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173648
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/error-code.js
|
|
173879
173649
|
var require_error_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173880
173650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173881
173651
|
exports.ErrorCode = void 0;
|
|
@@ -173895,7 +173665,7 @@ var require_error_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173895
173665
|
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
173896
173666
|
}));
|
|
173897
173667
|
//#endregion
|
|
173898
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173668
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/parent-command.js
|
|
173899
173669
|
var require_parent_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173900
173670
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173901
173671
|
exports.ParentCommand = void 0;
|
|
@@ -173919,7 +173689,7 @@ var require_parent_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173919
173689
|
})(ParentCommand || (exports.ParentCommand = ParentCommand = {}));
|
|
173920
173690
|
}));
|
|
173921
173691
|
//#endregion
|
|
173922
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173692
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/metrics-time.js
|
|
173923
173693
|
var require_metrics_time = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173924
173694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173925
173695
|
exports.MetricsTime = void 0;
|
|
@@ -173936,7 +173706,7 @@ var require_metrics_time = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173936
173706
|
})(MetricsTime || (exports.MetricsTime = MetricsTime = {}));
|
|
173937
173707
|
}));
|
|
173938
173708
|
//#endregion
|
|
173939
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173709
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/telemetry-attributes.js
|
|
173940
173710
|
var require_telemetry_attributes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173941
173711
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173942
173712
|
exports.SpanKind = exports.MetricNames = exports.TelemetryAttributes = void 0;
|
|
@@ -174007,7 +173777,7 @@ var require_telemetry_attributes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174007
173777
|
})(SpanKind || (exports.SpanKind = SpanKind = {}));
|
|
174008
173778
|
}));
|
|
174009
173779
|
//#endregion
|
|
174010
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173780
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/index.js
|
|
174011
173781
|
var require_enums = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174012
173782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174013
173783
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -174018,7 +173788,7 @@ var require_enums = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174018
173788
|
tslib_1.__exportStar(require_telemetry_attributes(), exports);
|
|
174019
173789
|
}));
|
|
174020
173790
|
//#endregion
|
|
174021
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173791
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child.js
|
|
174022
173792
|
var require_child = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174023
173793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174024
173794
|
exports.Child = void 0;
|
|
@@ -174197,7 +173967,7 @@ var require_child = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174197
173967
|
};
|
|
174198
173968
|
}));
|
|
174199
173969
|
//#endregion
|
|
174200
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173970
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child-pool.js
|
|
174201
173971
|
var require_child_pool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
174202
173972
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174203
173973
|
exports.ChildPool = void 0;
|
|
@@ -174340,7 +174110,7 @@ var require_node_abort_controller = /* @__PURE__ */ __commonJSMin(((exports, mod
|
|
|
174340
174110
|
};
|
|
174341
174111
|
}));
|
|
174342
174112
|
//#endregion
|
|
174343
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
174113
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/abort-controller.js
|
|
174344
174114
|
var require_abort_controller = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174345
174115
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174346
174116
|
exports.AbortController = void 0;
|
|
@@ -174352,7 +174122,7 @@ var require_abort_controller = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174352
174122
|
exports.AbortController = AbortController;
|
|
174353
174123
|
}));
|
|
174354
174124
|
//#endregion
|
|
174355
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
174125
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/connection-closed-error.js
|
|
174356
174126
|
var require_connection_closed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174357
174127
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174358
174128
|
exports.ConnectionClosedError = void 0;
|
|
@@ -175747,7 +175517,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
175747
175517
|
};
|
|
175748
175518
|
}));
|
|
175749
175519
|
//#endregion
|
|
175750
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
175520
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/utils/index.js
|
|
175751
175521
|
var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
175752
175522
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
175753
175523
|
exports.QUEUE_EVENT_SUFFIX = exports.toString = exports.errorToJSON = exports.parseObjectValues = exports.isRedisVersionLowerThan = exports.childSend = exports.asyncSend = exports.DELAY_TIME_1 = exports.DELAY_TIME_5 = exports.clientCommandMessageReg = exports.optsEncodeMap = exports.optsDecodeMap = exports.errorObject = void 0;
|
|
@@ -176012,7 +175782,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176012
175782
|
}
|
|
176013
175783
|
}));
|
|
176014
175784
|
//#endregion
|
|
176015
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
175785
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child-processor.js
|
|
176016
175786
|
var require_child_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176017
175787
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176018
175788
|
exports.ChildProcessor = void 0;
|
|
@@ -176244,7 +176014,7 @@ var require_child_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176244
176014
|
};
|
|
176245
176015
|
}));
|
|
176246
176016
|
//#endregion
|
|
176247
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176017
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/delayed-error.js
|
|
176248
176018
|
var require_delayed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176249
176019
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176250
176020
|
exports.DelayedError = exports.DELAYED_ERROR = void 0;
|
|
@@ -176266,7 +176036,7 @@ var require_delayed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176266
176036
|
exports.DelayedError = DelayedError;
|
|
176267
176037
|
}));
|
|
176268
176038
|
//#endregion
|
|
176269
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176039
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/rate-limit-error.js
|
|
176270
176040
|
var require_rate_limit_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176271
176041
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176272
176042
|
exports.RateLimitError = exports.RATE_LIMIT_ERROR = void 0;
|
|
@@ -176287,7 +176057,7 @@ var require_rate_limit_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176287
176057
|
exports.RateLimitError = RateLimitError;
|
|
176288
176058
|
}));
|
|
176289
176059
|
//#endregion
|
|
176290
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176060
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/unrecoverable-error.js
|
|
176291
176061
|
var require_unrecoverable_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176292
176062
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176293
176063
|
exports.UnrecoverableError = exports.UNRECOVERABLE_ERROR = void 0;
|
|
@@ -176309,7 +176079,7 @@ var require_unrecoverable_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176309
176079
|
exports.UnrecoverableError = UnrecoverableError;
|
|
176310
176080
|
}));
|
|
176311
176081
|
//#endregion
|
|
176312
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176082
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/waiting-children-error.js
|
|
176313
176083
|
var require_waiting_children_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176314
176084
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176315
176085
|
exports.WaitingChildrenError = exports.WAITING_CHILDREN_ERROR = void 0;
|
|
@@ -176331,7 +176101,7 @@ var require_waiting_children_error = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
176331
176101
|
exports.WaitingChildrenError = WaitingChildrenError;
|
|
176332
176102
|
}));
|
|
176333
176103
|
//#endregion
|
|
176334
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176104
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/waiting-error.js
|
|
176335
176105
|
var require_waiting_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176336
176106
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176337
176107
|
exports.WaitingError = exports.WAITING_ERROR = void 0;
|
|
@@ -176352,7 +176122,7 @@ var require_waiting_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176352
176122
|
exports.WaitingError = WaitingError;
|
|
176353
176123
|
}));
|
|
176354
176124
|
//#endregion
|
|
176355
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176125
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/index.js
|
|
176356
176126
|
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176357
176127
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176358
176128
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -176852,12 +176622,12 @@ var require_node_gyp_build_optional_packages = /* @__PURE__ */ __commonJSMin(((e
|
|
|
176852
176622
|
else module.exports = require_node_gyp_build();
|
|
176853
176623
|
}));
|
|
176854
176624
|
//#endregion
|
|
176855
|
-
//#region ../../node_modules/.pnpm/msgpackr-extract@3.0.
|
|
176625
|
+
//#region ../../node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract/index.js
|
|
176856
176626
|
var require_msgpackr_extract = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
176857
176627
|
module.exports = require_node_gyp_build_optional_packages()(__dirname);
|
|
176858
176628
|
}));
|
|
176859
176629
|
//#endregion
|
|
176860
|
-
//#region ../../node_modules/.pnpm/msgpackr@2.0.
|
|
176630
|
+
//#region ../../node_modules/.pnpm/msgpackr@2.0.2/node_modules/msgpackr/dist/node.cjs
|
|
176861
176631
|
var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176862
176632
|
var stream = __require$1("stream");
|
|
176863
176633
|
var module$1 = __require$1("module");
|
|
@@ -178891,14 +178661,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
178891
178661
|
exports.useRecords = useRecords;
|
|
178892
178662
|
}));
|
|
178893
178663
|
//#endregion
|
|
178894
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
178664
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/version.js
|
|
178895
178665
|
var require_version = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
178896
178666
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
178897
178667
|
exports.version = void 0;
|
|
178898
|
-
exports.version = "5.77.
|
|
178668
|
+
exports.version = "5.77.7";
|
|
178899
178669
|
}));
|
|
178900
178670
|
//#endregion
|
|
178901
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
178671
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/scripts.js
|
|
178902
178672
|
/**
|
|
178903
178673
|
* Includes all the scripts needed by the queue and jobs.
|
|
178904
178674
|
*/
|
|
@@ -180125,7 +179895,7 @@ var require_scripts$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
180125
179895
|
}
|
|
180126
179896
|
}));
|
|
180127
179897
|
//#endregion
|
|
180128
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
179898
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/utils/create-scripts.js
|
|
180129
179899
|
var require_create_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
180130
179900
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
180131
179901
|
exports.createScripts = void 0;
|
|
@@ -180146,7 +179916,7 @@ var require_create_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
180146
179916
|
exports.createScripts = createScripts;
|
|
180147
179917
|
}));
|
|
180148
179918
|
//#endregion
|
|
180149
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
179919
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/job.js
|
|
180150
179920
|
var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
180151
179921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
180152
179922
|
exports.Job = exports.PRIORITY_LIMIT = void 0;
|
|
@@ -181051,7 +180821,7 @@ var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
181051
180821
|
}
|
|
181052
180822
|
}));
|
|
181053
180823
|
//#endregion
|
|
181054
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
180824
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-keys.js
|
|
181055
180825
|
var require_queue_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181056
180826
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181057
180827
|
exports.QueueKeys = void 0;
|
|
@@ -181096,7 +180866,7 @@ var require_queue_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
181096
180866
|
exports.QueueKeys = QueueKeys;
|
|
181097
180867
|
}));
|
|
181098
180868
|
//#endregion
|
|
181099
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
180869
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addDelayedJob-6.js
|
|
181100
180870
|
var require_addDelayedJob_6 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181101
180871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181102
180872
|
exports.addDelayedJob = void 0;
|
|
@@ -181677,7 +181447,7 @@ return jobId .. "" -- convert to string
|
|
|
181677
181447
|
};
|
|
181678
181448
|
}));
|
|
181679
181449
|
//#endregion
|
|
181680
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
181450
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addJobScheduler-11.js
|
|
181681
181451
|
var require_addJobScheduler_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181682
181452
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181683
181453
|
exports.addJobScheduler = void 0;
|
|
@@ -182274,7 +182044,7 @@ return {jobId .. "", delay}
|
|
|
182274
182044
|
};
|
|
182275
182045
|
}));
|
|
182276
182046
|
//#endregion
|
|
182277
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182047
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addLog-2.js
|
|
182278
182048
|
var require_addLog_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182279
182049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182280
182050
|
exports.addLog = void 0;
|
|
@@ -182308,7 +182078,7 @@ end
|
|
|
182308
182078
|
};
|
|
182309
182079
|
}));
|
|
182310
182080
|
//#endregion
|
|
182311
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182081
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addParentJob-6.js
|
|
182312
182082
|
var require_addParentJob_6 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182313
182083
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182314
182084
|
exports.addParentJob = void 0;
|
|
@@ -182786,7 +182556,7 @@ return jobId .. "" -- convert to string
|
|
|
182786
182556
|
};
|
|
182787
182557
|
}));
|
|
182788
182558
|
//#endregion
|
|
182789
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182559
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addPrioritizedJob-9.js
|
|
182790
182560
|
var require_addPrioritizedJob_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182791
182561
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182792
182562
|
exports.addPrioritizedJob = void 0;
|
|
@@ -183337,7 +183107,7 @@ return jobId .. "" -- convert to string
|
|
|
183337
183107
|
};
|
|
183338
183108
|
}));
|
|
183339
183109
|
//#endregion
|
|
183340
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183110
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addRepeatableJob-2.js
|
|
183341
183111
|
var require_addRepeatableJob_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
183342
183112
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
183343
183113
|
exports.addRepeatableJob = void 0;
|
|
@@ -183576,7 +183346,7 @@ return storeRepeatableJob(repeatKey, customKey, nextMillis, ARGV[2])
|
|
|
183576
183346
|
};
|
|
183577
183347
|
}));
|
|
183578
183348
|
//#endregion
|
|
183579
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183349
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addStandardJob-9.js
|
|
183580
183350
|
var require_addStandardJob_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
183581
183351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
183582
183352
|
exports.addStandardJob = void 0;
|
|
@@ -184131,7 +183901,7 @@ return jobId .. "" -- convert to string
|
|
|
184131
183901
|
};
|
|
184132
183902
|
}));
|
|
184133
183903
|
//#endregion
|
|
184134
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183904
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/changeDelay-4.js
|
|
184135
183905
|
var require_changeDelay_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184136
183906
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184137
183907
|
exports.changeDelay = void 0;
|
|
@@ -184239,7 +184009,7 @@ end`,
|
|
|
184239
184009
|
};
|
|
184240
184010
|
}));
|
|
184241
184011
|
//#endregion
|
|
184242
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184012
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/changePriority-7.js
|
|
184243
184013
|
var require_changePriority_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184244
184014
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184245
184015
|
exports.changePriority = void 0;
|
|
@@ -184368,7 +184138,7 @@ end
|
|
|
184368
184138
|
};
|
|
184369
184139
|
}));
|
|
184370
184140
|
//#endregion
|
|
184371
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184141
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/cleanJobsInSet-3.js
|
|
184372
184142
|
var require_cleanJobsInSet_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184373
184143
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184374
184144
|
exports.cleanJobsInSet = void 0;
|
|
@@ -184738,7 +184508,7 @@ return result[1]
|
|
|
184738
184508
|
};
|
|
184739
184509
|
}));
|
|
184740
184510
|
//#endregion
|
|
184741
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184511
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/drain-5.js
|
|
184742
184512
|
var require_drain_5 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184743
184513
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184744
184514
|
exports.drain = void 0;
|
|
@@ -185014,7 +184784,7 @@ removeZSetJobs(KEYS[4], true, queueBaseKey, 0, scheduledJobs) -- prioritized
|
|
|
185014
184784
|
};
|
|
185015
184785
|
}));
|
|
185016
184786
|
//#endregion
|
|
185017
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184787
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/extendLock-2.js
|
|
185018
184788
|
var require_extendLock_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185019
184789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185020
184790
|
exports.extendLock = void 0;
|
|
@@ -185045,7 +184815,7 @@ return 0
|
|
|
185045
184815
|
};
|
|
185046
184816
|
}));
|
|
185047
184817
|
//#endregion
|
|
185048
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184818
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/extendLocks-1.js
|
|
185049
184819
|
var require_extendLocks_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185050
184820
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185051
184821
|
exports.extendLocks = void 0;
|
|
@@ -185096,7 +184866,7 @@ return failedJobs
|
|
|
185096
184866
|
};
|
|
185097
184867
|
}));
|
|
185098
184868
|
//#endregion
|
|
185099
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184869
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getCounts-1.js
|
|
185100
184870
|
var require_getCounts_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185101
184871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185102
184872
|
exports.getCounts = void 0;
|
|
@@ -185139,7 +184909,7 @@ return results
|
|
|
185139
184909
|
};
|
|
185140
184910
|
}));
|
|
185141
184911
|
//#endregion
|
|
185142
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184912
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getCountsPerPriority-4.js
|
|
185143
184913
|
var require_getCountsPerPriority_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185144
184914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185145
184915
|
exports.getCountsPerPriority = void 0;
|
|
@@ -185186,7 +184956,7 @@ return results
|
|
|
185186
184956
|
};
|
|
185187
184957
|
}));
|
|
185188
184958
|
//#endregion
|
|
185189
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184959
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getDependencyCounts-4.js
|
|
185190
184960
|
var require_getDependencyCounts_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185191
184961
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185192
184962
|
exports.getDependencyCounts = void 0;
|
|
@@ -185224,7 +184994,7 @@ return results
|
|
|
185224
184994
|
};
|
|
185225
184995
|
}));
|
|
185226
184996
|
//#endregion
|
|
185227
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184997
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getJobScheduler-1.js
|
|
185228
184998
|
var require_getJobScheduler_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185229
184999
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185230
185000
|
exports.getJobScheduler = void 0;
|
|
@@ -185248,7 +185018,7 @@ return {nil, nil}
|
|
|
185248
185018
|
};
|
|
185249
185019
|
}));
|
|
185250
185020
|
//#endregion
|
|
185251
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185021
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getMetrics-2.js
|
|
185252
185022
|
var require_getMetrics_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185253
185023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185254
185024
|
exports.getMetrics = void 0;
|
|
@@ -185274,7 +185044,7 @@ return {metrics, data, numPoints}
|
|
|
185274
185044
|
};
|
|
185275
185045
|
}));
|
|
185276
185046
|
//#endregion
|
|
185277
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185047
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getRanges-1.js
|
|
185278
185048
|
var require_getRanges_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185279
185049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185280
185050
|
exports.getRanges = void 0;
|
|
@@ -185348,7 +185118,7 @@ return results
|
|
|
185348
185118
|
};
|
|
185349
185119
|
}));
|
|
185350
185120
|
//#endregion
|
|
185351
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185121
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getRateLimitTtl-2.js
|
|
185352
185122
|
var require_getRateLimitTtl_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185353
185123
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185354
185124
|
exports.getRateLimitTtl = void 0;
|
|
@@ -185393,7 +185163,7 @@ end
|
|
|
185393
185163
|
};
|
|
185394
185164
|
}));
|
|
185395
185165
|
//#endregion
|
|
185396
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185166
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getState-8.js
|
|
185397
185167
|
var require_getState_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185398
185168
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185399
185169
|
exports.getState = void 0;
|
|
@@ -185467,7 +185237,7 @@ return "unknown"
|
|
|
185467
185237
|
};
|
|
185468
185238
|
}));
|
|
185469
185239
|
//#endregion
|
|
185470
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185240
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getStateV2-8.js
|
|
185471
185241
|
var require_getStateV2_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185472
185242
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185473
185243
|
exports.getStateV2 = void 0;
|
|
@@ -185525,7 +185295,7 @@ return "unknown"
|
|
|
185525
185295
|
};
|
|
185526
185296
|
}));
|
|
185527
185297
|
//#endregion
|
|
185528
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185298
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isFinished-3.js
|
|
185529
185299
|
var require_isFinished_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185530
185300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185531
185301
|
exports.isFinished = void 0;
|
|
@@ -185575,7 +185345,7 @@ return 0
|
|
|
185575
185345
|
};
|
|
185576
185346
|
}));
|
|
185577
185347
|
//#endregion
|
|
185578
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185348
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isJobInList-1.js
|
|
185579
185349
|
var require_isJobInList_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185580
185350
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185581
185351
|
exports.isJobInList = void 0;
|
|
@@ -185608,7 +185378,7 @@ return checkItemInList(items, ARGV[1])
|
|
|
185608
185378
|
};
|
|
185609
185379
|
}));
|
|
185610
185380
|
//#endregion
|
|
185611
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185381
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isMaxed-2.js
|
|
185612
185382
|
var require_isMaxed_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185613
185383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185614
185384
|
exports.isMaxed = void 0;
|
|
@@ -185643,7 +185413,7 @@ return isQueueMaxed(KEYS[1], KEYS[2])
|
|
|
185643
185413
|
};
|
|
185644
185414
|
}));
|
|
185645
185415
|
//#endregion
|
|
185646
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185416
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveJobFromActiveToWait-9.js
|
|
185647
185417
|
var require_moveJobFromActiveToWait_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185648
185418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185649
185419
|
exports.moveJobFromActiveToWait = void 0;
|
|
@@ -185778,7 +185548,7 @@ end
|
|
|
185778
185548
|
};
|
|
185779
185549
|
}));
|
|
185780
185550
|
//#endregion
|
|
185781
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185551
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveJobsToWait-8.js
|
|
185782
185552
|
var require_moveJobsToWait_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185783
185553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185784
185554
|
exports.moveJobsToWait = void 0;
|
|
@@ -185897,7 +185667,7 @@ return 0
|
|
|
185897
185667
|
};
|
|
185898
185668
|
}));
|
|
185899
185669
|
//#endregion
|
|
185900
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185670
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveStalledJobsToWait-8.js
|
|
185901
185671
|
var require_moveStalledJobsToWait_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185902
185672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185903
185673
|
exports.moveStalledJobsToWait = void 0;
|
|
@@ -186083,7 +185853,7 @@ return stalled
|
|
|
186083
185853
|
};
|
|
186084
185854
|
}));
|
|
186085
185855
|
//#endregion
|
|
186086
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185856
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToActive-11.js
|
|
186087
185857
|
var require_moveToActive_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186088
185858
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186089
185859
|
exports.moveToActive = void 0;
|
|
@@ -186328,7 +186098,7 @@ return {0, 0, 0, 0}
|
|
|
186328
186098
|
};
|
|
186329
186099
|
}));
|
|
186330
186100
|
//#endregion
|
|
186331
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
186101
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToDelayed-12.js
|
|
186332
186102
|
var require_moveToDelayed_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186333
186103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186334
186104
|
exports.moveToDelayed = void 0;
|
|
@@ -186728,7 +186498,7 @@ end
|
|
|
186728
186498
|
};
|
|
186729
186499
|
}));
|
|
186730
186500
|
//#endregion
|
|
186731
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
186501
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToFinished-14.js
|
|
186732
186502
|
var require_moveToFinished_14 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186733
186503
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186734
186504
|
exports.moveToFinished = void 0;
|
|
@@ -187774,7 +187544,7 @@ end
|
|
|
187774
187544
|
};
|
|
187775
187545
|
}));
|
|
187776
187546
|
//#endregion
|
|
187777
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
187547
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToWaitingChildren-7.js
|
|
187778
187548
|
var require_moveToWaitingChildren_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
187779
187549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
187780
187550
|
exports.moveToWaitingChildren = void 0;
|
|
@@ -187882,7 +187652,7 @@ return -1
|
|
|
187882
187652
|
};
|
|
187883
187653
|
}));
|
|
187884
187654
|
//#endregion
|
|
187885
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
187655
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/obliterate-2.js
|
|
187886
187656
|
var require_obliterate_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
187887
187657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
187888
187658
|
exports.obliterate = void 0;
|
|
@@ -188227,7 +187997,7 @@ end
|
|
|
188227
187997
|
};
|
|
188228
187998
|
}));
|
|
188229
187999
|
//#endregion
|
|
188230
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188000
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/paginate-1.js
|
|
188231
188001
|
var require_paginate_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188232
188002
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188233
188003
|
exports.paginate = void 0;
|
|
@@ -188338,7 +188108,7 @@ return {cursor, offset, items, numItems, jobs}
|
|
|
188338
188108
|
};
|
|
188339
188109
|
}));
|
|
188340
188110
|
//#endregion
|
|
188341
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188111
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/pause-7.js
|
|
188342
188112
|
var require_pause_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188343
188113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188344
188114
|
exports.pause = void 0;
|
|
@@ -188406,7 +188176,7 @@ rcall("XADD", KEYS[5], "*", "event", ARGV[1]);
|
|
|
188406
188176
|
};
|
|
188407
188177
|
}));
|
|
188408
188178
|
//#endregion
|
|
188409
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188179
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/promote-9.js
|
|
188410
188180
|
var require_promote_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188411
188181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188412
188182
|
exports.promote = void 0;
|
|
@@ -188517,7 +188287,7 @@ end
|
|
|
188517
188287
|
};
|
|
188518
188288
|
}));
|
|
188519
188289
|
//#endregion
|
|
188520
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188290
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/releaseLock-1.js
|
|
188521
188291
|
var require_releaseLock_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188522
188292
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188523
188293
|
exports.releaseLock = void 0;
|
|
@@ -188543,7 +188313,7 @@ end
|
|
|
188543
188313
|
};
|
|
188544
188314
|
}));
|
|
188545
188315
|
//#endregion
|
|
188546
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188316
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeChildDependency-1.js
|
|
188547
188317
|
var require_removeChildDependency_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188548
188318
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188549
188319
|
exports.removeChildDependency = void 0;
|
|
@@ -188709,7 +188479,7 @@ end`,
|
|
|
188709
188479
|
};
|
|
188710
188480
|
}));
|
|
188711
188481
|
//#endregion
|
|
188712
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188482
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeDeduplicationKey-1.js
|
|
188713
188483
|
var require_removeDeduplicationKey_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188714
188484
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188715
188485
|
exports.removeDeduplicationKey = void 0;
|
|
@@ -188737,7 +188507,7 @@ return 0
|
|
|
188737
188507
|
};
|
|
188738
188508
|
}));
|
|
188739
188509
|
//#endregion
|
|
188740
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188510
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeJob-2.js
|
|
188741
188511
|
var require_removeJob_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188742
188512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188743
188513
|
exports.removeJob = void 0;
|
|
@@ -189090,7 +188860,7 @@ return 0
|
|
|
189090
188860
|
};
|
|
189091
188861
|
}));
|
|
189092
188862
|
//#endregion
|
|
189093
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188863
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeJobScheduler-3.js
|
|
189094
188864
|
var require_removeJobScheduler_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189095
188865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189096
188866
|
exports.removeJobScheduler = void 0;
|
|
@@ -189140,7 +188910,7 @@ return 1
|
|
|
189140
188910
|
};
|
|
189141
188911
|
}));
|
|
189142
188912
|
//#endregion
|
|
189143
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188913
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeOrphanedJobs-1.js
|
|
189144
188914
|
var require_removeOrphanedJobs_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189145
188915
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189146
188916
|
exports.removeOrphanedJobs = void 0;
|
|
@@ -189218,7 +188988,7 @@ return removedCount
|
|
|
189218
188988
|
};
|
|
189219
188989
|
}));
|
|
189220
188990
|
//#endregion
|
|
189221
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188991
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeRepeatable-3.js
|
|
189222
188992
|
var require_removeRepeatable_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189223
188993
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189224
188994
|
exports.removeRepeatable = void 0;
|
|
@@ -189282,7 +189052,7 @@ return 1
|
|
|
189282
189052
|
};
|
|
189283
189053
|
}));
|
|
189284
189054
|
//#endregion
|
|
189285
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189055
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeUnprocessedChildren-2.js
|
|
189286
189056
|
var require_removeUnprocessedChildren_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189287
189057
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189288
189058
|
exports.removeUnprocessedChildren = void 0;
|
|
@@ -189625,7 +189395,7 @@ removeJobChildren(prefix, jobKey, options)
|
|
|
189625
189395
|
};
|
|
189626
189396
|
}));
|
|
189627
189397
|
//#endregion
|
|
189628
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189398
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/reprocessJob-8.js
|
|
189629
189399
|
var require_reprocessJob_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189630
189400
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189631
189401
|
exports.reprocessJob = void 0;
|
|
@@ -189745,7 +189515,7 @@ end
|
|
|
189745
189515
|
};
|
|
189746
189516
|
}));
|
|
189747
189517
|
//#endregion
|
|
189748
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189518
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/retryJob-11.js
|
|
189749
189519
|
var require_retryJob_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189750
189520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189751
189521
|
exports.retryJob = void 0;
|
|
@@ -189960,7 +189730,7 @@ end
|
|
|
189960
189730
|
};
|
|
189961
189731
|
}));
|
|
189962
189732
|
//#endregion
|
|
189963
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189733
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/saveStacktrace-1.js
|
|
189964
189734
|
var require_saveStacktrace_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189965
189735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189966
189736
|
exports.saveStacktrace = void 0;
|
|
@@ -189988,7 +189758,7 @@ end
|
|
|
189988
189758
|
};
|
|
189989
189759
|
}));
|
|
189990
189760
|
//#endregion
|
|
189991
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189761
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateData-1.js
|
|
189992
189762
|
var require_updateData_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189993
189763
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189994
189764
|
exports.updateData = void 0;
|
|
@@ -190015,7 +189785,7 @@ end
|
|
|
190015
189785
|
};
|
|
190016
189786
|
}));
|
|
190017
189787
|
//#endregion
|
|
190018
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189788
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateJobScheduler-12.js
|
|
190019
189789
|
var require_updateJobScheduler_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190020
189790
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190021
189791
|
exports.updateJobScheduler = void 0;
|
|
@@ -190360,7 +190130,7 @@ end
|
|
|
190360
190130
|
};
|
|
190361
190131
|
}));
|
|
190362
190132
|
//#endregion
|
|
190363
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190133
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateProgress-3.js
|
|
190364
190134
|
var require_updateProgress_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190365
190135
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190366
190136
|
exports.updateProgress = void 0;
|
|
@@ -190407,7 +190177,7 @@ end
|
|
|
190407
190177
|
};
|
|
190408
190178
|
}));
|
|
190409
190179
|
//#endregion
|
|
190410
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190180
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateRepeatableJobMillis-1.js
|
|
190411
190181
|
var require_updateRepeatableJobMillis_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190412
190182
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190413
190183
|
exports.updateRepeatableJobMillis = void 0;
|
|
@@ -190441,7 +190211,7 @@ return ''
|
|
|
190441
190211
|
};
|
|
190442
190212
|
}));
|
|
190443
190213
|
//#endregion
|
|
190444
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190214
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/index.js
|
|
190445
190215
|
var require_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190446
190216
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190447
190217
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -190498,7 +190268,7 @@ var require_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
190498
190268
|
tslib_1.__exportStar(require_updateRepeatableJobMillis_1(), exports);
|
|
190499
190269
|
}));
|
|
190500
190270
|
//#endregion
|
|
190501
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190271
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/ioredis-client.js
|
|
190502
190272
|
var require_ioredis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190503
190273
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190504
190274
|
exports.createIORedisClient = createIORedisClient;
|
|
@@ -190694,7 +190464,7 @@ var require_ioredis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
190694
190464
|
}
|
|
190695
190465
|
}));
|
|
190696
190466
|
//#endregion
|
|
190697
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190467
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/redis-connection.js
|
|
190698
190468
|
var require_redis_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190699
190469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190700
190470
|
exports.RedisConnection = void 0;
|
|
@@ -191058,7 +190828,7 @@ var require_redis_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191058
190828
|
RedisConnection.recommendedMinimumVersion = "6.2.0";
|
|
191059
190829
|
}));
|
|
191060
190830
|
//#endregion
|
|
191061
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190831
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/flow-producer.js
|
|
191062
190832
|
var require_flow_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191063
190833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191064
190834
|
exports.FlowProducer = void 0;
|
|
@@ -191424,7 +191194,7 @@ var require_flow_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191424
191194
|
exports.FlowProducer = FlowProducer;
|
|
191425
191195
|
}));
|
|
191426
191196
|
//#endregion
|
|
191427
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
191197
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/node-redis-client.js
|
|
191428
191198
|
var require_node_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191429
191199
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191430
191200
|
exports.createNodeRedisClient = createNodeRedisClient;
|
|
@@ -191957,7 +191727,7 @@ var require_node_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191957
191727
|
};
|
|
191958
191728
|
}));
|
|
191959
191729
|
//#endregion
|
|
191960
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
191730
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/bun-redis-client.js
|
|
191961
191731
|
var require_bun_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191962
191732
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191963
191733
|
exports.createBunRedisClient = createBunRedisClient;
|
|
@@ -199895,7 +199665,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
199895
199665
|
module.exports = CronParser;
|
|
199896
199666
|
}));
|
|
199897
199667
|
//#endregion
|
|
199898
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
199668
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-base.js
|
|
199899
199669
|
var require_queue_base = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
199900
199670
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
199901
199671
|
exports.QueueBase = void 0;
|
|
@@ -200042,7 +199812,7 @@ var require_queue_base = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200042
199812
|
exports.QueueBase = QueueBase;
|
|
200043
199813
|
}));
|
|
200044
199814
|
//#endregion
|
|
200045
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
199815
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/job-scheduler.js
|
|
200046
199816
|
var require_job_scheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200047
199817
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200048
199818
|
exports.defaultRepeatStrategy = exports.JobScheduler = void 0;
|
|
@@ -200250,7 +200020,7 @@ var require_job_scheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200250
200020
|
exports.defaultRepeatStrategy = defaultRepeatStrategy;
|
|
200251
200021
|
}));
|
|
200252
200022
|
//#endregion
|
|
200253
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200023
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/lock-manager.js
|
|
200254
200024
|
var require_lock_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200255
200025
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200256
200026
|
exports.LockManager = void 0;
|
|
@@ -200405,7 +200175,7 @@ var require_lock_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200405
200175
|
exports.LockManager = LockManager;
|
|
200406
200176
|
}));
|
|
200407
200177
|
//#endregion
|
|
200408
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200178
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-events.js
|
|
200409
200179
|
var require_queue_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200410
200180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200411
200181
|
exports.QueueEvents = void 0;
|
|
@@ -200518,7 +200288,7 @@ var require_queue_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200518
200288
|
exports.QueueEvents = QueueEvents;
|
|
200519
200289
|
}));
|
|
200520
200290
|
//#endregion
|
|
200521
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200291
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-events-producer.js
|
|
200522
200292
|
var require_queue_events_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200523
200293
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200524
200294
|
exports.QueueEventsProducer = void 0;
|
|
@@ -200558,7 +200328,7 @@ var require_queue_events_producer = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
200558
200328
|
exports.QueueEventsProducer = QueueEventsProducer;
|
|
200559
200329
|
}));
|
|
200560
200330
|
//#endregion
|
|
200561
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200331
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-getters.js
|
|
200562
200332
|
var require_queue_getters = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200563
200333
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200564
200334
|
exports.QueueGetters = void 0;
|
|
@@ -201079,7 +200849,7 @@ var require_queue_getters = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201079
200849
|
exports.QueueGetters = QueueGetters;
|
|
201080
200850
|
}));
|
|
201081
200851
|
//#endregion
|
|
201082
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200852
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/repeat.js
|
|
201083
200853
|
var require_repeat = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201084
200854
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201085
200855
|
exports.getNextMillis = exports.Repeat = void 0;
|
|
@@ -201247,7 +201017,7 @@ var require_repeat = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201247
201017
|
exports.getNextMillis = getNextMillis;
|
|
201248
201018
|
}));
|
|
201249
201019
|
//#endregion
|
|
201250
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201020
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue.js
|
|
201251
201021
|
var require_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201252
201022
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201253
201023
|
exports.Queue = void 0;
|
|
@@ -201917,7 +201687,7 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201917
201687
|
exports.Queue = Queue;
|
|
201918
201688
|
}));
|
|
201919
201689
|
//#endregion
|
|
201920
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201690
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/sandbox.js
|
|
201921
201691
|
var require_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201922
201692
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201923
201693
|
const enums_1 = require_enums();
|
|
@@ -202059,7 +201829,7 @@ var require_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202059
201829
|
exports.default = sandbox;
|
|
202060
201830
|
}));
|
|
202061
201831
|
//#endregion
|
|
202062
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201832
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/worker.js
|
|
202063
201833
|
var require_worker = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
202064
201834
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202065
201835
|
exports.Worker = void 0;
|
|
@@ -202774,7 +202544,7 @@ var require_worker = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
202774
202544
|
exports.Worker = Worker;
|
|
202775
202545
|
}));
|
|
202776
202546
|
//#endregion
|
|
202777
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202547
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/index.js
|
|
202778
202548
|
var require_classes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202779
202549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202780
202550
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -202804,97 +202574,97 @@ var require_classes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202804
202574
|
tslib_1.__exportStar(require_worker(), exports);
|
|
202805
202575
|
}));
|
|
202806
202576
|
//#endregion
|
|
202807
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202577
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/advanced-options.js
|
|
202808
202578
|
var require_advanced_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202809
202579
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202810
202580
|
}));
|
|
202811
202581
|
//#endregion
|
|
202812
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202582
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/backoff-options.js
|
|
202813
202583
|
var require_backoff_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202814
202584
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202815
202585
|
}));
|
|
202816
202586
|
//#endregion
|
|
202817
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202587
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/base-job-options.js
|
|
202818
202588
|
var require_base_job_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202819
202589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202820
202590
|
}));
|
|
202821
202591
|
//#endregion
|
|
202822
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202592
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/child-message.js
|
|
202823
202593
|
var require_child_message = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202824
202594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202825
202595
|
}));
|
|
202826
202596
|
//#endregion
|
|
202827
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202597
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/connection.js
|
|
202828
202598
|
var require_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202829
202599
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202830
202600
|
}));
|
|
202831
202601
|
//#endregion
|
|
202832
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202602
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/flow-job.js
|
|
202833
202603
|
var require_flow_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202834
202604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202835
202605
|
}));
|
|
202836
202606
|
//#endregion
|
|
202837
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202607
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/ioredis-events.js
|
|
202838
202608
|
var require_ioredis_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202839
202609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202840
202610
|
}));
|
|
202841
202611
|
//#endregion
|
|
202842
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202612
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/job-json.js
|
|
202843
202613
|
var require_job_json = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202844
202614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202845
202615
|
}));
|
|
202846
202616
|
//#endregion
|
|
202847
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202617
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/job-scheduler-json.js
|
|
202848
202618
|
var require_job_scheduler_json = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202849
202619
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202850
202620
|
}));
|
|
202851
202621
|
//#endregion
|
|
202852
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202622
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/lock-manager-worker-context.js
|
|
202853
202623
|
var require_lock_manager_worker_context = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202854
202624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202855
202625
|
}));
|
|
202856
202626
|
//#endregion
|
|
202857
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202627
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/metrics-options.js
|
|
202858
202628
|
var require_metrics_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202859
202629
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202860
202630
|
}));
|
|
202861
202631
|
//#endregion
|
|
202862
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202632
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/metrics.js
|
|
202863
202633
|
var require_metrics = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202864
202634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202865
202635
|
}));
|
|
202866
202636
|
//#endregion
|
|
202867
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202637
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/minimal-job.js
|
|
202868
202638
|
var require_minimal_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202869
202639
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202870
202640
|
}));
|
|
202871
202641
|
//#endregion
|
|
202872
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202642
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/minimal-queue.js
|
|
202873
202643
|
var require_minimal_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202874
202644
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202875
202645
|
}));
|
|
202876
202646
|
//#endregion
|
|
202877
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202647
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent-message.js
|
|
202878
202648
|
var require_parent_message = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202879
202649
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202880
202650
|
}));
|
|
202881
202651
|
//#endregion
|
|
202882
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202652
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent.js
|
|
202883
202653
|
var require_parent = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202884
202654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202885
202655
|
}));
|
|
202886
202656
|
//#endregion
|
|
202887
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202657
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent-options.js
|
|
202888
202658
|
var require_parent_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202889
202659
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202890
202660
|
}));
|
|
202891
202661
|
//#endregion
|
|
202892
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202662
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/queue-meta.js
|
|
202893
202663
|
var require_queue_meta = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202894
202664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202895
202665
|
}));
|
|
202896
202666
|
//#endregion
|
|
202897
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202667
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/queue-options.js
|
|
202898
202668
|
var require_queue_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202899
202669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202900
202670
|
exports.ClientType = void 0;
|
|
@@ -202905,82 +202675,82 @@ var require_queue_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202905
202675
|
})(ClientType || (exports.ClientType = ClientType = {}));
|
|
202906
202676
|
}));
|
|
202907
202677
|
//#endregion
|
|
202908
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202678
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/rate-limiter-options.js
|
|
202909
202679
|
var require_rate_limiter_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202910
202680
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202911
202681
|
}));
|
|
202912
202682
|
//#endregion
|
|
202913
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202683
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-client.js
|
|
202914
202684
|
var require_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202915
202685
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202916
202686
|
}));
|
|
202917
202687
|
//#endregion
|
|
202918
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202688
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-options.js
|
|
202919
202689
|
var require_redis_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202920
202690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202921
202691
|
}));
|
|
202922
202692
|
//#endregion
|
|
202923
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202693
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-streams.js
|
|
202924
202694
|
var require_redis_streams = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202925
202695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202926
202696
|
}));
|
|
202927
202697
|
//#endregion
|
|
202928
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202698
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeatable-job.js
|
|
202929
202699
|
var require_repeatable_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202930
202700
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202931
202701
|
}));
|
|
202932
202702
|
//#endregion
|
|
202933
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202703
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeatable-options.js
|
|
202934
202704
|
var require_repeatable_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202935
202705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202936
202706
|
}));
|
|
202937
202707
|
//#endregion
|
|
202938
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202708
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeat-options.js
|
|
202939
202709
|
var require_repeat_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202940
202710
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202941
202711
|
}));
|
|
202942
202712
|
//#endregion
|
|
202943
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202713
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/retry-options.js
|
|
202944
202714
|
var require_retry_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202945
202715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202946
202716
|
}));
|
|
202947
202717
|
//#endregion
|
|
202948
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202718
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/script-queue-context.js
|
|
202949
202719
|
var require_script_queue_context = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202950
202720
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202951
202721
|
}));
|
|
202952
202722
|
//#endregion
|
|
202953
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202723
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-job-processor.js
|
|
202954
202724
|
var require_sandboxed_job_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202955
202725
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202956
202726
|
}));
|
|
202957
202727
|
//#endregion
|
|
202958
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202728
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-job.js
|
|
202959
202729
|
var require_sandboxed_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202960
202730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202961
202731
|
}));
|
|
202962
202732
|
//#endregion
|
|
202963
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202733
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-options.js
|
|
202964
202734
|
var require_sandboxed_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202965
202735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202966
202736
|
}));
|
|
202967
202737
|
//#endregion
|
|
202968
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202738
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/worker-options.js
|
|
202969
202739
|
var require_worker_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202970
202740
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202971
202741
|
}));
|
|
202972
202742
|
//#endregion
|
|
202973
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202743
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/telemetry.js
|
|
202974
202744
|
var require_telemetry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202975
202745
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202976
202746
|
}));
|
|
202977
202747
|
//#endregion
|
|
202978
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202748
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/receiver.js
|
|
202979
202749
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202980
202750
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202981
202751
|
}));
|
|
202982
202752
|
//#endregion
|
|
202983
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202753
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/index.js
|
|
202984
202754
|
var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202985
202755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202986
202756
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203020,62 +202790,62 @@ var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
203020
202790
|
tslib_1.__exportStar(require_receiver(), exports);
|
|
203021
202791
|
}));
|
|
203022
202792
|
//#endregion
|
|
203023
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202793
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/backoff-strategy.js
|
|
203024
202794
|
var require_backoff_strategy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203025
202795
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203026
202796
|
}));
|
|
203027
202797
|
//#endregion
|
|
203028
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202798
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/database-type.js
|
|
203029
202799
|
var require_database_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203030
202800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203031
202801
|
}));
|
|
203032
202802
|
//#endregion
|
|
203033
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202803
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/deduplication-options.js
|
|
203034
202804
|
var require_deduplication_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203035
202805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203036
202806
|
}));
|
|
203037
202807
|
//#endregion
|
|
203038
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202808
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/finished-status.js
|
|
203039
202809
|
var require_finished_status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203040
202810
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203041
202811
|
}));
|
|
203042
202812
|
//#endregion
|
|
203043
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202813
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-json-sandbox.js
|
|
203044
202814
|
var require_job_json_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203045
202815
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203046
202816
|
}));
|
|
203047
202817
|
//#endregion
|
|
203048
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202818
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-options.js
|
|
203049
202819
|
var require_job_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203050
202820
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203051
202821
|
}));
|
|
203052
202822
|
//#endregion
|
|
203053
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202823
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-scheduler-template-options.js
|
|
203054
202824
|
var require_job_scheduler_template_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203055
202825
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203056
202826
|
}));
|
|
203057
202827
|
//#endregion
|
|
203058
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202828
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-type.js
|
|
203059
202829
|
var require_job_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203060
202830
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203061
202831
|
}));
|
|
203062
202832
|
//#endregion
|
|
203063
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202833
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-progress.js
|
|
203064
202834
|
var require_job_progress = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203065
202835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203066
202836
|
}));
|
|
203067
202837
|
//#endregion
|
|
203068
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202838
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/repeat-strategy.js
|
|
203069
202839
|
var require_repeat_strategy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203070
202840
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203071
202841
|
}));
|
|
203072
202842
|
//#endregion
|
|
203073
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202843
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/keep-jobs.js
|
|
203074
202844
|
var require_keep_jobs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203075
202845
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203076
202846
|
}));
|
|
203077
202847
|
//#endregion
|
|
203078
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202848
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/index.js
|
|
203079
202849
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203080
202850
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203081
202851
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203092,12 +202862,12 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
203092
202862
|
tslib_1.__exportStar(require_keep_jobs(), exports);
|
|
203093
202863
|
}));
|
|
203094
202864
|
//#endregion
|
|
203095
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202865
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/processor.js
|
|
203096
202866
|
var require_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203097
202867
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203098
202868
|
}));
|
|
203099
202869
|
//#endregion
|
|
203100
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202870
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/index.js
|
|
203101
202871
|
var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203102
202872
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203103
202873
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203573,7 +203343,7 @@ function createBalanceMonitor(config) {
|
|
|
203573
203343
|
try {
|
|
203574
203344
|
const viewer = gateway.connection.viewer;
|
|
203575
203345
|
if (viewer) {
|
|
203576
|
-
const balance = await viewer.account.balance.accountBalance(account.address);
|
|
203346
|
+
const balance = await viewer.account.balance.accountBalance(toAddress(account.address));
|
|
203577
203347
|
xl1AccountBalance.record(Number(balance / TOKEN_DECIMALS), {
|
|
203578
203348
|
address: account.address.toString(),
|
|
203579
203349
|
remoteChainId
|
|
@@ -203775,8 +203545,8 @@ var getBridgeWalletAccount = async (config) => {
|
|
|
203775
203545
|
};
|
|
203776
203546
|
var getTransferAddresses = async (config) => {
|
|
203777
203547
|
return {
|
|
203778
|
-
escrowAddress: tryGetBridgeEscrowAddress(config) ?? (await getBridgeWalletAccount(config)).address,
|
|
203779
|
-
feesAddress: tryGetBridgeFeesAddress(config) ?? (await getBridgeWalletAccount(config)).address
|
|
203548
|
+
escrowAddress: tryGetBridgeEscrowAddress(config) ?? toAddress((await getBridgeWalletAccount(config)).address),
|
|
203549
|
+
feesAddress: tryGetBridgeFeesAddress(config) ?? toAddress((await getBridgeWalletAccount(config)).address)
|
|
203780
203550
|
};
|
|
203781
203551
|
};
|
|
203782
203552
|
var getXl1ChainId = (config) => {
|
|
@@ -203879,7 +203649,7 @@ async function buildEthToXl1ReserveTx(options2) {
|
|
|
203879
203649
|
const { amount, bridgeAccount, bridgeId, destAddress, evmChainId, evmContractAddress, evmSrcAddress, evmTokenAddress, evmTxHash, exp, feesAddress, feesAmount, nbf, xl1ChainId, xl1TokenAddress } = options2;
|
|
203880
203650
|
const { intent, transfer } = buildEthToXl1BridgePayloads({
|
|
203881
203651
|
amount,
|
|
203882
|
-
bridgeAccountAddress: bridgeAccount.address,
|
|
203652
|
+
bridgeAccountAddress: toAddress(bridgeAccount.address),
|
|
203883
203653
|
bridgeId,
|
|
203884
203654
|
destAddress,
|
|
203885
203655
|
evmChainId,
|
|
@@ -203968,7 +203738,7 @@ var createWorker = (connection2, telemetry2, services) => {
|
|
|
203968
203738
|
const { feesAddress } = await getTransferAddresses(config);
|
|
203969
203739
|
const snapshot = buildAcceptedSnapshot({
|
|
203970
203740
|
amount: data.amount,
|
|
203971
|
-
bridgeAccountAddress: account.address,
|
|
203741
|
+
bridgeAccountAddress: toAddress(account.address),
|
|
203972
203742
|
bridgeId: id,
|
|
203973
203743
|
destAddress: data.destAddress,
|
|
203974
203744
|
evmChainId: config.remoteChainId,
|
|
@@ -204177,7 +203947,7 @@ var validateSufficientRunnerEthBalanceForGas = async (preparedTx, wallet, logger
|
|
|
204177
203947
|
};
|
|
204178
203948
|
var RESERVE_FEE_BUFFER = 1n * AttoXL1ConvertFactor.xl1;
|
|
204179
203949
|
async function validateSufficientXl1ReserveBalance({ amount, bridgeAccount, gateway, logger }) {
|
|
204180
|
-
const balance = await assertEx(gateway.connection.viewer, () => "Gateway connection does not have a viewer").account.balance.accountBalance(bridgeAccount.address);
|
|
203950
|
+
const balance = await assertEx(gateway.connection.viewer, () => "Gateway connection does not have a viewer").account.balance.accountBalance(toAddress(bridgeAccount.address));
|
|
204181
203951
|
const required = amount + RESERVE_FEE_BUFFER;
|
|
204182
203952
|
await logger?.log(`XL1 reserve account ${bridgeAccount.address} balance: ${balance.toString()}; required: ${required.toString()} (amount=${amount.toString()} + buffer=${RESERVE_FEE_BUFFER.toString()})`);
|
|
204183
203953
|
return balance >= required;
|
|
@@ -205296,7 +205066,7 @@ var makeBridgeFromRemoteEstimateRoute = (config) => {
|
|
|
205296
205066
|
const exp = toXL1BlockNumber(currentBlockNumber + 1e3, true);
|
|
205297
205067
|
const { intent, transfer } = buildEthToXl1BridgePayloads({
|
|
205298
205068
|
amount: hexToBigInt(srcAmount),
|
|
205299
|
-
bridgeAccountAddress: account.address,
|
|
205069
|
+
bridgeAccountAddress: toAddress(account.address),
|
|
205300
205070
|
bridgeId: projectedBridgeId,
|
|
205301
205071
|
destAddress: toAddress(destAddress),
|
|
205302
205072
|
evmChainId,
|
|
@@ -205308,7 +205078,7 @@ var makeBridgeFromRemoteEstimateRoute = (config) => {
|
|
|
205308
205078
|
xl1ChainId,
|
|
205309
205079
|
xl1TokenAddress
|
|
205310
205080
|
});
|
|
205311
|
-
const [txBw] = await buildUnsignedTransaction(xl1ChainId, [transfer], [intent], nbf, exp, account.address);
|
|
205081
|
+
const [txBw] = await buildUnsignedTransaction(xl1ChainId, [transfer], [intent], nbf, exp, toAddress(account.address));
|
|
205312
205082
|
res.json([
|
|
205313
205083
|
txBw,
|
|
205314
205084
|
intent,
|
|
@@ -206070,7 +205840,7 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206070
205840
|
return;
|
|
206071
205841
|
}
|
|
206072
205842
|
this.logger?.log("Creating redeclaration intent for producer:", this.account.address);
|
|
206073
|
-
const redeclarationIntent = createDeclarationIntent(this.account.address, "producer", currentBlock, currentBlock + SimpleBlockRunner.RedeclarationDuration);
|
|
205843
|
+
const redeclarationIntent = createDeclarationIntent(toAddress(this.account.address), "producer", currentBlock, currentBlock + SimpleBlockRunner.RedeclarationDuration);
|
|
206074
205844
|
await this.submitRedeclarationIntent(currentBlock, redeclarationIntent);
|
|
206075
205845
|
this._lastRedeclarationIntent = redeclarationIntent;
|
|
206076
205846
|
}, {
|
|
@@ -206087,7 +205857,8 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206087
205857
|
async validateCurrentBalance() {
|
|
206088
205858
|
const head = (await this.blockViewer.currentBlock())?.[0]?._hash;
|
|
206089
205859
|
if (isDefined(head)) {
|
|
206090
|
-
|
|
205860
|
+
const accountAddress = toAddress(this.account.address);
|
|
205861
|
+
if (((await this.accountBalanceViewer.accountBalances([accountAddress], { head }))[accountAddress] ?? 0n) <= 0n) {
|
|
206091
205862
|
this.logger?.error(`Producer ${this.account.address} has no balance.`);
|
|
206092
205863
|
return false;
|
|
206093
205864
|
}
|
|
@@ -206096,7 +205867,7 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206096
205867
|
return true;
|
|
206097
205868
|
}
|
|
206098
205869
|
async validateCurrentStake() {
|
|
206099
|
-
if (await this.stakeTotalsViewer.activeByStaked(this.account.address) < 1n) {
|
|
205870
|
+
if (await this.stakeTotalsViewer.activeByStaked(toAddress(this.account.address)) < 1n) {
|
|
206100
205871
|
this.logger?.error(`Producer ${this.account.address} has insufficient stake.`);
|
|
206101
205872
|
return false;
|
|
206102
205873
|
}
|
|
@@ -206166,14 +205937,271 @@ function producerCommand(getConfiguration, getLocatorsFromConfig) {
|
|
|
206166
205937
|
};
|
|
206167
205938
|
}
|
|
206168
205939
|
//#endregion
|
|
206169
|
-
//#region ../../node_modules/.pnpm/@xyo-network+storage-model@8.0.0_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-
|
|
205940
|
+
//#region ../../node_modules/.pnpm/@xyo-network+storage-model@8.0.0_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_2ad0d422ebccfb6e44b9669827c40d18/node_modules/@xyo-network/storage-model/dist/neutral/index.mjs
|
|
206170
205941
|
var WalletKindMap = {
|
|
206171
205942
|
os: "os",
|
|
206172
205943
|
user: "user"
|
|
206173
205944
|
};
|
|
205945
|
+
/*! store2 - v2.14.4 - 2024-12-26
|
|
205946
|
+
* Copyright (c) 2024 Nathan Bubna; Licensed MIT */
|
|
206174
205947
|
//#endregion
|
|
206175
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bios@8.0.
|
|
206176
|
-
var import_store2 = /* @__PURE__ */ __toESM(
|
|
205948
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bios@8.0.0_9aa17e78c25d0238c2703376b94fa3a0/node_modules/@xyo-network/bios/dist/neutral/index.mjs
|
|
205949
|
+
var import_store2 = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
205950
|
+
(function(window, define) {
|
|
205951
|
+
var _ = {
|
|
205952
|
+
version: "2.14.4",
|
|
205953
|
+
areas: {},
|
|
205954
|
+
apis: {},
|
|
205955
|
+
nsdelim: ".",
|
|
205956
|
+
inherit: function(api, o) {
|
|
205957
|
+
for (var p in api) if (!o.hasOwnProperty(p)) Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(api, p));
|
|
205958
|
+
return o;
|
|
205959
|
+
},
|
|
205960
|
+
stringify: function(d, fn) {
|
|
205961
|
+
return d === void 0 || typeof d === "function" ? d + "" : JSON.stringify(d, fn || _.replace);
|
|
205962
|
+
},
|
|
205963
|
+
parse: function(s, fn) {
|
|
205964
|
+
try {
|
|
205965
|
+
return JSON.parse(s, fn || _.revive);
|
|
205966
|
+
} catch (e) {
|
|
205967
|
+
return s;
|
|
205968
|
+
}
|
|
205969
|
+
},
|
|
205970
|
+
fn: function(name, fn) {
|
|
205971
|
+
_.storeAPI[name] = fn;
|
|
205972
|
+
for (var api in _.apis) _.apis[api][name] = fn;
|
|
205973
|
+
},
|
|
205974
|
+
get: function(area, key) {
|
|
205975
|
+
return area.getItem(key);
|
|
205976
|
+
},
|
|
205977
|
+
set: function(area, key, string) {
|
|
205978
|
+
area.setItem(key, string);
|
|
205979
|
+
},
|
|
205980
|
+
remove: function(area, key) {
|
|
205981
|
+
area.removeItem(key);
|
|
205982
|
+
},
|
|
205983
|
+
key: function(area, i) {
|
|
205984
|
+
return area.key(i);
|
|
205985
|
+
},
|
|
205986
|
+
length: function(area) {
|
|
205987
|
+
return area.length;
|
|
205988
|
+
},
|
|
205989
|
+
clear: function(area) {
|
|
205990
|
+
area.clear();
|
|
205991
|
+
},
|
|
205992
|
+
Store: function(id, area, namespace) {
|
|
205993
|
+
var store = _.inherit(_.storeAPI, function(key, data, overwrite) {
|
|
205994
|
+
if (arguments.length === 0) return store.getAll();
|
|
205995
|
+
if (typeof data === "function") return store.transact(key, data, overwrite);
|
|
205996
|
+
if (data !== void 0) return store.set(key, data, overwrite);
|
|
205997
|
+
if (typeof key === "string" || typeof key === "number") return store.get(key);
|
|
205998
|
+
if (typeof key === "function") return store.each(key);
|
|
205999
|
+
if (!key) return store.clear();
|
|
206000
|
+
return store.setAll(key, data);
|
|
206001
|
+
});
|
|
206002
|
+
store._id = id;
|
|
206003
|
+
try {
|
|
206004
|
+
var testKey = "__store2_test";
|
|
206005
|
+
area.setItem(testKey, "ok");
|
|
206006
|
+
store._area = area;
|
|
206007
|
+
area.removeItem(testKey);
|
|
206008
|
+
} catch (e) {
|
|
206009
|
+
store._area = _.storage("fake");
|
|
206010
|
+
}
|
|
206011
|
+
store._ns = namespace || "";
|
|
206012
|
+
if (!_.areas[id]) _.areas[id] = store._area;
|
|
206013
|
+
if (!_.apis[store._ns + store._id]) _.apis[store._ns + store._id] = store;
|
|
206014
|
+
return store;
|
|
206015
|
+
},
|
|
206016
|
+
storeAPI: {
|
|
206017
|
+
area: function(id, area) {
|
|
206018
|
+
var store = this[id];
|
|
206019
|
+
if (!store || !store.area) {
|
|
206020
|
+
store = _.Store(id, area, this._ns);
|
|
206021
|
+
if (!this[id]) this[id] = store;
|
|
206022
|
+
}
|
|
206023
|
+
return store;
|
|
206024
|
+
},
|
|
206025
|
+
namespace: function(namespace, singleArea, delim) {
|
|
206026
|
+
delim = delim || this._delim || _.nsdelim;
|
|
206027
|
+
if (!namespace) return this._ns ? this._ns.substring(0, this._ns.length - delim.length) : "";
|
|
206028
|
+
var ns = namespace, store = this[ns];
|
|
206029
|
+
if (!store || !store.namespace) {
|
|
206030
|
+
store = _.Store(this._id, this._area, this._ns + ns + delim);
|
|
206031
|
+
store._delim = delim;
|
|
206032
|
+
if (!this[ns]) this[ns] = store;
|
|
206033
|
+
if (!singleArea) for (var name in _.areas) store.area(name, _.areas[name]);
|
|
206034
|
+
}
|
|
206035
|
+
return store;
|
|
206036
|
+
},
|
|
206037
|
+
isFake: function(force) {
|
|
206038
|
+
if (force) {
|
|
206039
|
+
this._real = this._area;
|
|
206040
|
+
this._area = _.storage("fake");
|
|
206041
|
+
} else if (force === false) this._area = this._real || this._area;
|
|
206042
|
+
return this._area.name === "fake";
|
|
206043
|
+
},
|
|
206044
|
+
toString: function() {
|
|
206045
|
+
return "store" + (this._ns ? "." + this.namespace() : "") + "[" + this._id + "]";
|
|
206046
|
+
},
|
|
206047
|
+
has: function(key) {
|
|
206048
|
+
if (this._area.has) return this._area.has(this._in(key));
|
|
206049
|
+
return !!(this._in(key) in this._area);
|
|
206050
|
+
},
|
|
206051
|
+
size: function() {
|
|
206052
|
+
return this.keys().length;
|
|
206053
|
+
},
|
|
206054
|
+
each: function(fn, fill) {
|
|
206055
|
+
for (var i = 0, m = _.length(this._area); i < m; i++) {
|
|
206056
|
+
var key = this._out(_.key(this._area, i));
|
|
206057
|
+
if (key !== void 0) {
|
|
206058
|
+
if (fn.call(this, key, this.get(key), fill) === false) break;
|
|
206059
|
+
}
|
|
206060
|
+
if (m > _.length(this._area)) {
|
|
206061
|
+
m--;
|
|
206062
|
+
i--;
|
|
206063
|
+
}
|
|
206064
|
+
}
|
|
206065
|
+
return fill || this;
|
|
206066
|
+
},
|
|
206067
|
+
keys: function(fillList) {
|
|
206068
|
+
return this.each(function(k, v, list) {
|
|
206069
|
+
list.push(k);
|
|
206070
|
+
}, fillList || []);
|
|
206071
|
+
},
|
|
206072
|
+
get: function(key, alt) {
|
|
206073
|
+
var s = _.get(this._area, this._in(key)), fn;
|
|
206074
|
+
if (typeof alt === "function") {
|
|
206075
|
+
fn = alt;
|
|
206076
|
+
alt = null;
|
|
206077
|
+
}
|
|
206078
|
+
return s !== null ? _.parse(s, fn) : alt != null ? alt : s;
|
|
206079
|
+
},
|
|
206080
|
+
getAll: function(fillObj) {
|
|
206081
|
+
return this.each(function(k, v, all) {
|
|
206082
|
+
all[k] = v;
|
|
206083
|
+
}, fillObj || {});
|
|
206084
|
+
},
|
|
206085
|
+
transact: function(key, fn, alt) {
|
|
206086
|
+
var val = this.get(key, alt), ret = fn(val);
|
|
206087
|
+
this.set(key, ret === void 0 ? val : ret);
|
|
206088
|
+
return this;
|
|
206089
|
+
},
|
|
206090
|
+
set: function(key, data, overwrite) {
|
|
206091
|
+
var d = this.get(key), replacer;
|
|
206092
|
+
if (d != null && overwrite === false) return data;
|
|
206093
|
+
if (typeof overwrite === "function") {
|
|
206094
|
+
replacer = overwrite;
|
|
206095
|
+
overwrite = void 0;
|
|
206096
|
+
}
|
|
206097
|
+
return _.set(this._area, this._in(key), _.stringify(data, replacer), overwrite) || d;
|
|
206098
|
+
},
|
|
206099
|
+
setAll: function(data, overwrite) {
|
|
206100
|
+
var changed, val;
|
|
206101
|
+
for (var key in data) {
|
|
206102
|
+
val = data[key];
|
|
206103
|
+
if (this.set(key, val, overwrite) !== val) changed = true;
|
|
206104
|
+
}
|
|
206105
|
+
return changed;
|
|
206106
|
+
},
|
|
206107
|
+
add: function(key, data, replacer) {
|
|
206108
|
+
var d = this.get(key);
|
|
206109
|
+
if (d instanceof Array) data = d.concat(data);
|
|
206110
|
+
else if (d !== null) {
|
|
206111
|
+
var type = typeof d;
|
|
206112
|
+
if (type === typeof data && type === "object") {
|
|
206113
|
+
for (var k in data) d[k] = data[k];
|
|
206114
|
+
data = d;
|
|
206115
|
+
} else data = d + data;
|
|
206116
|
+
}
|
|
206117
|
+
_.set(this._area, this._in(key), _.stringify(data, replacer));
|
|
206118
|
+
return data;
|
|
206119
|
+
},
|
|
206120
|
+
remove: function(key, alt) {
|
|
206121
|
+
var d = this.get(key, alt);
|
|
206122
|
+
_.remove(this._area, this._in(key));
|
|
206123
|
+
return d;
|
|
206124
|
+
},
|
|
206125
|
+
clear: function() {
|
|
206126
|
+
if (!this._ns) _.clear(this._area);
|
|
206127
|
+
else this.each(function(k) {
|
|
206128
|
+
_.remove(this._area, this._in(k));
|
|
206129
|
+
}, 1);
|
|
206130
|
+
return this;
|
|
206131
|
+
},
|
|
206132
|
+
clearAll: function() {
|
|
206133
|
+
var area = this._area;
|
|
206134
|
+
for (var id in _.areas) if (_.areas.hasOwnProperty(id)) {
|
|
206135
|
+
this._area = _.areas[id];
|
|
206136
|
+
this.clear();
|
|
206137
|
+
}
|
|
206138
|
+
this._area = area;
|
|
206139
|
+
return this;
|
|
206140
|
+
},
|
|
206141
|
+
_in: function(k) {
|
|
206142
|
+
if (typeof k !== "string") k = _.stringify(k);
|
|
206143
|
+
return this._ns ? this._ns + k : k;
|
|
206144
|
+
},
|
|
206145
|
+
_out: function(k) {
|
|
206146
|
+
return this._ns ? k && k.indexOf(this._ns) === 0 ? k.substring(this._ns.length) : void 0 : k;
|
|
206147
|
+
}
|
|
206148
|
+
},
|
|
206149
|
+
storage: function(name) {
|
|
206150
|
+
return _.inherit(_.storageAPI, {
|
|
206151
|
+
items: {},
|
|
206152
|
+
name
|
|
206153
|
+
});
|
|
206154
|
+
},
|
|
206155
|
+
storageAPI: {
|
|
206156
|
+
length: 0,
|
|
206157
|
+
has: function(k) {
|
|
206158
|
+
return this.items.hasOwnProperty(k);
|
|
206159
|
+
},
|
|
206160
|
+
key: function(i) {
|
|
206161
|
+
var c = 0;
|
|
206162
|
+
for (var k in this.items) if (this.has(k) && i === c++) return k;
|
|
206163
|
+
},
|
|
206164
|
+
setItem: function(k, v) {
|
|
206165
|
+
if (!this.has(k)) this.length++;
|
|
206166
|
+
this.items[k] = v;
|
|
206167
|
+
},
|
|
206168
|
+
removeItem: function(k) {
|
|
206169
|
+
if (this.has(k)) {
|
|
206170
|
+
delete this.items[k];
|
|
206171
|
+
this.length--;
|
|
206172
|
+
}
|
|
206173
|
+
},
|
|
206174
|
+
getItem: function(k) {
|
|
206175
|
+
return this.has(k) ? this.items[k] : null;
|
|
206176
|
+
},
|
|
206177
|
+
clear: function() {
|
|
206178
|
+
for (var k in this.items) this.removeItem(k);
|
|
206179
|
+
}
|
|
206180
|
+
}
|
|
206181
|
+
};
|
|
206182
|
+
var store = _.Store("local", (function() {
|
|
206183
|
+
try {
|
|
206184
|
+
return localStorage;
|
|
206185
|
+
} catch (e) {}
|
|
206186
|
+
})());
|
|
206187
|
+
store.local = store;
|
|
206188
|
+
store._ = _;
|
|
206189
|
+
store.area("session", (function() {
|
|
206190
|
+
try {
|
|
206191
|
+
return sessionStorage;
|
|
206192
|
+
} catch (e) {}
|
|
206193
|
+
})());
|
|
206194
|
+
store.area("page", _.storage("page"));
|
|
206195
|
+
if (typeof define === "function" && define.amd !== void 0) define("store2", [], function() {
|
|
206196
|
+
return store;
|
|
206197
|
+
});
|
|
206198
|
+
else if (typeof module !== "undefined" && module.exports) module.exports = store;
|
|
206199
|
+
else {
|
|
206200
|
+
if (window.store) _.conflict = window.store;
|
|
206201
|
+
window.store = store;
|
|
206202
|
+
}
|
|
206203
|
+
})(exports, exports && exports.define);
|
|
206204
|
+
})))(), 1);
|
|
206177
206205
|
var genericBoot = async (getHardwareAbstractionLayer2) => {
|
|
206178
206206
|
const { seedPhraseStore } = await getHardwareAbstractionLayer2();
|
|
206179
206207
|
for (const walletName of ["os", "user"]) await findOrCreateWallet(seedPhraseStore, walletName);
|
|
@@ -212581,7 +212609,7 @@ function defaultScrapePortForActors(actors) {
|
|
|
212581
212609
|
var configuration;
|
|
212582
212610
|
var skipInsecureConfirm = false;
|
|
212583
212611
|
var dumpProviders = false;
|
|
212584
|
-
var version = isDefined("2.0.
|
|
212612
|
+
var version = isDefined("2.0.5") ? "2.0.5" : "unknown";
|
|
212585
212613
|
function getConfiguration() {
|
|
212586
212614
|
return configuration;
|
|
212587
212615
|
}
|