@xyo-network/xl1-cli 2.0.3 → 2.0.4
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 +919 -893
- package/dist/cli-min.mjs.map +1 -1
- package/package.json +60 -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.6/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.6_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.6/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.6/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.6/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.6/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.6/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.6_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.6_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.6_@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.6/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.6/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.6/node_modules/@xylabs/forget/dist/node/index.mjs
|
|
16187
16186
|
var defaultForgetConfig = { timeout: 3e4 };
|
|
16188
16187
|
var defaultForgetNodeConfig = {
|
|
16189
16188
|
...defaultForgetConfig,
|
|
@@ -16309,7 +16308,7 @@ 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.6_@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`";
|
|
16314
16313
|
var resolvedPromise = Promise.resolve();
|
|
16315
16314
|
var isMetaEvent = (eventName) => eventName === "listenerAdded" || eventName === "listenerRemoved";
|
|
@@ -16662,7 +16661,7 @@ var BaseEmitter = class extends Base {
|
|
|
16662
16661
|
}
|
|
16663
16662
|
};
|
|
16664
16663
|
//#endregion
|
|
16665
|
-
//#region ../../node_modules/.pnpm/@xylabs+telemetry@6.0.
|
|
16664
|
+
//#region ../../node_modules/.pnpm/@xylabs+telemetry@6.0.6_@opentelemetry+api@1.9.1/node_modules/@xylabs/telemetry/dist/neutral/index.mjs
|
|
16666
16665
|
async function timeBudget(name, logger, func, budget, status = false) {
|
|
16667
16666
|
const start = Date.now();
|
|
16668
16667
|
const timer = status ? setInterval(() => {
|
|
@@ -16975,7 +16974,7 @@ var Mutex = class {
|
|
|
16975
16974
|
}
|
|
16976
16975
|
};
|
|
16977
16976
|
//#endregion
|
|
16978
|
-
//#region ../../node_modules/.pnpm/@xylabs+creatable@6.0.
|
|
16977
|
+
//#region ../../node_modules/.pnpm/@xylabs+creatable@6.0.6_@opentelemetry+api@1.9.1_async-mutex@0.5.0_zod@4.4.3/node_modules/@xylabs/creatable/dist/neutral/index.mjs
|
|
16979
16978
|
var __defProp$28 = Object.defineProperty;
|
|
16980
16979
|
var __getOwnPropDesc$27 = Object.getOwnPropertyDescriptor;
|
|
16981
16980
|
var __decorateClass$27 = (decorators, target, key, kind) => {
|
|
@@ -17295,7 +17294,7 @@ var hasAllLabels$1 = (source, required) => {
|
|
|
17295
17294
|
});
|
|
17296
17295
|
};
|
|
17297
17296
|
//#endregion
|
|
17298
|
-
//#region ../../node_modules/.pnpm/@xylabs+decimal-precision@6.0.
|
|
17297
|
+
//#region ../../node_modules/.pnpm/@xylabs+decimal-precision@6.0.6/node_modules/@xylabs/decimal-precision/dist/neutral/index.mjs
|
|
17299
17298
|
var toFixedPoint = (value, places = 18) => {
|
|
17300
17299
|
if (!Number.isInteger(places)) throw new Error(`places (${places}) must be an Integer`);
|
|
17301
17300
|
if (typeof value === "string") {
|
|
@@ -44089,7 +44088,7 @@ var Wallet = class Wallet extends BaseWallet {
|
|
|
44089
44088
|
}
|
|
44090
44089
|
};
|
|
44091
44090
|
//#endregion
|
|
44092
|
-
//#region ../../node_modules/.pnpm/@xylabs+logger@6.0.
|
|
44091
|
+
//#region ../../node_modules/.pnpm/@xylabs+logger@6.0.6/node_modules/@xylabs/logger/dist/neutral/index.mjs
|
|
44093
44092
|
var NoOpLogFunction = (..._data) => void 0;
|
|
44094
44093
|
var LogLevel = Enum({
|
|
44095
44094
|
error: 1,
|
|
@@ -44171,7 +44170,7 @@ var SilentLogger = class {
|
|
|
44171
44170
|
warn = NoOpLogFunction;
|
|
44172
44171
|
};
|
|
44173
44172
|
//#endregion
|
|
44174
|
-
//#region ../../node_modules/.pnpm/@xylabs+zod@6.0.
|
|
44173
|
+
//#region ../../node_modules/.pnpm/@xylabs+zod@6.0.6_zod@4.4.3/node_modules/@xylabs/zod/dist/neutral/index.mjs
|
|
44175
44174
|
var formatZodValue = (value) => {
|
|
44176
44175
|
return JSON.stringify(value) ?? String(value);
|
|
44177
44176
|
};
|
|
@@ -44212,7 +44211,7 @@ function zodToFactory(zod, name) {
|
|
|
44212
44211
|
return toFunc;
|
|
44213
44212
|
}
|
|
44214
44213
|
//#endregion
|
|
44215
|
-
//#region ../../node_modules/.pnpm/@xylabs+object@6.0.
|
|
44214
|
+
//#region ../../node_modules/.pnpm/@xylabs+object@6.0.6_zod@4.4.3/node_modules/@xylabs/object/dist/neutral/index-un-deprecated.mjs
|
|
44216
44215
|
var AsTypeFactory = {
|
|
44217
44216
|
create: (typeCheck) => {
|
|
44218
44217
|
const func = (value, assertOrConfig, config) => {
|
|
@@ -44394,7 +44393,7 @@ var toSafeJson = (value, maxDepth = 3) => {
|
|
|
44394
44393
|
};
|
|
44395
44394
|
var ValidatorBase = class extends ObjectWrapper {};
|
|
44396
44395
|
//#endregion
|
|
44397
|
-
//#region ../../node_modules/.pnpm/@xylabs+promise@6.0.
|
|
44396
|
+
//#region ../../node_modules/.pnpm/@xylabs+promise@6.0.6/node_modules/@xylabs/promise/dist/neutral/index.mjs
|
|
44398
44397
|
var fulfilled = (val) => {
|
|
44399
44398
|
return val.status === "fulfilled";
|
|
44400
44399
|
};
|
|
@@ -44424,7 +44423,7 @@ var rejected = (val) => {
|
|
|
44424
44423
|
return val.status === "rejected";
|
|
44425
44424
|
};
|
|
44426
44425
|
//#endregion
|
|
44427
|
-
//#region ../../node_modules/.pnpm/@xylabs+retry@6.0.
|
|
44426
|
+
//#region ../../node_modules/.pnpm/@xylabs+retry@6.0.6/node_modules/@xylabs/retry/dist/neutral/index.mjs
|
|
44428
44427
|
var retry = async (func, config) => {
|
|
44429
44428
|
const { complete = (value) => value !== void 0, retries = 0, interval = 100, backoff = 2 } = config ?? {};
|
|
44430
44429
|
const result = await func();
|
|
@@ -44439,12 +44438,12 @@ var retry = async (func, config) => {
|
|
|
44439
44438
|
});
|
|
44440
44439
|
};
|
|
44441
44440
|
//#endregion
|
|
44442
|
-
//#region ../../node_modules/.pnpm/@xylabs+set@6.0.
|
|
44441
|
+
//#region ../../node_modules/.pnpm/@xylabs+set@6.0.6/node_modules/@xylabs/set/dist/neutral/index.mjs
|
|
44443
44442
|
var difference = (a, b) => {
|
|
44444
44443
|
return new Set([...a].filter((x) => !b.has(x)));
|
|
44445
44444
|
};
|
|
44446
44445
|
//#endregion
|
|
44447
|
-
//#region ../../node_modules/.pnpm/@xylabs+static-implements@6.0.
|
|
44446
|
+
//#region ../../node_modules/.pnpm/@xylabs+static-implements@6.0.6/node_modules/@xylabs/static-implements/dist/neutral/index.mjs
|
|
44448
44447
|
function staticImplements() {
|
|
44449
44448
|
return (constructor) => {};
|
|
44450
44449
|
}
|
|
@@ -45770,7 +45769,7 @@ function multicast(coldObservable) {
|
|
|
45770
45769
|
});
|
|
45771
45770
|
}
|
|
45772
45771
|
//#endregion
|
|
45773
|
-
//#region ../../node_modules/.pnpm/@xylabs+threads@6.0.
|
|
45772
|
+
//#region ../../node_modules/.pnpm/@xylabs+threads@6.0.6_debug@4.4.3_observable-fns@0.6.1/node_modules/@xylabs/threads/dist/node/master/index-node.mjs
|
|
45774
45773
|
var import_src = /* @__PURE__ */ __toESM(require_src$1(), 1);
|
|
45775
45774
|
cpus().length;
|
|
45776
45775
|
function resolveScriptPath(scriptPath, baseURL) {
|
|
@@ -46430,51 +46429,55 @@ async function spawn(worker, options) {
|
|
|
46430
46429
|
getWorkerImplementation().blob;
|
|
46431
46430
|
var Worker2$1 = getWorkerImplementation().default;
|
|
46432
46431
|
//#endregion
|
|
46433
|
-
//#region ../../node_modules/.pnpm
|
|
46434
|
-
|
|
46432
|
+
//#region ../../node_modules/.pnpm/@xyo-network+wasm@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_2b74054b3f34bb8d0fecfd56b61cf48a/node_modules/@xyo-network/wasm/dist/neutral/index.mjs
|
|
46433
|
+
var validate$2 = (bytes) => Promise.resolve(WebAssembly.validate(new Uint8Array(bytes)));
|
|
46434
|
+
var bigInt = async () => {
|
|
46435
46435
|
try {
|
|
46436
|
-
|
|
46437
|
-
|
|
46438
|
-
|
|
46436
|
+
const mod = new Uint8Array([
|
|
46437
|
+
0,
|
|
46438
|
+
97,
|
|
46439
|
+
115,
|
|
46440
|
+
109,
|
|
46441
|
+
1,
|
|
46442
|
+
0,
|
|
46443
|
+
0,
|
|
46444
|
+
0,
|
|
46445
|
+
1,
|
|
46446
|
+
6,
|
|
46447
|
+
1,
|
|
46448
|
+
96,
|
|
46449
|
+
1,
|
|
46450
|
+
126,
|
|
46451
|
+
1,
|
|
46452
|
+
126,
|
|
46453
|
+
3,
|
|
46454
|
+
2,
|
|
46455
|
+
1,
|
|
46456
|
+
0,
|
|
46457
|
+
7,
|
|
46458
|
+
5,
|
|
46459
|
+
1,
|
|
46460
|
+
1,
|
|
46461
|
+
98,
|
|
46462
|
+
0,
|
|
46463
|
+
0,
|
|
46464
|
+
10,
|
|
46465
|
+
6,
|
|
46466
|
+
1,
|
|
46467
|
+
4,
|
|
46468
|
+
0,
|
|
46469
|
+
32,
|
|
46470
|
+
0,
|
|
46471
|
+
11
|
|
46472
|
+
]);
|
|
46473
|
+
const { instance } = await WebAssembly.instantiate(mod);
|
|
46474
|
+
const fn = instance.exports.b;
|
|
46475
|
+
return fn(0n) === 0n;
|
|
46476
|
+
} catch {
|
|
46477
|
+
return false;
|
|
46439
46478
|
}
|
|
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([
|
|
46479
|
+
};
|
|
46480
|
+
var bulkMemory = () => validate$2([
|
|
46478
46481
|
0,
|
|
46479
46482
|
97,
|
|
46480
46483
|
115,
|
|
@@ -46514,8 +46517,8 @@ const bulkMemory = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46514
46517
|
0,
|
|
46515
46518
|
0,
|
|
46516
46519
|
11
|
|
46517
|
-
])
|
|
46518
|
-
|
|
46520
|
+
]);
|
|
46521
|
+
var exceptions = () => validate$2([
|
|
46519
46522
|
0,
|
|
46520
46523
|
97,
|
|
46521
46524
|
115,
|
|
@@ -46544,8 +46547,8 @@ const exceptions = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46544
46547
|
25,
|
|
46545
46548
|
11,
|
|
46546
46549
|
11
|
|
46547
|
-
])
|
|
46548
|
-
|
|
46550
|
+
]);
|
|
46551
|
+
var extendedConst = () => validate$2([
|
|
46549
46552
|
0,
|
|
46550
46553
|
97,
|
|
46551
46554
|
115,
|
|
@@ -46570,8 +46573,8 @@ const extendedConst = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46570
46573
|
106,
|
|
46571
46574
|
11,
|
|
46572
46575
|
0
|
|
46573
|
-
])
|
|
46574
|
-
|
|
46576
|
+
]);
|
|
46577
|
+
var gc = () => validate$2([
|
|
46575
46578
|
0,
|
|
46576
46579
|
97,
|
|
46577
46580
|
115,
|
|
@@ -46587,8 +46590,8 @@ const gc = () => (async () => WebAssembly.validate(new Uint8Array([
|
|
|
46587
46590
|
1,
|
|
46588
46591
|
120,
|
|
46589
46592
|
0
|
|
46590
|
-
])
|
|
46591
|
-
|
|
46593
|
+
]);
|
|
46594
|
+
var memory64 = () => validate$2([
|
|
46592
46595
|
0,
|
|
46593
46596
|
97,
|
|
46594
46597
|
115,
|
|
@@ -46602,8 +46605,8 @@ const memory64 = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46602
46605
|
1,
|
|
46603
46606
|
4,
|
|
46604
46607
|
1
|
|
46605
|
-
])
|
|
46606
|
-
|
|
46608
|
+
]);
|
|
46609
|
+
var multiValue = () => validate$2([
|
|
46607
46610
|
0,
|
|
46608
46611
|
97,
|
|
46609
46612
|
115,
|
|
@@ -46634,8 +46637,8 @@ const multiValue = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46634
46637
|
65,
|
|
46635
46638
|
0,
|
|
46636
46639
|
11
|
|
46637
|
-
])
|
|
46638
|
-
|
|
46640
|
+
]);
|
|
46641
|
+
var mutableGlobals = () => validate$2([
|
|
46639
46642
|
0,
|
|
46640
46643
|
97,
|
|
46641
46644
|
115,
|
|
@@ -46669,8 +46672,8 @@ const mutableGlobals = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46669
46672
|
97,
|
|
46670
46673
|
3,
|
|
46671
46674
|
1
|
|
46672
|
-
])
|
|
46673
|
-
|
|
46675
|
+
]);
|
|
46676
|
+
var relaxedSimd = () => validate$2([
|
|
46674
46677
|
0,
|
|
46675
46678
|
97,
|
|
46676
46679
|
115,
|
|
@@ -46707,8 +46710,8 @@ const relaxedSimd = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46707
46710
|
128,
|
|
46708
46711
|
2,
|
|
46709
46712
|
11
|
|
46710
|
-
])
|
|
46711
|
-
|
|
46713
|
+
]);
|
|
46714
|
+
var saturatedFloatToInt = () => validate$2([
|
|
46712
46715
|
0,
|
|
46713
46716
|
97,
|
|
46714
46717
|
115,
|
|
@@ -46741,8 +46744,8 @@ const saturatedFloatToInt = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46741
46744
|
0,
|
|
46742
46745
|
26,
|
|
46743
46746
|
11
|
|
46744
|
-
])
|
|
46745
|
-
|
|
46747
|
+
]);
|
|
46748
|
+
var signExtensions = () => validate$2([
|
|
46746
46749
|
0,
|
|
46747
46750
|
97,
|
|
46748
46751
|
115,
|
|
@@ -46771,8 +46774,8 @@ const signExtensions = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46771
46774
|
192,
|
|
46772
46775
|
26,
|
|
46773
46776
|
11
|
|
46774
|
-
])
|
|
46775
|
-
|
|
46777
|
+
]);
|
|
46778
|
+
var simd = () => validate$2([
|
|
46776
46779
|
0,
|
|
46777
46780
|
97,
|
|
46778
46781
|
115,
|
|
@@ -46804,9 +46807,9 @@ const simd = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46804
46807
|
253,
|
|
46805
46808
|
98,
|
|
46806
46809
|
11
|
|
46807
|
-
])
|
|
46808
|
-
|
|
46809
|
-
|
|
46810
|
+
]);
|
|
46811
|
+
var streamingCompilation = () => Promise.resolve("compileStreaming" in WebAssembly);
|
|
46812
|
+
var tailCall = () => validate$2([
|
|
46810
46813
|
0,
|
|
46811
46814
|
97,
|
|
46812
46815
|
115,
|
|
@@ -46833,54 +46836,60 @@ const tailCall = async () => WebAssembly.validate(new Uint8Array([
|
|
|
46833
46836
|
18,
|
|
46834
46837
|
0,
|
|
46835
46838
|
11
|
|
46836
|
-
])
|
|
46837
|
-
|
|
46839
|
+
]);
|
|
46840
|
+
var threads = async () => {
|
|
46838
46841
|
try {
|
|
46839
|
-
|
|
46840
|
-
|
|
46841
|
-
|
|
46842
|
+
if (!(typeof MessageChannel !== "undefined" && (() => {
|
|
46843
|
+
try {
|
|
46844
|
+
new MessageChannel().port1.postMessage(new SharedArrayBuffer(1));
|
|
46845
|
+
return true;
|
|
46846
|
+
} catch {
|
|
46847
|
+
return false;
|
|
46848
|
+
}
|
|
46849
|
+
})())) return false;
|
|
46850
|
+
return WebAssembly.validate(new Uint8Array([
|
|
46851
|
+
0,
|
|
46852
|
+
97,
|
|
46853
|
+
115,
|
|
46854
|
+
109,
|
|
46855
|
+
1,
|
|
46856
|
+
0,
|
|
46857
|
+
0,
|
|
46858
|
+
0,
|
|
46859
|
+
1,
|
|
46860
|
+
4,
|
|
46861
|
+
1,
|
|
46862
|
+
96,
|
|
46863
|
+
0,
|
|
46864
|
+
0,
|
|
46865
|
+
3,
|
|
46866
|
+
2,
|
|
46867
|
+
1,
|
|
46868
|
+
0,
|
|
46869
|
+
5,
|
|
46870
|
+
4,
|
|
46871
|
+
1,
|
|
46872
|
+
3,
|
|
46873
|
+
1,
|
|
46874
|
+
1,
|
|
46875
|
+
10,
|
|
46876
|
+
11,
|
|
46877
|
+
1,
|
|
46878
|
+
9,
|
|
46879
|
+
0,
|
|
46880
|
+
65,
|
|
46881
|
+
0,
|
|
46882
|
+
254,
|
|
46883
|
+
16,
|
|
46884
|
+
2,
|
|
46885
|
+
0,
|
|
46886
|
+
26,
|
|
46887
|
+
11
|
|
46888
|
+
]));
|
|
46889
|
+
} catch {
|
|
46890
|
+
return false;
|
|
46842
46891
|
}
|
|
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
|
|
46892
|
+
};
|
|
46884
46893
|
var WasmFeatureDetectors = {
|
|
46885
46894
|
bigInt,
|
|
46886
46895
|
bulkMemory,
|
|
@@ -47011,7 +47020,7 @@ var WasmSupport = class _WasmSupport {
|
|
|
47011
47020
|
* @license MIT
|
|
47012
47021
|
*/
|
|
47013
47022
|
//#endregion
|
|
47014
|
-
//#region ../../node_modules/.pnpm/@xyo-network+hash@6.0.
|
|
47023
|
+
//#region ../../node_modules/.pnpm/@xyo-network+hash@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_c8428f7729b757c2d73a9d71d8f7b636/node_modules/@xyo-network/hash/dist/node/index.mjs
|
|
47015
47024
|
var import_index_umd = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
47016
47025
|
(function(global, factory) {
|
|
47017
47026
|
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 +49440,7 @@ var NodeObjectHasher = class extends ObjectHasher {
|
|
|
49431
49440
|
static createNodeWorker = createNodeWorker;
|
|
49432
49441
|
};
|
|
49433
49442
|
//#endregion
|
|
49434
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-model@6.0.
|
|
49443
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_bfc329380ddc26bfeb17810aed7c02b6/node_modules/@xyo-network/payload-model/dist/neutral/index.mjs
|
|
49435
49444
|
var SchemaRegEx = /^(?:[a-z0-9]+\.)*[a-z0-9]+$/;
|
|
49436
49445
|
var SchemaZod = /* @__PURE__ */ pipe$1((/* @__PURE__ */ string$3()).check(/* @__PURE__ */ _regex(SchemaRegEx)), /* @__PURE__ */ transform$1((v) => v));
|
|
49437
49446
|
var isSchema = zodIsFactory(SchemaZod);
|
|
@@ -49651,7 +49660,7 @@ var isPayloadBundle = zodIsFactory(PayloadBundleZod);
|
|
|
49651
49660
|
zodToFactory(PayloadBundleZod, "asPayloadBundle");
|
|
49652
49661
|
asSchema("network.xyo.payload.set", true);
|
|
49653
49662
|
//#endregion
|
|
49654
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-builder@6.0.
|
|
49663
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-builder@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-ba_b65b6b12e31ecee24d898ea1497efc35/node_modules/@xyo-network/payload-builder/dist/neutral/index.mjs
|
|
49655
49664
|
var omitSchema = (payload) => {
|
|
49656
49665
|
const result = structuredClone(payload);
|
|
49657
49666
|
delete result.schema;
|
|
@@ -49822,7 +49831,7 @@ var PayloadBuilder = class _PayloadBuilder {
|
|
|
49822
49831
|
}
|
|
49823
49832
|
};
|
|
49824
49833
|
//#endregion
|
|
49825
|
-
//#region ../../node_modules/.pnpm/@xyo-network+schema-name-validator@6.0.
|
|
49834
|
+
//#region ../../node_modules/.pnpm/@xyo-network+schema-name-validator@6.0.7/node_modules/@xyo-network/schema-name-validator/dist/neutral/index.mjs
|
|
49826
49835
|
var SchemaNameValidator = class {
|
|
49827
49836
|
schema;
|
|
49828
49837
|
_parts;
|
|
@@ -49889,7 +49898,7 @@ var SchemaNameValidator = class {
|
|
|
49889
49898
|
}
|
|
49890
49899
|
};
|
|
49891
49900
|
//#endregion
|
|
49892
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-validator@6.0.
|
|
49901
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-validator@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-_ea5502aca756fd6fa980a1aaea80017b/node_modules/@xyo-network/payload-validator/dist/neutral/index.mjs
|
|
49893
49902
|
var defaultSchemaNameValidatorFactory = (schema) => new SchemaNameValidator(schema);
|
|
49894
49903
|
var PayloadValidator = class _PayloadValidator extends ValidatorBase {
|
|
49895
49904
|
static schemaNameValidatorFactory = defaultSchemaNameValidatorFactory;
|
|
@@ -49918,7 +49927,7 @@ var PayloadValidator = class _PayloadValidator extends ValidatorBase {
|
|
|
49918
49927
|
}
|
|
49919
49928
|
};
|
|
49920
49929
|
//#endregion
|
|
49921
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-wrapper@6.0.
|
|
49930
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-wrapper@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-ba_67e8547a399f6bb6c2248c2e92206980/node_modules/@xyo-network/payload-wrapper/dist/neutral/index.mjs
|
|
49922
49931
|
var isPayloadWrapperBase = (value) => {
|
|
49923
49932
|
return value instanceof PayloadWrapperBase;
|
|
49924
49933
|
};
|
|
@@ -50031,10 +50040,10 @@ var payloadJsonSchema = {
|
|
|
50031
50040
|
type: "object"
|
|
50032
50041
|
};
|
|
50033
50042
|
//#endregion
|
|
50034
|
-
//#region ../../node_modules/.pnpm/@xyo-network+config-payload-plugin@6.0.
|
|
50043
|
+
//#region ../../node_modules/.pnpm/@xyo-network+config-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tr_a3bcf72e9c4fedffbb89288e74ef84d3/node_modules/@xyo-network/config-payload-plugin/dist/neutral/index.mjs
|
|
50035
50044
|
var ConfigSchema = asSchema("network.xyo.config", true);
|
|
50036
50045
|
//#endregion
|
|
50037
|
-
//#region ../../node_modules/.pnpm/@xyo-network+account-model@6.0.
|
|
50046
|
+
//#region ../../node_modules/.pnpm/@xyo-network+account-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_eae63284721aeb2d22366ee45978abd2/node_modules/@xyo-network/account-model/dist/neutral/index.mjs
|
|
50038
50047
|
var isPhraseInitializationConfig = (value) => {
|
|
50039
50048
|
if (typeof value === "object" && value !== null) return typeof value.phrase === "string";
|
|
50040
50049
|
return false;
|
|
@@ -50066,6 +50075,9 @@ function stripAddressPrefix(address) {
|
|
|
50066
50075
|
const underscore = address.indexOf("_");
|
|
50067
50076
|
return underscore === -1 ? address : address.slice(underscore + 1);
|
|
50068
50077
|
}
|
|
50078
|
+
function addressTo20Bytes(address) {
|
|
50079
|
+
return toUint8Array(stripAddressPrefix(address), 20).buffer;
|
|
50080
|
+
}
|
|
50069
50081
|
var JwtAlg = Enum({ ES256K: "ES256K" });
|
|
50070
50082
|
var JwtTyp = Enum({ JWT: "JWT" });
|
|
50071
50083
|
var JwtSchema = Enum({ Signin: "network.xyo.auth.signin" });
|
|
@@ -50079,11 +50091,6 @@ async function verifySignature(address, hash, signature) {
|
|
|
50079
50091
|
if (!fn) throw new Error(`No verifier registered for algorithm [${algorithm}]. Did you import the account package?`);
|
|
50080
50092
|
return await fn(address, hash, signature);
|
|
50081
50093
|
}
|
|
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
50094
|
//#endregion
|
|
50088
50095
|
//#region ../../node_modules/.pnpm/@bitauth+libauth@3.0.0/node_modules/@bitauth/libauth/build/lib/format/base64.js
|
|
50089
50096
|
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
@@ -50882,7 +50889,18 @@ const hasBase64Builtin = /* @__PURE__ */ (() => typeof Uint8Array.from([]).toBas
|
|
|
50882
50889
|
hasBase64Builtin || chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), padding(6), join$1(""));
|
|
50883
50890
|
chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), join$1(""));
|
|
50884
50891
|
hasBase64Builtin || chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), padding(6), join$1(""));
|
|
50885
|
-
|
|
50892
|
+
/**
|
|
50893
|
+
* base64 from RFC 4648, using URL-safe alphabet. No padding.
|
|
50894
|
+
* Use `base64url` for padded version.
|
|
50895
|
+
* @example
|
|
50896
|
+
* ```js
|
|
50897
|
+
* base64urlnopad.encode(Uint8Array.from([0x12, 0xab]));
|
|
50898
|
+
* // => 'Eqs'
|
|
50899
|
+
* base64urlnopad.decode('Eqs');
|
|
50900
|
+
* // => Uint8Array.from([0x12, 0xab])
|
|
50901
|
+
* ```
|
|
50902
|
+
*/
|
|
50903
|
+
const base64urlnopad = /* @__PURE__ */ Object.freeze(chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), join$1("")));
|
|
50886
50904
|
const genBase58 = /* @__NO_SIDE_EFFECTS__ */ (abc) => chain(radix(58), alphabet(abc), join$1(""));
|
|
50887
50905
|
/**
|
|
50888
50906
|
* base58: base64 without ambigous characters +, /, 0, O, I, l.
|
|
@@ -50994,7 +51012,7 @@ genBech32("bech32m");
|
|
|
50994
51012
|
return s.toLowerCase();
|
|
50995
51013
|
}));
|
|
50996
51014
|
//#endregion
|
|
50997
|
-
//#region ../../node_modules/.pnpm/@xyo-network+data@6.0.
|
|
51015
|
+
//#region ../../node_modules/.pnpm/@xyo-network+data@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_@o_2b4f10ad119b490feae1efd0dc069d5c/node_modules/@xyo-network/data/dist/neutral/index.mjs
|
|
50998
51016
|
var AbstractData = class _AbstractData {
|
|
50999
51017
|
get length() {
|
|
51000
51018
|
return this.bytes.byteLength;
|
|
@@ -51034,7 +51052,7 @@ var Data = class _Data extends AbstractData {
|
|
|
51034
51052
|
}
|
|
51035
51053
|
};
|
|
51036
51054
|
//#endregion
|
|
51037
|
-
//#region ../../node_modules/.pnpm/@xyo-network+elliptic@6.0.
|
|
51055
|
+
//#region ../../node_modules/.pnpm/@xyo-network+elliptic@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@openteleme_6a94bd4a3b0998c4e9d44325be070693/node_modules/@xyo-network/elliptic/dist/neutral/index.mjs
|
|
51038
51056
|
var wasmSupportStatic = new WasmSupport([
|
|
51039
51057
|
"bigInt",
|
|
51040
51058
|
"mutableGlobals",
|
|
@@ -51109,7 +51127,7 @@ var Elliptic = class {
|
|
|
51109
51127
|
}
|
|
51110
51128
|
};
|
|
51111
51129
|
//#endregion
|
|
51112
|
-
//#region ../../node_modules/.pnpm/@xyo-network+account@6.0.
|
|
51130
|
+
//#region ../../node_modules/.pnpm/@xyo-network+account@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@opentelemet_0a91f41d07d3f387a1b06b79a98993e4/node_modules/@xyo-network/account/dist/neutral/index.mjs
|
|
51113
51131
|
var __defProp$27 = Object.defineProperty;
|
|
51114
51132
|
var __getOwnPropDesc$26 = Object.getOwnPropertyDescriptor;
|
|
51115
51133
|
var __defNormalProp$24 = (obj, key, value) => key in obj ? __defProp$27(obj, key, {
|
|
@@ -51130,10 +51148,10 @@ registerVerifier("secp256k1", async (address, hash, signature) => {
|
|
|
51130
51148
|
return await Elliptic.verify(hash, signature, addressTo20Bytes(address));
|
|
51131
51149
|
});
|
|
51132
51150
|
function base64urlEncode(bytes) {
|
|
51133
|
-
return
|
|
51151
|
+
return base64urlnopad.encode(bytes);
|
|
51134
51152
|
}
|
|
51135
51153
|
function base64urlDecode(value) {
|
|
51136
|
-
return
|
|
51154
|
+
return base64urlnopad.decode(value);
|
|
51137
51155
|
}
|
|
51138
51156
|
function base64urlEncodeJson(value) {
|
|
51139
51157
|
return base64urlEncode(new TextEncoder().encode(JSON.stringify(value)));
|
|
@@ -51461,14 +51479,14 @@ __publicField$24(Account, "_addressMap", {});
|
|
|
51461
51479
|
__publicField$24(Account, "_protectedConstructorKey", /* @__PURE__ */ Symbol());
|
|
51462
51480
|
Account = __decorateClass$26([staticImplements()], Account);
|
|
51463
51481
|
//#endregion
|
|
51464
|
-
//#region ../../node_modules/.pnpm/@xyo-network+query-payload-plugin@6.0.
|
|
51482
|
+
//#region ../../node_modules/.pnpm/@xyo-network+query-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tra_ca0a7fa9af07a3fe04ef289f8c63dade/node_modules/@xyo-network/query-payload-plugin/dist/neutral/index.mjs
|
|
51465
51483
|
var QuerySchema = asSchema("network.xyo.query", true);
|
|
51466
51484
|
//#endregion
|
|
51467
|
-
//#region ../../node_modules/.pnpm/@xyo-network+schema-payload-plugin@6.0.
|
|
51485
|
+
//#region ../../node_modules/.pnpm/@xyo-network+schema-payload-plugin@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-tr_cc4798f99aa48b4a241bcdcc18395d13/node_modules/@xyo-network/schema-payload-plugin/dist/neutral/index.mjs
|
|
51468
51486
|
var SchemaSchema = asSchema("network.xyo.schema", true);
|
|
51469
51487
|
var isSchemaPayload = isPayloadOfSchemaType(SchemaSchema);
|
|
51470
51488
|
//#endregion
|
|
51471
|
-
//#region ../../node_modules/.pnpm/@xyo-network+manifest-model@6.0.
|
|
51489
|
+
//#region ../../node_modules/.pnpm/@xyo-network+manifest-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-bas_c2379e49fdded8871c8a01e10ac76279/node_modules/@xyo-network/manifest-model/dist/neutral/index.mjs
|
|
51472
51490
|
var isString$1 = (value) => typeof value === "string";
|
|
51473
51491
|
var asBrandedZod = (schema) => {
|
|
51474
51492
|
return /* @__PURE__ */ pipe$1(schema, /* @__PURE__ */ transform$1((value) => value));
|
|
@@ -51543,19 +51561,28 @@ zodToFactory(/* @__PURE__ */ extend(NodeManifestZod, { schema: /* @__PURE__ */ l
|
|
|
51543
51561
|
zodToFactory(/* @__PURE__ */ extend(ModuleManifestZod, { schema: /* @__PURE__ */ union$2([/* @__PURE__ */ literal$2(ModuleManifestPayloadSchema), /* @__PURE__ */ literal$2(NodeManifestPayloadSchema)]) }), "toModuleManifestPayload");
|
|
51544
51562
|
zodToFactory(/* @__PURE__ */ extend(PackageManifestZod, { schema: /* @__PURE__ */ literal$2(PackageManifestPayloadSchema) }), "toPackageManifestPayload");
|
|
51545
51563
|
//#endregion
|
|
51546
|
-
//#region ../../node_modules/.pnpm/@xyo-network+
|
|
51564
|
+
//#region ../../node_modules/.pnpm/@xyo-network+address@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base@2.7.1_0aa724c2c13d6fb2a493075a6e802926/node_modules/@xyo-network/address/dist/neutral/index.mjs
|
|
51565
|
+
var XyoLegacyAddressZod = AddressZod;
|
|
51566
|
+
zodToFactory(XyoLegacyAddressZod, "toXyoLegacyAddress");
|
|
51567
|
+
var XyoQuant1AddressZod = /* @__PURE__ */ pipe$1((/* @__PURE__ */ string$3()).check(/* @__PURE__ */ _regex(/^qr1_[0-9a-f]{40}$/)), /* @__PURE__ */ transform$1((v) => v));
|
|
51568
|
+
zodToFactory(XyoQuant1AddressZod, "toXyoQuant1Address");
|
|
51569
|
+
var XyoAddressRegEx = /^(?:qr1_)?[0-9a-f]{40}$/;
|
|
51570
|
+
var XyoAddressZod = /* @__PURE__ */ union$2([XyoLegacyAddressZod, XyoQuant1AddressZod]);
|
|
51571
|
+
zodToFactory(XyoAddressZod, "toXyoAddress");
|
|
51572
|
+
//#endregion
|
|
51573
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-model@6.0.7_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace_6b77f642436e161caf01ce431934c6bb/node_modules/@xyo-network/boundwitness-model/dist/neutral/index.mjs
|
|
51547
51574
|
var BoundWitnessSchema = asSchema("network.xyo.boundwitness", true);
|
|
51548
51575
|
var SignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: /* @__PURE__ */ array$2(/* @__PURE__ */ union$2([HexZod, /* @__PURE__ */ _null$1()])) });
|
|
51549
51576
|
var UnsignedSignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: /* @__PURE__ */ array$2(/* @__PURE__ */ _null$1()) });
|
|
51550
51577
|
var SignedSignaturesMetaZod = /* @__PURE__ */ object$4({ $signatures: (/* @__PURE__ */ array$2(HexZod)).check(/* @__PURE__ */ _minLength(1)) });
|
|
51551
51578
|
var BoundWitnessRequiredFieldsZod = /* @__PURE__ */ object$4({
|
|
51552
|
-
addresses: /* @__PURE__ */ array$2(
|
|
51579
|
+
addresses: /* @__PURE__ */ array$2(XyoAddressZod),
|
|
51553
51580
|
payload_hashes: /* @__PURE__ */ array$2(HashZod),
|
|
51554
51581
|
payload_schemas: /* @__PURE__ */ array$2(SchemaZod),
|
|
51555
51582
|
previous_hashes: /* @__PURE__ */ array$2(/* @__PURE__ */ nullable$2(HashZod))
|
|
51556
51583
|
});
|
|
51557
51584
|
var BoundWitnessMetaZod = /* @__PURE__ */ extend(/* @__PURE__ */ object$4({
|
|
51558
|
-
$destination: /* @__PURE__ */ optional$2(
|
|
51585
|
+
$destination: /* @__PURE__ */ optional$2(XyoAddressZod),
|
|
51559
51586
|
$sourceQuery: /* @__PURE__ */ optional$2(HashZod)
|
|
51560
51587
|
}), SignaturesMetaZod.shape);
|
|
51561
51588
|
var BoundWitnessZod = /* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(/* @__PURE__ */ safeExtend(PayloadZod, { schema: /* @__PURE__ */ literal$2(BoundWitnessSchema) }), BoundWitnessRequiredFieldsZod.shape), BoundWitnessMetaZod.shape);
|
|
@@ -51569,7 +51596,7 @@ var UnsignedBoundWitnessZod = /* @__PURE__ */ extend(BoundWitnessZod, UnsignedSi
|
|
|
51569
51596
|
UnsignedBoundWitnessZod.shape;
|
|
51570
51597
|
var isQueryBoundWitness = (x) => isBoundWitness(x) && x?.query !== void 0;
|
|
51571
51598
|
//#endregion
|
|
51572
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-builder@6.0.
|
|
51599
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-builder@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_eb7fd9feb0e403fdfce2bce2b6054886/node_modules/@xyo-network/boundwitness-builder/dist/neutral/index.mjs
|
|
51573
51600
|
var GeneratedBoundWitnessFields = [
|
|
51574
51601
|
"addresses",
|
|
51575
51602
|
"payload_hashes",
|
|
@@ -51768,7 +51795,7 @@ var QueryBoundWitnessBuilder = class extends BoundWitnessBuilder {
|
|
|
51768
51795
|
}
|
|
51769
51796
|
};
|
|
51770
51797
|
//#endregion
|
|
51771
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-validator@6.0.
|
|
51798
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-validator@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9_7191c3c5f01d14ed120e91db27506570/node_modules/@xyo-network/boundwitness-validator/dist/neutral/index.mjs
|
|
51772
51799
|
var boundWitnessArrayPropertyContains = (bw, prop, value) => {
|
|
51773
51800
|
return bw[prop]?.includes(value);
|
|
51774
51801
|
};
|
|
@@ -51858,7 +51885,7 @@ var BoundWitnessValidator = class _BoundWitnessValidator extends PayloadValidato
|
|
|
51858
51885
|
}
|
|
51859
51886
|
};
|
|
51860
51887
|
//#endregion
|
|
51861
|
-
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-wrapper@6.0.
|
|
51888
|
+
//#region ../../node_modules/.pnpm/@xyo-network+boundwitness-wrapper@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_f692e2d35fd89e8cd6255d996c032548/node_modules/@xyo-network/boundwitness-wrapper/dist/neutral/index.mjs
|
|
51862
51889
|
var isBoundWitnessWrapper = (value) => {
|
|
51863
51890
|
if (isPayloadWrapperBase(value)) return typeof value.payloadsDataHashMap === "function";
|
|
51864
51891
|
return false;
|
|
@@ -52316,266 +52343,6 @@ const oidNist = (suffix) => ({ oid: Uint8Array.from([
|
|
|
52316
52343
|
suffix
|
|
52317
52344
|
]) });
|
|
52318
52345
|
//#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
52346
|
//#region ../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/_md.js
|
|
52580
52347
|
/**
|
|
52581
52348
|
* Internal Merkle-Damgard hash utils.
|
|
@@ -55041,7 +54808,7 @@ zero
|
|
|
55041
54808
|
zone
|
|
55042
54809
|
zoo`.split("\n"));
|
|
55043
54810
|
//#endregion
|
|
55044
|
-
//#region ../../node_modules/.pnpm/@xyo-network+wallet@6.0.
|
|
54811
|
+
//#region ../../node_modules/.pnpm/@xyo-network+wallet@6.0.7_@bitauth+libauth@3.0.0_@opentelemetry+api@1.9.1_@opentelemetr_14ec2a0e9b0f1114c4db4663b3bb7e45/node_modules/@xyo-network/wallet/dist/neutral/index.mjs
|
|
55045
54812
|
var __defProp$26 = Object.defineProperty;
|
|
55046
54813
|
var __getOwnPropDesc$25 = Object.getOwnPropertyDescriptor;
|
|
55047
54814
|
var __defNormalProp$23 = (obj, key, value) => key in obj ? __defProp$26(obj, key, {
|
|
@@ -61071,6 +60838,229 @@ var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
61071
60838
|
});
|
|
61072
60839
|
}));
|
|
61073
60840
|
//#endregion
|
|
60841
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/module-model/dist/neutral/index.mjs
|
|
60842
|
+
var ModuleConfigSchema = asSchema("network.xyo.module.config", true);
|
|
60843
|
+
function creatableModule() {
|
|
60844
|
+
return (constructor) => {};
|
|
60845
|
+
}
|
|
60846
|
+
var buildModuleFactory = (mod, labels) => {
|
|
60847
|
+
return {
|
|
60848
|
+
...mod,
|
|
60849
|
+
configSchemas: mod.configSchemas,
|
|
60850
|
+
create: mod.create.bind(mod),
|
|
60851
|
+
defaultConfigSchema: mod.defaultConfigSchema,
|
|
60852
|
+
labels: {
|
|
60853
|
+
...mod.labels,
|
|
60854
|
+
...labels
|
|
60855
|
+
}
|
|
60856
|
+
};
|
|
60857
|
+
};
|
|
60858
|
+
var registerCreatableModuleFactory = (registry, factory5, labels, primary = false) => {
|
|
60859
|
+
const primarySchemas = primary !== true && isTruthy(primary) ? Array.isArray(primary) ? primary : [primary] : [];
|
|
60860
|
+
for (const primarySchema of primarySchemas) if (!factory5.configSchemas.includes(primarySchema)) console.warn(`Primary schema ${String(primary)} not found in factory configSchemas`);
|
|
60861
|
+
const isPrimaryForSchema = (schema) => {
|
|
60862
|
+
switch (typeof primary) {
|
|
60863
|
+
case "boolean": return primary;
|
|
60864
|
+
case "string": return schema === primary;
|
|
60865
|
+
case "object": if (Array.isArray(primary)) return primary.includes(schema);
|
|
60866
|
+
}
|
|
60867
|
+
throw new Error(`Invalid primary value: ${String(primary)}`);
|
|
60868
|
+
};
|
|
60869
|
+
const factoryClone = buildModuleFactory(factory5, labels);
|
|
60870
|
+
registry[factory5.defaultConfigSchema] = [factoryClone, ...registry[factoryClone.defaultConfigSchema] ?? []];
|
|
60871
|
+
for (const schema of factoryClone.configSchemas) registry[schema] = isPrimaryForSchema(schema) ? [factoryClone, ...registry[schema] ?? []] : [...registry[schema] ?? [], factoryClone];
|
|
60872
|
+
};
|
|
60873
|
+
var registerCreatableModuleFactories = (factories, registry = {}, primary = false) => {
|
|
60874
|
+
for (const factory5 of factories) registerCreatableModuleFactory(registry, factory5, void 0, primary);
|
|
60875
|
+
return registry;
|
|
60876
|
+
};
|
|
60877
|
+
function labeledCreatableModule() {
|
|
60878
|
+
return (constructor) => {};
|
|
60879
|
+
}
|
|
60880
|
+
var hasLabels$1 = (factory5) => {
|
|
60881
|
+
return factory5.labels !== void 0;
|
|
60882
|
+
};
|
|
60883
|
+
var ModuleFactory = class _ModuleFactory {
|
|
60884
|
+
configSchemas;
|
|
60885
|
+
creatableModule;
|
|
60886
|
+
defaultConfigSchema;
|
|
60887
|
+
defaultLogger;
|
|
60888
|
+
defaultParams;
|
|
60889
|
+
labels;
|
|
60890
|
+
constructor(creatableModule2, params, labels = {}) {
|
|
60891
|
+
this.creatableModule = creatableModule2;
|
|
60892
|
+
this.defaultParams = params;
|
|
60893
|
+
this.configSchemas = creatableModule2.configSchemas;
|
|
60894
|
+
this.defaultConfigSchema = creatableModule2.defaultConfigSchema;
|
|
60895
|
+
assertEx(this.configSchemas.includes(this.defaultConfigSchema), () => "defaultConfigSchema must be in configSchemas");
|
|
60896
|
+
this.labels = Object.assign({}, creatableModule2.labels ?? {}, labels ?? {});
|
|
60897
|
+
}
|
|
60898
|
+
static withParams(creatableModule2, params, labels = {}) {
|
|
60899
|
+
return new _ModuleFactory(creatableModule2, params, labels);
|
|
60900
|
+
}
|
|
60901
|
+
create(params) {
|
|
60902
|
+
const mergedParams = {
|
|
60903
|
+
...this.defaultParams,
|
|
60904
|
+
...params,
|
|
60905
|
+
config: {
|
|
60906
|
+
schema: this.creatableModule.defaultConfigSchema,
|
|
60907
|
+
...this.defaultParams?.config,
|
|
60908
|
+
...params?.config
|
|
60909
|
+
}
|
|
60910
|
+
};
|
|
60911
|
+
return this.creatableModule.create(mergedParams);
|
|
60912
|
+
}
|
|
60913
|
+
factory(params, labels = {}) {
|
|
60914
|
+
return new _ModuleFactory(this.creatableModule, params, labels);
|
|
60915
|
+
}
|
|
60916
|
+
};
|
|
60917
|
+
var ModuleManifestQuerySchema = asSchema("network.xyo.query.module.manifest", true);
|
|
60918
|
+
var ModuleAddressQuerySchema = asSchema("network.xyo.query.module.address", true);
|
|
60919
|
+
var ModuleStateQuerySchema = asSchema("network.xyo.query.module.state", true);
|
|
60920
|
+
var ModuleSubscribeQuerySchema = asSchema("network.xyo.query.module.subscribe", true);
|
|
60921
|
+
var isQueryableModuleObject = new IsObjectFactory().create({
|
|
60922
|
+
address: "string",
|
|
60923
|
+
queries: "array",
|
|
60924
|
+
query: "function"
|
|
60925
|
+
});
|
|
60926
|
+
var asQueryableModuleObject = AsObjectFactory.create(isQueryableModuleObject);
|
|
60927
|
+
var IsQueryableModuleFactory = class {
|
|
60928
|
+
create(expectedQueries, additionalChecks) {
|
|
60929
|
+
const result = (obj, config) => {
|
|
60930
|
+
const mod = asQueryableModuleObject(obj);
|
|
60931
|
+
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);
|
|
60932
|
+
};
|
|
60933
|
+
return result;
|
|
60934
|
+
}
|
|
60935
|
+
};
|
|
60936
|
+
var requiredQueryableModuleQueries = [ModuleStateQuerySchema];
|
|
60937
|
+
var isQueryableModule = new IsQueryableModuleFactory().create(requiredQueryableModuleQueries, [isQueryableModuleObject]);
|
|
60938
|
+
AsObjectFactory.create(isQueryableModule);
|
|
60939
|
+
var isModuleInstance = new IsObjectFactory().create({
|
|
60940
|
+
manifest: "function",
|
|
60941
|
+
state: "function"
|
|
60942
|
+
}, [isQueryableModule]);
|
|
60943
|
+
var asModuleInstance = AsObjectFactory.create(isModuleInstance);
|
|
60944
|
+
var isAttachableModuleInstance = new IsObjectFactory().create({
|
|
60945
|
+
downResolver: "object",
|
|
60946
|
+
upResolver: "object"
|
|
60947
|
+
}, [isModuleInstance]);
|
|
60948
|
+
var asAttachableModuleInstance = AsObjectFactory.create(isAttachableModuleInstance);
|
|
60949
|
+
var DeadModuleError = class _DeadModuleError extends Error {
|
|
60950
|
+
error;
|
|
60951
|
+
id;
|
|
60952
|
+
constructor(id, error, msg = "Dead Module Error") {
|
|
60953
|
+
super(`${msg} [${id}]: ${error?.message ?? toSafeJsonString(error)}`);
|
|
60954
|
+
this.id = id;
|
|
60955
|
+
this.error = error;
|
|
60956
|
+
Object.setPrototypeOf(this, _DeadModuleError.prototype);
|
|
60957
|
+
}
|
|
60958
|
+
};
|
|
60959
|
+
var IsInstanceFactory = class extends IsObjectFactory {};
|
|
60960
|
+
var ObjectResolverPriority = {
|
|
60961
|
+
Disabled: -1,
|
|
60962
|
+
VeryLow: 0,
|
|
60963
|
+
Low: 1,
|
|
60964
|
+
Normal: 2,
|
|
60965
|
+
High: 3,
|
|
60966
|
+
VeryHigh: 4
|
|
60967
|
+
};
|
|
60968
|
+
var hasAllLabels = (source, required) => {
|
|
60969
|
+
if (!required) return true;
|
|
60970
|
+
return Object.entries(required).every(([key, value]) => {
|
|
60971
|
+
return Object.hasOwn(source ?? {}, key) && source?.[key] === value;
|
|
60972
|
+
});
|
|
60973
|
+
};
|
|
60974
|
+
var ModuleLimitationViewLabel = { ModuleLimitationLabelName: "view" };
|
|
60975
|
+
var duplicateModules = (value, index, array) => {
|
|
60976
|
+
return array.findIndex((v) => v.address === value.address) === index;
|
|
60977
|
+
};
|
|
60978
|
+
var isSerializable = (value, maxDepth = 10) => {
|
|
60979
|
+
if (maxDepth <= 0) return false;
|
|
60980
|
+
if (value === null || typeof value === "boolean" || typeof value === "number" || typeof value === "string") return true;
|
|
60981
|
+
if (Array.isArray(value)) return value.every((item) => isSerializable(item, maxDepth - 1));
|
|
60982
|
+
if (typeof value === "object") {
|
|
60983
|
+
if (value instanceof Date || value instanceof RegExp) return true;
|
|
60984
|
+
if (value instanceof Set || value instanceof Map) return false;
|
|
60985
|
+
if (value !== null && value !== void 0) return Object.values(value).every((item) => isSerializable(item, maxDepth - 1));
|
|
60986
|
+
}
|
|
60987
|
+
return false;
|
|
60988
|
+
};
|
|
60989
|
+
var ReservedModuleIdentifierCharacters = new Set(Object.keys({
|
|
60990
|
+
" ": true,
|
|
60991
|
+
"!": true,
|
|
60992
|
+
"\"": true,
|
|
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
|
+
}));
|
|
61020
|
+
var isModuleName = (value) => {
|
|
61021
|
+
return typeof value === "string" && !isAddress(value) && !includesReservedModuleIdentifierCharacter(value);
|
|
61022
|
+
};
|
|
61023
|
+
var includesReservedModuleIdentifierCharacter = (value) => {
|
|
61024
|
+
return typeof value === "string" && [...value].some((char) => ReservedModuleIdentifierCharacters.has(char));
|
|
61025
|
+
};
|
|
61026
|
+
var AddressSchema = asSchema("network.xyo.address", true);
|
|
61027
|
+
asSchema("network.xyo.address.child", true);
|
|
61028
|
+
var isAddressPayload = isPayloadOfSchemaType(AddressSchema);
|
|
61029
|
+
AsObjectFactory.create(isAddressPayload);
|
|
61030
|
+
AsObjectFactory.createOptional(isAddressPayload);
|
|
61031
|
+
var AddressPreviousHashSchema = asSchema("network.xyo.address.hash.previous", true);
|
|
61032
|
+
var ModuleDescriptionSchema = asSchema("network.xyo.module.description", true);
|
|
61033
|
+
var ModuleStateSchema = asSchema("network.xyo.module.state", true);
|
|
61034
|
+
var isModuleState = (payload) => {
|
|
61035
|
+
return isPayloadOfSchemaType(ModuleStateSchema)(payload);
|
|
61036
|
+
};
|
|
61037
|
+
AsObjectFactory.create(isModuleState);
|
|
61038
|
+
AsObjectFactory.createOptional(isModuleState);
|
|
61039
|
+
var WithFactory = { create: (typeCheck) => {
|
|
61040
|
+
return (mod, closure) => {
|
|
61041
|
+
return typeCheck(mod) ? closure(mod) : void 0;
|
|
61042
|
+
};
|
|
61043
|
+
} };
|
|
61044
|
+
asSchema("network.xyo.archivist.snapshot", true);
|
|
61045
|
+
var ArchivistStatsPayloadSchema = asSchema("network.xyo.archivist.stats", true);
|
|
61046
|
+
var ArchivistAllQuerySchema = asSchema("network.xyo.query.archivist.all", true);
|
|
61047
|
+
var ArchivistClearQuerySchema = asSchema("network.xyo.query.archivist.clear", true);
|
|
61048
|
+
var ArchivistCommitQuerySchema = asSchema("network.xyo.query.archivist.commit", true);
|
|
61049
|
+
var ArchivistDeleteQuerySchema = asSchema("network.xyo.query.archivist.delete", true);
|
|
61050
|
+
var ArchivistGetQuerySchema = asSchema("network.xyo.query.archivist.get", true);
|
|
61051
|
+
var ArchivistInsertQuerySchema = asSchema("network.xyo.query.archivist.insert", true);
|
|
61052
|
+
var ArchivistNextQuerySchema = asSchema("network.xyo.query.archivist.next", true);
|
|
61053
|
+
var ArchivistSnapshotQuerySchema = asSchema("network.xyo.query.archivist.snapshot", true);
|
|
61054
|
+
var isArchivistInstance = new IsInstanceFactory().create({ get: "function" }, [isModuleInstance]);
|
|
61055
|
+
var isArchivistModule = new IsQueryableModuleFactory().create([ArchivistGetQuerySchema]);
|
|
61056
|
+
AsObjectFactory.create(isArchivistModule);
|
|
61057
|
+
var asArchivistInstance = AsObjectFactory.create(isArchivistInstance);
|
|
61058
|
+
WithFactory.create(isArchivistModule);
|
|
61059
|
+
WithFactory.create(isArchivistInstance);
|
|
61060
|
+
var isAttachableArchivistInstance = new IsObjectFactory().create({}, [isArchivistInstance, isAttachableModuleInstance]);
|
|
61061
|
+
var asAttachableArchivistInstance = AsObjectFactory.create(isAttachableArchivistInstance);
|
|
61062
|
+
var ArchivistConfigSchema = asSchema("network.xyo.archivist.config", true);
|
|
61063
|
+
//#endregion
|
|
61074
61064
|
//#region ../../node_modules/.pnpm/lru-cache@11.5.1/node_modules/lru-cache/dist/esm/node/index.min.js
|
|
61075
61065
|
var S = channel("lru-cache:metrics"), W = tracingChannel("lru-cache");
|
|
61076
61066
|
var L = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
|
|
@@ -61708,236 +61698,13 @@ var T = (u) => !!u && u === Math.floor(u) && u > 0 && isFinite(u), j = (u) => T(
|
|
|
61708
61698
|
}
|
|
61709
61699
|
};
|
|
61710
61700
|
//#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
|
|
61701
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/diviner-payload-model/dist/neutral/index.mjs
|
|
61935
61702
|
var PayloadDivinerSchema = asSchema("network.xyo.diviner.payload", true);
|
|
61936
61703
|
var PayloadDivinerConfigSchema = asSchema(`${PayloadDivinerSchema}.config`, true);
|
|
61937
61704
|
var isPayloadDivinerQueryPayload = isPayloadOfSchemaType(asSchema(`${PayloadDivinerSchema}.query`, true));
|
|
61938
61705
|
var asPayloadDivinerQueryPayload = AsObjectFactory.create(isPayloadDivinerQueryPayload);
|
|
61939
61706
|
//#endregion
|
|
61940
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-resolver@6.0.
|
|
61707
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-resolver@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/module-resolver/dist/neutral/index.mjs
|
|
61941
61708
|
var AbstractModuleResolver = class extends Base {
|
|
61942
61709
|
get priority() {
|
|
61943
61710
|
return this.params.priority ?? ObjectResolverPriority.Normal;
|
|
@@ -62382,7 +62149,7 @@ var CompositeModuleResolver = class _CompositeModuleResolver extends AbstractMod
|
|
|
62382
62149
|
}
|
|
62383
62150
|
};
|
|
62384
62151
|
//#endregion
|
|
62385
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-model@6.0.
|
|
62152
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/node-model/dist/neutral/index.mjs
|
|
62386
62153
|
var NodeAttachQuerySchema = asSchema("network.xyo.query.node.attach", true);
|
|
62387
62154
|
var NodeAttachedQuerySchema = asSchema("network.xyo.query.node.attached", true);
|
|
62388
62155
|
var NodeCertifyQuerySchema = asSchema("network.xyo.query.node.certify", true);
|
|
@@ -62405,7 +62172,7 @@ var asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance);
|
|
|
62405
62172
|
var ChildCertificationSchema = asSchema("network.xyo.child.certification", true);
|
|
62406
62173
|
var NodeConfigSchema = asSchema("network.xyo.node.config", true);
|
|
62407
62174
|
//#endregion
|
|
62408
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract@6.0.
|
|
62175
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/module-abstract/dist/neutral/index.mjs
|
|
62409
62176
|
var isDetermineAccountFromAccountParams = (params) => {
|
|
62410
62177
|
assertEx(isUndefined(params.accountPath), () => "accountPath may not be provided when account is provided");
|
|
62411
62178
|
return isDefined(params.account);
|
|
@@ -63159,7 +62926,7 @@ var LoggerModuleStatusReporter = class {
|
|
|
63159
62926
|
}
|
|
63160
62927
|
};
|
|
63161
62928
|
//#endregion
|
|
63162
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-abstract@6.0.
|
|
62929
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/archivist-abstract/dist/neutral/index.mjs
|
|
63163
62930
|
var StorageClassLabel = "network.xyo.storage.class";
|
|
63164
62931
|
var NOT_IMPLEMENTED = "Not implemented";
|
|
63165
62932
|
var AbstractArchivist = class _AbstractArchivist extends AbstractModuleInstance {
|
|
@@ -63633,7 +63400,7 @@ var AbstractArchivist = class _AbstractArchivist extends AbstractModuleInstance
|
|
|
63633
63400
|
}
|
|
63634
63401
|
};
|
|
63635
63402
|
//#endregion
|
|
63636
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-generic@6.0.
|
|
63403
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-generic@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/archivist-generic/dist/neutral/index.mjs
|
|
63637
63404
|
var __defProp$25 = Object.defineProperty;
|
|
63638
63405
|
var __getOwnPropDesc$24 = Object.getOwnPropertyDescriptor;
|
|
63639
63406
|
var __getProtoOf$7 = Object.getPrototypeOf;
|
|
@@ -63716,7 +63483,7 @@ __publicField$22(GenericArchivist, "labels", {
|
|
|
63716
63483
|
});
|
|
63717
63484
|
GenericArchivist = __decorateClass$24([creatableModule()], GenericArchivist);
|
|
63718
63485
|
//#endregion
|
|
63719
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-memory@6.0.
|
|
63486
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-memory@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/archivist-memory/dist/neutral/index.mjs
|
|
63720
63487
|
var __defProp$24 = Object.defineProperty;
|
|
63721
63488
|
var __getOwnPropDesc$23 = Object.getOwnPropertyDescriptor;
|
|
63722
63489
|
var __getProtoOf$6 = Object.getPrototypeOf;
|
|
@@ -63855,7 +63622,7 @@ __publicField$21(MemoryArchivist, "labels", {
|
|
|
63855
63622
|
});
|
|
63856
63623
|
MemoryArchivist = __decorateClass$23([creatableModule()], MemoryArchivist);
|
|
63857
63624
|
//#endregion
|
|
63858
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-wrapper@6.0.
|
|
63625
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-wrapper@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/module-wrapper/dist/neutral/index.mjs
|
|
63859
63626
|
var __defProp$23 = Object.defineProperty;
|
|
63860
63627
|
var __getOwnPropDesc$22 = Object.getOwnPropertyDescriptor;
|
|
63861
63628
|
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$23(obj, key, {
|
|
@@ -64214,7 +63981,7 @@ var ArchivistWrapper = class extends ModuleWrapper {
|
|
|
64214
63981
|
}
|
|
64215
63982
|
};
|
|
64216
63983
|
//#endregion
|
|
64217
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-model@6.0.
|
|
63984
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/bridge-model/dist/neutral/index.mjs
|
|
64218
63985
|
var BridgeConnectQuerySchema = asSchema("network.xyo.query.bridge.connect", true);
|
|
64219
63986
|
var BridgeDisconnectQuerySchema = asSchema("network.xyo.query.bridge.disconnect", true);
|
|
64220
63987
|
var BridgeExposeQuerySchema = asSchema("network.xyo.query.bridge.expose", true);
|
|
@@ -64230,7 +63997,7 @@ var isAttachableBridgeInstance = new IsObjectFactory().create({}, [isBridgeInsta
|
|
|
64230
63997
|
AsObjectFactory.create(isAttachableBridgeInstance);
|
|
64231
63998
|
var BridgeConfigSchema = asSchema("network.xyo.bridge.config", true);
|
|
64232
63999
|
//#endregion
|
|
64233
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-model@6.0.
|
|
64000
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/diviner-model/dist/neutral/index.mjs
|
|
64234
64001
|
var DivinerDivineQuerySchema = asSchema("network.xyo.query.diviner.divine", true);
|
|
64235
64002
|
var isDivinerInstance = new IsInstanceFactory().create({ divine: "function" }, [isModuleInstance]);
|
|
64236
64003
|
var isDivinerModule = new IsQueryableModuleFactory().create([DivinerDivineQuerySchema]);
|
|
@@ -64335,7 +64102,7 @@ var NodeWrapper = class extends ModuleWrapper {
|
|
|
64335
64102
|
}
|
|
64336
64103
|
};
|
|
64337
64104
|
//#endregion
|
|
64338
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-model@6.0.
|
|
64105
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/sentinel-model/dist/neutral/index.mjs
|
|
64339
64106
|
var SentinelReportQuerySchema = asSchema("network.xyo.query.sentinel.report", true);
|
|
64340
64107
|
var isSentinelInstance = new IsInstanceFactory().create({ report: "function" }, [isModuleInstance]);
|
|
64341
64108
|
var isSentinelModule = new IsQueryableModuleFactory().create([SentinelReportQuerySchema]);
|
|
@@ -64370,7 +64137,7 @@ var SentinelWrapper = class extends ModuleWrapper {
|
|
|
64370
64137
|
}
|
|
64371
64138
|
};
|
|
64372
64139
|
//#endregion
|
|
64373
|
-
//#region ../../node_modules/.pnpm/@xyo-network+witness-model@6.0.
|
|
64140
|
+
//#region ../../node_modules/.pnpm/@xyo-network+witness-model@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/witness-model/dist/neutral/index.mjs
|
|
64374
64141
|
var WitnessObserveQuerySchema = asSchema("network.xyo.query.witness.observe", true);
|
|
64375
64142
|
var isWitnessInstance = new IsInstanceFactory().create({ observe: "function" }, [isModuleInstance]);
|
|
64376
64143
|
var isWitnessModule = new IsQueryableModuleFactory().create([WitnessObserveQuerySchema]);
|
|
@@ -64395,7 +64162,7 @@ var WitnessWrapper = class extends ModuleWrapper {
|
|
|
64395
64162
|
}
|
|
64396
64163
|
};
|
|
64397
64164
|
//#endregion
|
|
64398
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-abstract@6.0.
|
|
64165
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/bridge-abstract/dist/neutral/index.mjs
|
|
64399
64166
|
var AbstractBridge = class _AbstractBridge extends AbstractModuleInstance {
|
|
64400
64167
|
static configSchemas = [...super.configSchemas, BridgeConfigSchema];
|
|
64401
64168
|
static defaultConfigSchema = BridgeConfigSchema;
|
|
@@ -64806,7 +64573,7 @@ var AbstractModuleProxy = class extends AbstractModuleInstance {
|
|
|
64806
64573
|
}
|
|
64807
64574
|
};
|
|
64808
64575
|
//#endregion
|
|
64809
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-abstract@6.0.
|
|
64576
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/diviner-abstract/dist/neutral/index.mjs
|
|
64810
64577
|
var delayedResolve = async (parent, id, closure, as = asModuleInstance, timeout = 3e4, logger) => {
|
|
64811
64578
|
const start = Date.now();
|
|
64812
64579
|
let result;
|
|
@@ -64918,7 +64685,7 @@ var AbstractDiviner = class _AbstractDiviner extends AbstractModuleInstance {
|
|
|
64918
64685
|
}
|
|
64919
64686
|
};
|
|
64920
64687
|
//#endregion
|
|
64921
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-abstract@6.0.
|
|
64688
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/node-abstract/dist/neutral/index.mjs
|
|
64922
64689
|
var AbstractNode = class _AbstractNode extends AbstractModuleInstance {
|
|
64923
64690
|
static configSchemas = [...super.configSchemas, NodeConfigSchema];
|
|
64924
64691
|
static defaultConfigSchema = NodeConfigSchema;
|
|
@@ -65121,7 +64888,7 @@ var NodeHelper = {
|
|
|
65121
64888
|
attachedPublicModules
|
|
65122
64889
|
};
|
|
65123
64890
|
//#endregion
|
|
65124
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-memory@6.0.
|
|
64891
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-memory@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/node-memory/dist/neutral/index.mjs
|
|
65125
64892
|
var __defProp$22 = Object.defineProperty;
|
|
65126
64893
|
var __getOwnPropDesc$21 = Object.getOwnPropertyDescriptor;
|
|
65127
64894
|
var __decorateClass$21 = (decorators, target, key, kind) => {
|
|
@@ -65342,7 +65109,7 @@ var MemoryNodeHelper = {
|
|
|
65342
65109
|
flatAttachToNewNode
|
|
65343
65110
|
};
|
|
65344
65111
|
//#endregion
|
|
65345
|
-
//#region ../../node_modules/.pnpm/@xyo-network+manifest-wrapper@6.0.
|
|
65112
|
+
//#region ../../node_modules/.pnpm/@xyo-network+manifest-wrapper@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/manifest-wrapper/dist/neutral/index.mjs
|
|
65346
65113
|
var ManifestWrapper = class extends PayloadWrapper {
|
|
65347
65114
|
locator;
|
|
65348
65115
|
logger;
|
|
@@ -65432,7 +65199,7 @@ var ManifestWrapper = class extends PayloadWrapper {
|
|
|
65432
65199
|
}
|
|
65433
65200
|
};
|
|
65434
65201
|
//#endregion
|
|
65435
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-view@6.0.
|
|
65202
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-view@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/archivist-view/dist/neutral/index.mjs
|
|
65436
65203
|
var __defProp$21 = Object.defineProperty;
|
|
65437
65204
|
var __getOwnPropDesc$20 = Object.getOwnPropertyDescriptor;
|
|
65438
65205
|
var __getProtoOf$5 = Object.getPrototypeOf;
|
|
@@ -65491,7 +65258,7 @@ __publicField$19(ViewArchivist, "labels", {
|
|
|
65491
65258
|
});
|
|
65492
65259
|
ViewArchivist = __decorateClass$20([labeledCreatableModule()], ViewArchivist);
|
|
65493
65260
|
//#endregion
|
|
65494
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bridge-http@6.0.
|
|
65261
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bridge-http@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/bridge-http/dist/neutral/index.mjs
|
|
65495
65262
|
var __defProp$20 = Object.defineProperty;
|
|
65496
65263
|
var __getOwnPropDesc$19 = Object.getOwnPropertyDescriptor;
|
|
65497
65264
|
var __getProtoOf$4 = Object.getPrototypeOf;
|
|
@@ -65764,7 +65531,7 @@ __publicField$18(HttpBridge, "fetchClient", new FetchJsonClient());
|
|
|
65764
65531
|
__publicField$18(HttpBridge, "maxFailureCacheSize", 1e3);
|
|
65765
65532
|
HttpBridge = __decorateClass$19([creatableModule()], HttpBridge);
|
|
65766
65533
|
//#endregion
|
|
65767
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-boundwitness@6.0.
|
|
65534
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-boundwitness@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/diviner-boundwitness/dist/neutral/memory.mjs
|
|
65768
65535
|
var applyBoundWitnessDivinerQueryPayload = (filter, payloads = []) => {
|
|
65769
65536
|
if (!filter) return [];
|
|
65770
65537
|
const { addresses, cursor, destination, limit, order = "desc", payload_hashes, payload_schemas, sourceQuery } = filter;
|
|
@@ -65803,7 +65570,7 @@ var MemoryBoundWitnessDiviner = class extends BoundWitnessDiviner {
|
|
|
65803
65570
|
}
|
|
65804
65571
|
};
|
|
65805
65572
|
//#endregion
|
|
65806
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-identity@6.0.
|
|
65573
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-identity@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/diviner-identity/dist/neutral/index.mjs
|
|
65807
65574
|
var __defProp$19 = Object.defineProperty;
|
|
65808
65575
|
var __getOwnPropDesc$18 = Object.getOwnPropertyDescriptor;
|
|
65809
65576
|
var __defNormalProp$17 = (obj, key, value) => key in obj ? __defProp$19(obj, key, {
|
|
@@ -65827,13 +65594,13 @@ var IdentityDiviner = class extends AbstractDiviner {
|
|
|
65827
65594
|
__publicField$17(IdentityDiviner, "targetSchema", asSchema("network.xyo.test", true));
|
|
65828
65595
|
IdentityDiviner = __decorateClass$18([creatableModule()], IdentityDiviner);
|
|
65829
65596
|
//#endregion
|
|
65830
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-abstract@6.0.
|
|
65597
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/diviner-payload-abstract/dist/neutral/index.mjs
|
|
65831
65598
|
var PayloadDiviner = class extends AbstractDiviner {
|
|
65832
65599
|
static configSchemas = [...super.configSchemas, PayloadDivinerConfigSchema];
|
|
65833
65600
|
static defaultConfigSchema = PayloadDivinerConfigSchema;
|
|
65834
65601
|
};
|
|
65835
65602
|
//#endregion
|
|
65836
|
-
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-generic@6.0.
|
|
65603
|
+
//#region ../../node_modules/.pnpm/@xyo-network+diviner-payload-generic@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/diviner-payload-generic/dist/neutral/index.mjs
|
|
65837
65604
|
var __defProp$18 = Object.defineProperty;
|
|
65838
65605
|
var __getOwnPropDesc$17 = Object.getOwnPropertyDescriptor;
|
|
65839
65606
|
var __getProtoOf$3 = Object.getPrototypeOf;
|
|
@@ -65969,7 +65736,7 @@ __publicField$16(GenericPayloadDiviner, "configSchemas", [...__superGet$3(Generi
|
|
|
65969
65736
|
__publicField$16(GenericPayloadDiviner, "defaultConfigSchema", GenericPayloadDivinerConfigSchema);
|
|
65970
65737
|
GenericPayloadDiviner = __decorateClass$17([creatableModule()], GenericPayloadDiviner);
|
|
65971
65738
|
//#endregion
|
|
65972
|
-
//#region ../../node_modules/.pnpm/@xyo-network+node-view@6.0.
|
|
65739
|
+
//#region ../../node_modules/.pnpm/@xyo-network+node-view@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/node-view/dist/neutral/index.mjs
|
|
65973
65740
|
var __defProp$17 = Object.defineProperty;
|
|
65974
65741
|
var __getOwnPropDesc$16 = Object.getOwnPropertyDescriptor;
|
|
65975
65742
|
var __getProtoOf$2 = Object.getPrototypeOf;
|
|
@@ -66067,7 +65834,7 @@ __publicField$15(ViewNode, "defaultConfigSchema", ViewNodeConfigSchema);
|
|
|
66067
65834
|
__publicField$15(ViewNode, "labels", { ...ModuleLimitationViewLabel });
|
|
66068
65835
|
ViewNode = __decorateClass$16([creatableModule()], ViewNode);
|
|
66069
65836
|
//#endregion
|
|
66070
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-abstract@6.0.
|
|
65837
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-abstract@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/sentinel-abstract/dist/neutral/index.mjs
|
|
66071
65838
|
var AbstractSentinel = class _AbstractSentinel extends AbstractModuleInstance {
|
|
66072
65839
|
static configSchemas = [...super.configSchemas, SentinelConfigSchema];
|
|
66073
65840
|
static defaultConfigSchema = SentinelConfigSchema;
|
|
@@ -66173,7 +65940,7 @@ var AbstractSentinel = class _AbstractSentinel extends AbstractModuleInstance {
|
|
|
66173
65940
|
}
|
|
66174
65941
|
};
|
|
66175
65942
|
//#endregion
|
|
66176
|
-
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-memory@6.0.
|
|
65943
|
+
//#region ../../node_modules/.pnpm/@xyo-network+sentinel-memory@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/sentinel-memory/dist/neutral/index.mjs
|
|
66177
65944
|
var SentinelIntervalAutomationWrapper = class extends PayloadWrapper {
|
|
66178
65945
|
constructor(payload) {
|
|
66179
65946
|
super(payload);
|
|
@@ -66509,7 +66276,7 @@ var AbstractWitness = class _AbstractWitness extends AbstractModuleInstance {
|
|
|
66509
66276
|
}
|
|
66510
66277
|
};
|
|
66511
66278
|
//#endregion
|
|
66512
|
-
//#region ../../node_modules/.pnpm/@xyo-network+witness-adhoc@6.0.
|
|
66279
|
+
//#region ../../node_modules/.pnpm/@xyo-network+witness-adhoc@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/witness-adhoc/dist/neutral/index.mjs
|
|
66513
66280
|
var AdhocWitnessConfigSchema = asSchema("network.xyo.witness.adhoc.config", true);
|
|
66514
66281
|
var AdhocWitness = class extends AbstractWitness {
|
|
66515
66282
|
static configSchemas = [...super.configSchemas, AdhocWitnessConfigSchema];
|
|
@@ -66522,7 +66289,7 @@ var AdhocWitness = class extends AbstractWitness {
|
|
|
66522
66289
|
}
|
|
66523
66290
|
};
|
|
66524
66291
|
//#endregion
|
|
66525
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-factory-locator@6.0.
|
|
66292
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-factory-locator@6.0.2_29153b56dcbd3ec277ece6dc7190ad6c/node_modules/@xyo-network/module-factory-locator/dist/neutral/index.mjs
|
|
66526
66293
|
var standardCreatableModulesList = [
|
|
66527
66294
|
HttpBridge.factory(),
|
|
66528
66295
|
ViewArchivist.factory(),
|
|
@@ -68812,7 +68579,7 @@ config$1(en_default());
|
|
|
68812
68579
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/index.js
|
|
68813
68580
|
var zod_default = external_exports;
|
|
68814
68581
|
//#endregion
|
|
68815
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-model@2.0.
|
|
68582
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-model@2.0.7_c126d1ed998f889739e11f1423486bf7/node_modules/@xyo-network/xl1-protocol-model/dist/neutral/index.mjs
|
|
68816
68583
|
var BridgeDetailsDestinationFieldsZod = /* @__PURE__ */ object$4({
|
|
68817
68584
|
/**
|
|
68818
68585
|
* Destination network
|
|
@@ -69466,7 +69233,7 @@ var TransactionRejectionSchema = asSchema("network.xyo.transaction.rejection", t
|
|
|
69466
69233
|
var isTransactionRejection = isPayloadOfSchemaType(TransactionRejectionSchema);
|
|
69467
69234
|
AsObjectFactory.create(isTransactionRejection);
|
|
69468
69235
|
//#endregion
|
|
69469
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-lib@2.0.
|
|
69236
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-lib@2.0.7_c126d1ed998f889739e11f1423486bf7/node_modules/@xyo-network/xl1-protocol-lib/dist/neutral/index.mjs
|
|
69470
69237
|
function derivedReceiveAddress(address, scope) {
|
|
69471
69238
|
return toAddress(keccak256(new TextEncoder().encode(isDefined(scope) ? `${scope}|${address}` : address)).slice(-40), { prefix: false });
|
|
69472
69239
|
}
|
|
@@ -71622,7 +71389,7 @@ function getOriginalId(rawRequest) {
|
|
|
71622
71389
|
return [void 0, false];
|
|
71623
71390
|
}
|
|
71624
71391
|
//#endregion
|
|
71625
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-sdk@2.0.
|
|
71392
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol-sdk@2.0.7_7fe448d0b5e34275219f7abc246ea1a7/node_modules/@xyo-network/xl1-protocol-sdk/dist/neutral/index.mjs
|
|
71626
71393
|
var __defProp$16 = Object.defineProperty;
|
|
71627
71394
|
var __getOwnPropDesc$15 = Object.getOwnPropertyDescriptor;
|
|
71628
71395
|
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$16(obj, key, {
|
|
@@ -72861,7 +72628,7 @@ async function buildTransaction(chain, onChainPayloads, offChainPayloads, signer
|
|
|
72861
72628
|
for (const elevatedHash of elevatedHashes) script.push(`elevate|${elevatedHash}`);
|
|
72862
72629
|
const fields = {
|
|
72863
72630
|
...txBoundWitnessFields,
|
|
72864
|
-
from: from ?? (Array.isArray(signer) ?
|
|
72631
|
+
from: from ?? asAddress(Array.isArray(signer) ? signer.at(0)?.address : signer.address, true)
|
|
72865
72632
|
};
|
|
72866
72633
|
if (script.length > 0) fields.script = script;
|
|
72867
72634
|
const [tx, txPayloads] = await new BoundWitnessBuilder().fields(fields).meta({ $signatures: [] }).payloads([...onChainPayloads, ...offChainPayloads]).signers(Array.isArray(signer) ? signer : [signer]).build();
|
|
@@ -74962,7 +74729,7 @@ var SimpleXyoSigner = class _SimpleXyoSigner extends AbstractCreatableProvider {
|
|
|
74962
74729
|
};
|
|
74963
74730
|
}
|
|
74964
74731
|
address() {
|
|
74965
|
-
return this.params.account.address;
|
|
74732
|
+
return asAddress(this.params.account.address, true);
|
|
74966
74733
|
}
|
|
74967
74734
|
/** @deprecated - use signTransaction instead */
|
|
74968
74735
|
async createSignedTransaction(chain, elevatedPayloads, additionalPayloads, nbf, exp, fees, from) {
|
|
@@ -75720,7 +75487,7 @@ function _v4(options, buf, offset) {
|
|
|
75720
75487
|
return unsafeStringify(rnds);
|
|
75721
75488
|
}
|
|
75722
75489
|
//#endregion
|
|
75723
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-rpc@2.0.
|
|
75490
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-rpc@2.0.7_b65321aec78701453edbb28240ba8f97/node_modules/@xyo-network/xl1-rpc/dist/node/index-node.mjs
|
|
75724
75491
|
var __defProp$15 = Object.defineProperty;
|
|
75725
75492
|
var __getOwnPropDesc$14 = Object.getOwnPropertyDescriptor;
|
|
75726
75493
|
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$15(obj, key, {
|
|
@@ -78050,7 +77817,7 @@ var JsonRpcDataLakeViewer = class extends JsonRpcDataLakeViewerMethods {};
|
|
|
78050
77817
|
__publicField$13(JsonRpcDataLakeViewer, "dependencies", []);
|
|
78051
77818
|
JsonRpcDataLakeViewer = __decorateClass$14([creatableProvider()], JsonRpcDataLakeViewer);
|
|
78052
77819
|
//#endregion
|
|
78053
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-providers@2.0.
|
|
77820
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-providers@2.0.7_b65321aec78701453edbb28240ba8f97/node_modules/@xyo-network/xl1-providers/dist/node/index.mjs
|
|
78054
77821
|
var __defProp$14 = Object.defineProperty;
|
|
78055
77822
|
var __getOwnPropDesc$13 = Object.getOwnPropertyDescriptor;
|
|
78056
77823
|
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$14(obj, key, {
|
|
@@ -79064,7 +78831,7 @@ __publicField$12(SimpleDeadLetterQueueViewer, "dependencies", []);
|
|
|
79064
78831
|
__publicField$12(SimpleDeadLetterQueueViewer, "monikers", [DeadLetterQueueViewerMoniker]);
|
|
79065
78832
|
SimpleDeadLetterQueueViewer = __decorateClass$13([creatableProvider()], SimpleDeadLetterQueueViewer);
|
|
79066
78833
|
//#endregion
|
|
79067
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-schema@2.0.
|
|
78834
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-schema@2.0.7_c126d1ed998f889739e11f1423486bf7/node_modules/@xyo-network/xl1-schema/dist/neutral/index.mjs
|
|
79068
78835
|
var BlockBoundWitnessJsonSchema = {
|
|
79069
78836
|
...boundWitnessJsonSchema,
|
|
79070
78837
|
$id: "https://schemas.xyo.network/2.0/block",
|
|
@@ -79322,7 +79089,7 @@ var TransferPayloadJsonSchema = {
|
|
|
79322
79089
|
};
|
|
79323
79090
|
var TransferPayloadJsonSchemaPayload = new PayloadBuilder({ schema: SchemaSchema }).fields({ definition: TransferPayloadJsonSchema }).build();
|
|
79324
79091
|
//#endregion
|
|
79325
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-validation@2.0.
|
|
79092
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-validation@2.0.7_c126d1ed998f889739e11f1423486bf7/node_modules/@xyo-network/xl1-validation/dist/neutral/index.mjs
|
|
79326
79093
|
var import_ajv = require_ajv();
|
|
79327
79094
|
function maxTransactionFeeCost(tx) {
|
|
79328
79095
|
const { base, gasLimit, priority } = tx.fees;
|
|
@@ -79393,7 +79160,7 @@ var BoundWitnessSignaturesValidator = async (bw) => {
|
|
|
79393
79160
|
try {
|
|
79394
79161
|
const dataHash = await BoundWitnessBuilder.dataHash(bw);
|
|
79395
79162
|
const results = await Promise.all(bw.addresses.map(async (address, index) => {
|
|
79396
|
-
return [address, await BoundWitnessValidator.validateSignature(toArrayBuffer(dataHash), address, toArrayBuffer(bw.$signatures[index] ?? void 0))];
|
|
79163
|
+
return [asAddress(address, true), await BoundWitnessValidator.validateSignature(toArrayBuffer(dataHash), address, toArrayBuffer(bw.$signatures[index] ?? void 0))];
|
|
79397
79164
|
}));
|
|
79398
79165
|
for (const [, bwErrors] of results) for (const bwError of bwErrors) errors.push(new BoundWitnessValidationError(bw?._hash ?? "0000000000000000000000000000000000000000000000000000000000000000", bw, "validation errors", bwError));
|
|
79399
79166
|
} catch (ex) {
|
|
@@ -79514,7 +79281,7 @@ var validateTransaction = async (context, tx, additionalValidators) => {
|
|
|
79514
79281
|
}
|
|
79515
79282
|
};
|
|
79516
79283
|
//#endregion
|
|
79517
|
-
//#region ../../node_modules/.pnpm/@xyo-network+xl1-wrappers@2.0.
|
|
79284
|
+
//#region ../../node_modules/.pnpm/@xyo-network+xl1-wrappers@2.0.7_7fe448d0b5e34275219f7abc246ea1a7/node_modules/@xyo-network/xl1-wrappers/dist/neutral/index.mjs
|
|
79518
79285
|
function parseHexOrBigInt(value) {
|
|
79519
79286
|
return AttoXL1(typeof value === "bigint" ? value : hexToBigInt(value));
|
|
79520
79287
|
}
|
|
@@ -79569,7 +79336,7 @@ var SignatureWrapper = class _SignatureWrapper {
|
|
|
79569
79336
|
var createSignatureWrappers = async (bw) => {
|
|
79570
79337
|
const signatures = [];
|
|
79571
79338
|
const hash = await PayloadBuilder.dataHash(bw);
|
|
79572
|
-
for (let i = 0; i < bw.$signatures.length; i++) signatures.push(new SignatureWrapper(asHex(bw.$signatures[i], true), bw.addresses[i], hash));
|
|
79339
|
+
for (let i = 0; i < bw.$signatures.length; i++) signatures.push(new SignatureWrapper(asHex(bw.$signatures[i], true), asAddress(bw.addresses[i], true), hash));
|
|
79573
79340
|
return signatures;
|
|
79574
79341
|
};
|
|
79575
79342
|
var sumTransfers = (payload) => {
|
|
@@ -79718,7 +79485,7 @@ var ChainHeadSelector = class extends ChainFinalizer {
|
|
|
79718
79485
|
return await spanRootAsync("findBestHead", async () => {
|
|
79719
79486
|
const allProposedBlocks = await this.mempoolViewer.pendingBlocks();
|
|
79720
79487
|
const allowedProducers = this.allowedProducers;
|
|
79721
|
-
const proposedBlocks = isDefined(allowedProducers) && allowedProducers.length > 0 ? allProposedBlocks.filter((pb) => allowedProducers.includes(pb[0].addresses[0])) : allProposedBlocks;
|
|
79488
|
+
const proposedBlocks = isDefined(allowedProducers) && allowedProducers.length > 0 ? allProposedBlocks.filter((pb) => allowedProducers.includes(toAddress(pb[0].addresses[0]))) : allProposedBlocks;
|
|
79722
79489
|
this.windowedFinalizedChain = await getWindowedChain(this.context, this.blockViewer, this.maxWindowSize, this.windowedFinalizedChain);
|
|
79723
79490
|
const uncles = findUncles(this.context, this.windowedFinalizedChain, proposedBlocks);
|
|
79724
79491
|
return findBestUncle(this.windowedFinalizedChain, uncles, { minCandidates: this.minCandidates }) ?? this.windowedFinalizedChain;
|
|
@@ -79845,7 +79612,7 @@ var createGenesisBlock = async (initialBlockProducer, nextContractAddress, genes
|
|
|
79845
79612
|
ChainStakeIntentPayloadJsonSchemaPayload,
|
|
79846
79613
|
HashPayloadJsonSchemaPayload
|
|
79847
79614
|
]);
|
|
79848
|
-
const intentPayload = await createProducerChainStakeIntent(initialBlockProducer.address, 1, 0);
|
|
79615
|
+
const intentPayload = await createProducerChainStakeIntent(toAddress(initialBlockProducer.address), 1, 0);
|
|
79849
79616
|
blockPayloads.push(intentPayload);
|
|
79850
79617
|
if (genesisBlockRewardAmount > 0n) blockPayloads.push(await PayloadBuilder.addHashMeta(createTransferPayload(nextContractAddress, { [genesisBlockRewardAddress]: genesisBlockRewardAmount })));
|
|
79851
79618
|
return await buildGenesisBlock(nextContractAddress, [], blockPayloads, [initialBlockProducer]);
|
|
@@ -100472,7 +100239,7 @@ var HeadValidationDiviner = class extends AbstractDiviner {
|
|
|
100472
100239
|
return isDefined(oldHeadBlock) ? b[0].block > oldHeadBlock.block : true;
|
|
100473
100240
|
});
|
|
100474
100241
|
const payloadsToFinalize = blocksToFinalize.flatMap((b) => flattenHydratedBlock(b));
|
|
100475
|
-
finalizedBlocksAttributes = [{ producer: newHeadBlock.addresses[0] }, ...finalizedBlocksAttributes];
|
|
100242
|
+
finalizedBlocksAttributes = [{ producer: toAddress(newHeadBlock.addresses[0]) }, ...finalizedBlocksAttributes];
|
|
100476
100243
|
this.logger?.info("Validated new HeadBlock head from (block) in", `${Date.now() - start}ms`, newHeadBlock.block, "to", oldHeadBlock?.block);
|
|
100477
100244
|
this.logger?.info("Validated new HeadBlock head from (hash) in", `${Date.now() - start}ms`, newHeadBlock._hash, "to", oldHeadBlock?._hash);
|
|
100478
100245
|
await this.spanAsync("HeadValidationDiviner:commitToOutArchivist", async () => {
|
|
@@ -101088,7 +100855,7 @@ var createBootstrapHead = async (account, chainId, genesisBlockRewardAmount, gen
|
|
|
101088
100855
|
const chain = [];
|
|
101089
100856
|
const genesisBlock = await createGenesisBlock(account, chainId, genesisBlockRewardAmount, genesisBlockRewardAddress);
|
|
101090
100857
|
chain.push(genesisBlock);
|
|
101091
|
-
const producerDeclarationPayload = createDeclarationIntent(account.address, "producer", genesisBlock[0].block, genesisBlock[0].block + 1e4);
|
|
100858
|
+
const producerDeclarationPayload = createDeclarationIntent(toAddress(account.address), "producer", genesisBlock[0].block, genesisBlock[0].block + 1e4);
|
|
101092
100859
|
const producerDeclarationBlock = await buildNextBlock(genesisBlock[0], [], [producerDeclarationPayload], [account]);
|
|
101093
100860
|
chain.push(producerDeclarationBlock);
|
|
101094
100861
|
return chain;
|
|
@@ -101361,7 +101128,7 @@ var SimpleBlockRunner = class extends AbstractCreatableProvider {
|
|
|
101361
101128
|
async createHandler() {
|
|
101362
101129
|
this._rejectedTransactionsArchivist = this.params.rejectedTransactionsArchivist ?? await MemoryArchivist.create();
|
|
101363
101130
|
this._account = assertEx(this.params.account, () => "Account is required");
|
|
101364
|
-
this._address = this.account.address;
|
|
101131
|
+
this._address = toAddress(this.account.address);
|
|
101365
101132
|
this._accountBalanceViewer = await this.locateAndCreate(AccountBalanceViewerMoniker);
|
|
101366
101133
|
this._blockRewardViewer = await this.locateAndCreate(BlockRewardViewerMoniker);
|
|
101367
101134
|
this._blockValidationViewer = await this.locator.getInstance(BlockValidationViewerMoniker);
|
|
@@ -101679,7 +101446,7 @@ function initTelemetry(params) {
|
|
|
101679
101446
|
};
|
|
101680
101447
|
}
|
|
101681
101448
|
//#endregion
|
|
101682
|
-
//#region ../../node_modules/.pnpm/@xylabs+mongo@6.0.
|
|
101449
|
+
//#region ../../node_modules/.pnpm/@xylabs+mongo@6.0.6_mongodb@7.2.0/node_modules/@xylabs/mongo/dist/node/index.mjs
|
|
101683
101450
|
var MongoClientWrapper = class _MongoClientWrapper {
|
|
101684
101451
|
/** Global cache of wrapper instances keyed by connection URI. */
|
|
101685
101452
|
static clients = /* @__PURE__ */ new Map();
|
|
@@ -102014,14 +101781,14 @@ var canUseEvmProvider = (context) => {
|
|
|
102014
101781
|
return canUseInfuraProvider(context) || canUseJsonRpcProvider(context);
|
|
102015
101782
|
};
|
|
102016
101783
|
//#endregion
|
|
102017
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-model-mongodb@6.0.
|
|
101784
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-model-mongodb@6.0.2_b7e03fc3d7fe82b8a1b051bf9e8f21a9/node_modules/@xyo-network/archivist-model-mongodb/dist/node/index.mjs
|
|
102018
101785
|
var MongoDBArchivistConfigSchema = asSchema("network.xyo.archivist.mongodb.config", true);
|
|
102019
101786
|
//#endregion
|
|
102020
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-model-mongodb@6.0.
|
|
101787
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-model-mongodb@6.0.2_b7e03fc3d7fe82b8a1b051bf9e8f21a9/node_modules/@xyo-network/module-model-mongodb/dist/node/index.mjs
|
|
102021
101788
|
var MongoDBStorageClassLabels = { "network.xyo.storage.class": "mongodb" };
|
|
102022
101789
|
asSchema("network.xyo.module.mongodb.config", true);
|
|
102023
101790
|
//#endregion
|
|
102024
|
-
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract-mongodb@6.0.
|
|
101791
|
+
//#region ../../node_modules/.pnpm/@xyo-network+module-abstract-mongodb@6.0.2_b7e03fc3d7fe82b8a1b051bf9e8f21a9/node_modules/@xyo-network/module-abstract-mongodb/dist/node/index.mjs
|
|
102025
101792
|
var __defProp$8 = Object.defineProperty;
|
|
102026
101793
|
var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
|
|
102027
101794
|
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, {
|
|
@@ -102279,7 +102046,7 @@ var ensureExistingCollectionIsCapped = async (sdk, max, docSize = 1024) => {
|
|
|
102279
102046
|
});
|
|
102280
102047
|
};
|
|
102281
102048
|
//#endregion
|
|
102282
|
-
//#region ../../node_modules/.pnpm/@xyo-network+payload-mongodb@6.0.
|
|
102049
|
+
//#region ../../node_modules/.pnpm/@xyo-network+payload-mongodb@6.0.2_a1af5fe60509fd687ad281043021920a/node_modules/@xyo-network/payload-mongodb/dist/node/index.mjs
|
|
102283
102050
|
function payloadFromDbRepresentation(value) {
|
|
102284
102051
|
const clone = structuredClone(value);
|
|
102285
102052
|
const metaNormalized = {};
|
|
@@ -102307,7 +102074,7 @@ var toDbRepresentation = (value) => {
|
|
|
102307
102074
|
return isBoundWitness(value) ? boundWitnessToDbRepresentation(value) : payloadToDbRepresentation(value);
|
|
102308
102075
|
};
|
|
102309
102076
|
//#endregion
|
|
102310
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-mongodb@6.0.
|
|
102077
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-mongodb@6.0.2_fa37434b3477138b96afc807bc5ba9cc/node_modules/@xyo-network/archivist-mongodb/dist/node/index.mjs
|
|
102311
102078
|
var validByType = async (payloads = []) => {
|
|
102312
102079
|
const results = [[], []];
|
|
102313
102080
|
await Promise.all(payloads.map(async (payload) => {
|
|
@@ -102521,7 +102288,7 @@ var MongoDBArchivistV2Deletable = class extends MongoDBArchivistV2 {
|
|
|
102521
102288
|
];
|
|
102522
102289
|
};
|
|
102523
102290
|
//#endregion
|
|
102524
|
-
//#region ../../node_modules/.pnpm/@xyo-network+archivist-lmdb@6.0.
|
|
102291
|
+
//#region ../../node_modules/.pnpm/@xyo-network+archivist-lmdb@6.0.2_b44826f640dbaf3d2e92362f624aa471/node_modules/@xyo-network/archivist-lmdb/dist/browser/index.mjs
|
|
102525
102292
|
var __defProp$7 = Object.defineProperty;
|
|
102526
102293
|
var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
|
|
102527
102294
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -110119,11 +109886,11 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110119
109886
|
}
|
|
110120
109887
|
return (hint === "string" ? String : Number)(input);
|
|
110121
109888
|
}
|
|
110122
|
-
var Buffer$
|
|
109889
|
+
var Buffer$6 = __require$1("buffer").Buffer;
|
|
110123
109890
|
var inspect$1 = __require$1("util").inspect;
|
|
110124
109891
|
var custom = inspect$1 && inspect$1.custom || "inspect";
|
|
110125
109892
|
function copyBuffer(src, target, offset) {
|
|
110126
|
-
Buffer$
|
|
109893
|
+
Buffer$6.prototype.copy.call(src, target, offset);
|
|
110127
109894
|
}
|
|
110128
109895
|
module.exports = /*#__PURE__*/ function() {
|
|
110129
109896
|
function BufferList() {
|
|
@@ -110189,8 +109956,8 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110189
109956
|
{
|
|
110190
109957
|
key: "concat",
|
|
110191
109958
|
value: function concat(n) {
|
|
110192
|
-
if (this.length === 0) return Buffer$
|
|
110193
|
-
var ret = Buffer$
|
|
109959
|
+
if (this.length === 0) return Buffer$6.alloc(0);
|
|
109960
|
+
var ret = Buffer$6.allocUnsafe(n >>> 0);
|
|
110194
109961
|
var p = this.head;
|
|
110195
109962
|
var i = 0;
|
|
110196
109963
|
while (p) {
|
|
@@ -110252,7 +110019,7 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110252
110019
|
{
|
|
110253
110020
|
key: "_getBuffer",
|
|
110254
110021
|
value: function _getBuffer(n) {
|
|
110255
|
-
var ret = Buffer$
|
|
110022
|
+
var ret = Buffer$6.allocUnsafe(n);
|
|
110256
110023
|
var p = this.head;
|
|
110257
110024
|
var c = 1;
|
|
110258
110025
|
p.data.copy(ret);
|
|
@@ -110926,13 +110693,13 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
110926
110693
|
return emitter.listeners(type).length;
|
|
110927
110694
|
};
|
|
110928
110695
|
var Stream = require_stream$1();
|
|
110929
|
-
var Buffer$
|
|
110696
|
+
var Buffer$5 = __require$1("buffer").Buffer;
|
|
110930
110697
|
var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() {};
|
|
110931
110698
|
function _uint8ArrayToBuffer(chunk) {
|
|
110932
|
-
return Buffer$
|
|
110699
|
+
return Buffer$5.from(chunk);
|
|
110933
110700
|
}
|
|
110934
110701
|
function _isUint8Array(obj) {
|
|
110935
|
-
return Buffer$
|
|
110702
|
+
return Buffer$5.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
110936
110703
|
}
|
|
110937
110704
|
var debugUtil = __require$1("util");
|
|
110938
110705
|
var debug;
|
|
@@ -111030,7 +110797,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111030
110797
|
if (typeof chunk === "string") {
|
|
111031
110798
|
encoding = encoding || state.defaultEncoding;
|
|
111032
110799
|
if (encoding !== state.encoding) {
|
|
111033
|
-
chunk = Buffer$
|
|
110800
|
+
chunk = Buffer$5.from(chunk, encoding);
|
|
111034
110801
|
encoding = "";
|
|
111035
110802
|
}
|
|
111036
110803
|
skipChunkCheck = true;
|
|
@@ -111052,7 +110819,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111052
110819
|
if (!skipChunkCheck) er = chunkInvalid(state, chunk);
|
|
111053
110820
|
if (er) errorOrDestroy(stream, er);
|
|
111054
110821
|
else if (state.objectMode || chunk && chunk.length > 0) {
|
|
111055
|
-
if (typeof chunk !== "string" && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer$
|
|
110822
|
+
if (typeof chunk !== "string" && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer$5.prototype) chunk = _uint8ArrayToBuffer(chunk);
|
|
111056
110823
|
if (addToFront) if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());
|
|
111057
110824
|
else addChunk(stream, state, chunk, true);
|
|
111058
110825
|
else if (state.ended) errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());
|
|
@@ -111654,13 +111421,13 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111654
111421
|
Writable.WritableState = WritableState;
|
|
111655
111422
|
var internalUtil = { deprecate: require_node$3() };
|
|
111656
111423
|
var Stream = require_stream$1();
|
|
111657
|
-
var Buffer$
|
|
111424
|
+
var Buffer$4 = __require$1("buffer").Buffer;
|
|
111658
111425
|
var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() {};
|
|
111659
111426
|
function _uint8ArrayToBuffer(chunk) {
|
|
111660
|
-
return Buffer$
|
|
111427
|
+
return Buffer$4.from(chunk);
|
|
111661
111428
|
}
|
|
111662
111429
|
function _isUint8Array(obj) {
|
|
111663
|
-
return Buffer$
|
|
111430
|
+
return Buffer$4.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
111664
111431
|
}
|
|
111665
111432
|
var destroyImpl = require_destroy();
|
|
111666
111433
|
var getHighWaterMark = require_state().getHighWaterMark;
|
|
@@ -111768,7 +111535,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111768
111535
|
var state = this._writableState;
|
|
111769
111536
|
var ret = false;
|
|
111770
111537
|
var isBuf = !state.objectMode && _isUint8Array(chunk);
|
|
111771
|
-
if (isBuf && !Buffer$
|
|
111538
|
+
if (isBuf && !Buffer$4.isBuffer(chunk)) chunk = _uint8ArrayToBuffer(chunk);
|
|
111772
111539
|
if (typeof encoding === "function") {
|
|
111773
111540
|
cb = encoding;
|
|
111774
111541
|
encoding = null;
|
|
@@ -111818,7 +111585,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
111818
111585
|
}
|
|
111819
111586
|
});
|
|
111820
111587
|
function decodeChunk(state, chunk, encoding) {
|
|
111821
|
-
if (!state.objectMode && state.decodeStrings !== false && typeof chunk === "string") chunk = Buffer$
|
|
111588
|
+
if (!state.objectMode && state.decodeStrings !== false && typeof chunk === "string") chunk = Buffer$4.from(chunk, encoding);
|
|
111822
111589
|
return chunk;
|
|
111823
111590
|
}
|
|
111824
111591
|
Object.defineProperty(Writable.prototype, "writableHighWaterMark", {
|
|
@@ -150666,7 +150433,7 @@ var require_body_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
150666
150433
|
}
|
|
150667
150434
|
}));
|
|
150668
150435
|
//#endregion
|
|
150669
|
-
//#region ../../node_modules/.pnpm/@xylabs+express@6.0.
|
|
150436
|
+
//#region ../../node_modules/.pnpm/@xylabs+express@6.0.6_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
150437
|
var import_winston_transport = /* @__PURE__ */ __toESM(require_winston_transport(), 1);
|
|
150671
150438
|
var import_body_parser = /* @__PURE__ */ __toESM(require_body_parser(), 1);
|
|
150672
150439
|
var { colorize, combine, timestamp, printf } = import_winston.format;
|
|
@@ -152811,7 +152578,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
152811
152578
|
})();
|
|
152812
152579
|
}));
|
|
152813
152580
|
//#endregion
|
|
152814
|
-
//#region packages/orchestration-express/dist/
|
|
152581
|
+
//#region packages/orchestration-express/dist/node/index.mjs
|
|
152815
152582
|
var import_compression = /* @__PURE__ */ __toESM(require_compression(), 1);
|
|
152816
152583
|
var import_lib = /* @__PURE__ */ __toESM(require_lib$1(), 1);
|
|
152817
152584
|
var sendOk = (res, body) => {
|
|
@@ -153573,7 +153340,7 @@ function formatInsecureGenesisRewardWarning(accounts) {
|
|
|
153573
153340
|
}
|
|
153574
153341
|
async function resolveGenesisRewardAddress(config) {
|
|
153575
153342
|
if (config.chain.genesisRewardAddress) return config.chain.genesisRewardAddress;
|
|
153576
|
-
return (await (await generateXyoBaseWalletFromPhrase(INSECURE_GENESIS_REWARD_MNEMONIC)).derivePath("0")).address;
|
|
153343
|
+
return toAddress((await (await generateXyoBaseWalletFromPhrase(INSECURE_GENESIS_REWARD_MNEMONIC)).derivePath("0")).address);
|
|
153577
153344
|
}
|
|
153578
153345
|
async function resolveWalletForActor(actorName, accountPath) {
|
|
153579
153346
|
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 +153905,15 @@ async function initFinalizationArchivistIfNeeded(archivist, config, account, opt
|
|
|
154138
153905
|
if (configuredChainId && possibleHead && possibleHead.chain !== configuredChainId) throw new Error(`Configured chain ID (${configuredChainId}) does not match the existing chain ID (${possibleHead.chain})`);
|
|
154139
153906
|
let possibleChainId = configuredChainId;
|
|
154140
153907
|
if (!possibleHead) {
|
|
154141
|
-
|
|
153908
|
+
const chainId2 = possibleChainId ?? toAddress((await Account.random()).address);
|
|
153909
|
+
possibleChainId = chainId2;
|
|
154142
153910
|
if (!config.chain.genesisRewardAddress) {
|
|
154143
153911
|
const accounts = await buildInsecureGenesisRewardAccounts();
|
|
154144
153912
|
options.logger?.warn(formatInsecureGenesisRewardWarning(accounts));
|
|
154145
153913
|
if (options.onInsecureGenesisConfirm) await options.onInsecureGenesisConfirm();
|
|
154146
153914
|
}
|
|
154147
153915
|
const genesisRewardAddress = await resolveGenesisRewardAddress(config);
|
|
154148
|
-
const payloads = (await createBootstrapHead(account,
|
|
153916
|
+
const payloads = (await createBootstrapHead(account, chainId2, asAttoXL1(GENESIS_REWARD_AMOUNT), genesisRewardAddress)).flatMap((block) => flattenHydratedBlock(block));
|
|
154149
153917
|
await archivist.insert(payloads);
|
|
154150
153918
|
}
|
|
154151
153919
|
return [possibleHead ?? assertEx(await findMostRecentBlock(archivist), () => "No blocks found in chain archivist"), assertEx(possibleChainId, () => "Chain ID could not be determined")];
|
|
@@ -156555,7 +156323,7 @@ var require_utils$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156555
156323
|
var proxyaddr = require_proxy_addr();
|
|
156556
156324
|
var qs = require_lib$2();
|
|
156557
156325
|
var querystring = __require$1("node:querystring");
|
|
156558
|
-
const { Buffer: Buffer$
|
|
156326
|
+
const { Buffer: Buffer$3 } = __require$1("node:buffer");
|
|
156559
156327
|
/**
|
|
156560
156328
|
* A list of lowercased HTTP methods that are supported by Node.js.
|
|
156561
156329
|
* @api private
|
|
@@ -156726,7 +156494,7 @@ var require_utils$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156726
156494
|
*/
|
|
156727
156495
|
function createETagGenerator(options) {
|
|
156728
156496
|
return function generateETag(body, encoding) {
|
|
156729
|
-
return etag(!Buffer$
|
|
156497
|
+
return etag(!Buffer$3.isBuffer(body) ? Buffer$3.from(body, encoding) : body, options);
|
|
156730
156498
|
};
|
|
156731
156499
|
}
|
|
156732
156500
|
/**
|
|
@@ -161197,7 +160965,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161197
160965
|
var extname = path$5.extname;
|
|
161198
160966
|
var resolve = path$5.resolve;
|
|
161199
160967
|
var vary = require_vary();
|
|
161200
|
-
const { Buffer: Buffer$
|
|
160968
|
+
const { Buffer: Buffer$2 } = __require$1("node:buffer");
|
|
161201
160969
|
/**
|
|
161202
160970
|
* Response prototype.
|
|
161203
160971
|
* @public
|
|
@@ -161294,10 +161062,10 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161294
161062
|
var generateETag = !this.get("ETag") && typeof etagFn === "function";
|
|
161295
161063
|
var len;
|
|
161296
161064
|
if (chunk !== void 0) {
|
|
161297
|
-
if (Buffer$
|
|
161298
|
-
else if (!generateETag && chunk.length < 1e3) len = Buffer$
|
|
161065
|
+
if (Buffer$2.isBuffer(chunk)) len = chunk.length;
|
|
161066
|
+
else if (!generateETag && chunk.length < 1e3) len = Buffer$2.byteLength(chunk, encoding);
|
|
161299
161067
|
else {
|
|
161300
|
-
chunk = Buffer$
|
|
161068
|
+
chunk = Buffer$2.from(chunk, encoding);
|
|
161301
161069
|
encoding = void 0;
|
|
161302
161070
|
len = chunk.length;
|
|
161303
161071
|
}
|
|
@@ -161782,7 +161550,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
161782
161550
|
}
|
|
161783
161551
|
});
|
|
161784
161552
|
this.status(status);
|
|
161785
|
-
this.set("Content-Length", Buffer$
|
|
161553
|
+
this.set("Content-Length", Buffer$2.byteLength(body));
|
|
161786
161554
|
if (this.req.method === "HEAD") this.end();
|
|
161787
161555
|
else this.end(body);
|
|
161788
161556
|
};
|
|
@@ -171519,13 +171287,13 @@ var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
171519
171287
|
//#endregion
|
|
171520
171288
|
//#region ../../node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js
|
|
171521
171289
|
var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
171522
|
-
const Buffer$
|
|
171290
|
+
const Buffer$1 = __require$1("buffer").Buffer;
|
|
171523
171291
|
const StringDecoder = __require$1("string_decoder").StringDecoder;
|
|
171524
171292
|
const decoder = new StringDecoder();
|
|
171525
171293
|
const errors = require_redis_errors();
|
|
171526
171294
|
const ReplyError = errors.ReplyError;
|
|
171527
171295
|
const ParserError = errors.ParserError;
|
|
171528
|
-
var bufferPool = Buffer$
|
|
171296
|
+
var bufferPool = Buffer$1.allocUnsafe(32 * 1024);
|
|
171529
171297
|
var bufferOffset = 0;
|
|
171530
171298
|
var interval = null;
|
|
171531
171299
|
var counter = 0;
|
|
@@ -171802,7 +171570,7 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
171802
171570
|
if (bufferPool.length < length + bufferOffset) {
|
|
171803
171571
|
const multiplier = length > 1024 * 1024 * 75 ? 2 : 3;
|
|
171804
171572
|
if (bufferOffset > 1024 * 1024 * 111) bufferOffset = 1024 * 1024 * 50;
|
|
171805
|
-
bufferPool = Buffer$
|
|
171573
|
+
bufferPool = Buffer$1.allocUnsafe(length * multiplier + bufferOffset);
|
|
171806
171574
|
bufferOffset = 0;
|
|
171807
171575
|
counter++;
|
|
171808
171576
|
if (interval === null) interval = setInterval(decreaseBufferPool, 50);
|
|
@@ -171928,7 +171696,7 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
171928
171696
|
} else if (this.bigStrSize === 0) {
|
|
171929
171697
|
const oldLength = this.buffer.length;
|
|
171930
171698
|
const remainingLength = oldLength - this.offset;
|
|
171931
|
-
const newBuffer = Buffer$
|
|
171699
|
+
const newBuffer = Buffer$1.allocUnsafe(remainingLength + buffer.length);
|
|
171932
171700
|
this.buffer.copy(newBuffer, 0, this.offset, oldLength);
|
|
171933
171701
|
buffer.copy(newBuffer, remainingLength, 0, buffer.length);
|
|
171934
171702
|
this.buffer = newBuffer;
|
|
@@ -173660,7 +173428,7 @@ var init_tslib_es6 = __esmMin((() => {
|
|
|
173660
173428
|
};
|
|
173661
173429
|
}));
|
|
173662
173430
|
//#endregion
|
|
173663
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173431
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/async-fifo-queue.js
|
|
173664
173432
|
var require_async_fifo_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173665
173433
|
/**
|
|
173666
173434
|
* (c) 2017-2025 BullForce Labs AB, MIT Licensed.
|
|
@@ -173813,7 +173581,7 @@ var require_async_fifo_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173813
173581
|
exports.AsyncFifoQueue = AsyncFifoQueue;
|
|
173814
173582
|
}));
|
|
173815
173583
|
//#endregion
|
|
173816
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173584
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/backoffs.js
|
|
173817
173585
|
var require_backoffs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173818
173586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173819
173587
|
exports.Backoffs = void 0;
|
|
@@ -173857,7 +173625,7 @@ var require_backoffs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173857
173625
|
}
|
|
173858
173626
|
}));
|
|
173859
173627
|
//#endregion
|
|
173860
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173628
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/child-command.js
|
|
173861
173629
|
var require_child_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173862
173630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173863
173631
|
exports.ChildCommand = void 0;
|
|
@@ -173875,7 +173643,7 @@ var require_child_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173875
173643
|
})(ChildCommand || (exports.ChildCommand = ChildCommand = {}));
|
|
173876
173644
|
}));
|
|
173877
173645
|
//#endregion
|
|
173878
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173646
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/error-code.js
|
|
173879
173647
|
var require_error_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173880
173648
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173881
173649
|
exports.ErrorCode = void 0;
|
|
@@ -173895,7 +173663,7 @@ var require_error_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173895
173663
|
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
173896
173664
|
}));
|
|
173897
173665
|
//#endregion
|
|
173898
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173666
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/parent-command.js
|
|
173899
173667
|
var require_parent_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173900
173668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173901
173669
|
exports.ParentCommand = void 0;
|
|
@@ -173919,7 +173687,7 @@ var require_parent_command = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173919
173687
|
})(ParentCommand || (exports.ParentCommand = ParentCommand = {}));
|
|
173920
173688
|
}));
|
|
173921
173689
|
//#endregion
|
|
173922
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173690
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/metrics-time.js
|
|
173923
173691
|
var require_metrics_time = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173924
173692
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173925
173693
|
exports.MetricsTime = void 0;
|
|
@@ -173936,7 +173704,7 @@ var require_metrics_time = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173936
173704
|
})(MetricsTime || (exports.MetricsTime = MetricsTime = {}));
|
|
173937
173705
|
}));
|
|
173938
173706
|
//#endregion
|
|
173939
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173707
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/telemetry-attributes.js
|
|
173940
173708
|
var require_telemetry_attributes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
173941
173709
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
173942
173710
|
exports.SpanKind = exports.MetricNames = exports.TelemetryAttributes = void 0;
|
|
@@ -174007,7 +173775,7 @@ var require_telemetry_attributes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174007
173775
|
})(SpanKind || (exports.SpanKind = SpanKind = {}));
|
|
174008
173776
|
}));
|
|
174009
173777
|
//#endregion
|
|
174010
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173778
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/enums/index.js
|
|
174011
173779
|
var require_enums = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174012
173780
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174013
173781
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -174018,7 +173786,7 @@ var require_enums = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174018
173786
|
tslib_1.__exportStar(require_telemetry_attributes(), exports);
|
|
174019
173787
|
}));
|
|
174020
173788
|
//#endregion
|
|
174021
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173789
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child.js
|
|
174022
173790
|
var require_child = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174023
173791
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174024
173792
|
exports.Child = void 0;
|
|
@@ -174197,7 +173965,7 @@ var require_child = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174197
173965
|
};
|
|
174198
173966
|
}));
|
|
174199
173967
|
//#endregion
|
|
174200
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
173968
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child-pool.js
|
|
174201
173969
|
var require_child_pool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
174202
173970
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174203
173971
|
exports.ChildPool = void 0;
|
|
@@ -174340,7 +174108,7 @@ var require_node_abort_controller = /* @__PURE__ */ __commonJSMin(((exports, mod
|
|
|
174340
174108
|
};
|
|
174341
174109
|
}));
|
|
174342
174110
|
//#endregion
|
|
174343
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
174111
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/abort-controller.js
|
|
174344
174112
|
var require_abort_controller = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174345
174113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174346
174114
|
exports.AbortController = void 0;
|
|
@@ -174352,7 +174120,7 @@ var require_abort_controller = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
174352
174120
|
exports.AbortController = AbortController;
|
|
174353
174121
|
}));
|
|
174354
174122
|
//#endregion
|
|
174355
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
174123
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/connection-closed-error.js
|
|
174356
174124
|
var require_connection_closed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
174357
174125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
174358
174126
|
exports.ConnectionClosedError = void 0;
|
|
@@ -175747,7 +175515,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
175747
175515
|
};
|
|
175748
175516
|
}));
|
|
175749
175517
|
//#endregion
|
|
175750
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
175518
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/utils/index.js
|
|
175751
175519
|
var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
175752
175520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
175753
175521
|
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 +175780,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176012
175780
|
}
|
|
176013
175781
|
}));
|
|
176014
175782
|
//#endregion
|
|
176015
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
175783
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/child-processor.js
|
|
176016
175784
|
var require_child_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176017
175785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176018
175786
|
exports.ChildProcessor = void 0;
|
|
@@ -176244,7 +176012,7 @@ var require_child_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176244
176012
|
};
|
|
176245
176013
|
}));
|
|
176246
176014
|
//#endregion
|
|
176247
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176015
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/delayed-error.js
|
|
176248
176016
|
var require_delayed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176249
176017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176250
176018
|
exports.DelayedError = exports.DELAYED_ERROR = void 0;
|
|
@@ -176266,7 +176034,7 @@ var require_delayed_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176266
176034
|
exports.DelayedError = DelayedError;
|
|
176267
176035
|
}));
|
|
176268
176036
|
//#endregion
|
|
176269
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176037
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/rate-limit-error.js
|
|
176270
176038
|
var require_rate_limit_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176271
176039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176272
176040
|
exports.RateLimitError = exports.RATE_LIMIT_ERROR = void 0;
|
|
@@ -176287,7 +176055,7 @@ var require_rate_limit_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176287
176055
|
exports.RateLimitError = RateLimitError;
|
|
176288
176056
|
}));
|
|
176289
176057
|
//#endregion
|
|
176290
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176058
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/unrecoverable-error.js
|
|
176291
176059
|
var require_unrecoverable_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176292
176060
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176293
176061
|
exports.UnrecoverableError = exports.UNRECOVERABLE_ERROR = void 0;
|
|
@@ -176309,7 +176077,7 @@ var require_unrecoverable_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176309
176077
|
exports.UnrecoverableError = UnrecoverableError;
|
|
176310
176078
|
}));
|
|
176311
176079
|
//#endregion
|
|
176312
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176080
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/waiting-children-error.js
|
|
176313
176081
|
var require_waiting_children_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176314
176082
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176315
176083
|
exports.WaitingChildrenError = exports.WAITING_CHILDREN_ERROR = void 0;
|
|
@@ -176331,7 +176099,7 @@ var require_waiting_children_error = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
176331
176099
|
exports.WaitingChildrenError = WaitingChildrenError;
|
|
176332
176100
|
}));
|
|
176333
176101
|
//#endregion
|
|
176334
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176102
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/waiting-error.js
|
|
176335
176103
|
var require_waiting_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176336
176104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176337
176105
|
exports.WaitingError = exports.WAITING_ERROR = void 0;
|
|
@@ -176352,7 +176120,7 @@ var require_waiting_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
176352
176120
|
exports.WaitingError = WaitingError;
|
|
176353
176121
|
}));
|
|
176354
176122
|
//#endregion
|
|
176355
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
176123
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/errors/index.js
|
|
176356
176124
|
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176357
176125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
176358
176126
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -176852,12 +176620,12 @@ var require_node_gyp_build_optional_packages = /* @__PURE__ */ __commonJSMin(((e
|
|
|
176852
176620
|
else module.exports = require_node_gyp_build();
|
|
176853
176621
|
}));
|
|
176854
176622
|
//#endregion
|
|
176855
|
-
//#region ../../node_modules/.pnpm/msgpackr-extract@3.0.
|
|
176623
|
+
//#region ../../node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract/index.js
|
|
176856
176624
|
var require_msgpackr_extract = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
176857
176625
|
module.exports = require_node_gyp_build_optional_packages()(__dirname);
|
|
176858
176626
|
}));
|
|
176859
176627
|
//#endregion
|
|
176860
|
-
//#region ../../node_modules/.pnpm/msgpackr@2.0.
|
|
176628
|
+
//#region ../../node_modules/.pnpm/msgpackr@2.0.2/node_modules/msgpackr/dist/node.cjs
|
|
176861
176629
|
var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
176862
176630
|
var stream = __require$1("stream");
|
|
176863
176631
|
var module$1 = __require$1("module");
|
|
@@ -178891,14 +178659,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
178891
178659
|
exports.useRecords = useRecords;
|
|
178892
178660
|
}));
|
|
178893
178661
|
//#endregion
|
|
178894
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
178662
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/version.js
|
|
178895
178663
|
var require_version = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
178896
178664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
178897
178665
|
exports.version = void 0;
|
|
178898
|
-
exports.version = "5.77.
|
|
178666
|
+
exports.version = "5.77.7";
|
|
178899
178667
|
}));
|
|
178900
178668
|
//#endregion
|
|
178901
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
178669
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/scripts.js
|
|
178902
178670
|
/**
|
|
178903
178671
|
* Includes all the scripts needed by the queue and jobs.
|
|
178904
178672
|
*/
|
|
@@ -180125,7 +179893,7 @@ var require_scripts$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
180125
179893
|
}
|
|
180126
179894
|
}));
|
|
180127
179895
|
//#endregion
|
|
180128
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
179896
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/utils/create-scripts.js
|
|
180129
179897
|
var require_create_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
180130
179898
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
180131
179899
|
exports.createScripts = void 0;
|
|
@@ -180146,7 +179914,7 @@ var require_create_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
180146
179914
|
exports.createScripts = createScripts;
|
|
180147
179915
|
}));
|
|
180148
179916
|
//#endregion
|
|
180149
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
179917
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/job.js
|
|
180150
179918
|
var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
180151
179919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
180152
179920
|
exports.Job = exports.PRIORITY_LIMIT = void 0;
|
|
@@ -181051,7 +180819,7 @@ var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
181051
180819
|
}
|
|
181052
180820
|
}));
|
|
181053
180821
|
//#endregion
|
|
181054
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
180822
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-keys.js
|
|
181055
180823
|
var require_queue_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181056
180824
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181057
180825
|
exports.QueueKeys = void 0;
|
|
@@ -181096,7 +180864,7 @@ var require_queue_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
181096
180864
|
exports.QueueKeys = QueueKeys;
|
|
181097
180865
|
}));
|
|
181098
180866
|
//#endregion
|
|
181099
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
180867
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addDelayedJob-6.js
|
|
181100
180868
|
var require_addDelayedJob_6 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181101
180869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181102
180870
|
exports.addDelayedJob = void 0;
|
|
@@ -181677,7 +181445,7 @@ return jobId .. "" -- convert to string
|
|
|
181677
181445
|
};
|
|
181678
181446
|
}));
|
|
181679
181447
|
//#endregion
|
|
181680
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
181448
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addJobScheduler-11.js
|
|
181681
181449
|
var require_addJobScheduler_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
181682
181450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
181683
181451
|
exports.addJobScheduler = void 0;
|
|
@@ -182274,7 +182042,7 @@ return {jobId .. "", delay}
|
|
|
182274
182042
|
};
|
|
182275
182043
|
}));
|
|
182276
182044
|
//#endregion
|
|
182277
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182045
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addLog-2.js
|
|
182278
182046
|
var require_addLog_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182279
182047
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182280
182048
|
exports.addLog = void 0;
|
|
@@ -182308,7 +182076,7 @@ end
|
|
|
182308
182076
|
};
|
|
182309
182077
|
}));
|
|
182310
182078
|
//#endregion
|
|
182311
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182079
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addParentJob-6.js
|
|
182312
182080
|
var require_addParentJob_6 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182313
182081
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182314
182082
|
exports.addParentJob = void 0;
|
|
@@ -182786,7 +182554,7 @@ return jobId .. "" -- convert to string
|
|
|
182786
182554
|
};
|
|
182787
182555
|
}));
|
|
182788
182556
|
//#endregion
|
|
182789
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
182557
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addPrioritizedJob-9.js
|
|
182790
182558
|
var require_addPrioritizedJob_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
182791
182559
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182792
182560
|
exports.addPrioritizedJob = void 0;
|
|
@@ -183337,7 +183105,7 @@ return jobId .. "" -- convert to string
|
|
|
183337
183105
|
};
|
|
183338
183106
|
}));
|
|
183339
183107
|
//#endregion
|
|
183340
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183108
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addRepeatableJob-2.js
|
|
183341
183109
|
var require_addRepeatableJob_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
183342
183110
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
183343
183111
|
exports.addRepeatableJob = void 0;
|
|
@@ -183576,7 +183344,7 @@ return storeRepeatableJob(repeatKey, customKey, nextMillis, ARGV[2])
|
|
|
183576
183344
|
};
|
|
183577
183345
|
}));
|
|
183578
183346
|
//#endregion
|
|
183579
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183347
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/addStandardJob-9.js
|
|
183580
183348
|
var require_addStandardJob_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
183581
183349
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
183582
183350
|
exports.addStandardJob = void 0;
|
|
@@ -184131,7 +183899,7 @@ return jobId .. "" -- convert to string
|
|
|
184131
183899
|
};
|
|
184132
183900
|
}));
|
|
184133
183901
|
//#endregion
|
|
184134
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
183902
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/changeDelay-4.js
|
|
184135
183903
|
var require_changeDelay_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184136
183904
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184137
183905
|
exports.changeDelay = void 0;
|
|
@@ -184239,7 +184007,7 @@ end`,
|
|
|
184239
184007
|
};
|
|
184240
184008
|
}));
|
|
184241
184009
|
//#endregion
|
|
184242
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184010
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/changePriority-7.js
|
|
184243
184011
|
var require_changePriority_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184244
184012
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184245
184013
|
exports.changePriority = void 0;
|
|
@@ -184368,7 +184136,7 @@ end
|
|
|
184368
184136
|
};
|
|
184369
184137
|
}));
|
|
184370
184138
|
//#endregion
|
|
184371
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184139
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/cleanJobsInSet-3.js
|
|
184372
184140
|
var require_cleanJobsInSet_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184373
184141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184374
184142
|
exports.cleanJobsInSet = void 0;
|
|
@@ -184738,7 +184506,7 @@ return result[1]
|
|
|
184738
184506
|
};
|
|
184739
184507
|
}));
|
|
184740
184508
|
//#endregion
|
|
184741
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184509
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/drain-5.js
|
|
184742
184510
|
var require_drain_5 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
184743
184511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184744
184512
|
exports.drain = void 0;
|
|
@@ -185014,7 +184782,7 @@ removeZSetJobs(KEYS[4], true, queueBaseKey, 0, scheduledJobs) -- prioritized
|
|
|
185014
184782
|
};
|
|
185015
184783
|
}));
|
|
185016
184784
|
//#endregion
|
|
185017
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184785
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/extendLock-2.js
|
|
185018
184786
|
var require_extendLock_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185019
184787
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185020
184788
|
exports.extendLock = void 0;
|
|
@@ -185045,7 +184813,7 @@ return 0
|
|
|
185045
184813
|
};
|
|
185046
184814
|
}));
|
|
185047
184815
|
//#endregion
|
|
185048
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184816
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/extendLocks-1.js
|
|
185049
184817
|
var require_extendLocks_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185050
184818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185051
184819
|
exports.extendLocks = void 0;
|
|
@@ -185096,7 +184864,7 @@ return failedJobs
|
|
|
185096
184864
|
};
|
|
185097
184865
|
}));
|
|
185098
184866
|
//#endregion
|
|
185099
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184867
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getCounts-1.js
|
|
185100
184868
|
var require_getCounts_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185101
184869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185102
184870
|
exports.getCounts = void 0;
|
|
@@ -185139,7 +184907,7 @@ return results
|
|
|
185139
184907
|
};
|
|
185140
184908
|
}));
|
|
185141
184909
|
//#endregion
|
|
185142
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184910
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getCountsPerPriority-4.js
|
|
185143
184911
|
var require_getCountsPerPriority_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185144
184912
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185145
184913
|
exports.getCountsPerPriority = void 0;
|
|
@@ -185186,7 +184954,7 @@ return results
|
|
|
185186
184954
|
};
|
|
185187
184955
|
}));
|
|
185188
184956
|
//#endregion
|
|
185189
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184957
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getDependencyCounts-4.js
|
|
185190
184958
|
var require_getDependencyCounts_4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185191
184959
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185192
184960
|
exports.getDependencyCounts = void 0;
|
|
@@ -185224,7 +184992,7 @@ return results
|
|
|
185224
184992
|
};
|
|
185225
184993
|
}));
|
|
185226
184994
|
//#endregion
|
|
185227
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
184995
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getJobScheduler-1.js
|
|
185228
184996
|
var require_getJobScheduler_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185229
184997
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185230
184998
|
exports.getJobScheduler = void 0;
|
|
@@ -185248,7 +185016,7 @@ return {nil, nil}
|
|
|
185248
185016
|
};
|
|
185249
185017
|
}));
|
|
185250
185018
|
//#endregion
|
|
185251
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185019
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getMetrics-2.js
|
|
185252
185020
|
var require_getMetrics_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185253
185021
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185254
185022
|
exports.getMetrics = void 0;
|
|
@@ -185274,7 +185042,7 @@ return {metrics, data, numPoints}
|
|
|
185274
185042
|
};
|
|
185275
185043
|
}));
|
|
185276
185044
|
//#endregion
|
|
185277
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185045
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getRanges-1.js
|
|
185278
185046
|
var require_getRanges_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185279
185047
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185280
185048
|
exports.getRanges = void 0;
|
|
@@ -185348,7 +185116,7 @@ return results
|
|
|
185348
185116
|
};
|
|
185349
185117
|
}));
|
|
185350
185118
|
//#endregion
|
|
185351
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185119
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getRateLimitTtl-2.js
|
|
185352
185120
|
var require_getRateLimitTtl_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185353
185121
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185354
185122
|
exports.getRateLimitTtl = void 0;
|
|
@@ -185393,7 +185161,7 @@ end
|
|
|
185393
185161
|
};
|
|
185394
185162
|
}));
|
|
185395
185163
|
//#endregion
|
|
185396
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185164
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getState-8.js
|
|
185397
185165
|
var require_getState_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185398
185166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185399
185167
|
exports.getState = void 0;
|
|
@@ -185467,7 +185235,7 @@ return "unknown"
|
|
|
185467
185235
|
};
|
|
185468
185236
|
}));
|
|
185469
185237
|
//#endregion
|
|
185470
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185238
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/getStateV2-8.js
|
|
185471
185239
|
var require_getStateV2_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185472
185240
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185473
185241
|
exports.getStateV2 = void 0;
|
|
@@ -185525,7 +185293,7 @@ return "unknown"
|
|
|
185525
185293
|
};
|
|
185526
185294
|
}));
|
|
185527
185295
|
//#endregion
|
|
185528
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185296
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isFinished-3.js
|
|
185529
185297
|
var require_isFinished_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185530
185298
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185531
185299
|
exports.isFinished = void 0;
|
|
@@ -185575,7 +185343,7 @@ return 0
|
|
|
185575
185343
|
};
|
|
185576
185344
|
}));
|
|
185577
185345
|
//#endregion
|
|
185578
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185346
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isJobInList-1.js
|
|
185579
185347
|
var require_isJobInList_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185580
185348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185581
185349
|
exports.isJobInList = void 0;
|
|
@@ -185608,7 +185376,7 @@ return checkItemInList(items, ARGV[1])
|
|
|
185608
185376
|
};
|
|
185609
185377
|
}));
|
|
185610
185378
|
//#endregion
|
|
185611
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185379
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/isMaxed-2.js
|
|
185612
185380
|
var require_isMaxed_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185613
185381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185614
185382
|
exports.isMaxed = void 0;
|
|
@@ -185643,7 +185411,7 @@ return isQueueMaxed(KEYS[1], KEYS[2])
|
|
|
185643
185411
|
};
|
|
185644
185412
|
}));
|
|
185645
185413
|
//#endregion
|
|
185646
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185414
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveJobFromActiveToWait-9.js
|
|
185647
185415
|
var require_moveJobFromActiveToWait_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185648
185416
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185649
185417
|
exports.moveJobFromActiveToWait = void 0;
|
|
@@ -185778,7 +185546,7 @@ end
|
|
|
185778
185546
|
};
|
|
185779
185547
|
}));
|
|
185780
185548
|
//#endregion
|
|
185781
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185549
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveJobsToWait-8.js
|
|
185782
185550
|
var require_moveJobsToWait_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185783
185551
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185784
185552
|
exports.moveJobsToWait = void 0;
|
|
@@ -185897,7 +185665,7 @@ return 0
|
|
|
185897
185665
|
};
|
|
185898
185666
|
}));
|
|
185899
185667
|
//#endregion
|
|
185900
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185668
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveStalledJobsToWait-8.js
|
|
185901
185669
|
var require_moveStalledJobsToWait_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
185902
185670
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185903
185671
|
exports.moveStalledJobsToWait = void 0;
|
|
@@ -186083,7 +185851,7 @@ return stalled
|
|
|
186083
185851
|
};
|
|
186084
185852
|
}));
|
|
186085
185853
|
//#endregion
|
|
186086
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
185854
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToActive-11.js
|
|
186087
185855
|
var require_moveToActive_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186088
185856
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186089
185857
|
exports.moveToActive = void 0;
|
|
@@ -186328,7 +186096,7 @@ return {0, 0, 0, 0}
|
|
|
186328
186096
|
};
|
|
186329
186097
|
}));
|
|
186330
186098
|
//#endregion
|
|
186331
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
186099
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToDelayed-12.js
|
|
186332
186100
|
var require_moveToDelayed_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186333
186101
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186334
186102
|
exports.moveToDelayed = void 0;
|
|
@@ -186728,7 +186496,7 @@ end
|
|
|
186728
186496
|
};
|
|
186729
186497
|
}));
|
|
186730
186498
|
//#endregion
|
|
186731
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
186499
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToFinished-14.js
|
|
186732
186500
|
var require_moveToFinished_14 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
186733
186501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186734
186502
|
exports.moveToFinished = void 0;
|
|
@@ -187774,7 +187542,7 @@ end
|
|
|
187774
187542
|
};
|
|
187775
187543
|
}));
|
|
187776
187544
|
//#endregion
|
|
187777
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
187545
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/moveToWaitingChildren-7.js
|
|
187778
187546
|
var require_moveToWaitingChildren_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
187779
187547
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
187780
187548
|
exports.moveToWaitingChildren = void 0;
|
|
@@ -187882,7 +187650,7 @@ return -1
|
|
|
187882
187650
|
};
|
|
187883
187651
|
}));
|
|
187884
187652
|
//#endregion
|
|
187885
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
187653
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/obliterate-2.js
|
|
187886
187654
|
var require_obliterate_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
187887
187655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
187888
187656
|
exports.obliterate = void 0;
|
|
@@ -188227,7 +187995,7 @@ end
|
|
|
188227
187995
|
};
|
|
188228
187996
|
}));
|
|
188229
187997
|
//#endregion
|
|
188230
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
187998
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/paginate-1.js
|
|
188231
187999
|
var require_paginate_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188232
188000
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188233
188001
|
exports.paginate = void 0;
|
|
@@ -188338,7 +188106,7 @@ return {cursor, offset, items, numItems, jobs}
|
|
|
188338
188106
|
};
|
|
188339
188107
|
}));
|
|
188340
188108
|
//#endregion
|
|
188341
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188109
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/pause-7.js
|
|
188342
188110
|
var require_pause_7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188343
188111
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188344
188112
|
exports.pause = void 0;
|
|
@@ -188406,7 +188174,7 @@ rcall("XADD", KEYS[5], "*", "event", ARGV[1]);
|
|
|
188406
188174
|
};
|
|
188407
188175
|
}));
|
|
188408
188176
|
//#endregion
|
|
188409
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188177
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/promote-9.js
|
|
188410
188178
|
var require_promote_9 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188411
188179
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188412
188180
|
exports.promote = void 0;
|
|
@@ -188517,7 +188285,7 @@ end
|
|
|
188517
188285
|
};
|
|
188518
188286
|
}));
|
|
188519
188287
|
//#endregion
|
|
188520
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188288
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/releaseLock-1.js
|
|
188521
188289
|
var require_releaseLock_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188522
188290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188523
188291
|
exports.releaseLock = void 0;
|
|
@@ -188543,7 +188311,7 @@ end
|
|
|
188543
188311
|
};
|
|
188544
188312
|
}));
|
|
188545
188313
|
//#endregion
|
|
188546
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188314
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeChildDependency-1.js
|
|
188547
188315
|
var require_removeChildDependency_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188548
188316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188549
188317
|
exports.removeChildDependency = void 0;
|
|
@@ -188709,7 +188477,7 @@ end`,
|
|
|
188709
188477
|
};
|
|
188710
188478
|
}));
|
|
188711
188479
|
//#endregion
|
|
188712
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188480
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeDeduplicationKey-1.js
|
|
188713
188481
|
var require_removeDeduplicationKey_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188714
188482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188715
188483
|
exports.removeDeduplicationKey = void 0;
|
|
@@ -188737,7 +188505,7 @@ return 0
|
|
|
188737
188505
|
};
|
|
188738
188506
|
}));
|
|
188739
188507
|
//#endregion
|
|
188740
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188508
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeJob-2.js
|
|
188741
188509
|
var require_removeJob_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
188742
188510
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
188743
188511
|
exports.removeJob = void 0;
|
|
@@ -189090,7 +188858,7 @@ return 0
|
|
|
189090
188858
|
};
|
|
189091
188859
|
}));
|
|
189092
188860
|
//#endregion
|
|
189093
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188861
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeJobScheduler-3.js
|
|
189094
188862
|
var require_removeJobScheduler_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189095
188863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189096
188864
|
exports.removeJobScheduler = void 0;
|
|
@@ -189140,7 +188908,7 @@ return 1
|
|
|
189140
188908
|
};
|
|
189141
188909
|
}));
|
|
189142
188910
|
//#endregion
|
|
189143
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188911
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeOrphanedJobs-1.js
|
|
189144
188912
|
var require_removeOrphanedJobs_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189145
188913
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189146
188914
|
exports.removeOrphanedJobs = void 0;
|
|
@@ -189218,7 +188986,7 @@ return removedCount
|
|
|
189218
188986
|
};
|
|
189219
188987
|
}));
|
|
189220
188988
|
//#endregion
|
|
189221
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
188989
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeRepeatable-3.js
|
|
189222
188990
|
var require_removeRepeatable_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189223
188991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189224
188992
|
exports.removeRepeatable = void 0;
|
|
@@ -189282,7 +189050,7 @@ return 1
|
|
|
189282
189050
|
};
|
|
189283
189051
|
}));
|
|
189284
189052
|
//#endregion
|
|
189285
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189053
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/removeUnprocessedChildren-2.js
|
|
189286
189054
|
var require_removeUnprocessedChildren_2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189287
189055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189288
189056
|
exports.removeUnprocessedChildren = void 0;
|
|
@@ -189625,7 +189393,7 @@ removeJobChildren(prefix, jobKey, options)
|
|
|
189625
189393
|
};
|
|
189626
189394
|
}));
|
|
189627
189395
|
//#endregion
|
|
189628
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189396
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/reprocessJob-8.js
|
|
189629
189397
|
var require_reprocessJob_8 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189630
189398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189631
189399
|
exports.reprocessJob = void 0;
|
|
@@ -189745,7 +189513,7 @@ end
|
|
|
189745
189513
|
};
|
|
189746
189514
|
}));
|
|
189747
189515
|
//#endregion
|
|
189748
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189516
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/retryJob-11.js
|
|
189749
189517
|
var require_retryJob_11 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189750
189518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189751
189519
|
exports.retryJob = void 0;
|
|
@@ -189960,7 +189728,7 @@ end
|
|
|
189960
189728
|
};
|
|
189961
189729
|
}));
|
|
189962
189730
|
//#endregion
|
|
189963
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189731
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/saveStacktrace-1.js
|
|
189964
189732
|
var require_saveStacktrace_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189965
189733
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189966
189734
|
exports.saveStacktrace = void 0;
|
|
@@ -189988,7 +189756,7 @@ end
|
|
|
189988
189756
|
};
|
|
189989
189757
|
}));
|
|
189990
189758
|
//#endregion
|
|
189991
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189759
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateData-1.js
|
|
189992
189760
|
var require_updateData_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
189993
189761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189994
189762
|
exports.updateData = void 0;
|
|
@@ -190015,7 +189783,7 @@ end
|
|
|
190015
189783
|
};
|
|
190016
189784
|
}));
|
|
190017
189785
|
//#endregion
|
|
190018
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
189786
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateJobScheduler-12.js
|
|
190019
189787
|
var require_updateJobScheduler_12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190020
189788
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190021
189789
|
exports.updateJobScheduler = void 0;
|
|
@@ -190360,7 +190128,7 @@ end
|
|
|
190360
190128
|
};
|
|
190361
190129
|
}));
|
|
190362
190130
|
//#endregion
|
|
190363
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190131
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateProgress-3.js
|
|
190364
190132
|
var require_updateProgress_3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190365
190133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190366
190134
|
exports.updateProgress = void 0;
|
|
@@ -190407,7 +190175,7 @@ end
|
|
|
190407
190175
|
};
|
|
190408
190176
|
}));
|
|
190409
190177
|
//#endregion
|
|
190410
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190178
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/updateRepeatableJobMillis-1.js
|
|
190411
190179
|
var require_updateRepeatableJobMillis_1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190412
190180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190413
190181
|
exports.updateRepeatableJobMillis = void 0;
|
|
@@ -190441,7 +190209,7 @@ return ''
|
|
|
190441
190209
|
};
|
|
190442
190210
|
}));
|
|
190443
190211
|
//#endregion
|
|
190444
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190212
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/scripts/index.js
|
|
190445
190213
|
var require_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190446
190214
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190447
190215
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -190498,7 +190266,7 @@ var require_scripts = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
190498
190266
|
tslib_1.__exportStar(require_updateRepeatableJobMillis_1(), exports);
|
|
190499
190267
|
}));
|
|
190500
190268
|
//#endregion
|
|
190501
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190269
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/ioredis-client.js
|
|
190502
190270
|
var require_ioredis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190503
190271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190504
190272
|
exports.createIORedisClient = createIORedisClient;
|
|
@@ -190694,7 +190462,7 @@ var require_ioredis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
190694
190462
|
}
|
|
190695
190463
|
}));
|
|
190696
190464
|
//#endregion
|
|
190697
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190465
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/redis-connection.js
|
|
190698
190466
|
var require_redis_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
190699
190467
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190700
190468
|
exports.RedisConnection = void 0;
|
|
@@ -191058,7 +190826,7 @@ var require_redis_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191058
190826
|
RedisConnection.recommendedMinimumVersion = "6.2.0";
|
|
191059
190827
|
}));
|
|
191060
190828
|
//#endregion
|
|
191061
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
190829
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/flow-producer.js
|
|
191062
190830
|
var require_flow_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191063
190831
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191064
190832
|
exports.FlowProducer = void 0;
|
|
@@ -191424,7 +191192,7 @@ var require_flow_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191424
191192
|
exports.FlowProducer = FlowProducer;
|
|
191425
191193
|
}));
|
|
191426
191194
|
//#endregion
|
|
191427
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
191195
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/node-redis-client.js
|
|
191428
191196
|
var require_node_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191429
191197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191430
191198
|
exports.createNodeRedisClient = createNodeRedisClient;
|
|
@@ -191957,7 +191725,7 @@ var require_node_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
191957
191725
|
};
|
|
191958
191726
|
}));
|
|
191959
191727
|
//#endregion
|
|
191960
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
191728
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/bun-redis-client.js
|
|
191961
191729
|
var require_bun_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
191962
191730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191963
191731
|
exports.createBunRedisClient = createBunRedisClient;
|
|
@@ -199895,7 +199663,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
199895
199663
|
module.exports = CronParser;
|
|
199896
199664
|
}));
|
|
199897
199665
|
//#endregion
|
|
199898
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
199666
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-base.js
|
|
199899
199667
|
var require_queue_base = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
199900
199668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
199901
199669
|
exports.QueueBase = void 0;
|
|
@@ -200042,7 +199810,7 @@ var require_queue_base = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200042
199810
|
exports.QueueBase = QueueBase;
|
|
200043
199811
|
}));
|
|
200044
199812
|
//#endregion
|
|
200045
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
199813
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/job-scheduler.js
|
|
200046
199814
|
var require_job_scheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200047
199815
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200048
199816
|
exports.defaultRepeatStrategy = exports.JobScheduler = void 0;
|
|
@@ -200250,7 +200018,7 @@ var require_job_scheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200250
200018
|
exports.defaultRepeatStrategy = defaultRepeatStrategy;
|
|
200251
200019
|
}));
|
|
200252
200020
|
//#endregion
|
|
200253
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200021
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/lock-manager.js
|
|
200254
200022
|
var require_lock_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200255
200023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200256
200024
|
exports.LockManager = void 0;
|
|
@@ -200405,7 +200173,7 @@ var require_lock_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200405
200173
|
exports.LockManager = LockManager;
|
|
200406
200174
|
}));
|
|
200407
200175
|
//#endregion
|
|
200408
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200176
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-events.js
|
|
200409
200177
|
var require_queue_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200410
200178
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200411
200179
|
exports.QueueEvents = void 0;
|
|
@@ -200518,7 +200286,7 @@ var require_queue_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
200518
200286
|
exports.QueueEvents = QueueEvents;
|
|
200519
200287
|
}));
|
|
200520
200288
|
//#endregion
|
|
200521
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200289
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-events-producer.js
|
|
200522
200290
|
var require_queue_events_producer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200523
200291
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200524
200292
|
exports.QueueEventsProducer = void 0;
|
|
@@ -200558,7 +200326,7 @@ var require_queue_events_producer = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
200558
200326
|
exports.QueueEventsProducer = QueueEventsProducer;
|
|
200559
200327
|
}));
|
|
200560
200328
|
//#endregion
|
|
200561
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200329
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue-getters.js
|
|
200562
200330
|
var require_queue_getters = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
200563
200331
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
200564
200332
|
exports.QueueGetters = void 0;
|
|
@@ -201079,7 +200847,7 @@ var require_queue_getters = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201079
200847
|
exports.QueueGetters = QueueGetters;
|
|
201080
200848
|
}));
|
|
201081
200849
|
//#endregion
|
|
201082
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
200850
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/repeat.js
|
|
201083
200851
|
var require_repeat = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201084
200852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201085
200853
|
exports.getNextMillis = exports.Repeat = void 0;
|
|
@@ -201247,7 +201015,7 @@ var require_repeat = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201247
201015
|
exports.getNextMillis = getNextMillis;
|
|
201248
201016
|
}));
|
|
201249
201017
|
//#endregion
|
|
201250
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201018
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/queue.js
|
|
201251
201019
|
var require_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201252
201020
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201253
201021
|
exports.Queue = void 0;
|
|
@@ -201917,7 +201685,7 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
201917
201685
|
exports.Queue = Queue;
|
|
201918
201686
|
}));
|
|
201919
201687
|
//#endregion
|
|
201920
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201688
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/sandbox.js
|
|
201921
201689
|
var require_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
201922
201690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
201923
201691
|
const enums_1 = require_enums();
|
|
@@ -202059,7 +201827,7 @@ var require_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202059
201827
|
exports.default = sandbox;
|
|
202060
201828
|
}));
|
|
202061
201829
|
//#endregion
|
|
202062
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
201830
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/worker.js
|
|
202063
201831
|
var require_worker = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
202064
201832
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202065
201833
|
exports.Worker = void 0;
|
|
@@ -202774,7 +202542,7 @@ var require_worker = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
202774
202542
|
exports.Worker = Worker;
|
|
202775
202543
|
}));
|
|
202776
202544
|
//#endregion
|
|
202777
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202545
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/classes/index.js
|
|
202778
202546
|
var require_classes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202779
202547
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202780
202548
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -202804,97 +202572,97 @@ var require_classes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202804
202572
|
tslib_1.__exportStar(require_worker(), exports);
|
|
202805
202573
|
}));
|
|
202806
202574
|
//#endregion
|
|
202807
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202575
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/advanced-options.js
|
|
202808
202576
|
var require_advanced_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202809
202577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202810
202578
|
}));
|
|
202811
202579
|
//#endregion
|
|
202812
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202580
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/backoff-options.js
|
|
202813
202581
|
var require_backoff_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202814
202582
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202815
202583
|
}));
|
|
202816
202584
|
//#endregion
|
|
202817
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202585
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/base-job-options.js
|
|
202818
202586
|
var require_base_job_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202819
202587
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202820
202588
|
}));
|
|
202821
202589
|
//#endregion
|
|
202822
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202590
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/child-message.js
|
|
202823
202591
|
var require_child_message = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202824
202592
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202825
202593
|
}));
|
|
202826
202594
|
//#endregion
|
|
202827
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202595
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/connection.js
|
|
202828
202596
|
var require_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202829
202597
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202830
202598
|
}));
|
|
202831
202599
|
//#endregion
|
|
202832
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202600
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/flow-job.js
|
|
202833
202601
|
var require_flow_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202834
202602
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202835
202603
|
}));
|
|
202836
202604
|
//#endregion
|
|
202837
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202605
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/ioredis-events.js
|
|
202838
202606
|
var require_ioredis_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202839
202607
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202840
202608
|
}));
|
|
202841
202609
|
//#endregion
|
|
202842
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202610
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/job-json.js
|
|
202843
202611
|
var require_job_json = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202844
202612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202845
202613
|
}));
|
|
202846
202614
|
//#endregion
|
|
202847
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202615
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/job-scheduler-json.js
|
|
202848
202616
|
var require_job_scheduler_json = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202849
202617
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202850
202618
|
}));
|
|
202851
202619
|
//#endregion
|
|
202852
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202620
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/lock-manager-worker-context.js
|
|
202853
202621
|
var require_lock_manager_worker_context = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202854
202622
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202855
202623
|
}));
|
|
202856
202624
|
//#endregion
|
|
202857
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202625
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/metrics-options.js
|
|
202858
202626
|
var require_metrics_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202859
202627
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202860
202628
|
}));
|
|
202861
202629
|
//#endregion
|
|
202862
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202630
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/metrics.js
|
|
202863
202631
|
var require_metrics = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202864
202632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202865
202633
|
}));
|
|
202866
202634
|
//#endregion
|
|
202867
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202635
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/minimal-job.js
|
|
202868
202636
|
var require_minimal_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202869
202637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202870
202638
|
}));
|
|
202871
202639
|
//#endregion
|
|
202872
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202640
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/minimal-queue.js
|
|
202873
202641
|
var require_minimal_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202874
202642
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202875
202643
|
}));
|
|
202876
202644
|
//#endregion
|
|
202877
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202645
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent-message.js
|
|
202878
202646
|
var require_parent_message = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202879
202647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202880
202648
|
}));
|
|
202881
202649
|
//#endregion
|
|
202882
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202650
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent.js
|
|
202883
202651
|
var require_parent = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202884
202652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202885
202653
|
}));
|
|
202886
202654
|
//#endregion
|
|
202887
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202655
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/parent-options.js
|
|
202888
202656
|
var require_parent_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202889
202657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202890
202658
|
}));
|
|
202891
202659
|
//#endregion
|
|
202892
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202660
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/queue-meta.js
|
|
202893
202661
|
var require_queue_meta = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202894
202662
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202895
202663
|
}));
|
|
202896
202664
|
//#endregion
|
|
202897
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202665
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/queue-options.js
|
|
202898
202666
|
var require_queue_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202899
202667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202900
202668
|
exports.ClientType = void 0;
|
|
@@ -202905,82 +202673,82 @@ var require_queue_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
202905
202673
|
})(ClientType || (exports.ClientType = ClientType = {}));
|
|
202906
202674
|
}));
|
|
202907
202675
|
//#endregion
|
|
202908
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202676
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/rate-limiter-options.js
|
|
202909
202677
|
var require_rate_limiter_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202910
202678
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202911
202679
|
}));
|
|
202912
202680
|
//#endregion
|
|
202913
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202681
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-client.js
|
|
202914
202682
|
var require_redis_client = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202915
202683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202916
202684
|
}));
|
|
202917
202685
|
//#endregion
|
|
202918
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202686
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-options.js
|
|
202919
202687
|
var require_redis_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202920
202688
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202921
202689
|
}));
|
|
202922
202690
|
//#endregion
|
|
202923
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202691
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/redis-streams.js
|
|
202924
202692
|
var require_redis_streams = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202925
202693
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202926
202694
|
}));
|
|
202927
202695
|
//#endregion
|
|
202928
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202696
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeatable-job.js
|
|
202929
202697
|
var require_repeatable_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202930
202698
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202931
202699
|
}));
|
|
202932
202700
|
//#endregion
|
|
202933
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202701
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeatable-options.js
|
|
202934
202702
|
var require_repeatable_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202935
202703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202936
202704
|
}));
|
|
202937
202705
|
//#endregion
|
|
202938
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202706
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/repeat-options.js
|
|
202939
202707
|
var require_repeat_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202940
202708
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202941
202709
|
}));
|
|
202942
202710
|
//#endregion
|
|
202943
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202711
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/retry-options.js
|
|
202944
202712
|
var require_retry_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202945
202713
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202946
202714
|
}));
|
|
202947
202715
|
//#endregion
|
|
202948
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202716
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/script-queue-context.js
|
|
202949
202717
|
var require_script_queue_context = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202950
202718
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202951
202719
|
}));
|
|
202952
202720
|
//#endregion
|
|
202953
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202721
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-job-processor.js
|
|
202954
202722
|
var require_sandboxed_job_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202955
202723
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202956
202724
|
}));
|
|
202957
202725
|
//#endregion
|
|
202958
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202726
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-job.js
|
|
202959
202727
|
var require_sandboxed_job = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202960
202728
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202961
202729
|
}));
|
|
202962
202730
|
//#endregion
|
|
202963
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202731
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/sandboxed-options.js
|
|
202964
202732
|
var require_sandboxed_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202965
202733
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202966
202734
|
}));
|
|
202967
202735
|
//#endregion
|
|
202968
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202736
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/worker-options.js
|
|
202969
202737
|
var require_worker_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202970
202738
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202971
202739
|
}));
|
|
202972
202740
|
//#endregion
|
|
202973
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202741
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/telemetry.js
|
|
202974
202742
|
var require_telemetry = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202975
202743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202976
202744
|
}));
|
|
202977
202745
|
//#endregion
|
|
202978
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202746
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/receiver.js
|
|
202979
202747
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202980
202748
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202981
202749
|
}));
|
|
202982
202750
|
//#endregion
|
|
202983
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202751
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/interfaces/index.js
|
|
202984
202752
|
var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
202985
202753
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202986
202754
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203020,62 +202788,62 @@ var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
203020
202788
|
tslib_1.__exportStar(require_receiver(), exports);
|
|
203021
202789
|
}));
|
|
203022
202790
|
//#endregion
|
|
203023
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202791
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/backoff-strategy.js
|
|
203024
202792
|
var require_backoff_strategy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203025
202793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203026
202794
|
}));
|
|
203027
202795
|
//#endregion
|
|
203028
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202796
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/database-type.js
|
|
203029
202797
|
var require_database_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203030
202798
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203031
202799
|
}));
|
|
203032
202800
|
//#endregion
|
|
203033
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202801
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/deduplication-options.js
|
|
203034
202802
|
var require_deduplication_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203035
202803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203036
202804
|
}));
|
|
203037
202805
|
//#endregion
|
|
203038
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202806
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/finished-status.js
|
|
203039
202807
|
var require_finished_status = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203040
202808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203041
202809
|
}));
|
|
203042
202810
|
//#endregion
|
|
203043
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202811
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-json-sandbox.js
|
|
203044
202812
|
var require_job_json_sandbox = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203045
202813
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203046
202814
|
}));
|
|
203047
202815
|
//#endregion
|
|
203048
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202816
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-options.js
|
|
203049
202817
|
var require_job_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203050
202818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203051
202819
|
}));
|
|
203052
202820
|
//#endregion
|
|
203053
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202821
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-scheduler-template-options.js
|
|
203054
202822
|
var require_job_scheduler_template_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203055
202823
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203056
202824
|
}));
|
|
203057
202825
|
//#endregion
|
|
203058
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202826
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-type.js
|
|
203059
202827
|
var require_job_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203060
202828
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203061
202829
|
}));
|
|
203062
202830
|
//#endregion
|
|
203063
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202831
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/job-progress.js
|
|
203064
202832
|
var require_job_progress = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203065
202833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203066
202834
|
}));
|
|
203067
202835
|
//#endregion
|
|
203068
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202836
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/repeat-strategy.js
|
|
203069
202837
|
var require_repeat_strategy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203070
202838
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203071
202839
|
}));
|
|
203072
202840
|
//#endregion
|
|
203073
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202841
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/keep-jobs.js
|
|
203074
202842
|
var require_keep_jobs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203075
202843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203076
202844
|
}));
|
|
203077
202845
|
//#endregion
|
|
203078
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202846
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/index.js
|
|
203079
202847
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203080
202848
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203081
202849
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203092,12 +202860,12 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
203092
202860
|
tslib_1.__exportStar(require_keep_jobs(), exports);
|
|
203093
202861
|
}));
|
|
203094
202862
|
//#endregion
|
|
203095
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202863
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/types/processor.js
|
|
203096
202864
|
var require_processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203097
202865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203098
202866
|
}));
|
|
203099
202867
|
//#endregion
|
|
203100
|
-
//#region ../../node_modules/.pnpm/bullmq@5.77.
|
|
202868
|
+
//#region ../../node_modules/.pnpm/bullmq@5.77.7/node_modules/bullmq/dist/cjs/index.js
|
|
203101
202869
|
var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
203102
202870
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
203103
202871
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -203573,7 +203341,7 @@ function createBalanceMonitor(config) {
|
|
|
203573
203341
|
try {
|
|
203574
203342
|
const viewer = gateway.connection.viewer;
|
|
203575
203343
|
if (viewer) {
|
|
203576
|
-
const balance = await viewer.account.balance.accountBalance(account.address);
|
|
203344
|
+
const balance = await viewer.account.balance.accountBalance(toAddress(account.address));
|
|
203577
203345
|
xl1AccountBalance.record(Number(balance / TOKEN_DECIMALS), {
|
|
203578
203346
|
address: account.address.toString(),
|
|
203579
203347
|
remoteChainId
|
|
@@ -203775,8 +203543,8 @@ var getBridgeWalletAccount = async (config) => {
|
|
|
203775
203543
|
};
|
|
203776
203544
|
var getTransferAddresses = async (config) => {
|
|
203777
203545
|
return {
|
|
203778
|
-
escrowAddress: tryGetBridgeEscrowAddress(config) ?? (await getBridgeWalletAccount(config)).address,
|
|
203779
|
-
feesAddress: tryGetBridgeFeesAddress(config) ?? (await getBridgeWalletAccount(config)).address
|
|
203546
|
+
escrowAddress: tryGetBridgeEscrowAddress(config) ?? toAddress((await getBridgeWalletAccount(config)).address),
|
|
203547
|
+
feesAddress: tryGetBridgeFeesAddress(config) ?? toAddress((await getBridgeWalletAccount(config)).address)
|
|
203780
203548
|
};
|
|
203781
203549
|
};
|
|
203782
203550
|
var getXl1ChainId = (config) => {
|
|
@@ -203879,7 +203647,7 @@ async function buildEthToXl1ReserveTx(options2) {
|
|
|
203879
203647
|
const { amount, bridgeAccount, bridgeId, destAddress, evmChainId, evmContractAddress, evmSrcAddress, evmTokenAddress, evmTxHash, exp, feesAddress, feesAmount, nbf, xl1ChainId, xl1TokenAddress } = options2;
|
|
203880
203648
|
const { intent, transfer } = buildEthToXl1BridgePayloads({
|
|
203881
203649
|
amount,
|
|
203882
|
-
bridgeAccountAddress: bridgeAccount.address,
|
|
203650
|
+
bridgeAccountAddress: toAddress(bridgeAccount.address),
|
|
203883
203651
|
bridgeId,
|
|
203884
203652
|
destAddress,
|
|
203885
203653
|
evmChainId,
|
|
@@ -203968,7 +203736,7 @@ var createWorker = (connection2, telemetry2, services) => {
|
|
|
203968
203736
|
const { feesAddress } = await getTransferAddresses(config);
|
|
203969
203737
|
const snapshot = buildAcceptedSnapshot({
|
|
203970
203738
|
amount: data.amount,
|
|
203971
|
-
bridgeAccountAddress: account.address,
|
|
203739
|
+
bridgeAccountAddress: toAddress(account.address),
|
|
203972
203740
|
bridgeId: id,
|
|
203973
203741
|
destAddress: data.destAddress,
|
|
203974
203742
|
evmChainId: config.remoteChainId,
|
|
@@ -204177,7 +203945,7 @@ var validateSufficientRunnerEthBalanceForGas = async (preparedTx, wallet, logger
|
|
|
204177
203945
|
};
|
|
204178
203946
|
var RESERVE_FEE_BUFFER = 1n * AttoXL1ConvertFactor.xl1;
|
|
204179
203947
|
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);
|
|
203948
|
+
const balance = await assertEx(gateway.connection.viewer, () => "Gateway connection does not have a viewer").account.balance.accountBalance(toAddress(bridgeAccount.address));
|
|
204181
203949
|
const required = amount + RESERVE_FEE_BUFFER;
|
|
204182
203950
|
await logger?.log(`XL1 reserve account ${bridgeAccount.address} balance: ${balance.toString()}; required: ${required.toString()} (amount=${amount.toString()} + buffer=${RESERVE_FEE_BUFFER.toString()})`);
|
|
204183
203951
|
return balance >= required;
|
|
@@ -205296,7 +205064,7 @@ var makeBridgeFromRemoteEstimateRoute = (config) => {
|
|
|
205296
205064
|
const exp = toXL1BlockNumber(currentBlockNumber + 1e3, true);
|
|
205297
205065
|
const { intent, transfer } = buildEthToXl1BridgePayloads({
|
|
205298
205066
|
amount: hexToBigInt(srcAmount),
|
|
205299
|
-
bridgeAccountAddress: account.address,
|
|
205067
|
+
bridgeAccountAddress: toAddress(account.address),
|
|
205300
205068
|
bridgeId: projectedBridgeId,
|
|
205301
205069
|
destAddress: toAddress(destAddress),
|
|
205302
205070
|
evmChainId,
|
|
@@ -205308,7 +205076,7 @@ var makeBridgeFromRemoteEstimateRoute = (config) => {
|
|
|
205308
205076
|
xl1ChainId,
|
|
205309
205077
|
xl1TokenAddress
|
|
205310
205078
|
});
|
|
205311
|
-
const [txBw] = await buildUnsignedTransaction(xl1ChainId, [transfer], [intent], nbf, exp, account.address);
|
|
205079
|
+
const [txBw] = await buildUnsignedTransaction(xl1ChainId, [transfer], [intent], nbf, exp, toAddress(account.address));
|
|
205312
205080
|
res.json([
|
|
205313
205081
|
txBw,
|
|
205314
205082
|
intent,
|
|
@@ -206070,7 +205838,7 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206070
205838
|
return;
|
|
206071
205839
|
}
|
|
206072
205840
|
this.logger?.log("Creating redeclaration intent for producer:", this.account.address);
|
|
206073
|
-
const redeclarationIntent = createDeclarationIntent(this.account.address, "producer", currentBlock, currentBlock + SimpleBlockRunner.RedeclarationDuration);
|
|
205841
|
+
const redeclarationIntent = createDeclarationIntent(toAddress(this.account.address), "producer", currentBlock, currentBlock + SimpleBlockRunner.RedeclarationDuration);
|
|
206074
205842
|
await this.submitRedeclarationIntent(currentBlock, redeclarationIntent);
|
|
206075
205843
|
this._lastRedeclarationIntent = redeclarationIntent;
|
|
206076
205844
|
}, {
|
|
@@ -206087,7 +205855,8 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206087
205855
|
async validateCurrentBalance() {
|
|
206088
205856
|
const head = (await this.blockViewer.currentBlock())?.[0]?._hash;
|
|
206089
205857
|
if (isDefined(head)) {
|
|
206090
|
-
|
|
205858
|
+
const accountAddress = toAddress(this.account.address);
|
|
205859
|
+
if (((await this.accountBalanceViewer.accountBalances([accountAddress], { head }))[accountAddress] ?? 0n) <= 0n) {
|
|
206091
205860
|
this.logger?.error(`Producer ${this.account.address} has no balance.`);
|
|
206092
205861
|
return false;
|
|
206093
205862
|
}
|
|
@@ -206096,7 +205865,7 @@ var ProducerActor = class extends ActorV3 {
|
|
|
206096
205865
|
return true;
|
|
206097
205866
|
}
|
|
206098
205867
|
async validateCurrentStake() {
|
|
206099
|
-
if (await this.stakeTotalsViewer.activeByStaked(this.account.address) < 1n) {
|
|
205868
|
+
if (await this.stakeTotalsViewer.activeByStaked(toAddress(this.account.address)) < 1n) {
|
|
206100
205869
|
this.logger?.error(`Producer ${this.account.address} has insufficient stake.`);
|
|
206101
205870
|
return false;
|
|
206102
205871
|
}
|
|
@@ -206166,14 +205935,271 @@ function producerCommand(getConfiguration, getLocatorsFromConfig) {
|
|
|
206166
205935
|
};
|
|
206167
205936
|
}
|
|
206168
205937
|
//#endregion
|
|
206169
|
-
//#region ../../node_modules/.pnpm/@xyo-network+storage-model@8.0.0_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-
|
|
205938
|
+
//#region ../../node_modules/.pnpm/@xyo-network+storage-model@8.0.0_@opentelemetry+api@1.9.1_@opentelemetry+sdk-trace-base_26dc37ee961ecf8ee16086335bf5bd39/node_modules/@xyo-network/storage-model/dist/neutral/index.mjs
|
|
206170
205939
|
var WalletKindMap = {
|
|
206171
205940
|
os: "os",
|
|
206172
205941
|
user: "user"
|
|
206173
205942
|
};
|
|
205943
|
+
/*! store2 - v2.14.4 - 2024-12-26
|
|
205944
|
+
* Copyright (c) 2024 Nathan Bubna; Licensed MIT */
|
|
206174
205945
|
//#endregion
|
|
206175
|
-
//#region ../../node_modules/.pnpm/@xyo-network+bios@8.0.
|
|
206176
|
-
var import_store2 = /* @__PURE__ */ __toESM(
|
|
205946
|
+
//#region ../../node_modules/.pnpm/@xyo-network+bios@8.0.0_8080cbbccbdad5605e0a67d44ed500ba/node_modules/@xyo-network/bios/dist/neutral/index.mjs
|
|
205947
|
+
var import_store2 = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
205948
|
+
(function(window, define) {
|
|
205949
|
+
var _ = {
|
|
205950
|
+
version: "2.14.4",
|
|
205951
|
+
areas: {},
|
|
205952
|
+
apis: {},
|
|
205953
|
+
nsdelim: ".",
|
|
205954
|
+
inherit: function(api, o) {
|
|
205955
|
+
for (var p in api) if (!o.hasOwnProperty(p)) Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(api, p));
|
|
205956
|
+
return o;
|
|
205957
|
+
},
|
|
205958
|
+
stringify: function(d, fn) {
|
|
205959
|
+
return d === void 0 || typeof d === "function" ? d + "" : JSON.stringify(d, fn || _.replace);
|
|
205960
|
+
},
|
|
205961
|
+
parse: function(s, fn) {
|
|
205962
|
+
try {
|
|
205963
|
+
return JSON.parse(s, fn || _.revive);
|
|
205964
|
+
} catch (e) {
|
|
205965
|
+
return s;
|
|
205966
|
+
}
|
|
205967
|
+
},
|
|
205968
|
+
fn: function(name, fn) {
|
|
205969
|
+
_.storeAPI[name] = fn;
|
|
205970
|
+
for (var api in _.apis) _.apis[api][name] = fn;
|
|
205971
|
+
},
|
|
205972
|
+
get: function(area, key) {
|
|
205973
|
+
return area.getItem(key);
|
|
205974
|
+
},
|
|
205975
|
+
set: function(area, key, string) {
|
|
205976
|
+
area.setItem(key, string);
|
|
205977
|
+
},
|
|
205978
|
+
remove: function(area, key) {
|
|
205979
|
+
area.removeItem(key);
|
|
205980
|
+
},
|
|
205981
|
+
key: function(area, i) {
|
|
205982
|
+
return area.key(i);
|
|
205983
|
+
},
|
|
205984
|
+
length: function(area) {
|
|
205985
|
+
return area.length;
|
|
205986
|
+
},
|
|
205987
|
+
clear: function(area) {
|
|
205988
|
+
area.clear();
|
|
205989
|
+
},
|
|
205990
|
+
Store: function(id, area, namespace) {
|
|
205991
|
+
var store = _.inherit(_.storeAPI, function(key, data, overwrite) {
|
|
205992
|
+
if (arguments.length === 0) return store.getAll();
|
|
205993
|
+
if (typeof data === "function") return store.transact(key, data, overwrite);
|
|
205994
|
+
if (data !== void 0) return store.set(key, data, overwrite);
|
|
205995
|
+
if (typeof key === "string" || typeof key === "number") return store.get(key);
|
|
205996
|
+
if (typeof key === "function") return store.each(key);
|
|
205997
|
+
if (!key) return store.clear();
|
|
205998
|
+
return store.setAll(key, data);
|
|
205999
|
+
});
|
|
206000
|
+
store._id = id;
|
|
206001
|
+
try {
|
|
206002
|
+
var testKey = "__store2_test";
|
|
206003
|
+
area.setItem(testKey, "ok");
|
|
206004
|
+
store._area = area;
|
|
206005
|
+
area.removeItem(testKey);
|
|
206006
|
+
} catch (e) {
|
|
206007
|
+
store._area = _.storage("fake");
|
|
206008
|
+
}
|
|
206009
|
+
store._ns = namespace || "";
|
|
206010
|
+
if (!_.areas[id]) _.areas[id] = store._area;
|
|
206011
|
+
if (!_.apis[store._ns + store._id]) _.apis[store._ns + store._id] = store;
|
|
206012
|
+
return store;
|
|
206013
|
+
},
|
|
206014
|
+
storeAPI: {
|
|
206015
|
+
area: function(id, area) {
|
|
206016
|
+
var store = this[id];
|
|
206017
|
+
if (!store || !store.area) {
|
|
206018
|
+
store = _.Store(id, area, this._ns);
|
|
206019
|
+
if (!this[id]) this[id] = store;
|
|
206020
|
+
}
|
|
206021
|
+
return store;
|
|
206022
|
+
},
|
|
206023
|
+
namespace: function(namespace, singleArea, delim) {
|
|
206024
|
+
delim = delim || this._delim || _.nsdelim;
|
|
206025
|
+
if (!namespace) return this._ns ? this._ns.substring(0, this._ns.length - delim.length) : "";
|
|
206026
|
+
var ns = namespace, store = this[ns];
|
|
206027
|
+
if (!store || !store.namespace) {
|
|
206028
|
+
store = _.Store(this._id, this._area, this._ns + ns + delim);
|
|
206029
|
+
store._delim = delim;
|
|
206030
|
+
if (!this[ns]) this[ns] = store;
|
|
206031
|
+
if (!singleArea) for (var name in _.areas) store.area(name, _.areas[name]);
|
|
206032
|
+
}
|
|
206033
|
+
return store;
|
|
206034
|
+
},
|
|
206035
|
+
isFake: function(force) {
|
|
206036
|
+
if (force) {
|
|
206037
|
+
this._real = this._area;
|
|
206038
|
+
this._area = _.storage("fake");
|
|
206039
|
+
} else if (force === false) this._area = this._real || this._area;
|
|
206040
|
+
return this._area.name === "fake";
|
|
206041
|
+
},
|
|
206042
|
+
toString: function() {
|
|
206043
|
+
return "store" + (this._ns ? "." + this.namespace() : "") + "[" + this._id + "]";
|
|
206044
|
+
},
|
|
206045
|
+
has: function(key) {
|
|
206046
|
+
if (this._area.has) return this._area.has(this._in(key));
|
|
206047
|
+
return !!(this._in(key) in this._area);
|
|
206048
|
+
},
|
|
206049
|
+
size: function() {
|
|
206050
|
+
return this.keys().length;
|
|
206051
|
+
},
|
|
206052
|
+
each: function(fn, fill) {
|
|
206053
|
+
for (var i = 0, m = _.length(this._area); i < m; i++) {
|
|
206054
|
+
var key = this._out(_.key(this._area, i));
|
|
206055
|
+
if (key !== void 0) {
|
|
206056
|
+
if (fn.call(this, key, this.get(key), fill) === false) break;
|
|
206057
|
+
}
|
|
206058
|
+
if (m > _.length(this._area)) {
|
|
206059
|
+
m--;
|
|
206060
|
+
i--;
|
|
206061
|
+
}
|
|
206062
|
+
}
|
|
206063
|
+
return fill || this;
|
|
206064
|
+
},
|
|
206065
|
+
keys: function(fillList) {
|
|
206066
|
+
return this.each(function(k, v, list) {
|
|
206067
|
+
list.push(k);
|
|
206068
|
+
}, fillList || []);
|
|
206069
|
+
},
|
|
206070
|
+
get: function(key, alt) {
|
|
206071
|
+
var s = _.get(this._area, this._in(key)), fn;
|
|
206072
|
+
if (typeof alt === "function") {
|
|
206073
|
+
fn = alt;
|
|
206074
|
+
alt = null;
|
|
206075
|
+
}
|
|
206076
|
+
return s !== null ? _.parse(s, fn) : alt != null ? alt : s;
|
|
206077
|
+
},
|
|
206078
|
+
getAll: function(fillObj) {
|
|
206079
|
+
return this.each(function(k, v, all) {
|
|
206080
|
+
all[k] = v;
|
|
206081
|
+
}, fillObj || {});
|
|
206082
|
+
},
|
|
206083
|
+
transact: function(key, fn, alt) {
|
|
206084
|
+
var val = this.get(key, alt), ret = fn(val);
|
|
206085
|
+
this.set(key, ret === void 0 ? val : ret);
|
|
206086
|
+
return this;
|
|
206087
|
+
},
|
|
206088
|
+
set: function(key, data, overwrite) {
|
|
206089
|
+
var d = this.get(key), replacer;
|
|
206090
|
+
if (d != null && overwrite === false) return data;
|
|
206091
|
+
if (typeof overwrite === "function") {
|
|
206092
|
+
replacer = overwrite;
|
|
206093
|
+
overwrite = void 0;
|
|
206094
|
+
}
|
|
206095
|
+
return _.set(this._area, this._in(key), _.stringify(data, replacer), overwrite) || d;
|
|
206096
|
+
},
|
|
206097
|
+
setAll: function(data, overwrite) {
|
|
206098
|
+
var changed, val;
|
|
206099
|
+
for (var key in data) {
|
|
206100
|
+
val = data[key];
|
|
206101
|
+
if (this.set(key, val, overwrite) !== val) changed = true;
|
|
206102
|
+
}
|
|
206103
|
+
return changed;
|
|
206104
|
+
},
|
|
206105
|
+
add: function(key, data, replacer) {
|
|
206106
|
+
var d = this.get(key);
|
|
206107
|
+
if (d instanceof Array) data = d.concat(data);
|
|
206108
|
+
else if (d !== null) {
|
|
206109
|
+
var type = typeof d;
|
|
206110
|
+
if (type === typeof data && type === "object") {
|
|
206111
|
+
for (var k in data) d[k] = data[k];
|
|
206112
|
+
data = d;
|
|
206113
|
+
} else data = d + data;
|
|
206114
|
+
}
|
|
206115
|
+
_.set(this._area, this._in(key), _.stringify(data, replacer));
|
|
206116
|
+
return data;
|
|
206117
|
+
},
|
|
206118
|
+
remove: function(key, alt) {
|
|
206119
|
+
var d = this.get(key, alt);
|
|
206120
|
+
_.remove(this._area, this._in(key));
|
|
206121
|
+
return d;
|
|
206122
|
+
},
|
|
206123
|
+
clear: function() {
|
|
206124
|
+
if (!this._ns) _.clear(this._area);
|
|
206125
|
+
else this.each(function(k) {
|
|
206126
|
+
_.remove(this._area, this._in(k));
|
|
206127
|
+
}, 1);
|
|
206128
|
+
return this;
|
|
206129
|
+
},
|
|
206130
|
+
clearAll: function() {
|
|
206131
|
+
var area = this._area;
|
|
206132
|
+
for (var id in _.areas) if (_.areas.hasOwnProperty(id)) {
|
|
206133
|
+
this._area = _.areas[id];
|
|
206134
|
+
this.clear();
|
|
206135
|
+
}
|
|
206136
|
+
this._area = area;
|
|
206137
|
+
return this;
|
|
206138
|
+
},
|
|
206139
|
+
_in: function(k) {
|
|
206140
|
+
if (typeof k !== "string") k = _.stringify(k);
|
|
206141
|
+
return this._ns ? this._ns + k : k;
|
|
206142
|
+
},
|
|
206143
|
+
_out: function(k) {
|
|
206144
|
+
return this._ns ? k && k.indexOf(this._ns) === 0 ? k.substring(this._ns.length) : void 0 : k;
|
|
206145
|
+
}
|
|
206146
|
+
},
|
|
206147
|
+
storage: function(name) {
|
|
206148
|
+
return _.inherit(_.storageAPI, {
|
|
206149
|
+
items: {},
|
|
206150
|
+
name
|
|
206151
|
+
});
|
|
206152
|
+
},
|
|
206153
|
+
storageAPI: {
|
|
206154
|
+
length: 0,
|
|
206155
|
+
has: function(k) {
|
|
206156
|
+
return this.items.hasOwnProperty(k);
|
|
206157
|
+
},
|
|
206158
|
+
key: function(i) {
|
|
206159
|
+
var c = 0;
|
|
206160
|
+
for (var k in this.items) if (this.has(k) && i === c++) return k;
|
|
206161
|
+
},
|
|
206162
|
+
setItem: function(k, v) {
|
|
206163
|
+
if (!this.has(k)) this.length++;
|
|
206164
|
+
this.items[k] = v;
|
|
206165
|
+
},
|
|
206166
|
+
removeItem: function(k) {
|
|
206167
|
+
if (this.has(k)) {
|
|
206168
|
+
delete this.items[k];
|
|
206169
|
+
this.length--;
|
|
206170
|
+
}
|
|
206171
|
+
},
|
|
206172
|
+
getItem: function(k) {
|
|
206173
|
+
return this.has(k) ? this.items[k] : null;
|
|
206174
|
+
},
|
|
206175
|
+
clear: function() {
|
|
206176
|
+
for (var k in this.items) this.removeItem(k);
|
|
206177
|
+
}
|
|
206178
|
+
}
|
|
206179
|
+
};
|
|
206180
|
+
var store = _.Store("local", (function() {
|
|
206181
|
+
try {
|
|
206182
|
+
return localStorage;
|
|
206183
|
+
} catch (e) {}
|
|
206184
|
+
})());
|
|
206185
|
+
store.local = store;
|
|
206186
|
+
store._ = _;
|
|
206187
|
+
store.area("session", (function() {
|
|
206188
|
+
try {
|
|
206189
|
+
return sessionStorage;
|
|
206190
|
+
} catch (e) {}
|
|
206191
|
+
})());
|
|
206192
|
+
store.area("page", _.storage("page"));
|
|
206193
|
+
if (typeof define === "function" && define.amd !== void 0) define("store2", [], function() {
|
|
206194
|
+
return store;
|
|
206195
|
+
});
|
|
206196
|
+
else if (typeof module !== "undefined" && module.exports) module.exports = store;
|
|
206197
|
+
else {
|
|
206198
|
+
if (window.store) _.conflict = window.store;
|
|
206199
|
+
window.store = store;
|
|
206200
|
+
}
|
|
206201
|
+
})(exports, exports && exports.define);
|
|
206202
|
+
})))(), 1);
|
|
206177
206203
|
var genericBoot = async (getHardwareAbstractionLayer2) => {
|
|
206178
206204
|
const { seedPhraseStore } = await getHardwareAbstractionLayer2();
|
|
206179
206205
|
for (const walletName of ["os", "user"]) await findOrCreateWallet(seedPhraseStore, walletName);
|
|
@@ -212581,7 +212607,7 @@ function defaultScrapePortForActors(actors) {
|
|
|
212581
212607
|
var configuration;
|
|
212582
212608
|
var skipInsecureConfirm = false;
|
|
212583
212609
|
var dumpProviders = false;
|
|
212584
|
-
var version = isDefined("2.0.
|
|
212610
|
+
var version = isDefined("2.0.4") ? "2.0.4" : "unknown";
|
|
212585
212611
|
function getConfiguration() {
|
|
212586
212612
|
return configuration;
|
|
212587
212613
|
}
|