@xyo-network/xl1-cli 4.3.2 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli-min.mjs CHANGED
@@ -61294,7 +61294,7 @@ config$1(en_default());
61294
61294
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/index.js
61295
61295
  var zod_default = external_exports;
61296
61296
  //#endregion
61297
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._dc212261f736ea41231fe0a532731238/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-model.mjs
61297
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._31e8a08ce1be7e62f76e32bd26471e62/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-model.mjs
61298
61298
  var ExchangeOutcomeSchema = asSchema("network.xyo.exchange.outcome", true);
61299
61299
  var isExchangeOutcome = isPayloadOfZodType(/* @__PURE__ */ object$4({
61300
61300
  /** Hash of the ExchangeTerms payload this outcome settles */
@@ -61994,7 +61994,7 @@ var TransactionRejectionSchema = asSchema("network.xyo.transaction.rejection", t
61994
61994
  var isTransactionRejection = isPayloadOfSchemaType(TransactionRejectionSchema);
61995
61995
  AsObjectFactory.create(isTransactionRejection);
61996
61996
  //#endregion
61997
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._dc212261f736ea41231fe0a532731238/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-lib.mjs
61997
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._31e8a08ce1be7e62f76e32bd26471e62/node_modules/@xyo-network/xl1-protocol/dist/neutral/protocol-lib.mjs
61998
61998
  function derivedReceiveAddress(address, scope) {
61999
61999
  return toAddress(keccak256(new TextEncoder().encode(isDefined$1(scope) ? `${scope}|${address}` : address)).slice(-40), { prefix: false });
62000
62000
  }
@@ -62210,7 +62210,7 @@ var TransactionValidationViewerMoniker = "TransactionValidationViewer";
62210
62210
  var WindowedBlockViewerMoniker = "WindowedBlockViewer";
62211
62211
  var XyoViewerMoniker = "XyoViewer";
62212
62212
  //#endregion
62213
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._dc212261f736ea41231fe0a532731238/node_modules/@xyo-network/xl1-protocol/dist/neutral/network-model.mjs
62213
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._31e8a08ce1be7e62f76e32bd26471e62/node_modules/@xyo-network/xl1-protocol/dist/neutral/network-model.mjs
62214
62214
  var local_default = "<svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\"><g style=\"opacity:.5;\"><path d=\"M154.71,97c.46,2.59,2.5,4.62,5.1,5.05l14.05,2.34,31.71-46.17c4.57-6.65-3.62-14.62-10.14-9.87l-43.68,31.83,2.97,16.82Z\" style=\"fill:#f47f00;\"/><path d=\"M173.86,151.62l-14.05,2.34c-2.6.43-4.64,2.45-5.1,5.05l-2.97,16.82,43.68,31.83c6.52,4.75,14.71-3.21,10.14-9.87l-31.71-46.17Z\" style=\"fill:#f47f00;\"/><path d=\"M82.14,104.38l14.05-2.34c2.6-.43,4.64-2.45,5.1-5.05l2.97-16.82-43.68-31.83c-6.52-4.75-14.71,3.21-10.14,9.87l31.71,46.17Z\" style=\"fill:#f47f00;\"/><path d=\"M101.29,159c-.46-2.59-2.5-4.62-5.1-5.05l-14.05-2.34-31.71,46.17c-4.57,6.65,3.62,14.62,10.14,9.87l43.68-31.83-2.97-16.82Z\" style=\"fill:#f47f00;\"/></g><path d=\"M107.33,104l15.94-90.32c.93-5.3,8.53-5.3,9.47,0l15.94,90.32c.35,2.01,1.94,3.57,3.95,3.91l92.24,15.35c5.36.89,5.36,8.59,0,9.49l-92.24,15.35c-2.01.33-3.59,1.9-3.95,3.91l-15.94,90.32c-.93,5.3-8.53,5.3-9.47,0l-15.94-90.32c-.35-2.01-1.94-3.57-3.95-3.91l-92.24-15.35c-5.36-.89-5.36-8.59,0-9.49l92.24-15.35c2.01-.33,3.59-1.9,3.95-3.91Z\" style=\"fill:#f47f00;\"/></svg>";
62215
62215
  var mainnet_default = "<svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\"><path d=\"M154.71,97c.46,2.59,2.5,4.62,5.1,5.05l14.05,2.34,31.71-46.17c4.57-6.65-3.62-14.62-10.14-9.87l-43.68,31.83,2.97,16.82Z\" style=\"fill:#8d8fc6;\"/><path d=\"M173.86,151.62l-14.05,2.34c-2.6.43-4.64,2.45-5.1,5.05l-2.97,16.82,43.68,31.83c6.52,4.75,14.71-3.21,10.14-9.87l-31.71-46.17Z\" style=\"fill:#eb407a;\"/><path d=\"M82.14,104.38l14.05-2.34c2.6-.43,4.64-2.45,5.1-5.05l2.97-16.82-43.68-31.83c-6.52-4.75-14.71,3.21-10.14,9.87l31.71,46.17Z\" style=\"fill:#579fd6;\"/><path d=\"M101.29,159c-.46-2.59-2.5-4.62-5.1-5.05l-14.05-2.34-31.71,46.17c-4.57,6.65,3.62,14.62,10.14,9.87l43.68-31.83-2.97-16.82Z\" style=\"fill:#f27046;\"/><path d=\"M107.33,104l15.94-90.32c.93-5.3,8.53-5.3,9.47,0l15.94,90.32c.35,2.01,1.94,3.57,3.95,3.91l92.24,15.35c5.36.89,5.36,8.59,0,9.49l-92.24,15.35c-2.01.33-3.59,1.9-3.95,3.91l-15.94,90.32c-.93,5.3-8.53,5.3-9.47,0l-15.94-90.32c-.35-2.01-1.94-3.57-3.95-3.91l-92.24-15.35c-5.36-.89-5.36-8.59,0-9.49l92.24-15.35c2.01-.33,3.59-1.9,3.95-3.91Z\" style=\"fill:#572aff;\"/></svg>";
62216
62216
  var testnet_default = "<svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\"><g style=\"opacity:.5;\"><path d=\"M154.71,97c.46,2.59,2.5,4.62,5.1,5.05l14.05,2.34,31.71-46.17c4.57-6.65-3.62-14.62-10.14-9.87l-43.68,31.83,2.97,16.82Z\" style=\"fill:#579fd6;\"/><path d=\"M173.86,151.62l-14.05,2.34c-2.6.43-4.64,2.45-5.1,5.05l-2.97,16.82,43.68,31.83c6.52,4.75,14.71-3.21,10.14-9.87l-31.71-46.17Z\" style=\"fill:#579fd6;\"/><path d=\"M82.14,104.38l14.05-2.34c2.6-.43,4.64-2.45,5.1-5.05l2.97-16.82-43.68-31.83c-6.52-4.75-14.71,3.21-10.14,9.87l31.71,46.17Z\" style=\"fill:#579fd6;\"/><path d=\"M101.29,159c-.46-2.59-2.5-4.62-5.1-5.05l-14.05-2.34-31.71,46.17c-4.57,6.65,3.62,14.62,10.14,9.87l43.68-31.83-2.97-16.82Z\" style=\"fill:#579fd6;\"/></g><path d=\"M107.33,104l15.94-90.32c.93-5.3,8.53-5.3,9.47,0l15.94,90.32c.35,2.01,1.94,3.57,3.95,3.91l92.24,15.35c5.36.89,5.36,8.59,0,9.49l-92.24,15.35c-2.01.33-3.59,1.9-3.95,3.91l-15.94,90.32c-.93,5.3-8.53,5.3-9.47,0l-15.94-90.32c-.35-2.01-1.94-3.57-3.95-3.91l-92.24-15.35c-5.36-.89-5.36-8.59,0-9.49l92.24-15.35c2.01-.33,3.59-1.9,3.95-3.91Z\" style=\"fill:#579fd6;\"/></svg>";
@@ -62469,7 +62469,7 @@ function evmEventIndexTailPath(address) {
62469
62469
  return `${root(address)}/tail.json`;
62470
62470
  }
62471
62471
  //#endregion
62472
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._dc212261f736ea41231fe0a532731238/node_modules/@xyo-network/xl1-protocol/dist/neutral/schema.mjs
62472
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._31e8a08ce1be7e62f76e32bd26471e62/node_modules/@xyo-network/xl1-protocol/dist/neutral/schema.mjs
62473
62473
  var asRequiredStrings = (required) => {
62474
62474
  if (typeof required === "string") return [required];
62475
62475
  if (!Array.isArray(required)) return [];
@@ -62705,7 +62705,7 @@ var TransferPayloadJsonSchema = {
62705
62705
  };
62706
62706
  var TransferPayloadJsonSchemaPayload = new PayloadBuilder({ schema: SchemaSchema }).fields({ definition: TransferPayloadJsonSchema }).build();
62707
62707
  //#endregion
62708
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._dc212261f736ea41231fe0a532731238/node_modules/@xyo-network/xl1-protocol/dist/neutral/validation.mjs
62708
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-protocol@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4._31e8a08ce1be7e62f76e32bd26471e62/node_modules/@xyo-network/xl1-protocol/dist/neutral/validation.mjs
62709
62709
  function maxTransactionFeeCost(tx) {
62710
62710
  const { base, gasLimit, priority } = tx.fees;
62711
62711
  return hexToBigInt(base) + hexToBigInt(priority) + hexToBigInt(gasLimit);
@@ -62951,7 +62951,7 @@ var validateTransaction = async (context, tx, additionalValidators) => {
62951
62951
  }
62952
62952
  };
62953
62953
  //#endregion
62954
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/driver-memory.mjs
62954
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/driver-memory.mjs
62955
62955
  var LruCacheMap = class {
62956
62956
  lruCache;
62957
62957
  constructor(options) {
@@ -67932,7 +67932,7 @@ var require_ExplorerSync = /* @__PURE__ */ __commonJSMin(((exports) => {
67932
67932
  exports.ExplorerSync = ExplorerSync;
67933
67933
  }));
67934
67934
  //#endregion
67935
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/node/protocol-sdk.mjs
67935
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/node/protocol-sdk.mjs
67936
67936
  var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
67937
67937
  Object.defineProperty(exports, "__esModule", { value: true });
67938
67938
  exports.defaultLoadersSync = exports.defaultLoaders = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = void 0;
@@ -69469,10 +69469,17 @@ function filterViewerBySurface(viewer, surface) {
69469
69469
  function descriptorConnectionTypes(descriptor) {
69470
69470
  return descriptor.connectionTypes ?? [];
69471
69471
  }
69472
- function descriptorMatchesConnectionType(descriptor, connectionType) {
69472
+ function assertValidDescriptorConnectionTypes(descriptor) {
69473
+ const types = descriptorConnectionTypes(descriptor);
69474
+ if (types.length === 0) throw new Error(`Provider descriptor "${descriptor.id}" must declare at least one connection type or "none"`);
69475
+ if (types.includes("none") && types.length !== 1) throw new Error(`Provider descriptor "${descriptor.id}" cannot combine "none" with connection-consuming types`);
69476
+ }
69477
+ function descriptorRequiresNoConnection(descriptor) {
69473
69478
  const types = descriptorConnectionTypes(descriptor);
69474
- if (types.length === 0) return true;
69475
- return types.includes(connectionType);
69479
+ return types.length === 1 && types[0] === "none";
69480
+ }
69481
+ function descriptorMatchesConnectionType(descriptor, connectionType) {
69482
+ return descriptorConnectionTypes(descriptor).includes(connectionType);
69476
69483
  }
69477
69484
  function providerFactoryDescription(factory, labels) {
69478
69485
  return `${factory.providerName}:${factory.defaultMoniker}:${JSON.stringify(labels ?? factory.labels ?? {})}`;
@@ -69720,7 +69727,7 @@ var AmbiguousProviderError = class extends Error {
69720
69727
  moniker;
69721
69728
  constructor(moniker, candidates) {
69722
69729
  const ids = candidates.map((descriptor) => descriptor.id);
69723
- super(`Multiple providers satisfy capability '${moniker}' for the requested connection: ${ids.join(", ")}`);
69730
+ super(`Multiple providers satisfy capability '${moniker}' for the requested binding: ${ids.join(", ")}`);
69724
69731
  this.name = "AmbiguousProviderError";
69725
69732
  this.moniker = moniker;
69726
69733
  this.candidates = ids;
@@ -69746,6 +69753,7 @@ var UnknownConnectionError = class extends Error {
69746
69753
  };
69747
69754
  function resolveProviders$1(needs, candidates, options = {}) {
69748
69755
  const rejected = [];
69756
+ for (const candidate of candidates) assertValidDescriptorConnectionTypes(candidate);
69749
69757
  const wanted = new Set(needs);
69750
69758
  const bindings = {};
69751
69759
  const selectedById = /* @__PURE__ */ new Map();
@@ -69765,7 +69773,8 @@ function expandBindingClosure(wanted, bindings, selectedById, candidatesByMonike
69765
69773
  }
69766
69774
  function bindMoniker(moniker, wanted, bindings, selectedById, candidatesByMoniker, rejected, allCandidates, options) {
69767
69775
  const group = candidatesByMoniker.get(moniker) ?? [];
69768
- const winner = bindsNoConnection(group) ? group[0] : selectByConnection(moniker, group, rejected, allCandidates, options);
69776
+ const connectionName = options.providerBindings?.[moniker]?.connection;
69777
+ const winner = connectionName === void 0 || connectionName === "" ? selectWithoutConnection(moniker, group) : selectByConnection(moniker, group, rejected, allCandidates, options);
69769
69778
  bindings[moniker] = winner.id;
69770
69779
  selectedById.set(winner.id, winner);
69771
69780
  let grew = false;
@@ -69775,8 +69784,11 @@ function bindMoniker(moniker, wanted, bindings, selectedById, candidatesByMonike
69775
69784
  }
69776
69785
  return grew;
69777
69786
  }
69778
- function bindsNoConnection(group) {
69779
- return group.length === 1 && descriptorConnectionTypes(group[0]).length === 0;
69787
+ function selectWithoutConnection(moniker, group) {
69788
+ const connectionless = group.filter(descriptorRequiresNoConnection);
69789
+ if (connectionless.length === 0) throw new UnboundProviderError(moniker);
69790
+ if (connectionless.length > 1) throw new AmbiguousProviderError(moniker, connectionless);
69791
+ return connectionless[0];
69780
69792
  }
69781
69793
  function selectByConnection(moniker, group, rejected, allCandidates, options) {
69782
69794
  const connectionName = connectionNameForMoniker2(moniker, options);
@@ -70728,7 +70740,7 @@ var SimpleAccountBalanceViewer = class extends AbstractCreatableProvider {
70728
70740
  }, this.context);
70729
70741
  }
70730
70742
  };
70731
- __publicField$21(SimpleAccountBalanceViewer, "connectionTypes", ["memory"]);
70743
+ __publicField$21(SimpleAccountBalanceViewer, "connectionTypes", ["none"]);
70732
70744
  __publicField$21(SimpleAccountBalanceViewer, "defaultMoniker", AccountBalanceViewerMoniker);
70733
70745
  __publicField$21(SimpleAccountBalanceViewer, "dependencies", [BlockViewerMoniker]);
70734
70746
  __publicField$21(SimpleAccountBalanceViewer, "monikers", [AccountBalanceViewerMoniker]);
@@ -70833,8 +70845,7 @@ var SimpleBlockViewer = class extends AbstractCreatableProvider {
70833
70845
  }
70834
70846
  async blocksByHash(hash, limit = 50) {
70835
70847
  return await this.spanAsync("blocksByHash", async () => {
70836
- assertEx$2(limit > 0, () => "limit must be greater than 0");
70837
- assertEx$2(limit <= 100, () => "limit must be less than 100");
70848
+ assertEx$2(Number.isSafeInteger(limit) && limit > 0, () => "limit must be a positive integer");
70838
70849
  const blocks = [];
70839
70850
  let current = await this.blockByHash(hash);
70840
70851
  while (current && blocks.length < limit) {
@@ -70851,8 +70862,7 @@ var SimpleBlockViewer = class extends AbstractCreatableProvider {
70851
70862
  }
70852
70863
  async blocksByNumber(blockNumber, limit = 50) {
70853
70864
  return await this.spanAsync("blocksByNumber", async () => {
70854
- assertEx$2(limit > 0, () => "limit must be greater than 0");
70855
- assertEx$2(limit <= 100, () => "limit must be less than 100");
70865
+ assertEx$2(Number.isSafeInteger(limit) && limit > 0, () => "limit must be a positive integer");
70856
70866
  const chainContext = await this.getChainContextRead();
70857
70867
  if (isUndefined$1(chainContext.head)) return [];
70858
70868
  const blocks = [];
@@ -70999,12 +71009,7 @@ var SimpleBlockRewardViewer = class extends AbstractCreatableProvider {
70999
71009
  return rewardFromBlockNumber(block);
71000
71010
  }
71001
71011
  };
71002
- __publicField$21(SimpleBlockRewardViewer, "connectionTypes", [
71003
- "lmdb",
71004
- "mongo",
71005
- "memory",
71006
- "rpc"
71007
- ]);
71012
+ __publicField$21(SimpleBlockRewardViewer, "connectionTypes", ["none"]);
71008
71013
  __publicField$21(SimpleBlockRewardViewer, "defaultMoniker", BlockRewardViewerMoniker);
71009
71014
  __publicField$21(SimpleBlockRewardViewer, "dependencies", []);
71010
71015
  __publicField$21(SimpleBlockRewardViewer, "monikers", [BlockRewardViewerMoniker]);
@@ -71195,11 +71200,7 @@ var SimpleChainContractViewer = class extends AbstractCreatableProvider {
71195
71200
  return this.params.stakingTokenAddress ?? "0000000000000000000000000000000000000000";
71196
71201
  }
71197
71202
  };
71198
- __publicField$21(SimpleChainContractViewer, "connectionTypes", [
71199
- "lmdb",
71200
- "mongo",
71201
- "memory"
71202
- ]);
71203
+ __publicField$21(SimpleChainContractViewer, "connectionTypes", ["none"]);
71203
71204
  __publicField$21(SimpleChainContractViewer, "defaultMoniker", ChainContractViewerMoniker);
71204
71205
  __publicField$21(SimpleChainContractViewer, "dependencies", [FinalizationViewerMoniker]);
71205
71206
  __publicField$21(SimpleChainContractViewer, "monikers", [ChainContractViewerMoniker]);
@@ -71330,7 +71331,7 @@ var SimpleDataLakeRunner = class extends AbstractSimpleDataLake {
71330
71331
  return hashPairs.map(([payload]) => payload);
71331
71332
  }
71332
71333
  };
71333
- __publicField$21(SimpleDataLakeRunner, "connectionTypes", []);
71334
+ __publicField$21(SimpleDataLakeRunner, "connectionTypes", ["none"]);
71334
71335
  __publicField$21(SimpleDataLakeRunner, "defaultMoniker", DataLakeRunnerMoniker);
71335
71336
  __publicField$21(SimpleDataLakeRunner, "dependencies", []);
71336
71337
  __publicField$21(SimpleDataLakeRunner, "monikers", [DataLakeRunnerMoniker]);
@@ -71339,7 +71340,7 @@ SimpleDataLakeRunner = __decorateClass$21([creatableProvider()], SimpleDataLakeR
71339
71340
  var SimpleDataLakeViewer = class extends AbstractSimpleDataLake {
71340
71341
  moniker = SimpleDataLakeViewer.defaultMoniker;
71341
71342
  };
71342
- __publicField$21(SimpleDataLakeViewer, "connectionTypes", []);
71343
+ __publicField$21(SimpleDataLakeViewer, "connectionTypes", ["none"]);
71343
71344
  __publicField$21(SimpleDataLakeViewer, "defaultMoniker", DataLakeViewerMoniker);
71344
71345
  __publicField$21(SimpleDataLakeViewer, "dependencies", []);
71345
71346
  __publicField$21(SimpleDataLakeViewer, "monikers", [DataLakeViewerMoniker]);
@@ -71500,23 +71501,8 @@ __publicField$21(SimpleFinalizationViewer, "dependencies", []);
71500
71501
  __publicField$21(SimpleFinalizationViewer, "monikers", [FinalizationViewerMoniker]);
71501
71502
  __publicField$21(SimpleFinalizationViewer, "surface", "node");
71502
71503
  SimpleFinalizationViewer = __decorateClass$21([creatableProvider()], SimpleFinalizationViewer);
71503
- var SimpleXyoGateway = class _SimpleXyoGateway extends AbstractCreatableProvider {
71504
- static connectionTypes = [];
71505
- static defaultMoniker = XyoGatewayMoniker;
71506
- static dependencies = [XyoConnectionMoniker];
71507
- static monikers = [XyoGatewayMoniker];
71508
- moniker = _SimpleXyoGateway.defaultMoniker;
71509
- _connection;
71510
- get connection() {
71511
- return this._connection;
71512
- }
71513
- async createHandler() {
71514
- await super.createHandler();
71515
- this._connection = await this.locator.getInstance(XyoConnectionMoniker);
71516
- }
71517
- };
71518
71504
  var SimpleXyoGatewayRunner = class _SimpleXyoGatewayRunner extends AbstractCreatableProvider {
71519
- static connectionTypes = [];
71505
+ static connectionTypes = ["none"];
71520
71506
  static defaultMoniker = XyoGatewayRunnerMoniker;
71521
71507
  static dependencies = [XyoConnectionMoniker, XyoSignerMoniker];
71522
71508
  static monikers = [XyoGatewayRunnerMoniker, XyoGatewayMoniker];
@@ -72411,7 +72397,7 @@ var SimpleStakeEventsViewer = class extends AbstractCreatableProvider {
72411
72397
  }) ?? [];
72412
72398
  }
72413
72399
  };
72414
- __publicField$21(SimpleStakeEventsViewer, "connectionTypes", []);
72400
+ __publicField$21(SimpleStakeEventsViewer, "connectionTypes", ["none"]);
72415
72401
  __publicField$21(SimpleStakeEventsViewer, "defaultMoniker", StakeEventsViewerMoniker);
72416
72402
  __publicField$21(SimpleStakeEventsViewer, "dependencies", []);
72417
72403
  __publicField$21(SimpleStakeEventsViewer, "monikers", [StakeEventsViewerMoniker]);
@@ -72470,11 +72456,7 @@ var SimpleStakeTotalsViewer = class extends AbstractCreatableProvider {
72470
72456
  return withdrawn;
72471
72457
  }
72472
72458
  };
72473
- __publicField$21(SimpleStakeTotalsViewer, "connectionTypes", [
72474
- "lmdb",
72475
- "mongo",
72476
- "memory"
72477
- ]);
72459
+ __publicField$21(SimpleStakeTotalsViewer, "connectionTypes", ["none"]);
72478
72460
  __publicField$21(SimpleStakeTotalsViewer, "defaultMoniker", StakeTotalsViewerMoniker);
72479
72461
  __publicField$21(SimpleStakeTotalsViewer, "dependencies", [StakeViewerMoniker]);
72480
72462
  __publicField$21(SimpleStakeTotalsViewer, "monikers", [StakeTotalsViewerMoniker]);
@@ -72568,11 +72550,7 @@ var SimpleStakeViewer = class extends AbstractCreatableProvider {
72568
72550
  return this.positions.filter((s) => s.withdrawBlock !== 0);
72569
72551
  }
72570
72552
  };
72571
- __publicField$21(SimpleStakeViewer, "connectionTypes", [
72572
- "lmdb",
72573
- "mongo",
72574
- "memory"
72575
- ]);
72553
+ __publicField$21(SimpleStakeViewer, "connectionTypes", ["none"]);
72576
72554
  __publicField$21(SimpleStakeViewer, "defaultMoniker", StakeViewerMoniker);
72577
72555
  __publicField$21(SimpleStakeViewer, "dependencies", [StakeEventsViewerMoniker]);
72578
72556
  __publicField$21(SimpleStakeViewer, "monikers", [StakeViewerMoniker]);
@@ -72722,12 +72700,7 @@ var SimpleTimeSyncViewer = class extends AbstractCreatableProvider {
72722
72700
  return timePayload;
72723
72701
  }
72724
72702
  };
72725
- __publicField$21(SimpleTimeSyncViewer, "connectionTypes", [
72726
- "evm-rpc",
72727
- "lmdb",
72728
- "mongo",
72729
- "memory"
72730
- ]);
72703
+ __publicField$21(SimpleTimeSyncViewer, "connectionTypes", ["none"]);
72731
72704
  __publicField$21(SimpleTimeSyncViewer, "defaultMoniker", TimeSyncViewerMoniker);
72732
72705
  __publicField$21(SimpleTimeSyncViewer, "dependencies", [BlockViewerMoniker]);
72733
72706
  __publicField$21(SimpleTimeSyncViewer, "monikers", [TimeSyncViewerMoniker]);
@@ -72899,11 +72872,7 @@ var SimpleTransactionViewer = class extends AbstractCreatableProvider {
72899
72872
  return await this.byHash(transactionHash);
72900
72873
  }
72901
72874
  };
72902
- __publicField$21(SimpleTransactionViewer, "connectionTypes", [
72903
- "lmdb",
72904
- "mongo",
72905
- "memory"
72906
- ]);
72875
+ __publicField$21(SimpleTransactionViewer, "connectionTypes", ["none"]);
72907
72876
  __publicField$21(SimpleTransactionViewer, "defaultMoniker", TransactionViewerMoniker);
72908
72877
  __publicField$21(SimpleTransactionViewer, "dependencies", [BlockViewerMoniker]);
72909
72878
  __publicField$21(SimpleTransactionViewer, "monikers", [TransactionViewerMoniker]);
@@ -73237,7 +73206,7 @@ function _v4(options, buf, offset) {
73237
73206
  return unsafeStringify(rnds);
73238
73207
  }
73239
73208
  //#endregion
73240
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/error.mjs
73209
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/error.mjs
73241
73210
  /**
73242
73211
  * A `StructFailure` represents a single specific failure in validation.
73243
73212
  */
@@ -73265,7 +73234,7 @@ var StructError = class extends TypeError {
73265
73234
  }
73266
73235
  };
73267
73236
  //#endregion
73268
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/utils.mjs
73237
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/utils.mjs
73269
73238
  /**
73270
73239
  * Check if a value is an iterator.
73271
73240
  *
@@ -73413,7 +73382,7 @@ function* run(value, struct, options = {}) {
73413
73382
  if (status === "valid") yield [void 0, value];
73414
73383
  }
73415
73384
  //#endregion
73416
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/struct.mjs
73385
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/struct.mjs
73417
73386
  /**
73418
73387
  * `Struct` objects encapsulate the validation logic for a specific type of
73419
73388
  * values. Once constructed, you use the `assert`, `is` or `validate` helpers to
@@ -73434,6 +73403,7 @@ var Struct = class {
73434
73403
  return toFailures(refiner(value, context), context, this, value);
73435
73404
  };
73436
73405
  else this.refiner = () => [];
73406
+ for (const sym of Object.getOwnPropertySymbols(props)) Object.defineProperty(this, sym, Object.getOwnPropertyDescriptor(props, sym));
73437
73407
  }
73438
73408
  /**
73439
73409
  * Assert that a value passes the struct's validation, throwing if it doesn't.
@@ -73564,7 +73534,119 @@ function validate$1(value, struct, options = {}) {
73564
73534
  return [void 0, tuple[1]];
73565
73535
  }
73566
73536
  //#endregion
73567
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/structs/utilities.mjs
73537
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/structs/sensitive.mjs
73538
+ const SENSITIVE_REDACTED = "***";
73539
+ const SENSITIVE_BRAND = Symbol.for("superstruct.sensitive");
73540
+ /**
73541
+ * Check whether a struct was created by `sensitive()`, or wraps one.
73542
+ *
73543
+ * @param struct - The struct to check.
73544
+ * @returns `true` if the struct carries the sensitive brand.
73545
+ */
73546
+ function isSensitiveStruct(struct) {
73547
+ return Object.prototype.hasOwnProperty.call(struct, SENSITIVE_BRAND);
73548
+ }
73549
+ /**
73550
+ * Return a shallow copy of `sourceObj` with each key in `keys` replaced by
73551
+ * the redaction placeholder.
73552
+ *
73553
+ * @param sourceObj - The source object to copy and redact.
73554
+ * @param keys - The property names to redact.
73555
+ * @returns A shallow copy with the specified keys replaced.
73556
+ */
73557
+ function redactKeys(sourceObj, keys) {
73558
+ const redacted = { ...sourceObj };
73559
+ for (const key of keys) if (key in redacted) redacted[key] = SENSITIVE_REDACTED;
73560
+ return redacted;
73561
+ }
73562
+ /**
73563
+ * Wrap a struct so that every failure it emits has any occurrence of
73564
+ * `parentObj` in `failure.branch` replaced with a sanitised copy where
73565
+ * `sensitiveKeys` are redacted. This prevents the parent object (which holds
73566
+ * secret field values) from leaking through sibling-field failures.
73567
+ *
73568
+ * The wrapping propagates recursively through `entries` so that failures from
73569
+ * deeply nested sibling structs are covered too.
73570
+ *
73571
+ * @param struct - The struct whose failures should be patched.
73572
+ * @param parentObj - The parent-object reference to look for in branch arrays.
73573
+ * @param sensitiveKeys - Keys to redact from `parentObj` when it appears.
73574
+ * @returns The wrapped struct.
73575
+ */
73576
+ function withRedactedBranch(struct, parentObj, sensitiveKeys) {
73577
+ function* redactBranch(failures) {
73578
+ for (const failure of failures) {
73579
+ if (!isObject$3(parentObj)) {
73580
+ yield failure;
73581
+ continue;
73582
+ }
73583
+ const parentIndex = failure.branch.indexOf(parentObj);
73584
+ if (parentIndex === -1) {
73585
+ yield failure;
73586
+ continue;
73587
+ }
73588
+ const branch = [...failure.branch];
73589
+ branch[parentIndex] = redactKeys(parentObj, sensitiveKeys);
73590
+ for (let ancestorIndex = parentIndex - 1; ancestorIndex >= 0; ancestorIndex--) {
73591
+ const ancestor = branch[ancestorIndex];
73592
+ if (!isObject$3(ancestor)) break;
73593
+ const child = failure.branch[ancestorIndex + 1];
73594
+ const childSanitized = branch[ancestorIndex + 1];
73595
+ if (Array.isArray(ancestor)) {
73596
+ const childIndex = ancestor.indexOf(child);
73597
+ if (childIndex === -1) break;
73598
+ const copy = [...ancestor];
73599
+ copy[childIndex] = childSanitized;
73600
+ branch[ancestorIndex] = copy;
73601
+ } else if (ancestor instanceof Map) {
73602
+ let childFound = false;
73603
+ let childKey;
73604
+ for (const [entryKey, entryValue] of ancestor) if (entryValue === child) {
73605
+ childKey = entryKey;
73606
+ childFound = true;
73607
+ break;
73608
+ }
73609
+ if (!childFound) break;
73610
+ const copy = new Map(ancestor);
73611
+ copy.set(childKey, childSanitized);
73612
+ branch[ancestorIndex] = copy;
73613
+ } else {
73614
+ const childKey = Object.keys(ancestor).find((key) => ancestor[key] === child);
73615
+ if (childKey === void 0) break;
73616
+ branch[ancestorIndex] = {
73617
+ ...ancestor,
73618
+ [childKey]: childSanitized
73619
+ };
73620
+ }
73621
+ }
73622
+ yield {
73623
+ ...failure,
73624
+ branch
73625
+ };
73626
+ }
73627
+ }
73628
+ return new Struct({
73629
+ ...struct,
73630
+ validator(value, context) {
73631
+ return redactBranch(struct.validator(value, context));
73632
+ },
73633
+ refiner(value, context) {
73634
+ return redactBranch(struct.refiner(value, context));
73635
+ },
73636
+ *entries(value, context) {
73637
+ for (const entry of struct.entries(value, context)) {
73638
+ const [fieldKey, fieldValue, fieldStruct] = entry;
73639
+ yield [
73640
+ fieldKey,
73641
+ fieldValue,
73642
+ withRedactedBranch(fieldStruct, parentObj, sensitiveKeys)
73643
+ ];
73644
+ }
73645
+ }
73646
+ });
73647
+ }
73648
+ //#endregion
73649
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/structs/utilities.mjs
73568
73650
  /**
73569
73651
  * Define a new struct type with a custom validation function.
73570
73652
  *
@@ -73580,7 +73662,39 @@ function define$1(name, validator) {
73580
73662
  });
73581
73663
  }
73582
73664
  //#endregion
73583
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/structs/types.mjs
73665
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/structs/types.mjs
73666
+ /**
73667
+ * Wrap a base struct so that entry-level failures from sibling fields have the
73668
+ * parent object's sensitive keys redacted from their branch. If `schema`
73669
+ * contains no sensitive-marked fields, `base` is returned as-is to avoid the
73670
+ * overhead of wrapping every entry.
73671
+ *
73672
+ * Used by both `object()` and `type()` to share the sensitive-entry wrapping
73673
+ * logic without duplication.
73674
+ *
73675
+ * @param base - The base struct to potentially wrap.
73676
+ * @param schema - The object schema to inspect for sensitive fields.
73677
+ * @returns The wrapped struct, or `base` unchanged when no sensitive fields
73678
+ * are present.
73679
+ */
73680
+ function withSensitiveEntries(base, schema) {
73681
+ const sensitiveKeys = Object.keys(schema).filter((key) => schema[key] !== void 0 && isSensitiveStruct(schema[key]));
73682
+ if (sensitiveKeys.length === 0) return base;
73683
+ return new Struct({
73684
+ ...base,
73685
+ *entries(value, context) {
73686
+ const parentInBranch = context.branch[context.branch.length - 1] ?? value;
73687
+ for (const entry of base.entries(value, context)) {
73688
+ const [fieldKey, fieldValue, fieldStruct] = entry;
73689
+ yield [
73690
+ fieldKey,
73691
+ fieldValue,
73692
+ withRedactedBranch(fieldStruct, parentInBranch, sensitiveKeys)
73693
+ ];
73694
+ }
73695
+ }
73696
+ });
73697
+ }
73584
73698
  /**
73585
73699
  * Ensure that any value passes validation.
73586
73700
  *
@@ -73688,7 +73802,7 @@ function number() {
73688
73802
  function object$1(schema) {
73689
73803
  const knowns = schema ? Object.keys(schema) : [];
73690
73804
  const Never = never();
73691
- return new Struct({
73805
+ const base = new Struct({
73692
73806
  type: "object",
73693
73807
  schema: schema ?? null,
73694
73808
  *entries(value) {
@@ -73718,6 +73832,8 @@ function object$1(schema) {
73718
73832
  return isObject$3(value) ? { ...value } : value;
73719
73833
  }
73720
73834
  });
73835
+ if (!schema) return base;
73836
+ return withSensitiveEntries(base, schema);
73721
73837
  }
73722
73838
  /**
73723
73839
  * Augment a struct to allow `undefined` values.
@@ -73820,7 +73936,7 @@ function unknown() {
73820
73936
  return define$1("unknown", () => true);
73821
73937
  }
73822
73938
  //#endregion
73823
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/structs/coercions.mjs
73939
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/structs/coercions.mjs
73824
73940
  /**
73825
73941
  * Augment a `Struct` to add an additional coercion step to its input.
73826
73942
  *
@@ -73846,7 +73962,7 @@ function coerce(struct, condition, coercer) {
73846
73962
  });
73847
73963
  }
73848
73964
  //#endregion
73849
- //#region ../../node_modules/.pnpm/@metamask+superstruct@3.3.0/node_modules/@metamask/superstruct/dist/structs/refinements.mjs
73965
+ //#region ../../node_modules/.pnpm/@metamask+superstruct@3.4.1/node_modules/@metamask/superstruct/dist/structs/refinements.mjs
73850
73966
  /**
73851
73967
  * Augment a `Struct` to add an additional refinement to the validation.
73852
73968
  *
@@ -76647,7 +76763,7 @@ function getOriginalId(rawRequest) {
76647
76763
  return [void 0, false];
76648
76764
  }
76649
76765
  //#endregion
76650
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/rpc.mjs
76766
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/rpc.mjs
76651
76767
  var __defProp$21 = Object.defineProperty;
76652
76768
  var __getOwnPropDesc$20 = Object.getOwnPropertyDescriptor;
76653
76769
  var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$21(obj, key, {
@@ -78268,6 +78384,127 @@ __publicField$20(JsonRpcMempoolViewer, "dependencies", []);
78268
78384
  __publicField$20(JsonRpcMempoolViewer, "monikers", [MempoolViewerMoniker]);
78269
78385
  __publicField$20(JsonRpcMempoolViewer, "surface", "node");
78270
78386
  JsonRpcMempoolViewer = __decorateClass$20([creatableProvider()], JsonRpcMempoolViewer);
78387
+ var JsonRpcNetworkStakeStepRewardsByPositionViewerMethods = class extends AbstractJsonRpcViewer {
78388
+ moniker = NetworkStakeStepRewardsByPositionViewerMoniker;
78389
+ async bonus(options) {
78390
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_bonus", [options]);
78391
+ }
78392
+ async claimed(options) {
78393
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_claimed", [options]);
78394
+ }
78395
+ async earned(options) {
78396
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_earned", [options]);
78397
+ }
78398
+ async total(options) {
78399
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_total", [options]);
78400
+ }
78401
+ async totalForPosition(position, range) {
78402
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_totalForPosition", [position, range]);
78403
+ }
78404
+ async totalForStep(step) {
78405
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_totalForStep", [step]);
78406
+ }
78407
+ async totalForStepForPosition(step, position) {
78408
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_totalForStepForPosition", [step, position]);
78409
+ }
78410
+ async unclaimed(options) {
78411
+ return await this.transport.sendRequest("networkStakingStepRewardsByPositionViewer_unclaimed", [options]);
78412
+ }
78413
+ schemas() {
78414
+ return NetworkStakingStepRewardsByPositionViewerRpcSchemas;
78415
+ }
78416
+ };
78417
+ var JsonRpcNetworkStakeStepRewardsByPositionViewer = class extends JsonRpcNetworkStakeStepRewardsByPositionViewerMethods {};
78418
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByPositionViewer, "connectionTypes", ["rpc"]);
78419
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByPositionViewer, "defaultMoniker", NetworkStakeStepRewardsByPositionViewerMoniker);
78420
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByPositionViewer, "dependencies", []);
78421
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByPositionViewer, "monikers", [NetworkStakeStepRewardsByPositionViewerMoniker]);
78422
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByPositionViewer, "surface", "node");
78423
+ JsonRpcNetworkStakeStepRewardsByPositionViewer = __decorateClass$20([creatableProvider()], JsonRpcNetworkStakeStepRewardsByPositionViewer);
78424
+ var JsonRpcNetworkStakeStepRewardsByStakerViewerMethods = class extends AbstractJsonRpcViewer {
78425
+ moniker = NetworkStakeStepRewardsByStakerViewerMoniker;
78426
+ async bonus(options) {
78427
+ return await this.transport.sendRequest("networkStakingStepRewardsByStakerViewer_bonus", [options]);
78428
+ }
78429
+ async claimed(options) {
78430
+ return await this.transport.sendRequest("networkStakingStepRewardsByStakerViewer_claimed", [options]);
78431
+ }
78432
+ async earned(options) {
78433
+ return await this.transport.sendRequest("networkStakingStepRewardsByStakerViewer_earned", [options]);
78434
+ }
78435
+ async total(options) {
78436
+ return await this.transport.sendRequest("networkStakingStepRewardsByStakerViewer_total", [options]);
78437
+ }
78438
+ async unclaimed(options) {
78439
+ return await this.transport.sendRequest("networkStakingStepRewardsByStakerViewer_unclaimed", [options]);
78440
+ }
78441
+ schemas() {
78442
+ return NetworkStakingStepRewardsByStakerViewerRpcSchemas;
78443
+ }
78444
+ };
78445
+ var JsonRpcNetworkStakeStepRewardsByStakerViewer = class extends JsonRpcNetworkStakeStepRewardsByStakerViewerMethods {};
78446
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStakerViewer, "connectionTypes", ["rpc"]);
78447
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStakerViewer, "defaultMoniker", NetworkStakeStepRewardsByStakerViewerMoniker);
78448
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStakerViewer, "dependencies", []);
78449
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStakerViewer, "monikers", [NetworkStakeStepRewardsByStakerViewerMoniker]);
78450
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStakerViewer, "surface", "node");
78451
+ JsonRpcNetworkStakeStepRewardsByStakerViewer = __decorateClass$20([creatableProvider()], JsonRpcNetworkStakeStepRewardsByStakerViewer);
78452
+ var JsonRpcNetworkStakeStepRewardsByStepViewerMethods = class extends AbstractJsonRpcViewer {
78453
+ moniker = NetworkStakeStepRewardsByStepViewerMoniker;
78454
+ async bonus(options) {
78455
+ return await this.transport.sendRequest("networkStakingStepRewardsByStepViewer_bonus", [options]);
78456
+ }
78457
+ async claimed(options) {
78458
+ return await this.transport.sendRequest("networkStakingStepRewardsByStepViewer_claimed", [options]);
78459
+ }
78460
+ async earned(options) {
78461
+ return await this.transport.sendRequest("networkStakingStepRewardsByStepViewer_earned", [options]);
78462
+ }
78463
+ async total(options) {
78464
+ return await this.transport.sendRequest("networkStakingStepRewardsByStepViewer_total", [options]);
78465
+ }
78466
+ async unclaimed(options) {
78467
+ return await this.transport.sendRequest("networkStakingStepRewardsByStepViewer_unclaimed", [options]);
78468
+ }
78469
+ schemas() {
78470
+ return NetworkStakingStepRewardsByStepViewerRpcSchemas;
78471
+ }
78472
+ };
78473
+ var JsonRpcNetworkStakeStepRewardsByStepViewer = class extends JsonRpcNetworkStakeStepRewardsByStepViewerMethods {};
78474
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStepViewer, "connectionTypes", ["rpc"]);
78475
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStepViewer, "defaultMoniker", NetworkStakeStepRewardsByStepViewerMoniker);
78476
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStepViewer, "dependencies", []);
78477
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStepViewer, "monikers", [NetworkStakeStepRewardsByStepViewerMoniker]);
78478
+ __publicField$20(JsonRpcNetworkStakeStepRewardsByStepViewer, "surface", "node");
78479
+ JsonRpcNetworkStakeStepRewardsByStepViewer = __decorateClass$20([creatableProvider()], JsonRpcNetworkStakeStepRewardsByStepViewer);
78480
+ var JsonRpcNetworkStakeStepRewardsTotalViewerMethods = class extends AbstractJsonRpcViewer {
78481
+ moniker = NetworkStakeStepRewardsTotalViewerMoniker;
78482
+ async bonus(options) {
78483
+ return await this.transport.sendRequest("networkStakingStepRewardsTotalViewer_bonus", [options]);
78484
+ }
78485
+ async claimed(options) {
78486
+ return await this.transport.sendRequest("networkStakingStepRewardsTotalViewer_claimed", [options]);
78487
+ }
78488
+ async earned(options) {
78489
+ return await this.transport.sendRequest("networkStakingStepRewardsTotalViewer_earned", [options]);
78490
+ }
78491
+ async total(options) {
78492
+ return await this.transport.sendRequest("networkStakingStepRewardsTotalViewer_total", [options]);
78493
+ }
78494
+ async unclaimed(options) {
78495
+ return await this.transport.sendRequest("networkStakingStepRewardsTotalViewer_unclaimed", [options]);
78496
+ }
78497
+ schemas() {
78498
+ return NetworkStakingStepRewardsTotalViewerRpcSchemas;
78499
+ }
78500
+ };
78501
+ var JsonRpcNetworkStakeStepRewardsTotalViewer = class extends JsonRpcNetworkStakeStepRewardsTotalViewerMethods {};
78502
+ __publicField$20(JsonRpcNetworkStakeStepRewardsTotalViewer, "connectionTypes", ["rpc"]);
78503
+ __publicField$20(JsonRpcNetworkStakeStepRewardsTotalViewer, "defaultMoniker", NetworkStakeStepRewardsTotalViewerMoniker);
78504
+ __publicField$20(JsonRpcNetworkStakeStepRewardsTotalViewer, "dependencies", []);
78505
+ __publicField$20(JsonRpcNetworkStakeStepRewardsTotalViewer, "monikers", [NetworkStakeStepRewardsTotalViewerMoniker]);
78506
+ __publicField$20(JsonRpcNetworkStakeStepRewardsTotalViewer, "surface", "node");
78507
+ JsonRpcNetworkStakeStepRewardsTotalViewer = __decorateClass$20([creatableProvider()], JsonRpcNetworkStakeStepRewardsTotalViewer);
78271
78508
  var JsonRpcNetworkStakeStepRewardsViewerMethods = class extends AbstractJsonRpcViewer {
78272
78509
  moniker = NetworkStakeStepRewardsViewerMoniker;
78273
78510
  schemas() {
@@ -78855,7 +79092,7 @@ var composedRpcServerFromConnection = (connection, logger) => {
78855
79092
  return new JsonRpcServer({ engine: composedRpcEngineFromConnection(connection, logger) });
78856
79093
  };
78857
79094
  //#endregion
78858
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/rest-block-viewer.mjs
79095
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/rest-block-viewer.mjs
78859
79096
  var __defProp$20 = Object.defineProperty;
78860
79097
  var __getOwnPropDesc$19 = Object.getOwnPropertyDescriptor;
78861
79098
  var __defNormalProp$19 = (obj, key, value) => key in obj ? __defProp$20(obj, key, {
@@ -78905,6 +79142,7 @@ var REST_SUMMARY_CACHE_MAX_BY_STEP = {
78905
79142
  var MIN_HEAD_POLL_INTERVAL_MS = 5e3;
78906
79143
  var CURRENT_BLOCK_CACHE_TTL_MS = 1e3;
78907
79144
  var CURRENT_BLOCK_CACHE_KEY = "head";
79145
+ var BLOCKS_BY_NUMBER_STEP_ACCEL_MIN_LIMIT = StepSizes[1];
78908
79146
  var PayloadFileZod = WithHashMetaPayloadZodLoose$1;
78909
79147
  var RestBlockViewer = class extends AbstractCreatableProvider {
78910
79148
  moniker = RestBlockViewer.defaultMoniker;
@@ -78988,17 +79226,12 @@ var RestBlockViewer = class extends AbstractCreatableProvider {
78988
79226
  }
78989
79227
  async blocksByHash(hash, limit = 50) {
78990
79228
  return await this.spanAsync("blocksByHash", async () => {
78991
- assertEx$2(limit > 0, () => "limit must be greater than 0");
78992
- assertEx$2(limit <= 100, () => "limit must be less than 100");
78993
- const blocks = [];
78994
- let current = await this.blockByHash(hash);
78995
- while (current && blocks.length < limit) {
78996
- blocks.push(current);
78997
- const previousHash = current[0].previous;
78998
- if (previousHash === null) break;
78999
- current = await this.blockByHash(previousHash);
79000
- }
79001
- return blocks;
79229
+ this.assertBlocksByRangeLimit(limit);
79230
+ const head = await this.blockByHash(hash);
79231
+ if (head === null) return [];
79232
+ const blocks = await this.blocksByNumber(head[0].block, limit);
79233
+ if (blocks.length === 0 || blocks[0][0]._hash !== hash) return [head];
79234
+ return this.contiguousPreviousLinkedPrefix(blocks);
79002
79235
  }, {
79003
79236
  ...this.context,
79004
79237
  timeBudgetLimit: 300
@@ -79006,16 +79239,14 @@ var RestBlockViewer = class extends AbstractCreatableProvider {
79006
79239
  }
79007
79240
  async blocksByNumber(blockNumber, limit = 50) {
79008
79241
  return await this.spanAsync("blocksByNumber", async () => {
79009
- assertEx$2(limit > 0, () => "limit must be greater than 0");
79010
- assertEx$2(limit <= 100, () => "limit must be less than 100");
79011
- const blocks = [];
79012
- let current = await this.blockByNumber(blockNumber);
79013
- while (current && blocks.length < limit) {
79014
- blocks.push(current);
79015
- if (current[0].block === 0) break;
79016
- current = await this.blockByNumber(asXL1BlockNumber(current[0].block - 1, true));
79017
- }
79018
- return blocks;
79242
+ this.assertBlocksByRangeLimit(limit);
79243
+ const count = Math.min(limit, blockNumber + 1);
79244
+ if (count <= 0) return [];
79245
+ if (count >= BLOCKS_BY_NUMBER_STEP_ACCEL_MIN_LIMIT) {
79246
+ const viaFrames = await this.blocksByNumberViaDeepFrames(blockNumber, count);
79247
+ if (viaFrames !== void 0) return viaFrames;
79248
+ }
79249
+ return await this.blocksByNumberParallel(blockNumber, count);
79019
79250
  }, this.context);
79020
79251
  }
79021
79252
  async blocksByStep(stepLevel, stepIndex) {
@@ -79098,6 +79329,46 @@ var RestBlockViewer = class extends AbstractCreatableProvider {
79098
79329
  this._headPollHash = void 0;
79099
79330
  await super.stopHandler();
79100
79331
  }
79332
+ assertBlocksByRangeLimit(limit) {
79333
+ assertEx$2(Number.isSafeInteger(limit) && limit > 0, () => "limit must be a positive integer");
79334
+ }
79335
+ /**
79336
+ * Fan-out per-block GETs for `[high - count + 1, high]`, assemble newest-first, and stop at
79337
+ * the first missing/broken link. Fetches exactly `count` candidates (no off-by-one past the
79338
+ * requested window).
79339
+ */
79340
+ async blocksByNumberParallel(high, count) {
79341
+ const numbers = Array.from({ length: count }, (_, offset) => asXL1BlockNumber(high - offset, true));
79342
+ const fetched = await Promise.all(numbers.map(async (n) => await this.blockByNumber(n)));
79343
+ return this.contiguousPreviousLinkedPrefix(this.contiguousNonNullPrefix(fetched));
79344
+ }
79345
+ /**
79346
+ * Large-range path: tile `[high - count + 1, high]` with `deepCalculateFramesFromRange`
79347
+ * (largest complete step frames first, capped at `blocksMaxStep`), load each multi-block
79348
+ * frame via `blocksByStep`, and fill only single-block leftovers or unpublished frames with
79349
+ * per-block GETs. Returns `undefined` when no frame produced blocks so the caller can fall
79350
+ * back to a pure parallel fan-out.
79351
+ */
79352
+ async blocksByNumberViaDeepFrames(high, count) {
79353
+ const low = high - count + 1;
79354
+ const frames = deepCalculateFramesFromRange(asXL1BlockRange([asXL1BlockNumber(low, true), high], { name: "blocksByNumberViaDeepFrames" }), 3);
79355
+ if (frames.length === 0) return void 0;
79356
+ const byNumber = /* @__PURE__ */ new Map();
79357
+ await Promise.all(frames.map(async (frame) => await this.loadFrameIntoMap(frame, byNumber)));
79358
+ if (byNumber.size === 0) return void 0;
79359
+ const missing = Array.from({ length: count }, (_, offset) => high - offset).filter((n) => !byNumber.has(n));
79360
+ if (missing.length > 0) {
79361
+ const filled = await Promise.all(missing.map(async (n) => await this.blockByNumber(asXL1BlockNumber(n, true))));
79362
+ for (const block of filled) if (block) byNumber.set(block[0].block, block);
79363
+ }
79364
+ const assembled = [];
79365
+ for (let n = high; n >= low; n--) {
79366
+ const block = byNumber.get(n);
79367
+ if (!block) break;
79368
+ assembled.push(block);
79369
+ }
79370
+ return this.contiguousPreviousLinkedPrefix(assembled);
79371
+ }
79101
79372
  /** Validates a parsed block file and populates both block caches. */
79102
79373
  cacheBlock(parsed) {
79103
79374
  const block = asSignedHydratedBlockWithHashMeta(parsed, true);
@@ -79105,6 +79376,32 @@ var RestBlockViewer = class extends AbstractCreatableProvider {
79105
79376
  this.blockByNumberCache.set(block[0].block, block);
79106
79377
  return block;
79107
79378
  }
79379
+ /** Newest-first contiguous non-null prefix (stops at the first hole). */
79380
+ contiguousNonNullPrefix(fetched) {
79381
+ const blocks = [];
79382
+ for (const block of fetched) {
79383
+ if (block === null) break;
79384
+ blocks.push(block);
79385
+ }
79386
+ return blocks;
79387
+ }
79388
+ /**
79389
+ * Keeps the longest newest-first prefix where each block's `previous` matches the next
79390
+ * block's hash and block numbers decrease by one. Truncates on the first break so callers
79391
+ * never return a silently forked/gapped list from a parallel fan-out.
79392
+ */
79393
+ contiguousPreviousLinkedPrefix(blocks) {
79394
+ if (blocks.length <= 1) return blocks;
79395
+ const verified = [blocks[0]];
79396
+ for (let i = 1; i < blocks.length; i++) {
79397
+ const newer = verified[i - 1];
79398
+ const older = blocks[i];
79399
+ if (newer[0].previous !== older[0]._hash) break;
79400
+ if (newer[0].block - 1 !== older[0].block) break;
79401
+ verified.push(older);
79402
+ }
79403
+ return verified;
79404
+ }
79108
79405
  /** The head is ChainStateViewer's question; delegate, then seed the immutable block caches. */
79109
79406
  async fetchCurrentBlock() {
79110
79407
  return this.cacheBlock(await this._chainStateViewer.currentBlock());
@@ -79115,6 +79412,41 @@ var RestBlockViewer = class extends AbstractCreatableProvider {
79115
79412
  assertEx$2(response.ok, () => `Request failed [${response.status}] for ${path}`);
79116
79413
  return await response.json();
79117
79414
  }
79415
+ /** Parallel per-block fill for `[start, end]` inclusive (skips numbers already present). */
79416
+ async loadBlockNumbersIntoMap(start, end, byNumber) {
79417
+ const numbers = Array.from({ length: end - start + 1 }, (_, offset) => start + offset).filter((n) => !byNumber.has(n));
79418
+ if (numbers.length === 0) return;
79419
+ const fetched = await Promise.all(numbers.map(async (n) => await this.blockByNumber(asXL1BlockNumber(n, true))));
79420
+ for (const block of fetched) if (block) byNumber.set(block[0].block, block);
79421
+ }
79422
+ /**
79423
+ * Loads one deep-calculated frame into the block map: multi-block frames map to a published
79424
+ * `blocksByStep` file when available; singles and unpublished frames fall back to per-block GETs.
79425
+ */
79426
+ async loadFrameIntoMap(frame, byNumber) {
79427
+ const [start, end] = frame;
79428
+ const size = end - start + 1;
79429
+ if (size === 1) {
79430
+ const block = await this.blockByNumber(asXL1BlockNumber(start, true));
79431
+ if (block) byNumber.set(start, block);
79432
+ return;
79433
+ }
79434
+ const level = StepSizes.indexOf(asXL1BlockNumber(size, true));
79435
+ const stepIndex = start / size;
79436
+ if (level === -1 || level > 3 || !Number.isInteger(stepIndex)) {
79437
+ await this.loadBlockNumbersIntoMap(start, end, byNumber);
79438
+ return;
79439
+ }
79440
+ const blocks = await this.blocksByStep(level, stepIndex);
79441
+ if (blocks.length === 0) {
79442
+ await this.loadBlockNumbersIntoMap(start, end, byNumber);
79443
+ return;
79444
+ }
79445
+ for (const block of blocks) {
79446
+ const n = block[0].block;
79447
+ if (n >= start && n <= end) byNumber.set(n, block);
79448
+ }
79449
+ }
79118
79450
  async pollHead(emitOnChange) {
79119
79451
  if (this._headPollInProgress) return;
79120
79452
  this._headPollInProgress = true;
@@ -98962,7 +99294,7 @@ var StakedXyoChainV2__factory = class extends ContractFactory {
98962
99294
  }
98963
99295
  };
98964
99296
  //#endregion
98965
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/providers.mjs
99297
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/providers.mjs
98966
99298
  var __defProp$18 = Object.defineProperty;
98967
99299
  var __getOwnPropDesc$18 = Object.getOwnPropertyDescriptor;
98968
99300
  var __defNormalProp$18 = (obj, key, value) => key in obj ? __defProp$18(obj, key, {
@@ -99005,7 +99337,7 @@ var SimpleXyoConnectionRunner$1 = class extends AbstractCreatableProvider {
99005
99337
  this._storage = dataLakeRunner ?? dataLakeViewer;
99006
99338
  }
99007
99339
  };
99008
- __publicField$18(SimpleXyoConnectionRunner$1, "connectionTypes", []);
99340
+ __publicField$18(SimpleXyoConnectionRunner$1, "connectionTypes", ["none"]);
99009
99341
  __publicField$18(SimpleXyoConnectionRunner$1, "defaultMoniker", XyoConnectionMoniker);
99010
99342
  __publicField$18(SimpleXyoConnectionRunner$1, "dependencies", [XyoRunnerMoniker, XyoViewerMoniker]);
99011
99343
  __publicField$18(SimpleXyoConnectionRunner$1, "monikers", [XyoConnectionMoniker]);
@@ -99032,7 +99364,7 @@ var SimpleXyoConnectionViewer$1 = class extends AbstractCreatableProvider {
99032
99364
  this._storage = dataLakeViewer;
99033
99365
  }
99034
99366
  };
99035
- __publicField$18(SimpleXyoConnectionViewer$1, "connectionTypes", []);
99367
+ __publicField$18(SimpleXyoConnectionViewer$1, "connectionTypes", ["none"]);
99036
99368
  __publicField$18(SimpleXyoConnectionViewer$1, "defaultMoniker", XyoConnectionMoniker);
99037
99369
  __publicField$18(SimpleXyoConnectionViewer$1, "dependencies", [XyoViewerMoniker]);
99038
99370
  __publicField$18(SimpleXyoConnectionViewer$1, "monikers", [XyoConnectionMoniker]);
@@ -99926,11 +100258,7 @@ var SimpleNetworkStakeViewer$1 = class extends AbstractCreatableProvider {
99926
100258
  this._stepRewardsViewer = await this.locator.getInstance(NetworkStakeStepRewardsViewerMoniker);
99927
100259
  }
99928
100260
  };
99929
- __publicField$18(SimpleNetworkStakeViewer$1, "connectionTypes", [
99930
- "lmdb",
99931
- "mongo",
99932
- "memory"
99933
- ]);
100261
+ __publicField$18(SimpleNetworkStakeViewer$1, "connectionTypes", ["none"]);
99934
100262
  __publicField$18(SimpleNetworkStakeViewer$1, "defaultMoniker", NetworkStakeViewerMoniker);
99935
100263
  __publicField$18(SimpleNetworkStakeViewer$1, "dependencies", [
99936
100264
  FinalizationViewerMoniker,
@@ -100122,12 +100450,7 @@ var SimpleStepRewardsByPositionViewer$1 = class extends AbstractCreatableProvide
100122
100450
  await this.runPrime(async () => await this.primeRewardsCache());
100123
100451
  }
100124
100452
  };
100125
- __publicField$18(SimpleStepRewardsByPositionViewer$1, "connectionTypes", [
100126
- "lmdb",
100127
- "mongo",
100128
- "memory",
100129
- "rpc"
100130
- ]);
100453
+ __publicField$18(SimpleStepRewardsByPositionViewer$1, "connectionTypes", ["none"]);
100131
100454
  __publicField$18(SimpleStepRewardsByPositionViewer$1, "defaultMoniker", NetworkStakeStepRewardsByPositionViewerMoniker);
100132
100455
  __publicField$18(SimpleStepRewardsByPositionViewer$1, "dependencies", [
100133
100456
  BlockViewerMoniker,
@@ -100204,12 +100527,7 @@ var SimpleStepRewardsByStakerViewer$1 = class extends AbstractCreatableProvider
100204
100527
  return result;
100205
100528
  }
100206
100529
  };
100207
- __publicField$18(SimpleStepRewardsByStakerViewer$1, "connectionTypes", [
100208
- "lmdb",
100209
- "mongo",
100210
- "memory",
100211
- "rpc"
100212
- ]);
100530
+ __publicField$18(SimpleStepRewardsByStakerViewer$1, "connectionTypes", ["none"]);
100213
100531
  __publicField$18(SimpleStepRewardsByStakerViewer$1, "defaultMoniker", NetworkStakeStepRewardsByStakerViewerMoniker);
100214
100532
  __publicField$18(SimpleStepRewardsByStakerViewer$1, "dependencies", [
100215
100533
  BlockViewerMoniker,
@@ -100298,12 +100616,7 @@ var SimpleStepRewardsByStepViewer$1 = class extends AbstractCreatableProvider {
100298
100616
  throw new Error("Method [unclaimed] ot implemented.");
100299
100617
  }
100300
100618
  };
100301
- __publicField$18(SimpleStepRewardsByStepViewer$1, "connectionTypes", [
100302
- "lmdb",
100303
- "mongo",
100304
- "memory",
100305
- "rpc"
100306
- ]);
100619
+ __publicField$18(SimpleStepRewardsByStepViewer$1, "connectionTypes", ["none"]);
100307
100620
  __publicField$18(SimpleStepRewardsByStepViewer$1, "defaultMoniker", NetworkStakeStepRewardsByStepViewerMoniker);
100308
100621
  __publicField$18(SimpleStepRewardsByStepViewer$1, "dependencies", [
100309
100622
  BlockViewerMoniker,
@@ -100337,12 +100650,7 @@ var SimpleStepRewardsTotalViewer$1 = class extends AbstractCreatableProvider {
100337
100650
  throw new Error("Method [calculateRewards] not implemented.");
100338
100651
  }
100339
100652
  };
100340
- __publicField$18(SimpleStepRewardsTotalViewer$1, "connectionTypes", [
100341
- "lmdb",
100342
- "mongo",
100343
- "memory",
100344
- "rpc"
100345
- ]);
100653
+ __publicField$18(SimpleStepRewardsTotalViewer$1, "connectionTypes", ["none"]);
100346
100654
  __publicField$18(SimpleStepRewardsTotalViewer$1, "defaultMoniker", NetworkStakeStepRewardsTotalViewerMoniker);
100347
100655
  __publicField$18(SimpleStepRewardsTotalViewer$1, "dependencies", []);
100348
100656
  __publicField$18(SimpleStepRewardsTotalViewer$1, "monikers", [NetworkStakeStepRewardsTotalViewerMoniker]);
@@ -100383,12 +100691,7 @@ var SimpleStepRewardsViewer$1 = class extends AbstractCreatableProvider {
100383
100691
  await assertEx$2(this._step, () => "Step viewer not created").start();
100384
100692
  }
100385
100693
  };
100386
- __publicField$18(SimpleStepRewardsViewer$1, "connectionTypes", [
100387
- "lmdb",
100388
- "mongo",
100389
- "memory",
100390
- "rpc"
100391
- ]);
100694
+ __publicField$18(SimpleStepRewardsViewer$1, "connectionTypes", ["none"]);
100392
100695
  __publicField$18(SimpleStepRewardsViewer$1, "defaultMoniker", NetworkStakeStepRewardsViewerMoniker);
100393
100696
  __publicField$18(SimpleStepRewardsViewer$1, "dependencies", [
100394
100697
  BlockViewerMoniker,
@@ -100452,12 +100755,7 @@ var SimpleStepViewer$1 = class extends AbstractCreatableProvider {
100452
100755
  throw new Error("Method [weight] not implemented.");
100453
100756
  }
100454
100757
  };
100455
- __publicField$18(SimpleStepViewer$1, "connectionTypes", [
100456
- "lmdb",
100457
- "mongo",
100458
- "memory",
100459
- "rpc"
100460
- ]);
100758
+ __publicField$18(SimpleStepViewer$1, "connectionTypes", ["none"]);
100461
100759
  __publicField$18(SimpleStepViewer$1, "defaultMoniker", StepViewerMoniker);
100462
100760
  __publicField$18(SimpleStepViewer$1, "dependencies", [
100463
100761
  BlockViewerMoniker,
@@ -100497,7 +100795,7 @@ var SimpleXyoViewer$1 = class extends AbstractCreatableProvider {
100497
100795
  return this._finalizationViewer;
100498
100796
  }
100499
100797
  get mempool() {
100500
- return assertEx$2(this._mempoolViewer, () => "MempoolViewer not available on this gateway (no mempool binding — read-only chain source)");
100798
+ return this._mempoolViewer;
100501
100799
  }
100502
100800
  get networkStake() {
100503
100801
  return this._networkStakeViewer;
@@ -100715,11 +101013,7 @@ var SimpleXyoViewer$1 = class extends AbstractCreatableProvider {
100715
101013
  return await this.transaction.byHash(transactionHash);
100716
101014
  }
100717
101015
  };
100718
- __publicField$18(SimpleXyoViewer$1, "connectionTypes", [
100719
- "lmdb",
100720
- "mongo",
100721
- "memory"
100722
- ]);
101016
+ __publicField$18(SimpleXyoViewer$1, "connectionTypes", ["none"]);
100723
101017
  __publicField$18(SimpleXyoViewer$1, "defaultMoniker", XyoViewerMoniker);
100724
101018
  __publicField$18(SimpleXyoViewer$1, "dependencies", [
100725
101019
  AccountBalanceViewerMoniker,
@@ -100737,7 +101031,7 @@ __publicField$18(SimpleXyoViewer$1, "monikers", [XyoViewerMoniker]);
100737
101031
  __publicField$18(SimpleXyoViewer$1, "surface", "node");
100738
101032
  SimpleXyoViewer$1 = __decorateClass$18([creatableProvider()], SimpleXyoViewer$1);
100739
101033
  //#endregion
100740
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/gateway.mjs
101034
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/gateway.mjs
100741
101035
  var __defProp$17 = Object.defineProperty;
100742
101036
  var __getOwnPropDesc$17 = Object.getOwnPropertyDescriptor;
100743
101037
  var __defNormalProp$17 = (obj, key, value) => key in obj ? __defProp$17(obj, key, {
@@ -100765,7 +101059,7 @@ var XyoSignerWrapper = class extends AbstractCreatableProvider {
100765
101059
  return this.params.signer.signTransaction(tx);
100766
101060
  }
100767
101061
  };
100768
- __publicField$17(XyoSignerWrapper, "connectionTypes", []);
101062
+ __publicField$17(XyoSignerWrapper, "connectionTypes", ["none"]);
100769
101063
  __publicField$17(XyoSignerWrapper, "defaultMoniker", XyoSignerMoniker);
100770
101064
  __publicField$17(XyoSignerWrapper, "dependencies", []);
100771
101065
  __publicField$17(XyoSignerWrapper, "monikers", [XyoSignerMoniker]);
@@ -100796,7 +101090,7 @@ async function witnessPreviousStep(gateway, options) {
100796
101090
  return { witness };
100797
101091
  }
100798
101092
  //#endregion
100799
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/neutral/wrappers.mjs
101093
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/neutral/wrappers.mjs
100800
101094
  function parseHexOrBigInt(value) {
100801
101095
  return AttoXL1(typeof value === "bigint" ? value : hexToBigInt(value));
100802
101096
  }
@@ -101540,7 +101834,7 @@ var validateTimeInBlock = async (context, payload, block) => {
101540
101834
  var validateTransferInBlock = async (context, payload, block) => {
101541
101835
  const errors = [];
101542
101836
  try {
101543
- const typedErrors = await validateTypedPayloadInBlock(context, payload, block, isTransfer);
101837
+ const typedErrors = await validateTypedPayloadInBlock(context, payload, block, isTransferPayload);
101544
101838
  for (const typedError of typedErrors) errors.push(new InBlockPayloadValidationError(payload._hash, block, payload, `validateTypedPayloadInBlock error: ${typedError}`, typedError));
101545
101839
  } catch (ex) {
101546
101840
  errors.push(new InBlockPayloadValidationError(block?.[0]?._hash ?? "0000000000000000000000000000000000000000000000000000000000000000", block, payload, `Failed validateTransferInBlock: ${String(ex)}`, ex));
@@ -102937,7 +103231,7 @@ var SimpleBlockRunner = class extends AbstractCreatableProvider {
102937
103231
  const txPayloadHashes = new Set(bw.payload_hashes);
102938
103232
  for (const payload of payloads) {
102939
103233
  if (!txPayloadHashes.has(payload._hash)) continue;
102940
- if (!isTransfer(payload)) continue;
103234
+ if (!isTransferPayload(payload)) continue;
102941
103235
  if (payload.from !== bw.from) continue;
102942
103236
  outflow = this.addTransferOutflow(outflow, payload);
102943
103237
  }
@@ -103171,7 +103465,7 @@ function initTelemetry(params) {
103171
103465
  };
103172
103466
  }
103173
103467
  //#endregion
103174
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_24400d036b11d6449f7bba8020ba47e1/node_modules/@xyo-network/xl1-sdk/dist/node/providers.mjs
103468
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-sdk@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@4.4.3__@m_dc3b49476a8ea69302723ad39b3aa354/node_modules/@xyo-network/xl1-sdk/dist/node/providers.mjs
103175
103469
  var __defProp$13 = Object.defineProperty;
103176
103470
  var __getOwnPropDesc$13 = Object.getOwnPropertyDescriptor;
103177
103471
  var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, {
@@ -103214,7 +103508,7 @@ var SimpleXyoConnectionRunner = class extends AbstractCreatableProvider {
103214
103508
  this._storage = dataLakeRunner ?? dataLakeViewer;
103215
103509
  }
103216
103510
  };
103217
- __publicField$13(SimpleXyoConnectionRunner, "connectionTypes", []);
103511
+ __publicField$13(SimpleXyoConnectionRunner, "connectionTypes", ["none"]);
103218
103512
  __publicField$13(SimpleXyoConnectionRunner, "defaultMoniker", XyoConnectionMoniker);
103219
103513
  __publicField$13(SimpleXyoConnectionRunner, "dependencies", [XyoRunnerMoniker, XyoViewerMoniker]);
103220
103514
  __publicField$13(SimpleXyoConnectionRunner, "monikers", [XyoConnectionMoniker]);
@@ -103241,7 +103535,7 @@ var SimpleXyoConnectionViewer = class extends AbstractCreatableProvider {
103241
103535
  this._storage = dataLakeViewer;
103242
103536
  }
103243
103537
  };
103244
- __publicField$13(SimpleXyoConnectionViewer, "connectionTypes", []);
103538
+ __publicField$13(SimpleXyoConnectionViewer, "connectionTypes", ["none"]);
103245
103539
  __publicField$13(SimpleXyoConnectionViewer, "defaultMoniker", XyoConnectionMoniker);
103246
103540
  __publicField$13(SimpleXyoConnectionViewer, "dependencies", [XyoViewerMoniker]);
103247
103541
  __publicField$13(SimpleXyoConnectionViewer, "monikers", [XyoConnectionMoniker]);
@@ -104135,11 +104429,7 @@ var SimpleNetworkStakeViewer = class extends AbstractCreatableProvider {
104135
104429
  this._stepRewardsViewer = await this.locator.getInstance(NetworkStakeStepRewardsViewerMoniker);
104136
104430
  }
104137
104431
  };
104138
- __publicField$13(SimpleNetworkStakeViewer, "connectionTypes", [
104139
- "lmdb",
104140
- "mongo",
104141
- "memory"
104142
- ]);
104432
+ __publicField$13(SimpleNetworkStakeViewer, "connectionTypes", ["none"]);
104143
104433
  __publicField$13(SimpleNetworkStakeViewer, "defaultMoniker", NetworkStakeViewerMoniker);
104144
104434
  __publicField$13(SimpleNetworkStakeViewer, "dependencies", [
104145
104435
  FinalizationViewerMoniker,
@@ -104331,12 +104621,7 @@ var SimpleStepRewardsByPositionViewer = class extends AbstractCreatableProvider
104331
104621
  await this.runPrime(async () => await this.primeRewardsCache());
104332
104622
  }
104333
104623
  };
104334
- __publicField$13(SimpleStepRewardsByPositionViewer, "connectionTypes", [
104335
- "lmdb",
104336
- "mongo",
104337
- "memory",
104338
- "rpc"
104339
- ]);
104624
+ __publicField$13(SimpleStepRewardsByPositionViewer, "connectionTypes", ["none"]);
104340
104625
  __publicField$13(SimpleStepRewardsByPositionViewer, "defaultMoniker", NetworkStakeStepRewardsByPositionViewerMoniker);
104341
104626
  __publicField$13(SimpleStepRewardsByPositionViewer, "dependencies", [
104342
104627
  BlockViewerMoniker,
@@ -104413,12 +104698,7 @@ var SimpleStepRewardsByStakerViewer = class extends AbstractCreatableProvider {
104413
104698
  return result;
104414
104699
  }
104415
104700
  };
104416
- __publicField$13(SimpleStepRewardsByStakerViewer, "connectionTypes", [
104417
- "lmdb",
104418
- "mongo",
104419
- "memory",
104420
- "rpc"
104421
- ]);
104701
+ __publicField$13(SimpleStepRewardsByStakerViewer, "connectionTypes", ["none"]);
104422
104702
  __publicField$13(SimpleStepRewardsByStakerViewer, "defaultMoniker", NetworkStakeStepRewardsByStakerViewerMoniker);
104423
104703
  __publicField$13(SimpleStepRewardsByStakerViewer, "dependencies", [
104424
104704
  BlockViewerMoniker,
@@ -104507,12 +104787,7 @@ var SimpleStepRewardsByStepViewer = class extends AbstractCreatableProvider {
104507
104787
  throw new Error("Method [unclaimed] ot implemented.");
104508
104788
  }
104509
104789
  };
104510
- __publicField$13(SimpleStepRewardsByStepViewer, "connectionTypes", [
104511
- "lmdb",
104512
- "mongo",
104513
- "memory",
104514
- "rpc"
104515
- ]);
104790
+ __publicField$13(SimpleStepRewardsByStepViewer, "connectionTypes", ["none"]);
104516
104791
  __publicField$13(SimpleStepRewardsByStepViewer, "defaultMoniker", NetworkStakeStepRewardsByStepViewerMoniker);
104517
104792
  __publicField$13(SimpleStepRewardsByStepViewer, "dependencies", [
104518
104793
  BlockViewerMoniker,
@@ -104546,12 +104821,7 @@ var SimpleStepRewardsTotalViewer = class extends AbstractCreatableProvider {
104546
104821
  throw new Error("Method [calculateRewards] not implemented.");
104547
104822
  }
104548
104823
  };
104549
- __publicField$13(SimpleStepRewardsTotalViewer, "connectionTypes", [
104550
- "lmdb",
104551
- "mongo",
104552
- "memory",
104553
- "rpc"
104554
- ]);
104824
+ __publicField$13(SimpleStepRewardsTotalViewer, "connectionTypes", ["none"]);
104555
104825
  __publicField$13(SimpleStepRewardsTotalViewer, "defaultMoniker", NetworkStakeStepRewardsTotalViewerMoniker);
104556
104826
  __publicField$13(SimpleStepRewardsTotalViewer, "dependencies", []);
104557
104827
  __publicField$13(SimpleStepRewardsTotalViewer, "monikers", [NetworkStakeStepRewardsTotalViewerMoniker]);
@@ -104592,12 +104862,7 @@ var SimpleStepRewardsViewer = class extends AbstractCreatableProvider {
104592
104862
  await assertEx$2(this._step, () => "Step viewer not created").start();
104593
104863
  }
104594
104864
  };
104595
- __publicField$13(SimpleStepRewardsViewer, "connectionTypes", [
104596
- "lmdb",
104597
- "mongo",
104598
- "memory",
104599
- "rpc"
104600
- ]);
104865
+ __publicField$13(SimpleStepRewardsViewer, "connectionTypes", ["none"]);
104601
104866
  __publicField$13(SimpleStepRewardsViewer, "defaultMoniker", NetworkStakeStepRewardsViewerMoniker);
104602
104867
  __publicField$13(SimpleStepRewardsViewer, "dependencies", [
104603
104868
  BlockViewerMoniker,
@@ -104661,12 +104926,7 @@ var SimpleStepViewer = class extends AbstractCreatableProvider {
104661
104926
  throw new Error("Method [weight] not implemented.");
104662
104927
  }
104663
104928
  };
104664
- __publicField$13(SimpleStepViewer, "connectionTypes", [
104665
- "lmdb",
104666
- "mongo",
104667
- "memory",
104668
- "rpc"
104669
- ]);
104929
+ __publicField$13(SimpleStepViewer, "connectionTypes", ["none"]);
104670
104930
  __publicField$13(SimpleStepViewer, "defaultMoniker", StepViewerMoniker);
104671
104931
  __publicField$13(SimpleStepViewer, "dependencies", [
104672
104932
  BlockViewerMoniker,
@@ -104706,7 +104966,7 @@ var SimpleXyoViewer = class extends AbstractCreatableProvider {
104706
104966
  return this._finalizationViewer;
104707
104967
  }
104708
104968
  get mempool() {
104709
- return assertEx$2(this._mempoolViewer, () => "MempoolViewer not available on this gateway (no mempool binding — read-only chain source)");
104969
+ return this._mempoolViewer;
104710
104970
  }
104711
104971
  get networkStake() {
104712
104972
  return this._networkStakeViewer;
@@ -104924,11 +105184,7 @@ var SimpleXyoViewer = class extends AbstractCreatableProvider {
104924
105184
  return await this.transaction.byHash(transactionHash);
104925
105185
  }
104926
105186
  };
104927
- __publicField$13(SimpleXyoViewer, "connectionTypes", [
104928
- "lmdb",
104929
- "mongo",
104930
- "memory"
104931
- ]);
105187
+ __publicField$13(SimpleXyoViewer, "connectionTypes", ["none"]);
104932
105188
  __publicField$13(SimpleXyoViewer, "defaultMoniker", XyoViewerMoniker);
104933
105189
  __publicField$13(SimpleXyoViewer, "dependencies", [
104934
105190
  AccountBalanceViewerMoniker,
@@ -104946,7 +105202,7 @@ __publicField$13(SimpleXyoViewer, "monikers", [XyoViewerMoniker]);
104946
105202
  __publicField$13(SimpleXyoViewer, "surface", "node");
104947
105203
  SimpleXyoViewer = __decorateClass$13([creatableProvider()], SimpleXyoViewer);
104948
105204
  //#endregion
104949
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-s3-providers@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@_5d5704af577cf044c34ec4d2fdaed7f9/node_modules/@xyo-network/xl1-s3-providers/dist/node/index.mjs
105205
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-s3-providers@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod@_c2fe8c73743c7f2da6e8e15a44fbb5c7/node_modules/@xyo-network/xl1-s3-providers/dist/node/index.mjs
104950
105206
  var __defProp$12 = Object.defineProperty;
104951
105207
  var __getOwnPropDesc$12 = Object.getOwnPropertyDescriptor;
104952
105208
  var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, {
@@ -152735,7 +152991,6 @@ async function initActorSeedPhrase(context, bios) {
152735
152991
  new Mutex();
152736
152992
  function devStoreProviderBindings(connection) {
152737
152993
  return {
152738
- AccountBalanceViewer: { connection },
152739
152994
  BlockRunner: { connection },
152740
152995
  BlockValidationViewer: { connection },
152741
152996
  BlockViewer: { connection },
@@ -152746,10 +153001,8 @@ function devStoreProviderBindings(connection) {
152746
153001
  MempoolRunner: { connection },
152747
153002
  MempoolViewer: { connection },
152748
153003
  TransactionValidationViewer: { connection },
152749
- TransactionViewer: { connection },
152750
153004
  WindowedBlockViewer: { connection },
152751
- XyoRunner: { connection },
152752
- XyoViewer: { connection }
153005
+ XyoRunner: { connection }
152753
153006
  };
152754
153007
  }
152755
153008
  function devInMemoryProcessPreset() {
@@ -152825,7 +153078,6 @@ var ACTOR_DEPENDENCIES = {
152825
153078
  "AccountBalanceViewer",
152826
153079
  "BlockViewer",
152827
153080
  "FinalizationViewer",
152828
- "MempoolViewer",
152829
153081
  "TransactionViewer",
152830
153082
  "XyoConnection",
152831
153083
  "XyoViewer"
@@ -152833,7 +153085,8 @@ var ACTOR_DEPENDENCIES = {
152833
153085
  optionalDependencies: [
152834
153086
  "DeadLetterQueueViewer",
152835
153087
  "EvmChainViewer",
152836
- "IndexViewer"
153088
+ "IndexViewer",
153089
+ "MempoolViewer"
152837
153090
  ]
152838
153091
  },
152839
153092
  bridge: { dependencies: [
@@ -153189,7 +153442,8 @@ function storeProviderCandidateFromClass(creatableProvider2, id) {
153189
153442
  MEMORY_CONNECTION_TYPE
153190
153443
  ], id);
153191
153444
  }
153192
- var memoryStubProviders = [
153445
+ var connectionlessProviders = [
153446
+ SimpleAccountBalanceViewer,
153193
153447
  SimpleBlockRewardViewer,
153194
153448
  SimpleChainContractViewer,
153195
153449
  SimpleStakeEventsViewer,
@@ -153202,17 +153456,16 @@ var memoryStubProviders = [
153202
153456
  SimpleStepRewardsByStepViewer$1,
153203
153457
  SimpleStepRewardsTotalViewer$1,
153204
153458
  SimpleStepRewardsViewer$1,
153205
- SimpleStepViewer$1
153459
+ SimpleStepViewer$1,
153460
+ SimpleTransactionViewer,
153461
+ SimpleXyoViewer$1
153206
153462
  ];
153207
153463
  var storeProviders = [
153208
153464
  SimpleMempoolViewer,
153209
153465
  SimpleMempoolRunner,
153210
- SimpleAccountBalanceViewer,
153211
153466
  SimpleBlockViewer,
153212
153467
  SimpleWindowedBlockViewer,
153213
153468
  SimpleXyoRunner,
153214
- SimpleTransactionViewer,
153215
- SimpleXyoViewer$1,
153216
153469
  SimpleFinalizationRunner,
153217
153470
  SimpleBlockValidationViewer,
153218
153471
  SimpleTransactionValidationViewer,
@@ -153225,6 +153478,10 @@ var jsonRpcProviders = [
153225
153478
  JsonRpcFinalizationViewer,
153226
153479
  JsonRpcMempoolRunner,
153227
153480
  JsonRpcMempoolViewer,
153481
+ JsonRpcNetworkStakeStepRewardsByPositionViewer,
153482
+ JsonRpcNetworkStakeStepRewardsByStakerViewer,
153483
+ JsonRpcNetworkStakeStepRewardsByStepViewer,
153484
+ JsonRpcNetworkStakeStepRewardsTotalViewer,
153228
153485
  JsonRpcNetworkStakeStepRewardsViewer,
153229
153486
  JsonRpcStakeTotalsViewer,
153230
153487
  JsonRpcTimeSyncViewer,
@@ -153242,8 +153499,8 @@ var xyoOwnedProviders = [
153242
153499
  ];
153243
153500
  function buildDefaultInstalledCandidates() {
153244
153501
  return [
153245
- ...memoryStubProviders.map((cls) => memoryProviderCandidateFromClass(cls)),
153246
153502
  ...storeProviders.map((cls) => storeProviderCandidateFromClass(cls)),
153503
+ ...connectionlessProviders.map((cls) => providerCandidateFromClass(cls)),
153247
153504
  ...jsonRpcProviders.map((cls) => providerCandidateFromClass(cls)),
153248
153505
  ...xyoOwnedProviders.map((cls) => providerCandidateFromClass(cls)),
153249
153506
  providerCandidateWithOverrides(SimpleFinalizationViewer, {
@@ -153257,15 +153514,14 @@ function buildDefaultInstalledCandidates() {
153257
153514
  providerCandidateWithOverrides(JsonRpcNetworkStakeViewer, { dependencies: [NetworkStakeStepRewardsViewerMoniker] }),
153258
153515
  providerCandidateWithOverrides(JsonRpcStakeViewer, { dependencies: [StakeEventsViewerMoniker] }),
153259
153516
  providerCandidateFromClass(SimpleXyoGatewayRunner, "SimpleXyoGatewayRunner"),
153260
- providerCandidateFromClass(SimpleXyoConnectionRunner$1, "SimpleXyoConnectionRunner"),
153261
153517
  providerCandidateFromClass(SimpleEvmChainViewer),
153262
- providerCandidateWithConnectionTypes(SimpleTimeSyncViewer, ["evm-rpc"], "SimpleTimeSyncViewerEvmRpc"),
153263
153518
  providerCandidateWithConnectionTypes(S3BlockPublishRunner, ["s3"]),
153264
153519
  providerCandidateWithConnectionTypes(S3ChainStatePublishRunner, ["s3"]),
153265
153520
  providerCandidateWithConnectionTypes(S3IndexPublishRunner, ["s3"]),
153266
153521
  providerCandidateWithConnectionTypes(S3EvmEventIndexPublishRunner, ["s3"]),
153267
153522
  providerCandidateWithConnectionTypes(S3ChainStateViewer, ["s3"]),
153268
153523
  providerCandidateFromClass(RestBlockViewer),
153524
+ providerCandidateFromClass(RestChainContractViewer),
153269
153525
  providerCandidateFromClass(RestChainStateViewer),
153270
153526
  providerCandidateFromClass(RestFinalizationViewer),
153271
153527
  providerCandidateWithConnectionTypes(RestIndexViewer, ["rest"]),
@@ -153277,12 +153533,6 @@ function buildDefaultInstalledCandidates() {
153277
153533
  function registerDefaultInstalledProviders(registry) {
153278
153534
  registry.registerMany(buildDefaultInstalledCandidates());
153279
153535
  }
153280
- function planLocatorFromActors(input) {
153281
- return {
153282
- actorNames: input.actorConfigs.map((actor) => actor.name),
153283
- unionPlanNeeds: unionActorPlanNeedsForRun(input.actorConfigs, input.config)
153284
- };
153285
- }
153286
153536
  function declaredConnectionName(providerBindings, moniker) {
153287
153537
  const binding = providerBindings?.[moniker];
153288
153538
  const connectionName = binding?.connection ?? binding?.transport;
@@ -153292,6 +153542,9 @@ function declaredConnectionName(providerBindings, moniker) {
153292
153542
  function hasMemoryOnlyImplementation(moniker, candidates) {
153293
153543
  return candidates.some((descriptor) => descriptor.satisfies.includes(moniker) && descriptor.connectionTypes?.length === 1 && descriptor.connectionTypes[0] === MEMORY_CONNECTION_TYPE);
153294
153544
  }
153545
+ function hasConnectionlessImplementation(moniker, candidates) {
153546
+ return candidates.some((descriptor) => descriptor.satisfies.includes(moniker) && descriptor.connectionTypes?.length === 1 && descriptor.connectionTypes[0] === "none");
153547
+ }
153295
153548
  function memoryProviderBinding() {
153296
153549
  return { connection: DEFAULT_MEMORY_CONNECTION };
153297
153550
  }
@@ -153311,6 +153564,16 @@ function augmentMemoryBinding(moniker, providerBindings, candidates) {
153311
153564
  providerBindings[moniker] = memoryProviderBinding();
153312
153565
  return true;
153313
153566
  }
153567
+ function xyoConnectionActorDescriptor(process2, requiresRunner) {
153568
+ const hasRunnerBinding = declaredConnectionName(process2.providerBindings, "XyoRunner") !== void 0;
153569
+ return providerCandidateFromClass(requiresRunner || hasRunnerBinding ? SimpleXyoConnectionRunner$1 : SimpleXyoConnectionViewer$1);
153570
+ }
153571
+ function planLocatorFromActors(input) {
153572
+ return {
153573
+ actorNames: input.actorConfigs.map((actor) => actor.name),
153574
+ unionPlanNeeds: unionActorPlanNeedsForRun(input.actorConfigs, input.config)
153575
+ };
153576
+ }
153314
153577
  var MAX_BINDING_EXPANSION_ROUNDS = 32;
153315
153578
  function dedupeCandidatesById(candidates) {
153316
153579
  const seen = /* @__PURE__ */ new Set();
@@ -153334,7 +153597,11 @@ function ensureMemoryConnection(connections) {
153334
153597
  }
153335
153598
  function stripUnboundOptionals(wanted, optional, providerBindings, candidates, strictDependencies) {
153336
153599
  if (optional === void 0) return;
153337
- for (const moniker of optional) if (declaredConnectionName(providerBindings, moniker) === void 0 && (strictDependencies || !hasMemoryOnlyImplementation(moniker, candidates))) wanted.delete(moniker);
153600
+ for (const moniker of optional) {
153601
+ const declared = declaredConnectionName(providerBindings, moniker);
153602
+ const canResolveWithoutBinding = hasConnectionlessImplementation(moniker, candidates) || !strictDependencies && hasMemoryOnlyImplementation(moniker, candidates);
153603
+ if (declared === void 0 && !canResolveWithoutBinding) wanted.delete(moniker);
153604
+ }
153338
153605
  }
153339
153606
  function prepareBindingsForResolve(needs, candidates, options = {}) {
153340
153607
  const uniqueCandidates = dedupeCandidatesById(candidates);
@@ -153396,8 +153663,11 @@ function normalizeConnectionsConfig(config) {
153396
153663
  }
153397
153664
  function normalizeProviderBinding(binding) {
153398
153665
  const connectionName = binding.connection ?? binding.transport;
153399
- if (connectionName === void 0 || connectionName === "") return {};
153400
- return { connection: connectionName };
153666
+ return {
153667
+ ...connectionName === void 0 || connectionName === "" ? {} : { connection: connectionName },
153668
+ ...binding.primeCaches === void 0 ? {} : { primeCaches: binding.primeCaches },
153669
+ ...binding.provider === void 0 ? {} : { provider: binding.provider }
153670
+ };
153401
153671
  }
153402
153672
  function connectionProfiles(config) {
153403
153673
  const merged = { ...config.connections };
@@ -153482,13 +153752,15 @@ function materializeResolvedConfig(process2, connections, providerBindings) {
153482
153752
  function assertChainContractSourceForChainStatePublish(normalized, plan) {
153483
153753
  if (!plan.selected.some((descriptor) => descriptor.id === "S3ChainStatePublishRunner")) return;
153484
153754
  if (plan.bindings.ChainContractViewer !== "SimpleChainContractViewer") return;
153485
- const connectionName = connectionNameForMoniker(normalized, "ChainContractViewer");
153486
- if (connectionName !== void 0 && connectionProfiles(normalized)[connectionName]?.type === "memory") return;
153487
- throw new Error("ChainContractViewer requires an evm-rpc-backed binding when ChainStatePublishRunner is planned: the chain-state publisher reads the chain-contract manifest (minWithdrawalBlocks, rewardsContract, stakingTokenAddress) from it, and the in-memory stub has no real values. Declare an evm-rpc connection and bind ChainContractViewer to it (or bind it to a memory connection to publish dev placeholder values).");
153755
+ const chainContractBinding = normalized.providerBindings.ChainContractViewer;
153756
+ if (chainContractBinding?.connection === void 0 && chainContractBinding?.provider === "SimpleChainContractViewer") return;
153757
+ throw new Error("ChainContractViewer requires an evm-rpc-backed binding when ChainStatePublishRunner is planned: the chain-state publisher reads the chain-contract manifest (minWithdrawalBlocks, rewardsContract, stakingTokenAddress) from it, and the in-memory stub has no real values. Declare an evm-rpc connection and bind ChainContractViewer to it, or explicitly pin SimpleChainContractViewer without a connection for development placeholder values.");
153488
153758
  }
153489
153759
  function compileLocatorConfig(input) {
153490
153760
  const process2 = applyFederatedApiBindingsIfNeeded(input.process);
153491
- const candidates = dedupeCandidatesById2(input.candidates ?? defaultCandidates(input.extraDescriptors));
153761
+ const actorNames = new Set((input.actors ?? []).map((actor) => actor.name));
153762
+ const actorDescriptors = actorNames.has("api") || actorNames.has("bridge") || actorNames.has("rewardRedemption") || actorNames.has("validator") ? [xyoConnectionActorDescriptor(process2, !actorNames.has("api") || actorNames.size > 1)] : [];
153763
+ const candidates = dedupeCandidatesById2(input.candidates ?? defaultCandidates([...input.extraDescriptors ?? [], ...actorDescriptors]));
153492
153764
  const needs = input.needs ?? toResolveProvidersPlanInput(planLocatorFromActors({
153493
153765
  actorConfigs: input.actors ?? [],
153494
153766
  config: process2
@@ -154052,7 +154324,6 @@ function canBuildGlobalLocator(actors, _process, _configuration) {
154052
154324
  if (hasMultipleGatewayActors(actors)) return void 0;
154053
154325
  return true;
154054
154326
  }
154055
- var API_ACTOR_EXTRA_DESCRIPTORS = [storeProviderCandidateFromClass(SimpleXyoRunner), storeProviderCandidateFromClass(SimpleXyoGateway)];
154056
154327
  var REST_CONNECTION_BY_BUCKET = {
154057
154328
  finalized: "rest-finalized",
154058
154329
  chainState: "rest-chain-state",
@@ -154094,10 +154365,9 @@ var GATEWAY_ACTOR_NAMES2 = /* @__PURE__ */ new Set([
154094
154365
  "validator"
154095
154366
  ]);
154096
154367
  async function buildActorSpecificExtras(_context, actors, process2, signingWallets, configuration) {
154097
- const actorNames = actors.map((actor) => actor.name);
154098
- let extras = actorNames.includes("api") ? [...API_ACTOR_EXTRA_DESCRIPTORS] : [];
154099
- const gatewayActors = actorNames.filter((name) => GATEWAY_ACTOR_NAMES2.has(name));
154368
+ const gatewayActors = actors.map((actor) => actor.name).filter((name) => GATEWAY_ACTOR_NAMES2.has(name));
154100
154369
  if (gatewayActors.length > 1) throw new Error("Cannot co-locate bridge, rewardRedemption, or validator in one process — they share the XyoSigner moniker");
154370
+ let extras = [];
154101
154371
  if (resolveGatewaySignerWallet(signingWallets) !== void 0) extras = [...extras, gatewaySignerDescriptor()];
154102
154372
  if (gatewayActors.length === 1) {
154103
154373
  if (gatewayActors[0] === "bridge" && configuration !== void 0) {
@@ -163296,11 +163566,11 @@ __publicField$6(ApiActor, "dependencies", [
163296
163566
  AccountBalanceViewerMoniker,
163297
163567
  BlockViewerMoniker,
163298
163568
  FinalizationViewerMoniker,
163299
- MempoolViewerMoniker,
163300
163569
  TransactionViewerMoniker,
163301
163570
  XyoConnectionMoniker,
163302
163571
  XyoViewerMoniker
163303
163572
  ]);
163573
+ __publicField$6(ApiActor, "optionalDependencies", [MempoolViewerMoniker]);
163304
163574
  ApiActor = __decorateClass$6([creatable()], ApiActor);
163305
163575
  var getApiActor = async (input) => {
163306
163576
  return await ApiActor.create({
@@ -201425,7 +201695,7 @@ var require_bullMQOtel = /* @__PURE__ */ __commonJSMin(((exports) => {
201425
201695
  exports.BullMQOtel = BullMQOtel;
201426
201696
  }));
201427
201697
  //#endregion
201428
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-driver-mongodb@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zo_45a0a04f05c0ee18b19ca65c2c6b05ba/node_modules/@xyo-network/xl1-driver-mongodb/dist/neutral/index.mjs
201698
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-driver-mongodb@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zo_7f57130051c9974028e82f8e746fe2e0/node_modules/@xyo-network/xl1-driver-mongodb/dist/neutral/index.mjs
201429
201699
  var import_cjs$1 = (/* @__PURE__ */ __commonJSMin(((exports) => {
201430
201700
  Object.defineProperty(exports, "__esModule", { value: true });
201431
201701
  (init_tslib_es6(), __toCommonJS(tslib_es6_exports)).__exportStar(require_bullMQOtel(), exports);
@@ -205673,7 +205943,7 @@ function validatorCommand(getConfiguration, getLocatorFromConfig) {
205673
205943
  };
205674
205944
  }
205675
205945
  //#endregion
205676
- //#region ../../node_modules/.pnpm/@xyo-network+xl1-system-status@4.4.8_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod_d94dd91af28734b904603851138dea4a/node_modules/@xyo-network/xl1-system-status/dist/node/index.mjs
205946
+ //#region ../../node_modules/.pnpm/@xyo-network+xl1-system-status@4.5.0_@ariestools+sdk@8.1.1_@opentelemetry+api@1.9.1_zod_6e6aca5a32d16db437219248e00afd0c/node_modules/@xyo-network/xl1-system-status/dist/node/index.mjs
205677
205947
  function resolveStatusProbe(status, url) {
205678
205948
  switch (url) {
205679
205949
  case "/healthz": {
@@ -211574,8 +211844,8 @@ function defaultScrapePortForActors(actors) {
211574
211844
  var configuration;
211575
211845
  var skipInsecureConfirm = false;
211576
211846
  var dumpProviders = false;
211577
- var version = isDefined$1("4.3.2") ? "4.3.2" : "unknown";
211578
- var gitHash = isDefined$1("a07cfad15") ? "a07cfad15" : "";
211847
+ var version = isDefined$1("4.4.0") ? "4.4.0" : "unknown";
211848
+ var gitHash = isDefined$1("a4c2fc710") ? "a4c2fc710" : "";
211579
211849
  var fullVersion = gitHash.length > 0 ? `${version} (${gitHash})` : version;
211580
211850
  function getConfiguration() {
211581
211851
  return configuration;