@ariestools/aries-chain-serve 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/chainServer.mjs +36 -37
- package/package.json +3 -3
package/dist/bin/chainServer.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
18
18
|
return target;
|
|
19
19
|
};
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
21
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/util.js
|
|
22
22
|
function getEnumValues(entries) {
|
|
23
23
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
24
24
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -574,7 +574,7 @@ function constantCatch(value) {
|
|
|
574
574
|
return fn;
|
|
575
575
|
}
|
|
576
576
|
//#endregion
|
|
577
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
577
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/core.js
|
|
578
578
|
var _a$1;
|
|
579
579
|
const _zodDesc = {
|
|
580
580
|
value: void 0,
|
|
@@ -681,7 +681,7 @@ function config(newConfig) {
|
|
|
681
681
|
return globalConfig;
|
|
682
682
|
}
|
|
683
683
|
//#endregion
|
|
684
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
684
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/errors.js
|
|
685
685
|
function _getMessage() {
|
|
686
686
|
const internals = this._zod;
|
|
687
687
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -797,7 +797,7 @@ function formatError$1(error, mapper = (issue) => issue.message) {
|
|
|
797
797
|
return fieldErrors;
|
|
798
798
|
}
|
|
799
799
|
//#endregion
|
|
800
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
800
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/parse.js
|
|
801
801
|
function finalizeParams(callee, params) {
|
|
802
802
|
return {
|
|
803
803
|
callee: params?.callee ?? callee,
|
|
@@ -1004,7 +1004,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1004
1004
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1005
1005
|
};
|
|
1006
1006
|
//#endregion
|
|
1007
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1007
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/regexes.js
|
|
1008
1008
|
var regexes_exports = /* @__PURE__ */ __exportAll({
|
|
1009
1009
|
anyString: () => anyString,
|
|
1010
1010
|
base64: () => base64$1,
|
|
@@ -1191,7 +1191,7 @@ const sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1191
1191
|
const sha512_base64 = /*@__PURE__*/ fixedBase64(86, "==");
|
|
1192
1192
|
const sha512_base64url = /*@__PURE__*/ fixedBase64url(86);
|
|
1193
1193
|
//#endregion
|
|
1194
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1194
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/checks.js
|
|
1195
1195
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
1196
1196
|
var _a;
|
|
1197
1197
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1607,7 +1607,7 @@ const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (ins
|
|
|
1607
1607
|
};
|
|
1608
1608
|
});
|
|
1609
1609
|
//#endregion
|
|
1610
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1610
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/doc.js
|
|
1611
1611
|
var Doc = class {
|
|
1612
1612
|
constructor(args = [], closed = {}) {
|
|
1613
1613
|
this.content = [];
|
|
@@ -1641,14 +1641,14 @@ var Doc = class {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
};
|
|
1643
1643
|
//#endregion
|
|
1644
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1644
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/versions.js
|
|
1645
1645
|
const version = {
|
|
1646
1646
|
major: 4,
|
|
1647
1647
|
minor: 6,
|
|
1648
|
-
patch:
|
|
1648
|
+
patch: 2
|
|
1649
1649
|
};
|
|
1650
1650
|
//#endregion
|
|
1651
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1651
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/schemas.js
|
|
1652
1652
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1653
1653
|
var _a;
|
|
1654
1654
|
inst ?? (inst = {});
|
|
@@ -2379,7 +2379,7 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
|
2379
2379
|
return;
|
|
2380
2380
|
}
|
|
2381
2381
|
if (result.value === void 0) {
|
|
2382
|
-
if (isPresent) final.value[key] = void 0;
|
|
2382
|
+
if (isPresent || optin === "defaulted" && !isOptionalOut) final.value[key] = void 0;
|
|
2383
2383
|
} else final.value[key] = result.value;
|
|
2384
2384
|
}
|
|
2385
2385
|
const NO_SYMBOL_KEYS = [];
|
|
@@ -2588,19 +2588,18 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
2590
2590
|
`);
|
|
2591
|
-
else
|
|
2591
|
+
else {
|
|
2592
|
+
doc.write(`
|
|
2592
2593
|
if (${id}.issues.length) {${prefixStr(id, k)}
|
|
2593
2594
|
}
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
}
|
|
2599
|
-
} else {
|
|
2595
|
+
`);
|
|
2596
|
+
if (optin === "defaulted") doc.write(`newResult[${k}] = ${id}.value;`);
|
|
2597
|
+
else doc.write(`
|
|
2598
|
+
if (${id}.value !== undefined || ${isPresent}) {
|
|
2600
2599
|
newResult[${k}] = ${id}.value;
|
|
2601
2600
|
}
|
|
2602
|
-
|
|
2603
2601
|
`);
|
|
2602
|
+
}
|
|
2604
2603
|
}
|
|
2605
2604
|
doc.write(`payload.value = newResult;`);
|
|
2606
2605
|
doc.write(`return payload;`);
|
|
@@ -3834,7 +3833,7 @@ const $ZodProperties = /*@__PURE__*/ $constructor("$ZodProperties", (inst, def)
|
|
|
3834
3833
|
yield this;
|
|
3835
3834
|
} });
|
|
3836
3835
|
//#endregion
|
|
3837
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
3836
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/memoizer.js
|
|
3838
3837
|
var $ZodCyclicError = class extends Error {
|
|
3839
3838
|
constructor() {
|
|
3840
3839
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -4090,7 +4089,7 @@ function isBackEdge(ctx, value) {
|
|
|
4090
4089
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
4091
4090
|
}
|
|
4092
4091
|
//#endregion
|
|
4093
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
4092
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/locales/en.js
|
|
4094
4093
|
const error = () => {
|
|
4095
4094
|
const Sizable = {
|
|
4096
4095
|
string: {
|
|
@@ -4197,7 +4196,7 @@ function en_default() {
|
|
|
4197
4196
|
return { localeError: error() };
|
|
4198
4197
|
}
|
|
4199
4198
|
//#endregion
|
|
4200
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
4199
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/registries.js
|
|
4201
4200
|
var _a;
|
|
4202
4201
|
var $ZodRegistry = class {
|
|
4203
4202
|
constructor() {
|
|
@@ -4244,7 +4243,7 @@ function registry() {
|
|
|
4244
4243
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
4245
4244
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
4246
4245
|
//#endregion
|
|
4247
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
4246
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/api.js
|
|
4248
4247
|
// @__NO_SIDE_EFFECTS__
|
|
4249
4248
|
function _string(Class, params) {
|
|
4250
4249
|
return new Class({
|
|
@@ -5080,7 +5079,7 @@ function _stringFormat(Class, format, fnOrRegex, _params = {}) {
|
|
|
5080
5079
|
return new Class(def);
|
|
5081
5080
|
}
|
|
5082
5081
|
//#endregion
|
|
5083
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
5082
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/to-json-schema.js
|
|
5084
5083
|
function assignProps(target, ...sources) {
|
|
5085
5084
|
for (const source of sources) for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProp(target, key, source[key]);
|
|
5086
5085
|
return target;
|
|
@@ -5524,7 +5523,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
5524
5523
|
return finalize(ctx, schema);
|
|
5525
5524
|
};
|
|
5526
5525
|
//#endregion
|
|
5527
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
5526
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/json-schema-processors.js
|
|
5528
5527
|
const narrowMin = (agg, key, value) => {
|
|
5529
5528
|
if (agg[key] === void 0 || value > agg[key]) agg[key] = value;
|
|
5530
5529
|
};
|
|
@@ -6094,7 +6093,7 @@ const lazyProcessor = (schema, ctx, _json, params) => {
|
|
|
6094
6093
|
seen.ref = innerType;
|
|
6095
6094
|
};
|
|
6096
6095
|
//#endregion
|
|
6097
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
6096
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/checks.js
|
|
6098
6097
|
var checks_exports = /* @__PURE__ */ __exportAll({
|
|
6099
6098
|
endsWith: () => _endsWith,
|
|
6100
6099
|
gt: () => _gt,
|
|
@@ -6127,7 +6126,7 @@ var checks_exports = /* @__PURE__ */ __exportAll({
|
|
|
6127
6126
|
uppercase: () => _uppercase
|
|
6128
6127
|
});
|
|
6129
6128
|
//#endregion
|
|
6130
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
6129
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/errors.js
|
|
6131
6130
|
const _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
6132
6131
|
function _lazyMethod(proto, key, make) {
|
|
6133
6132
|
Object.defineProperty(proto, key, {
|
|
@@ -6177,7 +6176,7 @@ const initializer = (inst, issues) => {
|
|
|
6177
6176
|
};
|
|
6178
6177
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, void 0, { Parent: Error });
|
|
6179
6178
|
//#endregion
|
|
6180
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
6179
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/parse.js
|
|
6181
6180
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
6182
6181
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
6183
6182
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -6191,7 +6190,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
6191
6190
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
6192
6191
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
6193
6192
|
//#endregion
|
|
6194
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
6193
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/schemas.js
|
|
6195
6194
|
var schemas_exports = /* @__PURE__ */ __exportAll({
|
|
6196
6195
|
ZodAny: () => ZodAny,
|
|
6197
6196
|
ZodArray: () => ZodArray,
|
|
@@ -7815,7 +7814,7 @@ function preprocess(fn, schema) {
|
|
|
7815
7814
|
});
|
|
7816
7815
|
}
|
|
7817
7816
|
//#endregion
|
|
7818
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
7817
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/compat.js
|
|
7819
7818
|
/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
|
|
7820
7819
|
var ZodFirstPartyTypeKind;
|
|
7821
7820
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
@@ -7824,7 +7823,7 @@ ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
|
7824
7823
|
...checks_exports
|
|
7825
7824
|
});
|
|
7826
7825
|
//#endregion
|
|
7827
|
-
//#region ../../node_modules/.pnpm/@ariestools+provider-model@1.3.0_zod@4.6.
|
|
7826
|
+
//#region ../../node_modules/.pnpm/@ariestools+provider-model@1.3.0_zod@4.6.2/node_modules/@ariestools/provider-model/dist/neutral/index.mjs
|
|
7828
7827
|
var ConnectionConfigZod = looseObject({ type: string$1().min(1) });
|
|
7829
7828
|
var ConnectionsConfigZod = record$1(string$1(), ConnectionConfigZod).default({});
|
|
7830
7829
|
strictObject({ dependencies: array$1(string$1().min(1)).default([]) });
|
|
@@ -7838,7 +7837,7 @@ var ProviderConfigFieldsZod = object({
|
|
|
7838
7837
|
providerBindings: record$1(string$1(), ProviderBindingConfigZod).default({})
|
|
7839
7838
|
});
|
|
7840
7839
|
//#endregion
|
|
7841
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
7840
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/mini/schemas.js
|
|
7842
7841
|
const ZodMiniType = /*@__PURE__*/ $constructor("ZodMiniType", (inst, def) => {
|
|
7843
7842
|
if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType.");
|
|
7844
7843
|
$ZodType.init(inst, def);
|
|
@@ -9519,7 +9518,7 @@ function spanDurationInMillis$1(span2) {
|
|
|
9519
9518
|
}
|
|
9520
9519
|
});
|
|
9521
9520
|
//#endregion
|
|
9522
|
-
//#region ../../node_modules/.pnpm/@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.
|
|
9521
|
+
//#region ../../node_modules/.pnpm/@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.2/node_modules/@ariestools/sdk/dist/node/index.mjs
|
|
9523
9522
|
var __defProp$1 = Object.defineProperty;
|
|
9524
9523
|
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
9525
9524
|
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
@@ -11201,7 +11200,7 @@ function spanDurationInMillis(span2) {
|
|
|
11201
11200
|
}
|
|
11202
11201
|
});
|
|
11203
11202
|
//#endregion
|
|
11204
|
-
//#region ../../node_modules/.pnpm/@ariestools+actor@1.3.0_@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.
|
|
11203
|
+
//#region ../../node_modules/.pnpm/@ariestools+actor@1.3.0_@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.2__@opentelemetry+api@1.9.1_zod@4.6.2/node_modules/@ariestools/actor/dist/neutral/index.mjs
|
|
11205
11204
|
var __defProp = Object.defineProperty;
|
|
11206
11205
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11207
11206
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -11454,7 +11453,7 @@ ${err.stack}` : "";
|
|
|
11454
11453
|
return String(err);
|
|
11455
11454
|
}
|
|
11456
11455
|
//#endregion
|
|
11457
|
-
//#region ../../node_modules/.pnpm/@ariestools+actor-system@1.3.0_@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.
|
|
11456
|
+
//#region ../../node_modules/.pnpm/@ariestools+actor-system@1.3.0_@ariestools+sdk@8.3.0_@opentelemetry+api@1.9.1_zod@4.6.2_6fc20aaf3429d662cc94765bda4c28c6/node_modules/@ariestools/actor-system/dist/neutral/index.mjs
|
|
11458
11457
|
var ActorSystemSelectionZod = strictObject({
|
|
11459
11458
|
config: unknown().optional(),
|
|
11460
11459
|
host: string$1().min(1).optional(),
|
|
@@ -11475,7 +11474,7 @@ var ActorSystemSelectionZod = strictObject({
|
|
|
11475
11474
|
});
|
|
11476
11475
|
ProviderConfigFieldsZod.extend({ actors: array$1(ActorSystemSelectionZod).default([]) });
|
|
11477
11476
|
//#endregion
|
|
11478
|
-
//#region ../../node_modules/.pnpm/@ariestools+cli-kit@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.3.0_@
|
|
11477
|
+
//#region ../../node_modules/.pnpm/@ariestools+cli-kit@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.3.0_@opentele_b27e97704f6c21835803309fe3951ddb/node_modules/@ariestools/cli-kit/dist/node/index.mjs
|
|
11479
11478
|
async function runServiceUntilInterrupt(host, stop) {
|
|
11480
11479
|
await new Promise((resolve, reject) => {
|
|
11481
11480
|
const dispose = host.onInterrupt(async () => {
|
|
@@ -11490,7 +11489,7 @@ async function runServiceUntilInterrupt(host, stop) {
|
|
|
11490
11489
|
});
|
|
11491
11490
|
}
|
|
11492
11491
|
//#endregion
|
|
11493
|
-
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-node@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.3.0_@
|
|
11492
|
+
//#region ../../node_modules/.pnpm/@ariestools+cli-kit-node@1.2.3_@ariestools+actor-model@1.3.0_@ariestools+sdk@8.3.0_@ope_d237c79c83ad8f127ba774e4cf8e1673/node_modules/@ariestools/cli-kit-node/dist/node/index.mjs
|
|
11494
11493
|
function resolveEnvironmentValue(key, layers) {
|
|
11495
11494
|
for (const layer of layers) {
|
|
11496
11495
|
if (!Object.hasOwn(layer, key)) continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ariestools/aries-chain-serve",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Aries chain REST server: serves the XL1 published-chain S3 layout from one origin with /blocks, /state, /indexes subfolders",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ariestools",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@ariestools/cli-kit-node": "~1.2.3",
|
|
45
45
|
"@ariestools/toolchain": "~10.0.6",
|
|
46
46
|
"@ariestools/tsconfig": "~10.0.6",
|
|
47
|
-
"@aws-sdk/client-s3": "~3.
|
|
47
|
+
"@aws-sdk/client-s3": "~3.1131.0",
|
|
48
48
|
"@types/node": "~26.5.1",
|
|
49
49
|
"@types/s3rver": "~3.7.4",
|
|
50
50
|
"rolldown": "~1.2.8",
|
|
51
51
|
"typescript": "~6.0.3",
|
|
52
52
|
"vite": "~8.3.0",
|
|
53
53
|
"vitest": "~5.0.0",
|
|
54
|
-
"zod": "~4.6.
|
|
54
|
+
"zod": "~4.6.2"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=18.17.1"
|