@xyo-network/xl1-protocol-sdk 4.0.4 → 4.0.6

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.
Files changed (699) hide show
  1. package/dist/neutral/index-node.d.ts +3 -0
  2. package/dist/neutral/index-node.d.ts.map +1 -0
  3. package/dist/neutral/index.d.ts +0 -2
  4. package/dist/neutral/index.d.ts.map +1 -1
  5. package/dist/neutral/index.mjs +31 -60
  6. package/dist/neutral/index.mjs.map +4 -4
  7. package/dist/node/Archivists/ArchivistConnectOptions.d.ts +8 -0
  8. package/dist/node/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
  9. package/dist/node/Archivists/ArchivistFactory.d.ts +31 -0
  10. package/dist/node/Archivists/ArchivistFactory.d.ts.map +1 -0
  11. package/dist/node/Archivists/MemoryArchivistFactory.d.ts +19 -0
  12. package/dist/node/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
  13. package/dist/node/Archivists/archivistFactoryRegistry.d.ts +9 -0
  14. package/dist/node/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
  15. package/dist/node/Archivists/archivistRoles.d.ts +12 -0
  16. package/dist/node/Archivists/archivistRoles.d.ts.map +1 -0
  17. package/dist/node/Archivists/connectArchivist.d.ts +11 -0
  18. package/dist/node/Archivists/connectArchivist.d.ts.map +1 -0
  19. package/dist/node/Archivists/index.d.ts +7 -0
  20. package/dist/node/Archivists/index.d.ts.map +1 -0
  21. package/dist/node/ChainContextHelpers.d.ts +10 -0
  22. package/dist/node/ChainContextHelpers.d.ts.map +1 -0
  23. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +114 -0
  24. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -0
  25. package/dist/node/CreatableProvider/CreatableProvider.d.ts +67 -0
  26. package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -0
  27. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +13 -0
  28. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -0
  29. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +10 -0
  30. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -0
  31. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +14 -0
  32. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -0
  33. package/dist/node/CreatableProvider/ProviderFactory.d.ts +29 -0
  34. package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -0
  35. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +61 -0
  36. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -0
  37. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +47 -0
  38. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -0
  39. package/dist/node/CreatableProvider/index.d.ts +9 -0
  40. package/dist/node/CreatableProvider/index.d.ts.map +1 -0
  41. package/dist/node/SignedBigInt.d.ts +22 -0
  42. package/dist/node/SignedBigInt.d.ts.map +1 -0
  43. package/dist/node/_internal/context/getTestProviderContext.d.ts +4 -0
  44. package/dist/node/_internal/context/getTestProviderContext.d.ts.map +1 -0
  45. package/dist/node/_internal/context/index.d.ts +2 -0
  46. package/dist/node/_internal/context/index.d.ts.map +1 -0
  47. package/dist/node/_internal/index.d.ts +2 -0
  48. package/dist/node/_internal/index.d.ts.map +1 -0
  49. package/dist/node/amount/ShiftedBigInt.d.ts +17 -0
  50. package/dist/node/amount/ShiftedBigInt.d.ts.map +1 -0
  51. package/dist/node/amount/index.d.ts +5 -0
  52. package/dist/node/amount/index.d.ts.map +1 -0
  53. package/dist/node/amount/splitOnDecimal.d.ts +3 -0
  54. package/dist/node/amount/splitOnDecimal.d.ts.map +1 -0
  55. package/dist/node/amount/splitOnDecimalToString.d.ts +3 -0
  56. package/dist/node/amount/splitOnDecimalToString.d.ts.map +1 -0
  57. package/dist/node/amount/xl1Amount.d.ts +26 -0
  58. package/dist/node/amount/xl1Amount.d.ts.map +1 -0
  59. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +70 -0
  60. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -0
  61. package/dist/node/block/hydrate/allHashesPresent.d.ts +5 -0
  62. package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -0
  63. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts +5 -0
  64. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts.map +1 -0
  65. package/dist/node/block/hydrate/createBlockHydrator.d.ts +6 -0
  66. package/dist/node/block/hydrate/createBlockHydrator.d.ts.map +1 -0
  67. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +169 -0
  68. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -0
  69. package/dist/node/block/hydrate/createTransactionHydrator.d.ts +6 -0
  70. package/dist/node/block/hydrate/createTransactionHydrator.d.ts.map +1 -0
  71. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts +9 -0
  72. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts.map +1 -0
  73. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts +4 -0
  74. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts.map +1 -0
  75. package/dist/node/block/hydrate/hydrateBlock.d.ts +5 -0
  76. package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -0
  77. package/dist/node/block/hydrate/index.d.ts +12 -0
  78. package/dist/node/block/hydrate/index.d.ts.map +1 -0
  79. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts +4 -0
  80. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts.map +1 -0
  81. package/dist/node/block/hydrate/tryHydrateBlock.d.ts +6 -0
  82. package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -0
  83. package/dist/node/block/index.d.ts +3 -0
  84. package/dist/node/block/index.d.ts.map +1 -0
  85. package/dist/node/block/primitives/blockFromBlockNumber.d.ts +5 -0
  86. package/dist/node/block/primitives/blockFromBlockNumber.d.ts.map +1 -0
  87. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts +7 -0
  88. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts.map +1 -0
  89. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts +10 -0
  90. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts.map +1 -0
  91. package/dist/node/block/primitives/frames/index.d.ts +3 -0
  92. package/dist/node/block/primitives/frames/index.d.ts.map +1 -0
  93. package/dist/node/block/primitives/hashFromBlockNumber.d.ts +5 -0
  94. package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -0
  95. package/dist/node/block/primitives/index.d.ts +8 -0
  96. package/dist/node/block/primitives/index.d.ts.map +1 -0
  97. package/dist/node/block/primitives/model.d.ts +8 -0
  98. package/dist/node/block/primitives/model.d.ts.map +1 -0
  99. package/dist/node/block/primitives/payloads/ChainWindow.d.ts +7 -0
  100. package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -0
  101. package/dist/node/block/primitives/payloads/index.d.ts +2 -0
  102. package/dist/node/block/primitives/payloads/index.d.ts.map +1 -0
  103. package/dist/node/block/primitives/toStepIdentityString.d.ts +4 -0
  104. package/dist/node/block/primitives/toStepIdentityString.d.ts.map +1 -0
  105. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts +5 -0
  106. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts.map +1 -0
  107. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts +10 -0
  108. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts.map +1 -0
  109. package/dist/node/boundwitness/index.d.ts +2 -0
  110. package/dist/node/boundwitness/index.d.ts.map +1 -0
  111. package/dist/node/capabilities/Backing.d.ts +52 -0
  112. package/dist/node/capabilities/Backing.d.ts.map +1 -0
  113. package/dist/node/capabilities/Capability.d.ts +32 -0
  114. package/dist/node/capabilities/Capability.d.ts.map +1 -0
  115. package/dist/node/capabilities/Provider.d.ts +31 -0
  116. package/dist/node/capabilities/Provider.d.ts.map +1 -0
  117. package/dist/node/capabilities/connectionSubsetBySurface.d.ts +17 -0
  118. package/dist/node/capabilities/connectionSubsetBySurface.d.ts.map +1 -0
  119. package/dist/node/capabilities/connectionTypes.d.ts +10 -0
  120. package/dist/node/capabilities/connectionTypes.d.ts.map +1 -0
  121. package/dist/node/capabilities/factoryBrand.d.ts +46 -0
  122. package/dist/node/capabilities/factoryBrand.d.ts.map +1 -0
  123. package/dist/node/capabilities/index.d.ts +12 -0
  124. package/dist/node/capabilities/index.d.ts.map +1 -0
  125. package/dist/node/capabilities/locatorFromConfig.d.ts +29 -0
  126. package/dist/node/capabilities/locatorFromConfig.d.ts.map +1 -0
  127. package/dist/node/capabilities/needsFromProviderBindings.d.ts +8 -0
  128. package/dist/node/capabilities/needsFromProviderBindings.d.ts.map +1 -0
  129. package/dist/node/capabilities/providerCandidateFromClass.d.ts +7 -0
  130. package/dist/node/capabilities/providerCandidateFromClass.d.ts.map +1 -0
  131. package/dist/node/capabilities/resolveProviders.d.ts +56 -0
  132. package/dist/node/capabilities/resolveProviders.d.ts.map +1 -0
  133. package/dist/node/capabilities/surfaceMap.d.ts +11 -0
  134. package/dist/node/capabilities/surfaceMap.d.ts.map +1 -0
  135. package/dist/node/config/Actor.d.ts +590 -0
  136. package/dist/node/config/Actor.d.ts.map +1 -0
  137. package/dist/node/config/Actors.d.ts +107 -0
  138. package/dist/node/config/Actors.d.ts.map +1 -0
  139. package/dist/node/config/Base.d.ts +109 -0
  140. package/dist/node/config/Base.d.ts.map +1 -0
  141. package/dist/node/config/Chain.d.ts +13 -0
  142. package/dist/node/config/Chain.d.ts.map +1 -0
  143. package/dist/node/config/Config.d.ts +396 -0
  144. package/dist/node/config/Config.d.ts.map +1 -0
  145. package/dist/node/config/DeepPartial.d.ts +5 -0
  146. package/dist/node/config/DeepPartial.d.ts.map +1 -0
  147. package/dist/node/config/HostActor.d.ts +591 -0
  148. package/dist/node/config/HostActor.d.ts.map +1 -0
  149. package/dist/node/config/LocatorConfigFields.d.ts +115 -0
  150. package/dist/node/config/LocatorConfigFields.d.ts.map +1 -0
  151. package/dist/node/config/Log.d.ts +16 -0
  152. package/dist/node/config/Log.d.ts.map +1 -0
  153. package/dist/node/config/Provider.d.ts +36 -0
  154. package/dist/node/config/Provider.d.ts.map +1 -0
  155. package/dist/node/config/ProviderBinding.d.ts +17 -0
  156. package/dist/node/config/ProviderBinding.d.ts.map +1 -0
  157. package/dist/node/config/Providers.d.ts +9 -0
  158. package/dist/node/config/Providers.d.ts.map +1 -0
  159. package/dist/node/config/ResolvedLocatorConfig.d.ts +122 -0
  160. package/dist/node/config/ResolvedLocatorConfig.d.ts.map +1 -0
  161. package/dist/node/config/Telemetry.d.ts +40 -0
  162. package/dist/node/config/Telemetry.d.ts.map +1 -0
  163. package/dist/node/config/UsageMeta.d.ts +32 -0
  164. package/dist/node/config/UsageMeta.d.ts.map +1 -0
  165. package/dist/node/config/Validation.d.ts +25 -0
  166. package/dist/node/config/Validation.d.ts.map +1 -0
  167. package/dist/node/config/connections/Connection.d.ts +147 -0
  168. package/dist/node/config/connections/Connection.d.ts.map +1 -0
  169. package/dist/node/config/connections/Mongo.d.ts +12 -0
  170. package/dist/node/config/connections/Mongo.d.ts.map +1 -0
  171. package/dist/node/config/connections/RpcRemote.d.ts +34 -0
  172. package/dist/node/config/connections/RpcRemote.d.ts.map +1 -0
  173. package/dist/node/config/connections/S3.d.ts +20 -0
  174. package/dist/node/config/connections/S3.d.ts.map +1 -0
  175. package/dist/node/config/connections/index.d.ts +5 -0
  176. package/dist/node/config/connections/index.d.ts.map +1 -0
  177. package/dist/node/config/index.d.ts +18 -0
  178. package/dist/node/config/index.d.ts.map +1 -0
  179. package/dist/node/config/normalizeConnectionsConfig.d.ts +17 -0
  180. package/dist/node/config/normalizeConnectionsConfig.d.ts.map +1 -0
  181. package/dist/node/config/resolveRestConnectionEndpoint.d.ts +5 -0
  182. package/dist/node/config/resolveRestConnectionEndpoint.d.ts.map +1 -0
  183. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts +8 -0
  184. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
  185. package/dist/node/constants.d.ts +5 -0
  186. package/dist/node/constants.d.ts.map +1 -0
  187. package/dist/node/context/Actor.d.ts +633 -0
  188. package/dist/node/context/Actor.d.ts.map +1 -0
  189. package/dist/node/context/HostActor.d.ts +645 -0
  190. package/dist/node/context/HostActor.d.ts.map +1 -0
  191. package/dist/node/context/index.d.ts +3 -0
  192. package/dist/node/context/index.d.ts.map +1 -0
  193. package/dist/node/createDeclarationPayload.d.ts +5 -0
  194. package/dist/node/createDeclarationPayload.d.ts.map +1 -0
  195. package/dist/node/createTransferPayload.d.ts +6 -0
  196. package/dist/node/createTransferPayload.d.ts.map +1 -0
  197. package/dist/node/eip-712/Payloads/EIP712Data.d.ts +32 -0
  198. package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -0
  199. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +23 -0
  200. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -0
  201. package/dist/node/eip-712/Payloads/index.d.ts +3 -0
  202. package/dist/node/eip-712/Payloads/index.d.ts.map +1 -0
  203. package/dist/node/eip-712/Types.d.ts +35 -0
  204. package/dist/node/eip-712/Types.d.ts.map +1 -0
  205. package/dist/node/eip-712/index.d.ts +5 -0
  206. package/dist/node/eip-712/index.d.ts.map +1 -0
  207. package/dist/node/eip-712/sign.d.ts +5 -0
  208. package/dist/node/eip-712/sign.d.ts.map +1 -0
  209. package/dist/node/eip-712/verify.d.ts +4 -0
  210. package/dist/node/eip-712/verify.d.ts.map +1 -0
  211. package/dist/node/getFileConfig.d.ts +191 -0
  212. package/dist/node/getFileConfig.d.ts.map +1 -0
  213. package/dist/node/index-node.d.ts +3 -0
  214. package/dist/node/index-node.d.ts.map +1 -0
  215. package/dist/node/index-node.mjs +8324 -0
  216. package/dist/node/index-node.mjs.map +7 -0
  217. package/dist/node/index.d.ts +30 -0
  218. package/dist/node/index.d.ts.map +1 -0
  219. package/dist/node/instances/Address.d.ts +13 -0
  220. package/dist/node/instances/Address.d.ts.map +1 -0
  221. package/dist/node/instances/BoundWitness.d.ts +9 -0
  222. package/dist/node/instances/BoundWitness.d.ts.map +1 -0
  223. package/dist/node/instances/Data.d.ts +5 -0
  224. package/dist/node/instances/Data.d.ts.map +1 -0
  225. package/dist/node/instances/Fees.d.ts +9 -0
  226. package/dist/node/instances/Fees.d.ts.map +1 -0
  227. package/dist/node/instances/HydratedBoundWitness.d.ts +11 -0
  228. package/dist/node/instances/HydratedBoundWitness.d.ts.map +1 -0
  229. package/dist/node/instances/Object.d.ts +6 -0
  230. package/dist/node/instances/Object.d.ts.map +1 -0
  231. package/dist/node/instances/Payload.d.ts +7 -0
  232. package/dist/node/instances/Payload.d.ts.map +1 -0
  233. package/dist/node/instances/Signature.d.ts +10 -0
  234. package/dist/node/instances/Signature.d.ts.map +1 -0
  235. package/dist/node/instances/block/BlockFields.d.ts +12 -0
  236. package/dist/node/instances/block/BlockFields.d.ts.map +1 -0
  237. package/dist/node/instances/block/HydratedBlock.d.ts +9 -0
  238. package/dist/node/instances/block/HydratedBlock.d.ts.map +1 -0
  239. package/dist/node/instances/block/index.d.ts +2 -0
  240. package/dist/node/instances/block/index.d.ts.map +1 -0
  241. package/dist/node/instances/index.d.ts +11 -0
  242. package/dist/node/instances/index.d.ts.map +1 -0
  243. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +8 -0
  244. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -0
  245. package/dist/node/instances/modifiers/BlockWindowState.d.ts +6 -0
  246. package/dist/node/instances/modifiers/BlockWindowState.d.ts.map +1 -0
  247. package/dist/node/instances/modifiers/Signed.d.ts +8 -0
  248. package/dist/node/instances/modifiers/Signed.d.ts.map +1 -0
  249. package/dist/node/instances/modifiers/Validatable.d.ts +6 -0
  250. package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -0
  251. package/dist/node/instances/modifiers/index.d.ts +5 -0
  252. package/dist/node/instances/modifiers/index.d.ts.map +1 -0
  253. package/dist/node/instances/transaction/HydratedTransaction.d.ts +7 -0
  254. package/dist/node/instances/transaction/HydratedTransaction.d.ts.map +1 -0
  255. package/dist/node/instances/transaction/TransactionFields.d.ts +17 -0
  256. package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -0
  257. package/dist/node/instances/transaction/index.d.ts +2 -0
  258. package/dist/node/instances/transaction/index.d.ts.map +1 -0
  259. package/dist/node/isInternetAvailable.d.ts +3 -0
  260. package/dist/node/isInternetAvailable.d.ts.map +1 -0
  261. package/dist/node/model/ChainFork/ChainForkStatic.d.ts +9 -0
  262. package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -0
  263. package/dist/node/model/ChainFork/index.d.ts +2 -0
  264. package/dist/node/model/ChainFork/index.d.ts.map +1 -0
  265. package/dist/node/model/ChainIdentity.d.ts +6 -0
  266. package/dist/node/model/ChainIdentity.d.ts.map +1 -0
  267. package/dist/node/model/ChainStore.d.ts +12 -0
  268. package/dist/node/model/ChainStore.d.ts.map +1 -0
  269. package/dist/node/model/CreatableProviderContext.d.ts +5 -0
  270. package/dist/node/model/CreatableProviderContext.d.ts.map +1 -0
  271. package/dist/node/model/CreatableProviderContext.zod.d.ts +714 -0
  272. package/dist/node/model/CreatableProviderContext.zod.d.ts.map +1 -0
  273. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts +5 -0
  274. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts.map +1 -0
  275. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts +5 -0
  276. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts.map +1 -0
  277. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts +5 -0
  278. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts.map +1 -0
  279. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts +5 -0
  280. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts.map +1 -0
  281. package/dist/node/model/PayloadBundle/index.d.ts +5 -0
  282. package/dist/node/model/PayloadBundle/index.d.ts.map +1 -0
  283. package/dist/node/model/index.d.ts +7 -0
  284. package/dist/node/model/index.d.ts.map +1 -0
  285. package/dist/node/multipliers.d.ts +10 -0
  286. package/dist/node/multipliers.d.ts.map +1 -0
  287. package/dist/node/payloads/AddressPairPayload.d.ts +22 -0
  288. package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -0
  289. package/dist/node/payloads/index.d.ts +5 -0
  290. package/dist/node/payloads/index.d.ts.map +1 -0
  291. package/dist/node/payloads/netBalancesForPayloads.d.ts +9 -0
  292. package/dist/node/payloads/netBalancesForPayloads.d.ts.map +1 -0
  293. package/dist/node/payloads/netSchemasForPayloads.d.ts +9 -0
  294. package/dist/node/payloads/netSchemasForPayloads.d.ts.map +1 -0
  295. package/dist/node/payloads/netTransfersForPayloads.d.ts +5 -0
  296. package/dist/node/payloads/netTransfersForPayloads.d.ts.map +1 -0
  297. package/dist/node/primitives/block/index.d.ts +3 -0
  298. package/dist/node/primitives/block/index.d.ts.map +1 -0
  299. package/dist/node/primitives/block/range/blockRangeSteps.d.ts +4 -0
  300. package/dist/node/primitives/block/range/blockRangeSteps.d.ts.map +1 -0
  301. package/dist/node/primitives/block/range/index.d.ts +2 -0
  302. package/dist/node/primitives/block/range/index.d.ts.map +1 -0
  303. package/dist/node/primitives/block/rate/blockRate.d.ts +11 -0
  304. package/dist/node/primitives/block/rate/blockRate.d.ts.map +1 -0
  305. package/dist/node/primitives/block/rate/index.d.ts +5 -0
  306. package/dist/node/primitives/block/rate/index.d.ts.map +1 -0
  307. package/dist/node/primitives/block/rate/stepRate.d.ts +7 -0
  308. package/dist/node/primitives/block/rate/stepRate.d.ts.map +1 -0
  309. package/dist/node/primitives/block/rate/timeHelpers.d.ts +8 -0
  310. package/dist/node/primitives/block/rate/timeHelpers.d.ts.map +1 -0
  311. package/dist/node/primitives/block/rate/timeRate.d.ts +8 -0
  312. package/dist/node/primitives/block/rate/timeRate.d.ts.map +1 -0
  313. package/dist/node/primitives/chain/getWindowedChain.d.ts +10 -0
  314. package/dist/node/primitives/chain/getWindowedChain.d.ts.map +1 -0
  315. package/dist/node/primitives/chain/index.d.ts +4 -0
  316. package/dist/node/primitives/chain/index.d.ts.map +1 -0
  317. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts +5 -0
  318. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -0
  319. package/dist/node/primitives/chain/step/index.d.ts +5 -0
  320. package/dist/node/primitives/chain/step/index.d.ts.map +1 -0
  321. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts +4 -0
  322. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts.map +1 -0
  323. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts +4 -0
  324. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts.map +1 -0
  325. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts +8 -0
  326. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts.map +1 -0
  327. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts +4 -0
  328. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts.map +1 -0
  329. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts +4 -0
  330. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts.map +1 -0
  331. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts +4 -0
  332. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts.map +1 -0
  333. package/dist/node/primitives/chain/time/index.d.ts +4 -0
  334. package/dist/node/primitives/chain/time/index.d.ts.map +1 -0
  335. package/dist/node/primitives/datalake/NamedDataLake.d.ts +7 -0
  336. package/dist/node/primitives/datalake/NamedDataLake.d.ts.map +1 -0
  337. package/dist/node/primitives/datalake/PayloadLocator.d.ts +55 -0
  338. package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -0
  339. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +5 -0
  340. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -0
  341. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +9 -0
  342. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -0
  343. package/dist/node/primitives/datalake/index.d.ts +5 -0
  344. package/dist/node/primitives/datalake/index.d.ts.map +1 -0
  345. package/dist/node/primitives/index.d.ts +13 -0
  346. package/dist/node/primitives/index.d.ts.map +1 -0
  347. package/dist/node/primitives/mapToMapType.d.ts +4 -0
  348. package/dist/node/primitives/mapToMapType.d.ts.map +1 -0
  349. package/dist/node/primitives/payload/index.d.ts +2 -0
  350. package/dist/node/primitives/payload/index.d.ts.map +1 -0
  351. package/dist/node/primitives/payload/mergeTransfers.d.ts +5 -0
  352. package/dist/node/primitives/payload/mergeTransfers.d.ts.map +1 -0
  353. package/dist/node/primitives/readPayloadMapFromStore.d.ts +7 -0
  354. package/dist/node/primitives/readPayloadMapFromStore.d.ts.map +1 -0
  355. package/dist/node/primitives/rewardFromBlockNumber.d.ts +4 -0
  356. package/dist/node/primitives/rewardFromBlockNumber.d.ts.map +1 -0
  357. package/dist/node/primitives/rewards/index.d.ts +2 -0
  358. package/dist/node/primitives/rewards/index.d.ts.map +1 -0
  359. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts +4 -0
  360. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts.map +1 -0
  361. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts +5 -0
  362. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -0
  363. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts +4 -0
  364. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -0
  365. package/dist/node/primitives/stake/allStakersForRange.d.ts +5 -0
  366. package/dist/node/primitives/stake/allStakersForRange.d.ts.map +1 -0
  367. package/dist/node/primitives/stake/allStakersForStep.d.ts +5 -0
  368. package/dist/node/primitives/stake/allStakersForStep.d.ts.map +1 -0
  369. package/dist/node/primitives/stake/index.d.ts +7 -0
  370. package/dist/node/primitives/stake/index.d.ts.map +1 -0
  371. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts +4 -0
  372. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts.map +1 -0
  373. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +5 -0
  374. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -0
  375. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts +6 -0
  376. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -0
  377. package/dist/node/primitives/state/findMostRecentBlock.d.ts +11 -0
  378. package/dist/node/primitives/state/findMostRecentBlock.d.ts.map +1 -0
  379. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts +4 -0
  380. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts.map +1 -0
  381. package/dist/node/primitives/state/index.d.ts +3 -0
  382. package/dist/node/primitives/state/index.d.ts.map +1 -0
  383. package/dist/node/primitives/step/derivedReceiveAddress.d.ts +2 -0
  384. package/dist/node/primitives/step/derivedReceiveAddress.d.ts.map +1 -0
  385. package/dist/node/primitives/step/index.d.ts +3 -0
  386. package/dist/node/primitives/step/index.d.ts.map +1 -0
  387. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts +2 -0
  388. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts.map +1 -0
  389. package/dist/node/primitives/step/stepBlockRange.d.ts +4 -0
  390. package/dist/node/primitives/step/stepBlockRange.d.ts.map +1 -0
  391. package/dist/node/primitives/step/stepTransferIndex.d.ts +3 -0
  392. package/dist/node/primitives/step/stepTransferIndex.d.ts.map +1 -0
  393. package/dist/node/primitives/transaction/elevatedPayloads.d.ts +2 -0
  394. package/dist/node/primitives/transaction/elevatedPayloads.d.ts.map +1 -0
  395. package/dist/node/primitives/transaction/index.d.ts +2 -0
  396. package/dist/node/primitives/transaction/index.d.ts.map +1 -0
  397. package/dist/node/primitives/uncle/findBestUncle.d.ts +17 -0
  398. package/dist/node/primitives/uncle/findBestUncle.d.ts.map +1 -0
  399. package/dist/node/primitives/uncle/findUncles.d.ts +36 -0
  400. package/dist/node/primitives/uncle/findUncles.d.ts.map +1 -0
  401. package/dist/node/primitives/uncle/getProducerKey.d.ts +4 -0
  402. package/dist/node/primitives/uncle/getProducerKey.d.ts.map +1 -0
  403. package/dist/node/primitives/uncle/index.d.ts +5 -0
  404. package/dist/node/primitives/uncle/index.d.ts.map +1 -0
  405. package/dist/node/primitives/uncle/scoreUncle.d.ts +6 -0
  406. package/dist/node/primitives/uncle/scoreUncle.d.ts.map +1 -0
  407. package/dist/node/services/AccountTransfersService.d.ts +12 -0
  408. package/dist/node/services/AccountTransfersService.d.ts.map +1 -0
  409. package/dist/node/services/BlockProducerService.d.ts +7 -0
  410. package/dist/node/services/BlockProducerService.d.ts.map +1 -0
  411. package/dist/node/services/Chain/BaseChainService.d.ts +4 -0
  412. package/dist/node/services/Chain/BaseChainService.d.ts.map +1 -0
  413. package/dist/node/services/Chain/ChainHeadService.d.ts +7 -0
  414. package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -0
  415. package/dist/node/services/Chain/ChainService.d.ts +6 -0
  416. package/dist/node/services/Chain/ChainService.d.ts.map +1 -0
  417. package/dist/node/services/Chain/index.d.ts +4 -0
  418. package/dist/node/services/Chain/index.d.ts.map +1 -0
  419. package/dist/node/services/Election.d.ts +11 -0
  420. package/dist/node/services/Election.d.ts.map +1 -0
  421. package/dist/node/services/NetworkStakeService.d.ts +5 -0
  422. package/dist/node/services/NetworkStakeService.d.ts.map +1 -0
  423. package/dist/node/services/Params.d.ts +11 -0
  424. package/dist/node/services/Params.d.ts.map +1 -0
  425. package/dist/node/services/PendingTransactionsService.d.ts +7 -0
  426. package/dist/node/services/PendingTransactionsService.d.ts.map +1 -0
  427. package/dist/node/services/SchemasService.d.ts +11 -0
  428. package/dist/node/services/SchemasService.d.ts.map +1 -0
  429. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +39 -0
  430. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -0
  431. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts +31 -0
  432. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts.map +1 -0
  433. package/dist/node/services/StakeIntentService/index.d.ts +3 -0
  434. package/dist/node/services/StakeIntentService/index.d.ts.map +1 -0
  435. package/dist/node/services/index.d.ts +9 -0
  436. package/dist/node/services/index.d.ts.map +1 -0
  437. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +23 -0
  438. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -0
  439. package/dist/node/simple/StakeEventsViewer/index.d.ts +2 -0
  440. package/dist/node/simple/StakeEventsViewer/index.d.ts.map +1 -0
  441. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +27 -0
  442. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -0
  443. package/dist/node/simple/StakeTotalsViewer/index.d.ts +2 -0
  444. package/dist/node/simple/StakeTotalsViewer/index.d.ts.map +1 -0
  445. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +42 -0
  446. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -0
  447. package/dist/node/simple/StakeViewer/index.d.ts +2 -0
  448. package/dist/node/simple/StakeViewer/index.d.ts.map +1 -0
  449. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +25 -0
  450. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -0
  451. package/dist/node/simple/TransactionViewer/index.d.ts +2 -0
  452. package/dist/node/simple/TransactionViewer/index.d.ts.map +1 -0
  453. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +132 -0
  454. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -0
  455. package/dist/node/simple/accountBalance/index.d.ts +2 -0
  456. package/dist/node/simple/accountBalance/index.d.ts.map +1 -0
  457. package/dist/node/simple/block/SimpleBlockViewer.d.ts +114 -0
  458. package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -0
  459. package/dist/node/simple/block/index.d.ts +2 -0
  460. package/dist/node/simple/block/index.d.ts.map +1 -0
  461. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +37 -0
  462. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -0
  463. package/dist/node/simple/blockInvalidation/index.d.ts +2 -0
  464. package/dist/node/simple/blockInvalidation/index.d.ts.map +1 -0
  465. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +18 -0
  466. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -0
  467. package/dist/node/simple/blockReward/index.d.ts +2 -0
  468. package/dist/node/simple/blockReward/index.d.ts.map +1 -0
  469. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts +38 -0
  470. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -0
  471. package/dist/node/simple/blockValidation/index.d.ts +2 -0
  472. package/dist/node/simple/blockValidation/index.d.ts.map +1 -0
  473. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +47 -0
  474. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -0
  475. package/dist/node/simple/chainContractViewer/index.d.ts +2 -0
  476. package/dist/node/simple/chainContractViewer/index.d.ts.map +1 -0
  477. package/dist/node/simple/client/SimpleXyoClient.d.ts +9 -0
  478. package/dist/node/simple/client/SimpleXyoClient.d.ts.map +1 -0
  479. package/dist/node/simple/client/index.d.ts +2 -0
  480. package/dist/node/simple/client/index.d.ts.map +1 -0
  481. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +34 -0
  482. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -0
  483. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +21 -0
  484. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -0
  485. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +20 -0
  486. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -0
  487. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts +16 -0
  488. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts.map +1 -0
  489. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +23 -0
  490. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -0
  491. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +17 -0
  492. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -0
  493. package/dist/node/simple/datalake/index.d.ts +5 -0
  494. package/dist/node/simple/datalake/index.d.ts.map +1 -0
  495. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +30 -0
  496. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -0
  497. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +75 -0
  498. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -0
  499. package/dist/node/simple/finalization/index.d.ts +3 -0
  500. package/dist/node/simple/finalization/index.d.ts.map +1 -0
  501. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts +17 -0
  502. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts.map +1 -0
  503. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +29 -0
  504. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -0
  505. package/dist/node/simple/gateway/index.d.ts +3 -0
  506. package/dist/node/simple/gateway/index.d.ts.map +1 -0
  507. package/dist/node/simple/index.d.ts +24 -0
  508. package/dist/node/simple/index.d.ts.map +1 -0
  509. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +84 -0
  510. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -0
  511. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +82 -0
  512. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -0
  513. package/dist/node/simple/mempool/index.d.ts +3 -0
  514. package/dist/node/simple/mempool/index.d.ts.map +1 -0
  515. package/dist/node/simple/network/SimpleXyoNetwork.d.ts +12 -0
  516. package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -0
  517. package/dist/node/simple/network/index.d.ts +2 -0
  518. package/dist/node/simple/network/index.d.ts.map +1 -0
  519. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts +6 -0
  520. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts.map +1 -0
  521. package/dist/node/simple/network/lib/StatusNetworks.d.ts +15 -0
  522. package/dist/node/simple/network/lib/StatusNetworks.d.ts.map +1 -0
  523. package/dist/node/simple/network/lib/index.d.ts +3 -0
  524. package/dist/node/simple/network/lib/index.d.ts.map +1 -0
  525. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts +17 -0
  526. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts.map +1 -0
  527. package/dist/node/simple/permissions/index.d.ts +3 -0
  528. package/dist/node/simple/permissions/index.d.ts.map +1 -0
  529. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts +16 -0
  530. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts.map +1 -0
  531. package/dist/node/simple/permissions/store/PermissionsStore.d.ts +14 -0
  532. package/dist/node/simple/permissions/store/PermissionsStore.d.ts.map +1 -0
  533. package/dist/node/simple/permissions/store/index.d.ts +3 -0
  534. package/dist/node/simple/permissions/store/index.d.ts.map +1 -0
  535. package/dist/node/simple/runner/SimpleXyoRunner.d.ts +21 -0
  536. package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -0
  537. package/dist/node/simple/runner/index.d.ts +2 -0
  538. package/dist/node/simple/runner/index.d.ts.map +1 -0
  539. package/dist/node/simple/signer/SimpleXyoSigner.d.ts +31 -0
  540. package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -0
  541. package/dist/node/simple/signer/index.d.ts +2 -0
  542. package/dist/node/simple/signer/index.d.ts.map +1 -0
  543. package/dist/node/simple/sync/RestSyncViewer.d.ts +22 -0
  544. package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -0
  545. package/dist/node/simple/sync/index.d.ts +2 -0
  546. package/dist/node/simple/sync/index.d.ts.map +1 -0
  547. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +27 -0
  548. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -0
  549. package/dist/node/simple/systemStatus/index.d.ts +2 -0
  550. package/dist/node/simple/systemStatus/index.d.ts.map +1 -0
  551. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +27 -0
  552. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -0
  553. package/dist/node/simple/timeSync2/index.d.ts +2 -0
  554. package/dist/node/simple/timeSync2/index.d.ts.map +1 -0
  555. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +35 -0
  556. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -0
  557. package/dist/node/simple/transactionInvalidation/index.d.ts +2 -0
  558. package/dist/node/simple/transactionInvalidation/index.d.ts.map +1 -0
  559. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +34 -0
  560. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -0
  561. package/dist/node/simple/transactionValidation/index.d.ts +2 -0
  562. package/dist/node/simple/transactionValidation/index.d.ts.map +1 -0
  563. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +242 -0
  564. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -0
  565. package/dist/node/simple/windowedBlock/index.d.ts +2 -0
  566. package/dist/node/simple/windowedBlock/index.d.ts.map +1 -0
  567. package/dist/node/status/ServiceStatus.d.ts +9 -0
  568. package/dist/node/status/ServiceStatus.d.ts.map +1 -0
  569. package/dist/node/status/SimpleSystemStatusRunner.d.ts +35 -0
  570. package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -0
  571. package/dist/node/status/index.d.ts +3 -0
  572. package/dist/node/status/index.d.ts.map +1 -0
  573. package/dist/node/summary/index.d.ts +3 -0
  574. package/dist/node/summary/index.d.ts.map +1 -0
  575. package/dist/node/summary/model/BalancesStepSummary.d.ts +26 -0
  576. package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -0
  577. package/dist/node/summary/model/SchemasStepSummary.d.ts +25 -0
  578. package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -0
  579. package/dist/node/summary/model/TransfersSummary.d.ts +26 -0
  580. package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -0
  581. package/dist/node/summary/model/index.d.ts +4 -0
  582. package/dist/node/summary/model/index.d.ts.map +1 -0
  583. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts +9 -0
  584. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts.map +1 -0
  585. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts +6 -0
  586. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -0
  587. package/dist/node/summary/primitives/balances/balancesSummary.d.ts +7 -0
  588. package/dist/node/summary/primitives/balances/balancesSummary.d.ts.map +1 -0
  589. package/dist/node/summary/primitives/balances/index.d.ts +4 -0
  590. package/dist/node/summary/primitives/balances/index.d.ts.map +1 -0
  591. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts +13 -0
  592. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts.map +1 -0
  593. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +12 -0
  594. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -0
  595. package/dist/node/summary/primitives/blocks/index.d.ts +3 -0
  596. package/dist/node/summary/primitives/blocks/index.d.ts.map +1 -0
  597. package/dist/node/summary/primitives/index.d.ts +5 -0
  598. package/dist/node/summary/primitives/index.d.ts.map +1 -0
  599. package/dist/node/summary/primitives/schemas/index.d.ts +4 -0
  600. package/dist/node/summary/primitives/schemas/index.d.ts.map +1 -0
  601. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts +8 -0
  602. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts.map +1 -0
  603. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts +7 -0
  604. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts.map +1 -0
  605. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts +7 -0
  606. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts.map +1 -0
  607. package/dist/node/summary/primitives/transfers/index.d.ts +4 -0
  608. package/dist/node/summary/primitives/transfers/index.d.ts.map +1 -0
  609. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts +10 -0
  610. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts.map +1 -0
  611. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +9 -0
  612. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -0
  613. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts +7 -0
  614. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts.map +1 -0
  615. package/dist/node/test/BuildBlockOptions.d.ts +33 -0
  616. package/dist/node/test/BuildBlockOptions.d.ts.map +1 -0
  617. package/dist/node/test/buildBlock.d.ts +5 -0
  618. package/dist/node/test/buildBlock.d.ts.map +1 -0
  619. package/dist/node/test/buildGenesisBlock.d.ts +9 -0
  620. package/dist/node/test/buildGenesisBlock.d.ts.map +1 -0
  621. package/dist/node/test/buildNextBlock.d.ts +6 -0
  622. package/dist/node/test/buildNextBlock.d.ts.map +1 -0
  623. package/dist/node/test/buildRandomChain.d.ts +20 -0
  624. package/dist/node/test/buildRandomChain.d.ts.map +1 -0
  625. package/dist/node/test/buildRandomGenesisBlock.d.ts +13 -0
  626. package/dist/node/test/buildRandomGenesisBlock.d.ts.map +1 -0
  627. package/dist/node/test/buildRandomTransaction.d.ts +5 -0
  628. package/dist/node/test/buildRandomTransaction.d.ts.map +1 -0
  629. package/dist/node/test/createGenesisBlock.d.ts +5 -0
  630. package/dist/node/test/createGenesisBlock.d.ts.map +1 -0
  631. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts +16 -0
  632. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -0
  633. package/dist/node/test/getSimpleBlockViewerLocator.d.ts +15 -0
  634. package/dist/node/test/getSimpleBlockViewerLocator.d.ts.map +1 -0
  635. package/dist/node/test/getTestProviderContext.d.ts +5 -0
  636. package/dist/node/test/getTestProviderContext.d.ts.map +1 -0
  637. package/dist/node/test/index.d.ts +5 -0
  638. package/dist/node/test/index.d.ts.map +1 -0
  639. package/dist/node/time/index.d.ts +2 -0
  640. package/dist/node/time/index.d.ts.map +1 -0
  641. package/dist/node/time/primitives/index.d.ts +2 -0
  642. package/dist/node/time/primitives/index.d.ts.map +1 -0
  643. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts +4 -0
  644. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts.map +1 -0
  645. package/dist/node/transaction/TransactionBuilder.d.ts +110 -0
  646. package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -0
  647. package/dist/node/transaction/buildTransaction.d.ts +5 -0
  648. package/dist/node/transaction/buildTransaction.d.ts.map +1 -0
  649. package/dist/node/transaction/buildUnsignedTransaction.d.ts +5 -0
  650. package/dist/node/transaction/buildUnsignedTransaction.d.ts.map +1 -0
  651. package/dist/node/transaction/confirmSubmittedTransaction.d.ts +11 -0
  652. package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -0
  653. package/dist/node/transaction/hydrateTransaction.d.ts +21 -0
  654. package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -0
  655. package/dist/node/transaction/index.d.ts +8 -0
  656. package/dist/node/transaction/index.d.ts.map +1 -0
  657. package/dist/node/transaction/primitives/index.d.ts +5 -0
  658. package/dist/node/transaction/primitives/index.d.ts.map +1 -0
  659. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts +4 -0
  660. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts.map +1 -0
  661. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +8 -0
  662. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -0
  663. package/dist/node/transaction/primitives/transactionOperations.d.ts +5 -0
  664. package/dist/node/transaction/primitives/transactionOperations.d.ts.map +1 -0
  665. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts +7 -0
  666. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts.map +1 -0
  667. package/dist/node/transaction/script.d.ts +2 -0
  668. package/dist/node/transaction/script.d.ts.map +1 -0
  669. package/dist/node/transaction/signTransaction.d.ts +19 -0
  670. package/dist/node/transaction/signTransaction.d.ts.map +1 -0
  671. package/dist/node/utils/HydratedCache.d.ts +15 -0
  672. package/dist/node/utils/HydratedCache.d.ts.map +1 -0
  673. package/dist/node/utils/index.d.ts +3 -0
  674. package/dist/node/utils/index.d.ts.map +1 -0
  675. package/dist/node/utils/isZodError.d.ts +6 -0
  676. package/dist/node/utils/isZodError.d.ts.map +1 -0
  677. package/dist/node/validation/index.d.ts +3 -0
  678. package/dist/node/validation/index.d.ts.map +1 -0
  679. package/dist/node/validation/lib/getUrl.d.ts +3 -0
  680. package/dist/node/validation/lib/getUrl.d.ts.map +1 -0
  681. package/dist/node/validation/lib/index.d.ts +3 -0
  682. package/dist/node/validation/lib/index.d.ts.map +1 -0
  683. package/dist/node/validation/lib/isLocalhost.d.ts +3 -0
  684. package/dist/node/validation/lib/isLocalhost.d.ts.map +1 -0
  685. package/dist/node/validation/schema/Address.d.ts +3 -0
  686. package/dist/node/validation/schema/Address.d.ts.map +1 -0
  687. package/dist/node/validation/schema/Mnemonic.d.ts +14 -0
  688. package/dist/node/validation/schema/Mnemonic.d.ts.map +1 -0
  689. package/dist/node/validation/schema/index.d.ts +3 -0
  690. package/dist/node/validation/schema/index.d.ts.map +1 -0
  691. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts +7 -0
  692. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts.map +1 -0
  693. package/dist/node/wallet/index.d.ts +3 -0
  694. package/dist/node/wallet/index.d.ts.map +1 -0
  695. package/dist/node/wallet/paths.d.ts +24 -0
  696. package/dist/node/wallet/paths.d.ts.map +1 -0
  697. package/package.json +15 -13
  698. package/dist/neutral/getFileConfig.mjs +0 -357
  699. package/dist/neutral/getFileConfig.mjs.map +0 -7
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ /** Type guard that checks if a value is a valid ZodError. */
3
+ export declare const isZodError: (error: unknown) => error is z.ZodError;
4
+ /** prettifyZodError constant. */
5
+ export declare const prettifyZodError: (error: z.ZodError) => string;
6
+ //# sourceMappingURL=isZodError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isZodError.d.ts","sourceRoot":"","sources":["../../../src/utils/isZodError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,6DAA6D;AAC7D,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,CAAC,CAAC,QAEtD,CAAA;AAED,iCAAiC;AACjC,eAAO,MAAM,gBAAgB,GAAI,OAAO,CAAC,CAAC,QAAQ,KAAG,MAEpD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './lib/index.ts';
2
+ export * from './schema/index.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** getUrl constant. */
2
+ export declare const getUrl: (host: string, port: number) => string;
3
+ //# sourceMappingURL=getUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUrl.d.ts","sourceRoot":"","sources":["../../../../src/validation/lib/getUrl.ts"],"names":[],"mappings":"AAEA,uBAAuB;AACvB,eAAO,MAAM,MAAM,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MAGnD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './getUrl.ts';
2
+ export * from './isLocalhost.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/validation/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** Type guard that checks if a value is a valid Localhost. */
2
+ export declare const isLocalhost: (hostname: string) => boolean;
3
+ //# sourceMappingURL=isLocalhost.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isLocalhost.d.ts","sourceRoot":"","sources":["../../../../src/validation/lib/isLocalhost.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,KAAG,OAO9C,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** TODO constant. */
2
+ export declare const TODO = true;
3
+ //# sourceMappingURL=Address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../../src/validation/schema/Address.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,eAAO,MAAM,IAAI,OAAO,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Validates a single string containing a BIP-39 mnemonic.
4
+ *
5
+ * • Trims leading/trailing whitespace.
6
+ * • Collapses any run of whitespace (spaces, tabs, new-lines) to a single space.
7
+ * • Splits on spaces → array of words.
8
+ * • Checks that the word-count is 12, 15, 18, 21, or 24.
9
+ *
10
+ */
11
+ export declare const MnemonicStringZod: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
12
+ /** MnemonicString type. */
13
+ export type MnemonicString = z.infer<typeof MnemonicStringZod>;
14
+ //# sourceMappingURL=Mnemonic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mnemonic.d.ts","sourceRoot":"","sources":["../../../../src/validation/schema/Mnemonic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,wDAMQ,CAAA;AAEtC,2BAA2B;AAC3B,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address.ts';
2
+ export * from './Mnemonic.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/validation/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Initializes a wallet to the default XYO path from a mnemonic phrase
3
+ * @param walletPhrase The mnemonic phrase for the wallet
4
+ * @returns A wallet initialized to the default XYO path using the provided phrase
5
+ */
6
+ export declare const generateXyoBaseWalletFromPhrase: (walletPhrase: string) => Promise<import("@xyo-network/sdk-js").WalletInstance>;
7
+ //# sourceMappingURL=generateXyoBaseWalletFromPhrase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateXyoBaseWalletFromPhrase.d.ts","sourceRoot":"","sources":["../../../src/wallet/generateXyoBaseWalletFromPhrase.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,GAAI,cAAc,MAAM,0DAGnE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './generateXyoBaseWalletFromPhrase.ts';
2
+ export * from './paths.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,YAAY,CAAA"}
@@ -0,0 +1,24 @@
1
+ /** WALLET_COMPLIANCE constant. */
2
+ export declare const WALLET_COMPLIANCE: "44'";
3
+ /** COIN_TYPES constant. */
4
+ export declare const COIN_TYPES: {
5
+ readonly Ethereum: "60'";
6
+ };
7
+ /** ACCOUNT_TYPE constant. */
8
+ export declare const ACCOUNT_TYPE: {
9
+ readonly GANACHE: "0'";
10
+ readonly XYO: "0'";
11
+ };
12
+ /** CHANGE_ADDRESS constant. */
13
+ export declare const CHANGE_ADDRESS: {
14
+ readonly META_MASK: "0";
15
+ readonly XYO: "0";
16
+ };
17
+ /** ADDRESS_INDEX constant. */
18
+ export declare const ADDRESS_INDEX: {
19
+ readonly META_MASK: "0";
20
+ readonly XYO: "0";
21
+ };
22
+ /** DEFAULT_WALLET_PATH constant. */
23
+ export declare const DEFAULT_WALLET_PATH: string;
24
+ //# sourceMappingURL=paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/wallet/paths.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,EAAG,KAAe,CAAA;AAEhD,2BAA2B;AAC3B,eAAO,MAAM,UAAU;;CAAgC,CAAA;AAEvD,6BAA6B;AAC7B,eAAO,MAAM,YAAY;;;CAA0C,CAAA;AAEnE,+BAA+B;AAC/B,eAAO,MAAM,cAAc;;;CAAwC,CAAA;AAEnE,8BAA8B;AAC9B,eAAO,MAAM,aAAa;;;CAAwC,CAAA;AAElE,oCAAoC;AACpC,eAAO,MAAM,mBAAmB,QAA4F,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-protocol-sdk",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "XYO Layer One SDK Protocol",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -21,12 +21,14 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/neutral/index.d.ts",
25
- "default": "./dist/neutral/index.mjs"
26
- },
27
- "./get": {
28
- "types": "./dist/neutral/getFileConfig.d.ts",
29
- "default": "./dist/neutral/getFileConfig.mjs"
24
+ "node": {
25
+ "types": "./dist/node/index-node.d.ts",
26
+ "default": "./dist/node/index-node.mjs"
27
+ },
28
+ "default": {
29
+ "types": "./dist/neutral/index.d.ts",
30
+ "default": "./dist/neutral/index.mjs"
31
+ }
30
32
  },
31
33
  "./test": {
32
34
  "types": "./dist/neutral/test/index.d.ts",
@@ -42,11 +44,11 @@
42
44
  "README.md"
43
45
  ],
44
46
  "dependencies": {
45
- "@xyo-network/xl1-protocol-lib": "~4.0.4",
46
- "@xyo-network/xl1-validation": "~4.0.4",
47
- "@xyo-network/xl1-driver-memory": "~4.0.4",
48
- "@xyo-network/xl1-protocol-model": "~4.0.4",
49
- "@xyo-network/xl1-schema": "~4.0.4"
47
+ "@xyo-network/xl1-driver-memory": "~4.0.6",
48
+ "@xyo-network/xl1-protocol-lib": "~4.0.6",
49
+ "@xyo-network/xl1-protocol-model": "~4.0.6",
50
+ "@xyo-network/xl1-schema": "~4.0.6",
51
+ "@xyo-network/xl1-validation": "~4.0.6"
50
52
  },
51
53
  "devDependencies": {
52
54
  "@bitauth/libauth": "~3.0.0",
@@ -78,7 +80,7 @@
78
80
  "vite": "^8.1.0",
79
81
  "vitest": "~4.1.9",
80
82
  "zod": "~4.4.3",
81
- "@xyo-network/xl1-network-model": "~4.0.4"
83
+ "@xyo-network/xl1-network-model": "~4.0.6"
82
84
  },
83
85
  "peerDependencies": {
84
86
  "@bitauth/libauth": "~3.0",
@@ -1,357 +0,0 @@
1
- // src/getFileConfig.ts
2
- import { isDefined, isNull } from "@xylabs/sdk";
3
- import { cosmiconfig } from "cosmiconfig";
4
- import { z as z15 } from "zod/mini";
5
-
6
- // src/config/Actor.ts
7
- import {
8
- zodAsFactory as zodAsFactory2,
9
- zodIsFactory as zodIsFactory2,
10
- zodToFactory as zodToFactory2
11
- } from "@xylabs/sdk";
12
- import { globalRegistry as globalRegistry8, z as z12 } from "zod/mini";
13
-
14
- // src/config/LocatorConfigFields.ts
15
- import { z as z11 } from "zod/mini";
16
-
17
- // src/config/Chain.ts
18
- import { HexZod } from "@xylabs/sdk";
19
- import { XyoAddressZod } from "@xyo-network/sdk-js";
20
- import { globalRegistry, z } from "zod/mini";
21
- var ChainConfigZod = z.object({
22
- id: z.optional(HexZod).register(globalRegistry, {
23
- description: "The unique identifier for the chain. Should be the staking contract address for contract-backed chains.",
24
- title: "chain.id",
25
- type: "string"
26
- }),
27
- genesisRewardAddress: z.optional(XyoAddressZod).register(globalRegistry, {
28
- description: "Address to send the initial genesis rewards to, if a new chain is being created.",
29
- title: "chain.genesisRewardAddress",
30
- type: "Address"
31
- })
32
- });
33
-
34
- // src/config/connections/Connection.ts
35
- import { globalRegistry as globalRegistry3, z as z4 } from "zod";
36
-
37
- // src/config/connections/Mongo.ts
38
- import { globalRegistry as globalRegistry2, z as z2 } from "zod";
39
- var MongoConfigZod = z2.object({
40
- // TODO: Create from other arguments
41
- connectionString: z2.string().nonempty().optional().register(globalRegistry2, {
42
- description: "MongoDB connection string",
43
- title: "storage.mongo.connectionString",
44
- type: "string"
45
- }),
46
- database: z2.string().nonempty().optional().register(globalRegistry2, {
47
- description: "MongoDB database name",
48
- title: "storage.mongo.database",
49
- type: "string"
50
- }),
51
- domain: z2.string().nonempty().optional().register(globalRegistry2, {
52
- description: "MongoDB domain",
53
- title: "storage.mongo.domain",
54
- type: "string"
55
- }),
56
- password: z2.string().nonempty().optional().register(globalRegistry2, {
57
- description: "MongoDB password",
58
- title: "storage.mongo.password",
59
- type: "string"
60
- }),
61
- username: z2.string().nonempty().optional().register(globalRegistry2, {
62
- description: "MongoDB username",
63
- title: "storage.mongo.username",
64
- type: "string"
65
- })
66
- });
67
-
68
- // src/config/connections/S3.ts
69
- import { z as z3 } from "zod";
70
- var S3BucketConfigZod = z3.object({
71
- accessKeyId: z3.string().nonempty().optional().describe("S3-compatible access key id for this bucket (overrides the shared default)"),
72
- accountId: z3.string().nonempty().optional().describe("Account id for this bucket; on Cloudflare R2 it forms the endpoint (overrides the shared default)"),
73
- bucket: z3.string().nonempty().optional().describe("S3-compatible bucket name"),
74
- endpoint: z3.string().nonempty().optional().describe("S3-compatible API endpoint for reads and writes; when omitted, derived from accountId as a Cloudflare R2 endpoint"),
75
- prefix: z3.string().nonempty().optional().describe("Optional key prefix within the bucket"),
76
- readUrl: z3.string().nonempty().optional().describe("Public HTTP/CDN base URL for anonymous reads of this bucket"),
77
- secretAccessKey: z3.string().nonempty().optional().describe("S3-compatible secret access key for this bucket (overrides the shared default)")
78
- });
79
-
80
- // src/config/connections/Connection.ts
81
- var LmdbConnectionConfigZod = z4.object({
82
- access: z4.enum(["read", "write"]).optional().register(globalRegistry3, {
83
- description: "Access mode for this LMDB connection (read or write)",
84
- title: "connections.lmdb.access",
85
- type: "string"
86
- }),
87
- root: z4.string().register(globalRegistry3, {
88
- description: "Root directory for local LMDB storage",
89
- title: "connections.lmdb.root",
90
- type: "string"
91
- }),
92
- store: z4.string().optional().register(globalRegistry3, {
93
- description: "Logical store name within the LMDB root (e.g. finalized-chain, mempool)",
94
- title: "connections.lmdb.store",
95
- type: "string"
96
- }),
97
- type: z4.literal("lmdb")
98
- }).describe("LMDB local storage connection");
99
- var MongoConnectionConfigZod = z4.object({
100
- type: z4.literal("mongo"),
101
- connectionString: MongoConfigZod.shape.connectionString,
102
- database: MongoConfigZod.shape.database,
103
- domain: MongoConfigZod.shape.domain,
104
- password: MongoConfigZod.shape.password,
105
- username: MongoConfigZod.shape.username
106
- }).describe("MongoDB storage connection");
107
- var RpcConnectionConfigZod = z4.object({
108
- type: z4.literal("rpc"),
109
- protocol: z4.string().default("http").register(globalRegistry3, {
110
- description: "Protocol for the RPC connection (http or postMessage)",
111
- title: "connections.rpc.protocol",
112
- type: "string"
113
- }),
114
- url: z4.string().optional().register(globalRegistry3, {
115
- description: "URL for the Chain RPC API (http protocol)",
116
- title: "connections.rpc.url",
117
- type: "string"
118
- }),
119
- networkId: z4.string().optional().register(globalRegistry3, {
120
- description: "Network ID for the postMessage RPC connection",
121
- title: "connections.rpc.networkId",
122
- type: "string"
123
- }),
124
- sessionId: z4.string().optional().register(globalRegistry3, {
125
- description: "Session ID for the postMessage RPC connection",
126
- title: "connections.rpc.sessionId",
127
- type: "string"
128
- })
129
- }).describe("XL1 JSON-RPC connection");
130
- var RestConnectionConfigZod = z4.object({
131
- type: z4.literal("rest"),
132
- baseUrl: z4.string().register(globalRegistry3, {
133
- description: "HTTP base URL for REST reads",
134
- title: "connections.rest.baseUrl",
135
- type: "string"
136
- })
137
- }).describe("HTTP REST read connection");
138
- var S3ConnectionConfigZod = S3BucketConfigZod.extend({
139
- type: z4.literal("s3"),
140
- accessKeyId: z4.string().optional(),
141
- accountId: z4.string().optional(),
142
- secretAccessKey: z4.string().optional()
143
- }).describe("S3-compatible object storage connection");
144
- var EvmRpcConnectionConfigZod = z4.object({
145
- type: z4.literal("evm-rpc"),
146
- url: z4.string().register(globalRegistry3, {
147
- description: "EVM JSON-RPC URL",
148
- title: "connections.evm-rpc.url",
149
- type: "string"
150
- }),
151
- chainId: z4.string().optional().register(globalRegistry3, {
152
- description: "EVM chain ID for this RPC endpoint; auto-detected from the endpoint when omitted",
153
- title: "connections.evm-rpc.chainId",
154
- type: "string"
155
- })
156
- }).describe("EVM JSON-RPC connection");
157
- var MemoryConnectionConfigZod = z4.object({ type: z4.literal("memory") }).describe("In-process memory connection");
158
- var ConnectionConfigZod = z4.discriminatedUnion("type", [
159
- LmdbConnectionConfigZod,
160
- MongoConnectionConfigZod,
161
- RpcConnectionConfigZod,
162
- RestConnectionConfigZod,
163
- S3ConnectionConfigZod,
164
- EvmRpcConnectionConfigZod,
165
- MemoryConnectionConfigZod
166
- ]);
167
- var ConnectionsConfigZod = z4.record(z4.string(), ConnectionConfigZod).default({});
168
-
169
- // src/config/Log.ts
170
- import { LogLevel } from "@xylabs/sdk";
171
- import { globalRegistry as globalRegistry4, z as z5 } from "zod";
172
- var LogLevelNames = Object.keys(LogLevel);
173
- var LogConfigZod = z5.object({
174
- logLevel: z5.enum(LogLevelNames).default("info").register(globalRegistry4, {
175
- choices: LogLevelNames,
176
- default: "info",
177
- description: "Desired process verbosity",
178
- title: "logLevel",
179
- type: "string"
180
- }),
181
- silent: z5.boolean().default(false).register(globalRegistry4, {
182
- default: false,
183
- description: "Whether to run in silent mode",
184
- title: "silent",
185
- type: "boolean"
186
- })
187
- });
188
-
189
- // src/config/ProviderBinding.ts
190
- import { globalRegistry as globalRegistry5, z as z6 } from "zod";
191
- var ProviderBindingConfigZod = z6.object({
192
- connection: z6.string().optional().register(globalRegistry5, {
193
- description: "Named connection from the top-level connections map",
194
- title: "providerBindings.connection",
195
- type: "string"
196
- }),
197
- provider: z6.string().optional().register(globalRegistry5, {
198
- description: "Winning provider descriptor id when config is compile-resolved",
199
- title: "providerBindings.provider",
200
- type: "string"
201
- })
202
- }).describe("Provider connection binding");
203
- var ProviderBindingsConfigZod = z6.record(z6.string(), ProviderBindingConfigZod).default({});
204
-
205
- // src/config/Providers.ts
206
- import z8 from "zod";
207
-
208
- // src/config/Provider.ts
209
- import {
210
- zodAsFactory,
211
- zodIsFactory,
212
- zodToFactory
213
- } from "@xylabs/sdk";
214
- import { z as z7 } from "zod";
215
- var ProviderConfigZod = z7.object({
216
- moniker: z7.string(),
217
- labels: z7.array(z7.string()).optional()
218
- }).describe("Configuration for a Provider");
219
- var isProviderConfig = zodIsFactory(ProviderConfigZod);
220
- var asProviderConfig = zodAsFactory(ProviderConfigZod, "asProviderConfig");
221
- var toProviderConfig = zodToFactory(ProviderConfigZod, "toProviderConfig");
222
-
223
- // src/config/Providers.ts
224
- var ProvidersConfigZod = z8.array(ProviderConfigZod.loose()).describe("Configuration for providers").default([]);
225
-
226
- // src/config/Telemetry.ts
227
- import { globalRegistry as globalRegistry6, z as z9 } from "zod";
228
- var MetricsScrapeConfigZod = z9.object({
229
- path: z9.string().default("/metrics").register(globalRegistry6, {
230
- default: "/metrics",
231
- description: "Path for the metrics scrape endpoint",
232
- title: "telemetry.metrics.scrape.path",
233
- type: "string"
234
- }),
235
- port: z9.coerce.number().int().nonnegative().optional().register(globalRegistry6, {
236
- description: "Port for the metrics scrape endpoint (0 disables the scrape endpoint)",
237
- title: "telemetry.metrics.scrape.port",
238
- type: "number"
239
- })
240
- }).describe("Metrics scrape configuration");
241
- var MetricsConfigZod = z9.object({ scrape: MetricsScrapeConfigZod }).describe("Metrics configuration options");
242
- var OpenTelemetryConfigZod = z9.object({
243
- // OpenTelemetry options
244
- otlpEndpoint: z9.url().optional().register(globalRegistry6, {
245
- description: "OTLP endpoint for exporting telemetry data",
246
- title: "telemetry.otel.otlpEndpoint",
247
- type: "string"
248
- })
249
- });
250
- var TelemetryConfigZod = z9.object({
251
- // Metrics configuration
252
- metrics: MetricsConfigZod.optional().describe("Metrics configuration"),
253
- // OpenTelemetry configuration
254
- otel: OpenTelemetryConfigZod.optional().describe("OpenTelemetry configuration")
255
- }).describe("Telemetry configuration options");
256
-
257
- // src/config/Validation.ts
258
- import { SignerAuthorizationZod } from "@xyo-network/xl1-validation";
259
- import { globalRegistry as globalRegistry7, z as z10 } from "zod";
260
-
261
- // src/primitives/uncle/findBestUncle.ts
262
- var DEFAULT_MIN_CANDIDATES = 1;
263
- var DEFAULT_BACKOFF_MS = 12e4;
264
-
265
- // src/config/Validation.ts
266
- var ValidationConfigZod = z10.object({
267
- signerAuthorizations: z10.array(SignerAuthorizationZod).default([]).register(globalRegistry7, {
268
- description: "Authorizations granting signers the right to sign for addresses derived by a given function (e.g. completed-step-reward, derived-receive). Empty = self-transfers only.",
269
- title: "validation.signerAuthorizations",
270
- type: "array"
271
- }),
272
- minCandidates: z10.coerce.number().default(DEFAULT_MIN_CANDIDATES).register(globalRegistry7, {
273
- default: DEFAULT_MIN_CANDIDATES,
274
- description: "Minimum number of uncle candidates before selecting the best uncle",
275
- title: "validation.minCandidates",
276
- type: "number"
277
- }),
278
- backoffMs: z10.coerce.number().default(DEFAULT_BACKOFF_MS).register(globalRegistry7, {
279
- default: DEFAULT_BACKOFF_MS,
280
- description: "Back-off timeout in ms. If head age exceeds this, minCandidates is ignored",
281
- title: "validation.backoffMs",
282
- type: "number"
283
- })
284
- });
285
-
286
- // src/config/LocatorConfigFields.ts
287
- var LocatorConfigFieldsZod = z11.strictObject({
288
- chain: z11._default(ChainConfigZod, ChainConfigZod.parse({})).check(z11.describe("Configuration for the chain")),
289
- log: z11._default(LogConfigZod, LogConfigZod.parse({})).check(z11.describe("Configuration for logging")),
290
- connections: z11._default(ConnectionsConfigZod, ConnectionsConfigZod.parse({})).check(z11.describe("Named connection profiles (rpc, rest, s3, lmdb, mongo, evm-rpc)")),
291
- providerBindings: z11._default(ProviderBindingsConfigZod, ProviderBindingsConfigZod.parse({})).check(z11.describe("Per-moniker provider connection bindings")),
292
- providers: z11._default(ProvidersConfigZod, ProvidersConfigZod.parse([])).check(z11.describe("Configuration for providers")),
293
- telemetry: z11._default(TelemetryConfigZod, TelemetryConfigZod.parse({})).check(z11.describe("Configuration for telemetry")),
294
- validation: z11._default(ValidationConfigZod, ValidationConfigZod.parse({})).check(z11.describe("Configuration for validation"))
295
- });
296
- var LOCATOR_CONFIG_FIELD_KEYS = Object.keys(LocatorConfigFieldsZod.shape);
297
-
298
- // src/config/Actor.ts
299
- var AccountPathZod = z12.string().check(z12.regex(
300
- /^(m(\/\d+'?)+|\d+'?(\/\d+'?)*)$/,
301
- `Invalid BIP-32 derivation path. Use either an absolute path like "m/44'/60'/0'/0/0" or a relative path like "0", "0/1", or "44'/60'/0'/0/0".`
302
- ));
303
- var ActorConfigZod = z12.extend(LocatorConfigFieldsZod, {
304
- name: z12.string(),
305
- accountPath: z12.optional(AccountPathZod).register(globalRegistry8, {
306
- description: 'BIP-32 derivation path for the actor wallet. Absolute when it starts with "m/"; otherwise relative to the root wallet base path. Each actor must derive to a distinct path.',
307
- title: "accountPath",
308
- type: "string"
309
- })
310
- });
311
- var isActorConfig = zodIsFactory2(ActorConfigZod);
312
- var asActorConfig = zodAsFactory2(ActorConfigZod, "asActorConfig");
313
- var toActorConfig = zodToFactory2(ActorConfigZod, "toActorConfig");
314
-
315
- // src/config/Actors.ts
316
- import { z as z13 } from "zod/mini";
317
- var ActorsConfigZod = z13._default(
318
- z13.array(z13.looseObject(ActorConfigZod.shape)).check(z13.describe("Actor-specific configurations that override the base configuration when the actor is running")),
319
- []
320
- );
321
-
322
- // src/config/Config.ts
323
- import { globalRegistry as globalRegistry9, z as z14 } from "zod/mini";
324
- var ConfigZod = z14.extend(LocatorConfigFieldsZod, {
325
- actors: ActorsConfigZod,
326
- healthCheckPort: z14.optional(z14.coerce.number()).register(globalRegistry9, {
327
- description: "Port for the system-wide health, readiness, and liveness endpoints (/healthz, /livez, /readyz). Set to 0 to disable.",
328
- title: "healthCheckPort",
329
- type: "number"
330
- })
331
- }).check(z14.describe("The complete configuration for the protocol, including global settings and actor-specific overrides"));
332
-
333
- // src/getFileConfig.ts
334
- var configName = "xyo";
335
- var configSection = "xl1";
336
- async function getFileConfig(searchPlaces) {
337
- const explorer = cosmiconfig(
338
- configName,
339
- {
340
- cache: true,
341
- searchPlaces
342
- }
343
- );
344
- const searchResult = await explorer.search();
345
- const result = searchResult?.config;
346
- if (!isNull(result)) {
347
- const section = result[configSection];
348
- if (isDefined(section) && typeof section === "object") {
349
- return z15.looseObject(ConfigZod.shape).parse(section);
350
- }
351
- }
352
- return ConfigZod.parse({});
353
- }
354
- export {
355
- getFileConfig
356
- };
357
- //# sourceMappingURL=getFileConfig.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/getFileConfig.ts", "../../src/config/Actor.ts", "../../src/config/LocatorConfigFields.ts", "../../src/config/Chain.ts", "../../src/config/connections/Connection.ts", "../../src/config/connections/Mongo.ts", "../../src/config/connections/S3.ts", "../../src/config/Log.ts", "../../src/config/ProviderBinding.ts", "../../src/config/Providers.ts", "../../src/config/Provider.ts", "../../src/config/Telemetry.ts", "../../src/config/Validation.ts", "../../src/primitives/uncle/findBestUncle.ts", "../../src/config/Actors.ts", "../../src/config/Config.ts"],
4
- "sourcesContent": ["import { isDefined, isNull } from '@xylabs/sdk'\nimport { cosmiconfig } from 'cosmiconfig'\nimport { z } from 'zod/mini'\n\nimport { ConfigZod } from './config/index.ts'\n\n/**\n * The name of the configuration file to search for.\n */\nconst configName = 'xyo'\n\n/**\n * The name of the section within the configuration file to parse.\n */\nconst configSection = 'xl1' // Default section in the config file\n\n/**\n * Attempts to parse the configuration from a file using cosmiconfig.\n * @returns The parsed configuration object if found and valid, otherwise undefined.\n */\nexport async function getFileConfig(searchPlaces?: string[]) {\n const explorer = cosmiconfig(\n configName,\n {\n cache: true,\n searchPlaces,\n },\n )\n const searchResult = await explorer.search()\n const result: unknown = searchResult?.config\n if (!isNull(result)) {\n const section = (result as Record<string, unknown>)[configSection]\n if (isDefined(section) && typeof section === 'object') {\n return z.looseObject(ConfigZod.shape).parse(section)\n }\n }\n return ConfigZod.parse({})\n}\n", "import {\n zodAsFactory, zodIsFactory, zodToFactory,\n} from '@xylabs/sdk'\nimport { globalRegistry, z } from 'zod/mini'\n\nimport { LocatorConfigFieldsZod } from './LocatorConfigFields.ts'\n\n/**\n * BIP-32 derivation path for an actor wallet.\n *\n * - Absolute form: starts with `m/` (e.g. `m/44'/60'/0'/0/0`). The full path is used as-is,\n * giving the caller complete control over coin type, account, and hardening.\n * - Relative form: a segment list without the `m/` prefix (e.g. `0`, `0/1`, `44'/60'/0'/0/0`).\n * The consumer appends this to its configured root base path.\n *\n * Each segment is a non-negative integer, optionally suffixed with `'` to mark it as hardened.\n */\nexport const AccountPathZod = z.string().check(z.regex(\n /^(m(\\/\\d+'?)+|\\d+'?(\\/\\d+'?)*)$/,\n 'Invalid BIP-32 derivation path. Use either an absolute path like \"m/44\\'/60\\'/0\\'/0/0\" or a relative path like \"0\", \"0/1\", or \"44\\'/60\\'/0\\'/0/0\".',\n))\n\n/** ActorConfigZod constant. */\nexport const ActorConfigZod = z.extend(LocatorConfigFieldsZod, {\n name: z.string(),\n accountPath: z.optional(AccountPathZod).register(globalRegistry, {\n description: 'BIP-32 derivation path for the actor wallet. Absolute when it starts with \"m/\"; otherwise relative to the root wallet base path. Each actor must derive to a distinct path.',\n title: 'accountPath',\n type: 'string',\n }),\n})\n\n/** ActorConfig type. */\nexport type ActorConfig = z.infer<typeof ActorConfigZod>\n\n/** Type guard that checks if a value is a valid ActorConfig. */\nexport const isActorConfig = zodIsFactory(ActorConfigZod)\n/** Converts a value to ActorConfig, throwing if invalid. */\nexport const asActorConfig = zodAsFactory(ActorConfigZod, 'asActorConfig')\n/** toActorConfig constant. */\nexport const toActorConfig = zodToFactory(ActorConfigZod, 'toActorConfig')\n", "import { z } from 'zod/mini'\n\nimport { ChainConfigZod } from './Chain.ts'\nimport { ConnectionsConfigZod } from './connections/index.ts'\nimport { LogConfigZod } from './Log.ts'\nimport { ProviderBindingsConfigZod } from './ProviderBinding.ts'\nimport { ProvidersConfigZod } from './Providers.ts'\nimport { TelemetryConfigZod } from './Telemetry.ts'\nimport { ValidationConfigZod } from './Validation.ts'\n\n/**\n * Shared locator process fields \u2014 single source of truth for connection and\n * provider binding config. Composed by `ConfigZod`, refined by\n * `ResolvedLocatorConfigZod`, and imported by orchestration run-config parsing.\n */\nexport const LocatorConfigFieldsZod = z.strictObject({\n chain: z._default(ChainConfigZod, ChainConfigZod.parse({})).check(z.describe('Configuration for the chain')),\n log: z._default(LogConfigZod, LogConfigZod.parse({})).check(z.describe('Configuration for logging')),\n connections: z._default(ConnectionsConfigZod, ConnectionsConfigZod.parse({})).check(z.describe('Named connection profiles (rpc, rest, s3, lmdb, mongo, evm-rpc)')),\n providerBindings: z._default(ProviderBindingsConfigZod, ProviderBindingsConfigZod.parse({})).check(z.describe('Per-moniker provider connection bindings')),\n providers: z._default(ProvidersConfigZod, ProvidersConfigZod.parse([])).check(z.describe('Configuration for providers')),\n telemetry: z._default(TelemetryConfigZod, TelemetryConfigZod.parse({})).check(z.describe('Configuration for telemetry')),\n validation: z._default(ValidationConfigZod, ValidationConfigZod.parse({})).check(z.describe('Configuration for validation')),\n})\n\n/** Loose locator input (yaml, host config, run-config process slice). */\nexport type LocatorConfig = z.infer<typeof LocatorConfigFieldsZod>\n\nconst LOCATOR_CONFIG_FIELD_KEYS = Object.keys(LocatorConfigFieldsZod.shape)\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null\n}\n\n/**\n * Parses locator process fields from a host, actor, or run-config slice.\n * Strips actor/orchestration keys (`name`, `actors`, `healthCheckPort`, \u2026)\n * before applying `LocatorConfigFieldsZod`.\n */\nexport function parseLocatorConfigFields(raw: unknown): LocatorConfig {\n const source = isRecord(raw) ? raw : {}\n const section: Record<string, unknown> = {}\n for (const key of LOCATOR_CONFIG_FIELD_KEYS) {\n if (Object.hasOwn(source, key)) section[key] = source[key]\n }\n return LocatorConfigFieldsZod.parse(section)\n}\n", "import { HexZod } from '@xylabs/sdk'\nimport { XyoAddressZod } from '@xyo-network/sdk-js'\nimport { globalRegistry, z } from 'zod/mini'\n\n/** ChainConfigZod constant. */\nexport const ChainConfigZod = z.object({\n id: z.optional(HexZod)\n .register(globalRegistry, {\n description:\n 'The unique identifier for the chain. Should be the staking contract address for contract-backed chains.',\n title: 'chain.id',\n type: 'string',\n }),\n genesisRewardAddress: z.optional(XyoAddressZod)\n .register(globalRegistry, {\n description:\n 'Address to send the initial genesis rewards to, if a new chain is being created.',\n title: 'chain.genesisRewardAddress',\n type: 'Address',\n }),\n})\n\n/** ChainConfig type. */\nexport type ChainConfig = z.infer<typeof ChainConfigZod>\n", "import { globalRegistry, z } from 'zod'\n\nimport { MongoConfigZod } from './Mongo.ts'\nimport { S3BucketConfigZod } from './S3.ts'\n\n/** Named LMDB backing-store connection. */\nexport const LmdbConnectionConfigZod = z.object({\n access: z.enum(['read', 'write']).optional().register(globalRegistry, {\n description: 'Access mode for this LMDB connection (read or write)',\n title: 'connections.lmdb.access',\n type: 'string',\n }),\n root: z.string().register(globalRegistry, {\n description: 'Root directory for local LMDB storage',\n title: 'connections.lmdb.root',\n type: 'string',\n }),\n store: z.string().optional().register(globalRegistry, {\n description: 'Logical store name within the LMDB root (e.g. finalized-chain, mempool)',\n title: 'connections.lmdb.store',\n type: 'string',\n }),\n type: z.literal('lmdb'),\n}).describe('LMDB local storage connection')\n\n/** MongoDB backing-store connection. */\nexport const MongoConnectionConfigZod = z.object({\n type: z.literal('mongo'),\n connectionString: MongoConfigZod.shape.connectionString,\n database: MongoConfigZod.shape.database,\n domain: MongoConfigZod.shape.domain,\n password: MongoConfigZod.shape.password,\n username: MongoConfigZod.shape.username,\n}).describe('MongoDB storage connection')\n\n/** JSON-RPC wire connection (HTTP or postMessage). */\nexport const RpcConnectionConfigZod = z.object({\n type: z.literal('rpc'),\n protocol: z.string().default('http').register(globalRegistry, {\n description: 'Protocol for the RPC connection (http or postMessage)',\n title: 'connections.rpc.protocol',\n type: 'string',\n }),\n url: z.string().optional().register(globalRegistry, {\n description: 'URL for the Chain RPC API (http protocol)',\n title: 'connections.rpc.url',\n type: 'string',\n }),\n networkId: z.string().optional().register(globalRegistry, {\n description: 'Network ID for the postMessage RPC connection',\n title: 'connections.rpc.networkId',\n type: 'string',\n }),\n sessionId: z.string().optional().register(globalRegistry, {\n description: 'Session ID for the postMessage RPC connection',\n title: 'connections.rpc.sessionId',\n type: 'string',\n }),\n}).describe('XL1 JSON-RPC connection')\n\n/** HTTP REST read connection (CDN / public read base URL). */\nexport const RestConnectionConfigZod = z.object({\n type: z.literal('rest'),\n baseUrl: z.string().register(globalRegistry, {\n description: 'HTTP base URL for REST reads',\n title: 'connections.rest.baseUrl',\n type: 'string',\n }),\n}).describe('HTTP REST read connection')\n\n/** S3-compatible object storage connection (API + optional public read URL). */\nexport const S3ConnectionConfigZod = S3BucketConfigZod.extend({\n type: z.literal('s3'),\n accessKeyId: z.string().optional(),\n accountId: z.string().optional(),\n secretAccessKey: z.string().optional(),\n}).describe('S3-compatible object storage connection')\n\n/** EVM JSON-RPC connection. */\nexport const EvmRpcConnectionConfigZod = z.object({\n type: z.literal('evm-rpc'),\n url: z.string().register(globalRegistry, {\n description: 'EVM JSON-RPC URL',\n title: 'connections.evm-rpc.url',\n type: 'string',\n }),\n chainId: z.string().optional().register(globalRegistry, {\n description: 'EVM chain ID for this RPC endpoint; auto-detected from the endpoint when omitted',\n title: 'connections.evm-rpc.chainId',\n type: 'string',\n }),\n}).describe('EVM JSON-RPC connection')\n\n/** In-process shared-memory connection (ephemeral; backed by a MemoryArchivist). */\nexport const MemoryConnectionConfigZod = z.object({ type: z.literal('memory') }).describe('In-process memory connection')\n\n/** Discriminated union of all supported connection kinds. */\nexport const ConnectionConfigZod = z.discriminatedUnion('type', [\n LmdbConnectionConfigZod,\n MongoConnectionConfigZod,\n RpcConnectionConfigZod,\n RestConnectionConfigZod,\n S3ConnectionConfigZod,\n EvmRpcConnectionConfigZod,\n MemoryConnectionConfigZod,\n])\n\nexport type LmdbConnectionConfig = z.infer<typeof LmdbConnectionConfigZod>\nexport type MongoConnectionConfig = z.infer<typeof MongoConnectionConfigZod>\nexport type RpcConnectionConfig = z.infer<typeof RpcConnectionConfigZod>\nexport type RestConnectionConfig = z.infer<typeof RestConnectionConfigZod>\nexport type S3ConnectionConfig = z.infer<typeof S3ConnectionConfigZod>\nexport type EvmRpcConnectionConfig = z.infer<typeof EvmRpcConnectionConfigZod>\nexport type MemoryConnectionConfig = z.infer<typeof MemoryConnectionConfigZod>\nexport type ConnectionConfig = z.infer<typeof ConnectionConfigZod>\n\n/** Map of connection name \u2192 connection configuration. */\nexport const ConnectionsConfigZod = z.record(z.string(), ConnectionConfigZod).default({})\n\nexport type ConnectionsConfig = z.infer<typeof ConnectionsConfigZod>\n\nexport type ConnectionKind = ConnectionConfig['type']\n", "import { globalRegistry, z } from 'zod'\n\n/** MongoConfigZod constant. */\nexport const MongoConfigZod = z.object({\n // TODO: Create from other arguments\n connectionString: z.string().nonempty().optional().register(globalRegistry, {\n description: 'MongoDB connection string',\n title: 'storage.mongo.connectionString',\n type: 'string',\n }),\n database: z.string().nonempty().optional().register(globalRegistry, {\n description: 'MongoDB database name',\n title: 'storage.mongo.database',\n type: 'string',\n }),\n domain: z.string().nonempty().optional().register(globalRegistry, {\n description: 'MongoDB domain',\n title: 'storage.mongo.domain',\n type: 'string',\n }),\n password: z.string().nonempty().optional().register(globalRegistry, {\n description: 'MongoDB password',\n title: 'storage.mongo.password',\n type: 'string',\n }),\n username: z.string().nonempty().optional().register(globalRegistry, {\n description: 'MongoDB username',\n title: 'storage.mongo.username',\n type: 'string',\n }),\n})\n\n/** MongoConfig type. */\nexport type MongoConfig = z.infer<typeof MongoConfigZod>\n", "import { z } from 'zod'\n\n/**\n * Per-bucket S3 configuration: the bucket name, an optional public read URL (CDN), and optional\n * credential/prefix overrides. Any omitted credential or prefix falls back to the shared top-level\n * S3 config; an omitted bucket name falls back to the finalized bucket.\n *\n * \"S3\" is the S3-compatible object-storage protocol; Cloudflare R2 is one such implementation.\n */\nexport const S3BucketConfigZod = z.object({\n accessKeyId: z.string().nonempty().optional().describe('S3-compatible access key id for this bucket (overrides the shared default)'),\n accountId: z.string().nonempty().optional().describe('Account id for this bucket; on Cloudflare R2 it forms the endpoint (overrides the shared default)'),\n bucket: z.string().nonempty().optional().describe('S3-compatible bucket name'),\n endpoint: z.string().nonempty().optional().describe('S3-compatible API endpoint for reads and writes; when omitted, derived from accountId as a Cloudflare R2 endpoint'),\n prefix: z.string().nonempty().optional().describe('Optional key prefix within the bucket'),\n readUrl: z.string().nonempty().optional().describe('Public HTTP/CDN base URL for anonymous reads of this bucket'),\n secretAccessKey: z.string().nonempty().optional().describe('S3-compatible secret access key for this bucket (overrides the shared default)'),\n})\n\n/** S3BucketConfig type. */\nexport type S3BucketConfig = z.infer<typeof S3BucketConfigZod>\n", "import type { LogLevelKey } from '@xylabs/sdk'\nimport { LogLevel } from '@xylabs/sdk'\nimport { globalRegistry, z } from 'zod'\n\nconst LogLevelNames = Object.keys(LogLevel) as [LogLevelKey]\n\n/** LogConfigZod constant. */\nexport const LogConfigZod = z.object({\n logLevel: z.enum(LogLevelNames).default('info').register(globalRegistry, {\n choices: LogLevelNames,\n default: 'info',\n description: 'Desired process verbosity',\n title: 'logLevel',\n type: 'string',\n }),\n silent: z.boolean().default(false).register(globalRegistry, {\n default: false,\n description: 'Whether to run in silent mode',\n title: 'silent',\n type: 'boolean',\n }),\n})\n\n/** LogConfig type. */\nexport type LogConfig = z.infer<typeof LogConfigZod>\n", "import { globalRegistry, z } from 'zod'\n\n/**\n * Binds a capability moniker to a named connection profile.\n * Keys in `providerBindings` use the provider moniker (e.g. `BlockViewer`).\n */\nexport const ProviderBindingConfigZod = z.object({\n connection: z.string().optional().register(globalRegistry, {\n description: 'Named connection from the top-level connections map',\n title: 'providerBindings.connection',\n type: 'string',\n }),\n provider: z.string().optional().register(globalRegistry, {\n description: 'Winning provider descriptor id when config is compile-resolved',\n title: 'providerBindings.provider',\n type: 'string',\n }),\n}).describe('Provider connection binding')\n\nexport type ProviderBindingConfig = z.infer<typeof ProviderBindingConfigZod>\n\n/** Map of provider moniker \u2192 binding. */\nexport const ProviderBindingsConfigZod = z.record(z.string(), ProviderBindingConfigZod).default({})\n\nexport type ProviderBindingsConfig = z.infer<typeof ProviderBindingsConfigZod>\n", "import z from 'zod'\n\nimport { ProviderConfigZod } from './Provider.ts'\n\n/** ProvidersConfigZod constant. */\nexport const ProvidersConfigZod = z.array(ProviderConfigZod.loose()).describe('Configuration for providers').default([])\n\n/** ProvidersConfig type. */\nexport type ProvidersConfig = z.infer<typeof ProvidersConfigZod>\n", "import {\n zodAsFactory, zodIsFactory, zodToFactory,\n} from '@xylabs/sdk'\nimport { z } from 'zod'\n\n/** ProviderConfigZod constant. */\nexport const ProviderConfigZod = z.object({\n moniker: z.string(),\n labels: z.array(z.string()).optional(),\n}).describe('Configuration for a Provider')\n\n/** ProviderConfig type. */\nexport type ProviderConfig = z.infer<typeof ProviderConfigZod>\n\n/** Type guard that checks if a value is a valid ProviderConfig. */\nexport const isProviderConfig = zodIsFactory(ProviderConfigZod)\n/** Converts a value to ProviderConfig, throwing if invalid. */\nexport const asProviderConfig = zodAsFactory(ProviderConfigZod, 'asProviderConfig')\n/** toProviderConfig constant. */\nexport const toProviderConfig = zodToFactory(ProviderConfigZod, 'toProviderConfig')\n", "import { globalRegistry, z } from 'zod'\n\n/** DefaultMetricsScrapePorts constant. */\nexport const DefaultMetricsScrapePorts = {\n api: 9465,\n bridge: 9468,\n mempool: 9466,\n producer: 9464,\n rewardRedemptionApi: 9467,\n}\n\n/** MetricsScrapeConfigZod constant. */\nexport const MetricsScrapeConfigZod = z.object({\n path: z.string().default('/metrics').register(globalRegistry, {\n default: '/metrics',\n description: 'Path for the metrics scrape endpoint',\n title: 'telemetry.metrics.scrape.path',\n type: 'string',\n }),\n port: z.coerce.number().int().nonnegative().optional().register(globalRegistry, {\n description: 'Port for the metrics scrape endpoint (0 disables the scrape endpoint)',\n title: 'telemetry.metrics.scrape.port',\n type: 'number',\n }),\n}).describe('Metrics scrape configuration')\n\n/** MetricsConfigZod constant. */\nexport const MetricsConfigZod = z.object({ scrape: MetricsScrapeConfigZod }).describe('Metrics configuration options')\n\n/** OpenTelemetryConfigZod constant. */\nexport const OpenTelemetryConfigZod = z.object({\n // OpenTelemetry options\n otlpEndpoint: z.url().optional().register(globalRegistry, {\n description: 'OTLP endpoint for exporting telemetry data',\n title: 'telemetry.otel.otlpEndpoint',\n type: 'string',\n }),\n})\n\n/** TelemetryConfigZod constant. */\nexport const TelemetryConfigZod = z.object({\n // Metrics configuration\n metrics: MetricsConfigZod.optional().describe('Metrics configuration'),\n // OpenTelemetry configuration\n otel: OpenTelemetryConfigZod.optional().describe('OpenTelemetry configuration'),\n}).describe('Telemetry configuration options')\n\n/** TelemetryConfig type. */\nexport type TelemetryConfig = z.infer<typeof TelemetryConfigZod>\n", "import { SignerAuthorizationZod } from '@xyo-network/xl1-validation'\nimport { globalRegistry, z } from 'zod'\n\nimport { DEFAULT_BACKOFF_MS, DEFAULT_MIN_CANDIDATES } from '../primitives/index.ts'\n\n/** ValidationConfigZod constant. */\nexport const ValidationConfigZod = z.object({\n signerAuthorizations: z.array(SignerAuthorizationZod).default([]).register(globalRegistry, {\n description: 'Authorizations granting signers the right to sign for addresses derived by a given function (e.g. completed-step-reward, derived-receive). Empty = self-transfers only.',\n title: 'validation.signerAuthorizations',\n type: 'array',\n }),\n minCandidates: z.coerce.number().default(DEFAULT_MIN_CANDIDATES).register(globalRegistry, {\n default: DEFAULT_MIN_CANDIDATES,\n description: 'Minimum number of uncle candidates before selecting the best uncle',\n title: 'validation.minCandidates',\n type: 'number',\n }),\n backoffMs: z.coerce.number().default(DEFAULT_BACKOFF_MS).register(globalRegistry, {\n default: DEFAULT_BACKOFF_MS,\n description: 'Back-off timeout in ms. If head age exceeds this, minCandidates is ignored',\n title: 'validation.backoffMs',\n type: 'number',\n }),\n})\n\n/** ValidationConfig type. */\nexport type ValidationConfig = z.infer<typeof ValidationConfigZod>\n", "import type { SignedHydratedBlockWithHashMeta } from '@xyo-network/xl1-protocol-lib'\n\nimport { scoreUncle } from './scoreUncle.ts'\n\n/** Default minimum number of uncle candidates before selecting. */\nexport const DEFAULT_MIN_CANDIDATES = 1\n\n/** Default back-off timeout in milliseconds. If the head has not changed for this long, minCandidates is ignored. */\nexport const DEFAULT_BACKOFF_MS = 120_000\n\n/** Options for findBestUncle block selection. */\nexport interface FindBestUncleOptions {\n /** Back-off timeout in ms. If head age exceeds this, minCandidates is ignored. Default: 120_000. */\n backoffMs?: number\n /** Minimum number of uncle candidates before selecting. Default: 1. */\n minCandidates?: number\n /** Current timestamp in ms. Injectable for testing. Default: Date.now(). */\n now?: number\n}\n\n/** Selects the best uncle chain from candidates using Proof of Perfect scoring. */\nexport function findBestUncle(\n finalizedWindowedChain: SignedHydratedBlockWithHashMeta[],\n uncles: SignedHydratedBlockWithHashMeta[][],\n options?: FindBestUncleOptions,\n): SignedHydratedBlockWithHashMeta[] | undefined {\n if (uncles.length === 0) return undefined\n\n const minCandidates = options?.minCandidates ?? DEFAULT_MIN_CANDIDATES\n const backoffMs = options?.backoffMs ?? DEFAULT_BACKOFF_MS\n const now = options?.now ?? Date.now()\n\n if (uncles.length < minCandidates) {\n const headEpoch = finalizedWindowedChain.at(-1)?.[0].$epoch ?? 0\n const headAge = now - headEpoch\n if (headAge < backoffMs) {\n return undefined\n }\n }\n\n const scores = uncles.map(uncle => ([scoreUncle(finalizedWindowedChain, uncle), uncle] as const)).toSorted((a, b) => b[0] - a[0])\n return scores[0]?.[1]\n}\n", "import { z } from 'zod/mini'\n\nimport { ActorConfigZod } from './Actor.ts'\n\n/** ActorsConfigZod constant. */\nexport const ActorsConfigZod = z._default(\n z.array(z.looseObject(ActorConfigZod.shape)).check(z.describe('Actor-specific configurations that override the base configuration when the actor is running')),\n [],\n)\n\n/** ActorsConfig type. */\nexport type ActorsConfig = z.infer<typeof ActorsConfigZod>\n", "import { globalRegistry, z } from 'zod/mini'\n\nimport { ActorConfigZod } from './Actor.ts'\nimport { ActorsConfigZod } from './Actors.ts'\nimport type { DeepPartial } from './DeepPartial.ts'\nimport { LocatorConfigFieldsZod } from './LocatorConfigFields.ts'\n\n/** ConfigZod constant. */\nexport const ConfigZod = z.extend(LocatorConfigFieldsZod, {\n actors: ActorsConfigZod,\n healthCheckPort: z.optional(z.coerce.number()).register(globalRegistry, {\n description: 'Port for the system-wide health, readiness, and liveness endpoints (/healthz, /livez, /readyz). Set to 0 to disable.',\n title: 'healthCheckPort',\n type: 'number',\n }),\n}).check(z.describe('The complete configuration for the protocol, including global settings and actor-specific overrides'))\n\n/** Config type. */\nexport type Config = z.infer<typeof ConfigZod>\n\n/** ResolveConfig helper function. */\nexport function resolveConfig(\n config: DeepPartial<Config>,\n) {\n const parsedConfig = ConfigZod.parse(config)\n const {\n actors, healthCheckPort: _healthCheckPort, ...rootConfig\n } = parsedConfig\n parsedConfig.actors = actors.map((actorConfig: z.infer<typeof ActorConfigZod>) => {\n return z.looseObject(ActorConfigZod.shape).parse({ ...rootConfig, ...actorConfig })\n })\n return parsedConfig\n}\n"],
5
- "mappings": ";AAAA,SAAS,WAAW,cAAc;AAClC,SAAS,mBAAmB;AAC5B,SAAS,KAAAA,WAAS;;;ACFlB;AAAA,EACE,gBAAAC;AAAA,EAAc,gBAAAC;AAAA,EAAc,gBAAAC;AAAA,OACvB;AACP,SAAS,kBAAAC,iBAAgB,KAAAC,WAAS;;;ACHlC,SAAS,KAAAC,WAAS;;;ACAlB,SAAS,cAAc;AACvB,SAAS,qBAAqB;AAC9B,SAAS,gBAAgB,SAAS;AAG3B,IAAM,iBAAiB,EAAE,OAAO;AAAA,EACrC,IAAI,EAAE,SAAS,MAAM,EAClB,SAAS,gBAAgB;AAAA,IACxB,aACA;AAAA,IACA,OAAO;AAAA,IACP,MAAM;AAAA,EACR,CAAC;A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;;;ACRA,SAAS,kBAAAC,iBAAgB,KAAAC,WAAS;AAQ3B,IAAM,YAAYC,IAAE,OAAO,wBAAwB;AAAA,EACxD,QAAQ;AAAA,EACR,iBAAiBA,IAAE,SAASA,IAAE,OAAO,OAAO,CAAC,EAAE,SAASC,iBAAgB;AAAA,IACtE,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,EACR,CAAC;AACH,CAAC,EAAE,MAAMD,IAAE,SAAS,qGAAqG,CAAC;;;AfN1H,IAAM,aAAa;AAKnB,IAAM,gBAAgB;AAMtB,eAAsB,cAAc,cAAyB;AAC3D,QAAM,WAAW;AAAA,IACf;AAAA,IACA;AAAA,MACE,OAAO;AAAA,MACP;AAAA,IACF;AAAA,EACF;AACA,QAAM,eAAe,MAAM,SAAS,OAAO;AAC3C,QAAM,SAAkB,cAAc;AACtC,MAAI,CAAC,OAAO,MAAM,GAAG;AACnB,UAAM,UAAW,OAAmC,aAAa;AACjE,QAAI,UAAU,OAAO,KAAK,OAAO,YAAY,UAAU;AACrD,aAAOE,IAAE,YAAY,UAAU,KAAK,EAAE,MAAM,OAAO;AAAA,IACrD;AAAA,EACF;AACA,SAAO,UAAU,MAAM,CAAC,CAAC;AAC3B;",
6
- "names": ["z", "zodAsFactory", "zodIsFactory", "zodToFactory", "globalRegistry", "z", "z", "globalRegistry", "z", "globalRegistry", "z", "z", "z", "globalRegistry", "globalRegistry", "z", "globalRegistry", "z", "z", "z", "z", "globalRegistry", "z", "z", "globalRegistry", "globalRegistry", "z", "z", "globalRegistry", "z", "z", "globalRegistry", "zodIsFactory", "zodAsFactory", "zodToFactory", "z", "z", "globalRegistry", "z", "z", "globalRegistry", "z"]
7
- }