@xyo-network/xl1-protocol-sdk 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +3 -3
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/CreatableProvider.d.ts +1 -1
- package/dist/neutral/CreatableProvider/CreatableProvider.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/CreatableProviderRegistry.d.ts +1 -1
- package/dist/neutral/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/GetInstanceOptions.d.ts +1 -1
- package/dist/neutral/CreatableProvider/GetInstanceOptions.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/LabeledCreatableProviderFactory.d.ts +1 -1
- package/dist/neutral/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactory.d.ts +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactory.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactoryLocator.d.ts +2 -3
- package/dist/neutral/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +1 -2
- package/dist/neutral/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -1
- package/dist/neutral/SignedBigInt.d.ts +1 -1
- package/dist/neutral/SignedBigInt.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/BoundWitnessHydrator.d.ts +1 -1
- package/dist/neutral/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/allHashesPresent.d.ts +1 -1
- package/dist/neutral/block/hydrate/allHashesPresent.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/createBoundWitnessHydrator.d.ts +44 -44
- package/dist/neutral/block/hydrate/hydrateBlock.d.ts +1 -1
- package/dist/neutral/block/hydrate/hydrateBlock.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/tryHydrateBlock.d.ts +1 -1
- package/dist/neutral/block/hydrate/tryHydrateBlock.d.ts.map +1 -1
- package/dist/neutral/block/primitives/hashFromBlockNumber.d.ts +1 -1
- package/dist/neutral/block/primitives/hashFromBlockNumber.d.ts.map +1 -1
- package/dist/neutral/block/primitives/payloads/ChainWindow.d.ts +1 -1
- package/dist/neutral/block/primitives/payloads/ChainWindow.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +8 -8
- package/dist/neutral/config/Actors.d.ts +1 -1
- package/dist/neutral/config/Chain.d.ts +1 -1
- package/dist/neutral/config/Config.d.ts +4 -4
- package/dist/neutral/config/HostActor.d.ts +8 -8
- package/dist/neutral/config/LocatorConfigFields.d.ts +1 -1
- package/dist/neutral/config/LocatorConfigFields.d.ts.map +1 -1
- package/dist/neutral/config/Provider.d.ts +11 -7
- package/dist/neutral/config/Provider.d.ts.map +1 -1
- package/dist/neutral/config/Providers.d.ts +6 -2
- package/dist/neutral/config/Providers.d.ts.map +1 -1
- package/dist/neutral/config/ResolvedLocatorConfig.d.ts +1 -1
- package/dist/neutral/config/index.d.ts +0 -1
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +14 -14
- package/dist/neutral/context/HostActor.d.ts +14 -14
- package/dist/neutral/createTransferPayload.d.ts +1 -1
- package/dist/neutral/createTransferPayload.d.ts.map +1 -1
- package/dist/neutral/eip-712/Payloads/EIP712Data.d.ts +1 -1
- package/dist/neutral/eip-712/Payloads/EIP712Data.d.ts.map +1 -1
- package/dist/neutral/eip-712/Payloads/EIP712Signature.d.ts +2 -2
- package/dist/neutral/eip-712/Payloads/EIP712Signature.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +2 -2
- package/dist/neutral/index.mjs +120 -127
- package/dist/neutral/index.mjs.map +3 -3
- package/dist/neutral/instances/Address.d.ts +1 -1
- package/dist/neutral/instances/Address.d.ts.map +1 -1
- package/dist/neutral/instances/Object.d.ts +1 -1
- package/dist/neutral/instances/Object.d.ts.map +1 -1
- package/dist/neutral/instances/Signature.d.ts +1 -1
- package/dist/neutral/instances/Signature.d.ts.map +1 -1
- package/dist/neutral/instances/modifiers/BlockWindowInstance.d.ts +1 -1
- package/dist/neutral/instances/modifiers/BlockWindowInstance.d.ts.map +1 -1
- package/dist/neutral/instances/modifiers/Validatable.d.ts +1 -1
- package/dist/neutral/instances/modifiers/Validatable.d.ts.map +1 -1
- package/dist/neutral/instances/transaction/TransactionFields.d.ts +1 -1
- package/dist/neutral/instances/transaction/TransactionFields.d.ts.map +1 -1
- package/dist/neutral/model/ChainFork/ChainForkStatic.d.ts +1 -1
- package/dist/neutral/model/ChainFork/ChainForkStatic.d.ts.map +1 -1
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +21 -21
- package/dist/neutral/payloads/AddressPairPayload.d.ts +2 -2
- package/dist/neutral/payloads/AddressPairPayload.d.ts.map +1 -1
- package/dist/neutral/primitives/datalake/PayloadLocator.d.ts +1 -1
- package/dist/neutral/primitives/datalake/PayloadLocator.d.ts.map +1 -1
- package/dist/neutral/primitives/datalake/addDataLakePayloads.d.ts +1 -1
- package/dist/neutral/primitives/datalake/addDataLakePayloads.d.ts.map +1 -1
- package/dist/neutral/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +1 -1
- package/dist/neutral/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -1
- package/dist/neutral/primitives/uncle/findUncles.d.ts +11 -11
- package/dist/neutral/services/AccountTransfersService.d.ts +1 -1
- package/dist/neutral/services/AccountTransfersService.d.ts.map +1 -1
- package/dist/neutral/services/Chain/ChainHeadService.d.ts +1 -1
- package/dist/neutral/services/Chain/ChainHeadService.d.ts.map +1 -1
- package/dist/neutral/services/Params.d.ts +1 -1
- package/dist/neutral/services/Params.d.ts.map +1 -1
- package/dist/neutral/services/PendingTransactionsService.d.ts +1 -1
- package/dist/neutral/services/PendingTransactionsService.d.ts.map +1 -1
- package/dist/neutral/services/SchemasService.d.ts +1 -1
- package/dist/neutral/services/SchemasService.d.ts.map +1 -1
- package/dist/neutral/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +3 -3
- package/dist/neutral/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/TransactionViewer/SimpleTransactionViewer.d.ts +1 -1
- package/dist/neutral/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -1
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +26 -26
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts +18 -18
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockReward/SimpleBlockRewardViewer.d.ts +1 -1
- package/dist/neutral/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -1
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts +5 -5
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/AbstractRestDataLake.d.ts +5 -5
- package/dist/neutral/simple/datalake/AbstractRestDataLake.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/AbstractSimpleDataLake.d.ts +1 -1
- package/dist/neutral/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/RestDataLakeRunner.d.ts +1 -1
- package/dist/neutral/simple/datalake/RestDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeRunner.d.ts +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeViewer.d.ts +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts +15 -15
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts +1 -1
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -1
- package/dist/neutral/simple/network/SimpleXyoNetwork.d.ts +1 -1
- package/dist/neutral/simple/network/SimpleXyoNetwork.d.ts.map +1 -1
- package/dist/neutral/simple/runner/SimpleXyoRunner.d.ts +1 -1
- package/dist/neutral/simple/runner/SimpleXyoRunner.d.ts.map +1 -1
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts +4 -4
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts.map +1 -1
- package/dist/neutral/simple/sync/RestSyncViewer.d.ts +1 -1
- package/dist/neutral/simple/sync/RestSyncViewer.d.ts.map +1 -1
- package/dist/neutral/simple/systemStatus/SimpleSystemStatusViewer.d.ts +1 -1
- package/dist/neutral/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -1
- package/dist/neutral/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +67 -67
- package/dist/neutral/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -1
- package/dist/neutral/status/ServiceStatus.d.ts +1 -1
- package/dist/neutral/status/ServiceStatus.d.ts.map +1 -1
- package/dist/neutral/status/SimpleSystemStatusRunner.d.ts +1 -1
- package/dist/neutral/status/SimpleSystemStatusRunner.d.ts.map +1 -1
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts +2 -2
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts.map +1 -1
- package/dist/neutral/summary/model/SchemasStepSummary.d.ts +2 -2
- package/dist/neutral/summary/model/SchemasStepSummary.d.ts.map +1 -1
- package/dist/neutral/summary/model/TransfersSummary.d.ts +2 -2
- package/dist/neutral/summary/model/TransfersSummary.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +1 -1
- package/dist/neutral/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -1
- package/dist/neutral/test/BuildBlockOptions.d.ts +1 -1
- package/dist/neutral/test/BuildBlockOptions.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +41 -44
- package/dist/neutral/test/index.mjs.map +2 -2
- package/dist/neutral/transaction/TransactionBuilder.d.ts +27 -27
- package/dist/neutral/transaction/TransactionBuilder.d.ts.map +1 -1
- package/dist/neutral/transaction/confirmSubmittedTransaction.d.ts +1 -1
- package/dist/neutral/transaction/confirmSubmittedTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/hydrateTransaction.d.ts +1 -1
- package/dist/neutral/transaction/hydrateTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/primitives/transactionElevatedPayloads.d.ts +1 -1
- package/dist/neutral/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -1
- package/dist/neutral/utils/HydratedCache.d.ts +1 -1
- package/dist/neutral/utils/HydratedCache.d.ts.map +1 -1
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +3 -3
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/node/CreatableProvider/CreatableProvider.d.ts +1 -1
- package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -1
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +1 -1
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -1
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +1 -1
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -1
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +1 -1
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -1
- package/dist/node/CreatableProvider/ProviderFactory.d.ts +1 -1
- package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -1
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +2 -3
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -1
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +1 -2
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -1
- package/dist/node/SignedBigInt.d.ts +1 -1
- package/dist/node/SignedBigInt.d.ts.map +1 -1
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +1 -1
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -1
- package/dist/node/block/hydrate/allHashesPresent.d.ts +1 -1
- package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -1
- package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +44 -44
- package/dist/node/block/hydrate/hydrateBlock.d.ts +1 -1
- package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -1
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts +1 -1
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -1
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts +1 -1
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -1
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts +1 -1
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -1
- package/dist/node/config/Actor.d.ts +8 -8
- package/dist/node/config/Actors.d.ts +1 -1
- package/dist/node/config/Chain.d.ts +1 -1
- package/dist/node/config/Config.d.ts +4 -4
- package/dist/node/config/HostActor.d.ts +8 -8
- package/dist/node/config/LocatorConfigFields.d.ts +1 -1
- package/dist/node/config/LocatorConfigFields.d.ts.map +1 -1
- package/dist/node/config/Provider.d.ts +11 -7
- package/dist/node/config/Provider.d.ts.map +1 -1
- package/dist/node/config/Providers.d.ts +6 -2
- package/dist/node/config/Providers.d.ts.map +1 -1
- package/dist/node/config/ResolvedLocatorConfig.d.ts +1 -1
- package/dist/node/config/index.d.ts +0 -1
- package/dist/node/config/index.d.ts.map +1 -1
- package/dist/node/context/Actor.d.ts +14 -14
- package/dist/node/context/HostActor.d.ts +14 -14
- package/dist/node/createTransferPayload.d.ts +1 -1
- package/dist/node/createTransferPayload.d.ts.map +1 -1
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts +1 -1
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -1
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +2 -2
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -1
- package/dist/node/getFileConfig.d.ts +2 -2
- package/dist/node/index-node.mjs +121 -128
- package/dist/node/index-node.mjs.map +3 -3
- package/dist/node/instances/Address.d.ts +1 -1
- package/dist/node/instances/Address.d.ts.map +1 -1
- package/dist/node/instances/Object.d.ts +1 -1
- package/dist/node/instances/Object.d.ts.map +1 -1
- package/dist/node/instances/Signature.d.ts +1 -1
- package/dist/node/instances/Signature.d.ts.map +1 -1
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +1 -1
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -1
- package/dist/node/instances/modifiers/Validatable.d.ts +1 -1
- package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -1
- package/dist/node/instances/transaction/TransactionFields.d.ts +1 -1
- package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -1
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts +1 -1
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -1
- package/dist/node/model/CreatableProviderContext.zod.d.ts +21 -21
- package/dist/node/payloads/AddressPairPayload.d.ts +2 -2
- package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -1
- package/dist/node/primitives/datalake/PayloadLocator.d.ts +1 -1
- package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -1
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +1 -1
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -1
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +1 -1
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -1
- package/dist/node/primitives/uncle/findUncles.d.ts +11 -11
- package/dist/node/services/AccountTransfersService.d.ts +1 -1
- package/dist/node/services/AccountTransfersService.d.ts.map +1 -1
- package/dist/node/services/Chain/ChainHeadService.d.ts +1 -1
- package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -1
- package/dist/node/services/Params.d.ts +1 -1
- package/dist/node/services/Params.d.ts.map +1 -1
- package/dist/node/services/PendingTransactionsService.d.ts +1 -1
- package/dist/node/services/PendingTransactionsService.d.ts.map +1 -1
- package/dist/node/services/SchemasService.d.ts +1 -1
- package/dist/node/services/SchemasService.d.ts.map +1 -1
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +3 -3
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -1
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +1 -1
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -1
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +1 -1
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -1
- package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +26 -26
- package/dist/node/simple/block/SimpleBlockViewer.d.ts +18 -18
- package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -1
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +1 -1
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -1
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +5 -5
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -1
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +5 -5
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -1
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +1 -1
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -1
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +1 -1
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -1
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +1 -1
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -1
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +1 -1
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -1
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +1 -1
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -1
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +15 -15
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -1
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +1 -1
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -1
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -1
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +1 -1
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -1
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts +1 -1
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -1
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts +1 -1
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -1
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts +4 -4
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -1
- package/dist/node/simple/sync/RestSyncViewer.d.ts +1 -1
- package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -1
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +1 -1
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -1
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +1 -1
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -1
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +67 -67
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -1
- package/dist/node/status/ServiceStatus.d.ts +1 -1
- package/dist/node/status/ServiceStatus.d.ts.map +1 -1
- package/dist/node/status/SimpleSystemStatusRunner.d.ts +1 -1
- package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -1
- package/dist/node/summary/model/BalancesStepSummary.d.ts +2 -2
- package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -1
- package/dist/node/summary/model/SchemasStepSummary.d.ts +2 -2
- package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -1
- package/dist/node/summary/model/TransfersSummary.d.ts +2 -2
- package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -1
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +1 -1
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -1
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +1 -1
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -1
- package/dist/node/test/BuildBlockOptions.d.ts +1 -1
- package/dist/node/test/BuildBlockOptions.d.ts.map +1 -1
- package/dist/node/transaction/TransactionBuilder.d.ts +27 -27
- package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -1
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts +1 -1
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -1
- package/dist/node/transaction/hydrateTransaction.d.ts +1 -1
- package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -1
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +1 -1
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -1
- package/dist/node/utils/HydratedCache.d.ts +1 -1
- package/dist/node/utils/HydratedCache.d.ts.map +1 -1
- package/package.json +16 -14
- package/dist/neutral/config/Base.d.ts +0 -109
- package/dist/neutral/config/Base.d.ts.map +0 -1
- package/dist/node/config/Base.d.ts +0 -109
- package/dist/node/config/Base.d.ts.map +0 -1
package/dist/node/index-node.mjs
CHANGED
|
@@ -12,7 +12,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
12
12
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
13
|
|
|
14
14
|
// src/getFileConfig.ts
|
|
15
|
-
import { isDefined as isDefined14, isNull as isNull2 } from "@
|
|
15
|
+
import { isDefined as isDefined14, isNull as isNull2 } from "@ariestools/sdk";
|
|
16
16
|
import { cosmiconfig } from "cosmiconfig";
|
|
17
17
|
import { z as z19 } from "zod/mini";
|
|
18
18
|
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
zodAsFactory as zodAsFactory3,
|
|
22
22
|
zodIsFactory as zodIsFactory2,
|
|
23
23
|
zodToFactory as zodToFactory2
|
|
24
|
-
} from "@
|
|
24
|
+
} from "@ariestools/sdk";
|
|
25
25
|
import { globalRegistry as globalRegistry9, z as z14 } from "zod/mini";
|
|
26
26
|
|
|
27
27
|
// src/config/LocatorConfigFields.ts
|
|
28
28
|
import { z as z13 } from "zod/mini";
|
|
29
29
|
|
|
30
30
|
// src/config/Chain.ts
|
|
31
|
-
import { HexZod } from "@
|
|
31
|
+
import { HexZod } from "@ariestools/sdk";
|
|
32
32
|
import { XyoAddressZod } from "@xyo-network/sdk-js";
|
|
33
33
|
import { globalRegistry, z } from "zod/mini";
|
|
34
34
|
var ChainConfigZod = z.object({
|
|
@@ -214,7 +214,7 @@ var PostMessageRpcRemoteConfigZod = RpcRemoteConfigBaseZod.extend({
|
|
|
214
214
|
var RpcRemoteConfigZod = z5.union([HttpRpcRemoteConfigZod, PostMessageRpcRemoteConfigZod]).describe("Configuration for a remote RPC connection, either Http or postMessage");
|
|
215
215
|
|
|
216
216
|
// src/config/Log.ts
|
|
217
|
-
import { LogLevel } from "@
|
|
217
|
+
import { LogLevel } from "@ariestools/sdk";
|
|
218
218
|
import { globalRegistry as globalRegistry5, z as z6 } from "zod";
|
|
219
219
|
var LogLevelNames = Object.keys(LogLevel);
|
|
220
220
|
var LogConfigZod = z6.object({
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
zodAsFactory,
|
|
258
258
|
zodIsFactory,
|
|
259
259
|
zodToFactory
|
|
260
|
-
} from "@
|
|
260
|
+
} from "@ariestools/sdk";
|
|
261
261
|
import { z as z8 } from "zod";
|
|
262
262
|
var ProviderConfigZod = z8.object({
|
|
263
263
|
moniker: z8.string(),
|
|
@@ -268,7 +268,10 @@ var asProviderConfig = zodAsFactory(ProviderConfigZod, "asProviderConfig");
|
|
|
268
268
|
var toProviderConfig = zodToFactory(ProviderConfigZod, "toProviderConfig");
|
|
269
269
|
|
|
270
270
|
// src/config/Providers.ts
|
|
271
|
-
var ProvidersConfigZod = z9.array(
|
|
271
|
+
var ProvidersConfigZod = z9.array(
|
|
272
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- deprecated array wraps the deprecated item schema
|
|
273
|
+
ProviderConfigZod.loose()
|
|
274
|
+
).describe("Configuration for providers").default([]);
|
|
272
275
|
|
|
273
276
|
// src/config/Telemetry.ts
|
|
274
277
|
import { globalRegistry as globalRegistry7, z as z10 } from "zod";
|
|
@@ -331,11 +334,11 @@ function blockRangeSteps(range, steps) {
|
|
|
331
334
|
}
|
|
332
335
|
|
|
333
336
|
// src/primitives/block/rate/blockRate.ts
|
|
334
|
-
import { isDefined as isDefined2, isFalsy } from "@
|
|
337
|
+
import { isDefined as isDefined2, isFalsy } from "@ariestools/sdk";
|
|
335
338
|
import { asXL1BlockRange } from "@xyo-network/xl1-protocol-lib";
|
|
336
339
|
|
|
337
340
|
// src/primitives/block/rate/timeHelpers.ts
|
|
338
|
-
import { assertEx, isDefined } from "@
|
|
341
|
+
import { assertEx, isDefined } from "@ariestools/sdk";
|
|
339
342
|
var rateMultipliers = {
|
|
340
343
|
millis: 1,
|
|
341
344
|
seconds: 1e3,
|
|
@@ -426,7 +429,7 @@ var calculateBlockRate = async (viewer, range, timeUnit) => {
|
|
|
426
429
|
};
|
|
427
430
|
|
|
428
431
|
// src/primitives/block/rate/stepRate.ts
|
|
429
|
-
import { assertEx as assertEx2 } from "@
|
|
432
|
+
import { assertEx as assertEx2 } from "@ariestools/sdk";
|
|
430
433
|
import {
|
|
431
434
|
asXL1BlockRange as asXL1BlockRange2,
|
|
432
435
|
isValidStep,
|
|
@@ -448,7 +451,7 @@ import {
|
|
|
448
451
|
assertEx as assertEx3,
|
|
449
452
|
isDefined as isDefined3,
|
|
450
453
|
isDefinedNotNull
|
|
451
|
-
} from "@
|
|
454
|
+
} from "@ariestools/sdk";
|
|
452
455
|
import { asXL1BlockNumber as asXL1BlockNumber2, asXL1BlockRange as asXL1BlockRange3 } from "@xyo-network/xl1-protocol-lib";
|
|
453
456
|
var DEFAULT_TOLERANCE_MS = 3e4;
|
|
454
457
|
var DEFAULT_MAX_ATTEMPTS = 10;
|
|
@@ -525,7 +528,7 @@ import {
|
|
|
525
528
|
isDefined as isDefined4,
|
|
526
529
|
isNull,
|
|
527
530
|
spanRootAsync
|
|
528
|
-
} from "@
|
|
531
|
+
} from "@ariestools/sdk";
|
|
529
532
|
async function getWindowedChain(context, blockViewer, maxWindowSize, previousChain = []) {
|
|
530
533
|
return await spanRootAsync("getWindowedChain", async () => {
|
|
531
534
|
const newChain = [];
|
|
@@ -557,7 +560,7 @@ async function getWindowedChain(context, blockViewer, maxWindowSize, previousCha
|
|
|
557
560
|
}
|
|
558
561
|
|
|
559
562
|
// src/primitives/chain/step/chainStepRewardAddress.ts
|
|
560
|
-
import { assertEx as assertEx7, exists } from "@
|
|
563
|
+
import { assertEx as assertEx7, exists } from "@ariestools/sdk";
|
|
561
564
|
import { toXyoAddress as toXyoAddress2 } from "@xyo-network/sdk-js";
|
|
562
565
|
import {
|
|
563
566
|
asTransfer,
|
|
@@ -566,7 +569,7 @@ import {
|
|
|
566
569
|
} from "@xyo-network/xl1-protocol-lib";
|
|
567
570
|
|
|
568
571
|
// src/primitives/payload/mergeTransfers.ts
|
|
569
|
-
import { hexToBigInt } from "@
|
|
572
|
+
import { hexToBigInt } from "@ariestools/sdk";
|
|
570
573
|
import { toXyoAddress } from "@xyo-network/sdk-js";
|
|
571
574
|
function mergeTransfers(transfers) {
|
|
572
575
|
const result = {};
|
|
@@ -589,7 +592,7 @@ function stepBlockRange({ block, step }) {
|
|
|
589
592
|
}
|
|
590
593
|
|
|
591
594
|
// src/primitives/step/stepTransferIndex.ts
|
|
592
|
-
import { assertEx as assertEx5 } from "@
|
|
595
|
+
import { assertEx as assertEx5 } from "@ariestools/sdk";
|
|
593
596
|
import { StepSizes as StepSizes4 } from "@xyo-network/xl1-protocol-lib";
|
|
594
597
|
function stepTransferIndex(block, step) {
|
|
595
598
|
let rewardTransferCount = 0;
|
|
@@ -608,7 +611,7 @@ function stepTransferIndex(block, step) {
|
|
|
608
611
|
}
|
|
609
612
|
|
|
610
613
|
// src/primitives/chain/step/stepRewardBlock.ts
|
|
611
|
-
import { assertEx as assertEx6 } from "@
|
|
614
|
+
import { assertEx as assertEx6 } from "@ariestools/sdk";
|
|
612
615
|
import { StepSizes as StepSizes5 } from "@xyo-network/xl1-protocol-lib";
|
|
613
616
|
async function stepRewardBlock(context, blockViewer, { block, step }) {
|
|
614
617
|
assertEx6(block % StepSizes5[step] === 0, () => `Block must be the first block of the step [${StepSizes5[step]}], got ${block}`);
|
|
@@ -633,7 +636,7 @@ async function chainStepRewardAddress(context, blockViewer, { block, step }) {
|
|
|
633
636
|
}
|
|
634
637
|
|
|
635
638
|
// src/primitives/chain/step/stepRewardTotal.ts
|
|
636
|
-
import { assertEx as assertEx8, isDefined as isDefined6 } from "@
|
|
639
|
+
import { assertEx as assertEx8, isDefined as isDefined6 } from "@ariestools/sdk";
|
|
637
640
|
import {
|
|
638
641
|
asAttoXL1,
|
|
639
642
|
asXL1BlockRange as asXL1BlockRange5,
|
|
@@ -647,7 +650,7 @@ import {
|
|
|
647
650
|
isObject,
|
|
648
651
|
isUndefined,
|
|
649
652
|
timeBudget
|
|
650
|
-
} from "@
|
|
653
|
+
} from "@ariestools/sdk";
|
|
651
654
|
import { LruCacheMap, MemoryMap } from "@xyo-network/xl1-driver-memory";
|
|
652
655
|
function contextCache(context, name, create) {
|
|
653
656
|
if (!isObject(context.caches)) {
|
|
@@ -675,7 +678,7 @@ async function withContextCacheResponse(context, name, key, func, { max = 1e4 }
|
|
|
675
678
|
}
|
|
676
679
|
|
|
677
680
|
// src/payloads/AddressPairPayload.ts
|
|
678
|
-
import { AsObjectFactory } from "@
|
|
681
|
+
import { AsObjectFactory } from "@ariestools/sdk";
|
|
679
682
|
import {
|
|
680
683
|
asSchema,
|
|
681
684
|
isPayloadOfSchemaType
|
|
@@ -686,8 +689,8 @@ var asAddressPairPayload = AsObjectFactory.create(isAddressPairPayload);
|
|
|
686
689
|
var asOptionalAddressPairPayload = AsObjectFactory.createOptional(isAddressPairPayload);
|
|
687
690
|
|
|
688
691
|
// src/payloads/netBalancesForPayloads.ts
|
|
689
|
-
import { hexToBigInt as hexToBigInt2 } from "@
|
|
690
|
-
import { span } from "@
|
|
692
|
+
import { hexToBigInt as hexToBigInt2 } from "@ariestools/sdk";
|
|
693
|
+
import { span } from "@ariestools/sdk";
|
|
691
694
|
import {
|
|
692
695
|
toXyoAddress as toXyoAddress3
|
|
693
696
|
} from "@xyo-network/sdk-js";
|
|
@@ -709,8 +712,8 @@ var netBalancesForPayloads = (context, payloads) => {
|
|
|
709
712
|
};
|
|
710
713
|
|
|
711
714
|
// src/payloads/netSchemasForPayloads.ts
|
|
712
|
-
import { hexToBigInt as hexToBigInt3 } from "@
|
|
713
|
-
import { span as span2 } from "@
|
|
715
|
+
import { hexToBigInt as hexToBigInt3 } from "@ariestools/sdk";
|
|
716
|
+
import { span as span2 } from "@ariestools/sdk";
|
|
714
717
|
import {
|
|
715
718
|
toXyoAddress as toXyoAddress4
|
|
716
719
|
} from "@xyo-network/sdk-js";
|
|
@@ -732,8 +735,8 @@ var netSchemasForPayloads = (context, payloads) => {
|
|
|
732
735
|
};
|
|
733
736
|
|
|
734
737
|
// src/payloads/netTransfersForPayloads.ts
|
|
735
|
-
import { hexToBigInt as hexToBigInt4 } from "@
|
|
736
|
-
import { span as span3 } from "@
|
|
738
|
+
import { hexToBigInt as hexToBigInt4 } from "@ariestools/sdk";
|
|
739
|
+
import { span as span3 } from "@ariestools/sdk";
|
|
737
740
|
import { isTransfer as isTransfer4 } from "@xyo-network/xl1-protocol-lib";
|
|
738
741
|
function netTransfersForPayloads(context, payloads) {
|
|
739
742
|
return span3("netTransfersForPayloads", () => {
|
|
@@ -813,7 +816,7 @@ async function stepsRewardTotal(context, blockViewer, steps, multipliers) {
|
|
|
813
816
|
}
|
|
814
817
|
|
|
815
818
|
// src/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.ts
|
|
816
|
-
import { assertEx as assertEx9, isArray } from "@
|
|
819
|
+
import { assertEx as assertEx9, isArray } from "@ariestools/sdk";
|
|
817
820
|
import {
|
|
818
821
|
asBlockNumber,
|
|
819
822
|
asTimePayload,
|
|
@@ -840,7 +843,7 @@ function allHashesPresent(hashes, payloads) {
|
|
|
840
843
|
}
|
|
841
844
|
|
|
842
845
|
// src/block/hydrate/blockPayloadsFromHydratedBlock.ts
|
|
843
|
-
import { assertEx as assertEx10 } from "@
|
|
846
|
+
import { assertEx as assertEx10 } from "@ariestools/sdk";
|
|
844
847
|
import { isTransactionBoundWitness } from "@xyo-network/xl1-protocol-lib";
|
|
845
848
|
var blockPayloadsFromHydratedBlock = (block) => {
|
|
846
849
|
return block[0].payload_hashes.map((hash) => assertEx10(
|
|
@@ -854,12 +857,12 @@ import {
|
|
|
854
857
|
assertEx as assertEx12,
|
|
855
858
|
isDefined as isDefined7,
|
|
856
859
|
isUndefined as isUndefined4
|
|
857
|
-
} from "@
|
|
860
|
+
} from "@ariestools/sdk";
|
|
858
861
|
import { isBoundWitness, PayloadBuilder as PayloadBuilder2 } from "@xyo-network/sdk-js";
|
|
859
862
|
import { LRUCache } from "lru-cache";
|
|
860
863
|
|
|
861
864
|
// src/primitives/datalake/addDataLakePayloadsToPayloads.ts
|
|
862
|
-
import { isUndefined as isUndefined2 } from "@
|
|
865
|
+
import { isUndefined as isUndefined2 } from "@ariestools/sdk";
|
|
863
866
|
import { isAnyPayload, PayloadBuilder } from "@xyo-network/sdk-js";
|
|
864
867
|
async function addDataLakePayloadsToPayloads(hashes, payloads, dataLakeViewer) {
|
|
865
868
|
if (isUndefined2(dataLakeViewer)) return [payloads, []];
|
|
@@ -884,7 +887,7 @@ async function addDataLakePayloads([boundWitness, payloads], dataLakeViewer) {
|
|
|
884
887
|
}
|
|
885
888
|
|
|
886
889
|
// src/primitives/datalake/PayloadLocator.ts
|
|
887
|
-
import { assertEx as assertEx11, isUndefined as isUndefined3 } from "@
|
|
890
|
+
import { assertEx as assertEx11, isUndefined as isUndefined3 } from "@ariestools/sdk";
|
|
888
891
|
import { isAnyPayload as isAnyPayload2 } from "@xyo-network/sdk-js";
|
|
889
892
|
var PayloadLocator = class {
|
|
890
893
|
datalakes;
|
|
@@ -1222,7 +1225,7 @@ function createBlockHydrator(params) {
|
|
|
1222
1225
|
}
|
|
1223
1226
|
|
|
1224
1227
|
// src/block/hydrate/createBoundWitnessHydrator.ts
|
|
1225
|
-
import { zodAsFactory as zodAsFactory2 } from "@
|
|
1228
|
+
import { zodAsFactory as zodAsFactory2 } from "@ariestools/sdk";
|
|
1226
1229
|
import {
|
|
1227
1230
|
BoundWitnessZod,
|
|
1228
1231
|
PayloadZod,
|
|
@@ -1274,7 +1277,7 @@ var unflattenHydratedBlock = (flattened) => toHydratedBlock(tryUnflattenHydrated
|
|
|
1274
1277
|
var flattenHydratedBlocks = (hydratedBlocks) => hydratedBlocks.flatMap((blk) => flattenHydratedBlock(blk));
|
|
1275
1278
|
|
|
1276
1279
|
// src/block/hydrate/hydrateBlock.ts
|
|
1277
|
-
import { assertEx as assertEx13 } from "@
|
|
1280
|
+
import { assertEx as assertEx13 } from "@ariestools/sdk";
|
|
1278
1281
|
import { asAnyPayload } from "@xyo-network/sdk-js";
|
|
1279
1282
|
import { asBlockBoundWitnessWithStorageMeta as asBlockBoundWitnessWithStorageMeta2, isTransactionBoundWitnessWithStorageMeta } from "@xyo-network/xl1-protocol-lib";
|
|
1280
1283
|
var hydrateBlock = async (context, hash, maxDepth = 1, minDepth = maxDepth) => {
|
|
@@ -1314,7 +1317,7 @@ var transactionsFromHydratedBlock = (block) => {
|
|
|
1314
1317
|
};
|
|
1315
1318
|
|
|
1316
1319
|
// src/block/hydrate/tryHydrateBlock.ts
|
|
1317
|
-
import { assertEx as assertEx14 } from "@
|
|
1320
|
+
import { assertEx as assertEx14 } from "@ariestools/sdk";
|
|
1318
1321
|
import { isBlockBoundWitnessWithStorageMeta, isTransactionBoundWitnessWithStorageMeta as isTransactionBoundWitnessWithStorageMeta2 } from "@xyo-network/xl1-protocol-lib";
|
|
1319
1322
|
var tryHydrateBlock = async (archivist, hash, maxDepth = 1) => {
|
|
1320
1323
|
assertEx14(maxDepth >= 0, () => "maxDepth must be greater than or equal to 0");
|
|
@@ -1338,8 +1341,8 @@ import {
|
|
|
1338
1341
|
asHash,
|
|
1339
1342
|
isDefined as isDefined8,
|
|
1340
1343
|
spanAsync
|
|
1341
|
-
} from "@
|
|
1342
|
-
import { toSafeJsonString } from "@
|
|
1344
|
+
} from "@ariestools/sdk";
|
|
1345
|
+
import { toSafeJsonString } from "@ariestools/sdk";
|
|
1343
1346
|
import {
|
|
1344
1347
|
asSignedBlockBoundWitnessWithStorageMeta,
|
|
1345
1348
|
SignedBlockBoundWitnessWithHashMetaZod,
|
|
@@ -1470,7 +1473,7 @@ import {
|
|
|
1470
1473
|
assertEx as assertEx15,
|
|
1471
1474
|
isHash,
|
|
1472
1475
|
toSafeJsonString as toSafeJsonString2
|
|
1473
|
-
} from "@
|
|
1476
|
+
} from "@ariestools/sdk";
|
|
1474
1477
|
import {
|
|
1475
1478
|
PayloadBuilder as PayloadBuilder3
|
|
1476
1479
|
} from "@xyo-network/sdk-js";
|
|
@@ -1534,7 +1537,7 @@ async function externalBlockRangeFromStep(context, blockViewer, stepIdentity) {
|
|
|
1534
1537
|
}
|
|
1535
1538
|
|
|
1536
1539
|
// src/primitives/mapToMapType.ts
|
|
1537
|
-
import { isDefined as isDefined9 } from "@
|
|
1540
|
+
import { isDefined as isDefined9 } from "@ariestools/sdk";
|
|
1538
1541
|
function mapToMapType(map) {
|
|
1539
1542
|
return {
|
|
1540
1543
|
get: (key) => map.get(key),
|
|
@@ -1568,7 +1571,7 @@ function mapToMapType(map) {
|
|
|
1568
1571
|
}
|
|
1569
1572
|
|
|
1570
1573
|
// src/primitives/readPayloadMapFromStore.ts
|
|
1571
|
-
import { isDefined as isDefined10 } from "@
|
|
1574
|
+
import { isDefined as isDefined10 } from "@ariestools/sdk";
|
|
1572
1575
|
function readPayloadMapFromStore(store) {
|
|
1573
1576
|
if (isReadArchivist(store)) {
|
|
1574
1577
|
return {
|
|
@@ -1645,7 +1648,7 @@ function rewardFromBlockNumber(blockNumber) {
|
|
|
1645
1648
|
import { XYO_NETWORK_STAKING_ADDRESS } from "@xyo-network/xl1-protocol-lib";
|
|
1646
1649
|
|
|
1647
1650
|
// src/primitives/stake/activeStakeAtTimeByAddress.ts
|
|
1648
|
-
import { isDefined as isDefined11 } from "@
|
|
1651
|
+
import { isDefined as isDefined11 } from "@ariestools/sdk";
|
|
1649
1652
|
|
|
1650
1653
|
// src/primitives/stake/mergedAddRemoveStakeEventsByStaker.ts
|
|
1651
1654
|
async function mergedAddRemoveStakeEventsByStaker(chainEvents, range, staked, staker) {
|
|
@@ -1676,7 +1679,7 @@ async function activeStakeAtTimeByAddress(chain, staked, time, staker) {
|
|
|
1676
1679
|
}
|
|
1677
1680
|
|
|
1678
1681
|
// src/primitives/stake/activeStakeAtTimeByPosition.ts
|
|
1679
|
-
import { isUndefined as isUndefined5 } from "@
|
|
1682
|
+
import { isUndefined as isUndefined5 } from "@ariestools/sdk";
|
|
1680
1683
|
|
|
1681
1684
|
// src/primitives/stake/mergedAddRemoveStakeEventsByPosition.ts
|
|
1682
1685
|
async function mergedAddRemoveStakeEventsByPosition(chainEvents, range, position) {
|
|
@@ -1739,7 +1742,7 @@ async function allStakersForStep(context, blockViewer, stakeEventsViewer, stepCo
|
|
|
1739
1742
|
}
|
|
1740
1743
|
|
|
1741
1744
|
// src/primitives/stake/weightedStakeForRangeByPosition.ts
|
|
1742
|
-
import { isDefined as isDefined12 } from "@
|
|
1745
|
+
import { isDefined as isDefined12 } from "@ariestools/sdk";
|
|
1743
1746
|
import { asBlockNumber as asBlockNumber2 } from "@xyo-network/xl1-protocol-lib";
|
|
1744
1747
|
async function weightedStakeForRangeByPosition(context, blockViewer, stakeEventsViewer, externalRange, staked, positionId) {
|
|
1745
1748
|
const cacheKey = isDefined12(positionId) ? `${externalRange[0]}-${externalRange[1]}-${positionId}` : `${externalRange[0]}-${externalRange[1]}-all`;
|
|
@@ -1825,7 +1828,7 @@ var findMostRecentBlock = async (chainArchivist, nextOptions = DEFAULT_NEXT_OPTI
|
|
|
1825
1828
|
};
|
|
1826
1829
|
|
|
1827
1830
|
// src/primitives/state/hydratedBlockByNumber.ts
|
|
1828
|
-
import { assertEx as assertEx16, spanAsync as spanAsync2 } from "@
|
|
1831
|
+
import { assertEx as assertEx16, spanAsync as spanAsync2 } from "@ariestools/sdk";
|
|
1829
1832
|
async function hydratedBlockByNumber(context, blockNumber) {
|
|
1830
1833
|
return await spanAsync2("hydratedBlockByNumber", async () => {
|
|
1831
1834
|
if (blockNumber < 0) throw new Error(`Block number ${blockNumber} is less than 0`);
|
|
@@ -1886,7 +1889,7 @@ function findBestUncle(finalizedWindowedChain, uncles, options) {
|
|
|
1886
1889
|
import {
|
|
1887
1890
|
assertEx as assertEx17,
|
|
1888
1891
|
exists as exists2
|
|
1889
|
-
} from "@
|
|
1892
|
+
} from "@ariestools/sdk";
|
|
1890
1893
|
import { isTransactionBoundWitness as isTransactionBoundWitness2 } from "@xyo-network/xl1-protocol-lib";
|
|
1891
1894
|
function extendUncleChain(block, map) {
|
|
1892
1895
|
const uncle = [block];
|
|
@@ -1971,7 +1974,13 @@ var LocatorConfigFieldsZod = z13.strictObject({
|
|
|
1971
1974
|
log: z13._default(LogConfigZod, LogConfigZod.parse({})).check(z13.describe("Configuration for logging")),
|
|
1972
1975
|
connections: z13._default(ConnectionsConfigZod, ConnectionsConfigZod.parse({})).check(z13.describe("Named connection profiles (rpc, rest, s3, lmdb, mongo, evm-rpc)")),
|
|
1973
1976
|
providerBindings: z13._default(ProviderBindingsConfigZod, ProviderBindingsConfigZod.parse({})).check(z13.describe("Per-moniker provider connection bindings")),
|
|
1974
|
-
|
|
1977
|
+
/**
|
|
1978
|
+
* @deprecated Not consumed by locator/provider resolution — registration is
|
|
1979
|
+
* driven by `providerBindings` + `connections` instead. Kept temporarily to
|
|
1980
|
+
* detect any remaining config usage before removal.
|
|
1981
|
+
*/
|
|
1982
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- field kept temporarily to detect remaining usage
|
|
1983
|
+
providers: z13._default(ProvidersConfigZod, ProvidersConfigZod.parse([])).check(z13.describe("Configuration for providers (deprecated, unused \u2014 use providerBindings + connections instead)")),
|
|
1975
1984
|
telemetry: z13._default(TelemetryConfigZod, TelemetryConfigZod.parse({})).check(z13.describe("Configuration for telemetry")),
|
|
1976
1985
|
validation: z13._default(ValidationConfigZod, ValidationConfigZod.parse({})).check(z13.describe("Configuration for validation"))
|
|
1977
1986
|
});
|
|
@@ -2012,9 +2021,6 @@ var ActorsConfigZod = z15._default(
|
|
|
2012
2021
|
[]
|
|
2013
2022
|
);
|
|
2014
2023
|
|
|
2015
|
-
// src/config/Base.ts
|
|
2016
|
-
var BaseConfigZod = LocatorConfigFieldsZod;
|
|
2017
|
-
|
|
2018
2024
|
// src/config/Config.ts
|
|
2019
2025
|
import { globalRegistry as globalRegistry10, z as z16 } from "zod/mini";
|
|
2020
2026
|
var ConfigZod = z16.extend(LocatorConfigFieldsZod, {
|
|
@@ -2043,7 +2049,7 @@ import {
|
|
|
2043
2049
|
zodAsFactory as zodAsFactory4,
|
|
2044
2050
|
zodIsFactory as zodIsFactory3,
|
|
2045
2051
|
zodToFactory as zodToFactory3
|
|
2046
|
-
} from "@
|
|
2052
|
+
} from "@ariestools/sdk";
|
|
2047
2053
|
import { globalRegistry as globalRegistry11, z as z17 } from "zod/mini";
|
|
2048
2054
|
var HostActorConfigZod = z17.extend(ActorConfigZod, {
|
|
2049
2055
|
host: z17._default(z17.string(), "localhost").register(globalRegistry11, {
|
|
@@ -2121,7 +2127,7 @@ var ResolvedLocatorConfigZod = LocatorConfigFieldsZod.check((ctx) => {
|
|
|
2121
2127
|
});
|
|
2122
2128
|
|
|
2123
2129
|
// src/config/resolveRestConnectionEndpoint.ts
|
|
2124
|
-
import { assertEx as assertEx18, isDefined as isDefined13 } from "@
|
|
2130
|
+
import { assertEx as assertEx18, isDefined as isDefined13 } from "@ariestools/sdk";
|
|
2125
2131
|
function asRestConnectionConfig(connection) {
|
|
2126
2132
|
if (connection?.type !== "rest") return void 0;
|
|
2127
2133
|
return connection;
|
|
@@ -2319,7 +2325,7 @@ var ShiftedBigInt = class _ShiftedBigInt {
|
|
|
2319
2325
|
};
|
|
2320
2326
|
|
|
2321
2327
|
// src/amount/xl1Amount.ts
|
|
2322
|
-
import { assertEx as assertEx19 } from "@
|
|
2328
|
+
import { assertEx as assertEx19 } from "@ariestools/sdk";
|
|
2323
2329
|
import {
|
|
2324
2330
|
AttoXL1,
|
|
2325
2331
|
FemtoXL1,
|
|
@@ -2626,14 +2632,14 @@ function factoryBackingsCompatible(declared, available) {
|
|
|
2626
2632
|
}
|
|
2627
2633
|
|
|
2628
2634
|
// src/CreatableProvider/ProviderFactoryLocator.ts
|
|
2629
|
-
import { hasAllLabels } from "@
|
|
2630
|
-
import { assertEx as assertEx21 } from "@
|
|
2635
|
+
import { hasAllLabels } from "@ariestools/sdk";
|
|
2636
|
+
import { assertEx as assertEx21 } from "@ariestools/sdk";
|
|
2631
2637
|
|
|
2632
2638
|
// src/CreatableProvider/CreatableProviderRegistry.ts
|
|
2633
|
-
import { isTruthy } from "@
|
|
2639
|
+
import { isTruthy } from "@ariestools/sdk";
|
|
2634
2640
|
|
|
2635
2641
|
// src/CreatableProvider/ProviderFactory.ts
|
|
2636
|
-
import { assertEx as assertEx20 } from "@
|
|
2642
|
+
import { assertEx as assertEx20 } from "@ariestools/sdk";
|
|
2637
2643
|
function providerFactoryDescription(factory, labels) {
|
|
2638
2644
|
return `${factory.providerName}:${factory.defaultMoniker}:${JSON.stringify(labels ?? factory.labels ?? {})}`;
|
|
2639
2645
|
}
|
|
@@ -2792,7 +2798,7 @@ function labeledCreatableProviderFactory() {
|
|
|
2792
2798
|
}
|
|
2793
2799
|
|
|
2794
2800
|
// src/CreatableProvider/ProviderFactoryLocator.ts
|
|
2795
|
-
var ProviderFactoryLocator = class
|
|
2801
|
+
var ProviderFactoryLocator = class {
|
|
2796
2802
|
_context;
|
|
2797
2803
|
_registry;
|
|
2798
2804
|
_frozen = false;
|
|
@@ -2843,18 +2849,6 @@ var ProviderFactoryLocator = class _ProviderFactoryLocator {
|
|
|
2843
2849
|
() => `No module factory for the supplied config moniker [${moniker}]${labels ? ` & labels [${JSON.stringify(labels)}]` : ""} registered`
|
|
2844
2850
|
);
|
|
2845
2851
|
}
|
|
2846
|
-
merge(locator) {
|
|
2847
|
-
const registry2 = { ...this.registry };
|
|
2848
|
-
for (const moniker in locator.registry) {
|
|
2849
|
-
const existing = registry2[moniker];
|
|
2850
|
-
if (existing === void 0) {
|
|
2851
|
-
registry2[moniker] = locator.registry[moniker];
|
|
2852
|
-
} else {
|
|
2853
|
-
existing.push(...locator.registry[moniker] ?? []);
|
|
2854
|
-
}
|
|
2855
|
-
}
|
|
2856
|
-
return new _ProviderFactoryLocator(this.context, registry2);
|
|
2857
|
-
}
|
|
2858
2852
|
/**
|
|
2859
2853
|
* Registers a single module factory (with optional tags) with the locator
|
|
2860
2854
|
* @param factory The factory to register
|
|
@@ -2919,7 +2913,7 @@ var ProviderFactoryLocator = class _ProviderFactoryLocator {
|
|
|
2919
2913
|
};
|
|
2920
2914
|
|
|
2921
2915
|
// src/capabilities/resolveProviders.ts
|
|
2922
|
-
import { isDefined as isDefined15 } from "@
|
|
2916
|
+
import { isDefined as isDefined15 } from "@ariestools/sdk";
|
|
2923
2917
|
var MissingCapabilityError = class extends Error {
|
|
2924
2918
|
moniker;
|
|
2925
2919
|
reasons;
|
|
@@ -3187,7 +3181,7 @@ import {
|
|
|
3187
3181
|
zodAsFactory as zodAsFactory6,
|
|
3188
3182
|
zodIsFactory as zodIsFactory5,
|
|
3189
3183
|
zodToFactory as zodToFactory5
|
|
3190
|
-
} from "@
|
|
3184
|
+
} from "@ariestools/sdk";
|
|
3191
3185
|
import { z as z21 } from "zod/mini";
|
|
3192
3186
|
|
|
3193
3187
|
// src/model/CreatableProviderContext.zod.ts
|
|
@@ -3195,7 +3189,7 @@ import {
|
|
|
3195
3189
|
zodAsFactory as zodAsFactory5,
|
|
3196
3190
|
zodIsFactory as zodIsFactory4,
|
|
3197
3191
|
zodToFactory as zodToFactory4
|
|
3198
|
-
} from "@
|
|
3192
|
+
} from "@ariestools/sdk";
|
|
3199
3193
|
import { CachingContextZod } from "@xyo-network/xl1-protocol-lib";
|
|
3200
3194
|
import { z as z20 } from "zod/mini";
|
|
3201
3195
|
var SystemStatusRunnerZod = z20.custom((val) => val !== null && val !== void 0 && typeof val === "object");
|
|
@@ -3257,7 +3251,7 @@ import { PayloadBundleSchema as PayloadBundleSchema2 } from "@xyo-network/sdk-js
|
|
|
3257
3251
|
import { PayloadBuilder as PayloadBuilder12 } from "@xyo-network/sdk-js";
|
|
3258
3252
|
|
|
3259
3253
|
// src/transaction/buildTransaction.ts
|
|
3260
|
-
import { assertEx as assertEx22, toHex } from "@
|
|
3254
|
+
import { assertEx as assertEx22, toHex } from "@ariestools/sdk";
|
|
3261
3255
|
import {
|
|
3262
3256
|
asAnyPayload as asAnyPayload2,
|
|
3263
3257
|
BoundWitnessBuilder as BoundWitnessBuilder2,
|
|
@@ -3295,7 +3289,7 @@ async function buildTransaction(chain, onChainPayloads, offChainPayloads, signer
|
|
|
3295
3289
|
}
|
|
3296
3290
|
|
|
3297
3291
|
// src/transaction/buildUnsignedTransaction.ts
|
|
3298
|
-
import { toHex as toHex2 } from "@
|
|
3292
|
+
import { toHex as toHex2 } from "@ariestools/sdk";
|
|
3299
3293
|
import { BoundWitnessBuilder as BoundWitnessBuilder3, PayloadBuilder as PayloadBuilder8 } from "@xyo-network/sdk-js";
|
|
3300
3294
|
import { defaultTransactionFees as defaultTransactionFees2 } from "@xyo-network/xl1-protocol-lib";
|
|
3301
3295
|
async function buildUnsignedTransaction(chain, onChainPayloads, offChainPayloads, nbf, exp, from, fees = defaultTransactionFees2) {
|
|
@@ -3330,7 +3324,7 @@ import {
|
|
|
3330
3324
|
delay,
|
|
3331
3325
|
isDefined as isDefined16,
|
|
3332
3326
|
isNumber
|
|
3333
|
-
} from "@
|
|
3327
|
+
} from "@ariestools/sdk";
|
|
3334
3328
|
var DEFAULT_CONFIRMATION_ATTEMPTS = 20;
|
|
3335
3329
|
var DEFAULT_DELAY_BETWEEN_ATTEMPTS = 1e3;
|
|
3336
3330
|
var assertNotExpired = async (viewer, txHash, exp, options) => {
|
|
@@ -3368,7 +3362,7 @@ var confirmSubmittedTransaction = async (viewer, txHash, options) => {
|
|
|
3368
3362
|
};
|
|
3369
3363
|
|
|
3370
3364
|
// src/transaction/hydrateTransaction.ts
|
|
3371
|
-
import { assertEx as assertEx23 } from "@
|
|
3365
|
+
import { assertEx as assertEx23 } from "@ariestools/sdk";
|
|
3372
3366
|
import {
|
|
3373
3367
|
asAnyPayload as asAnyPayload3,
|
|
3374
3368
|
hydrateTypedBoundWitness,
|
|
@@ -3452,7 +3446,7 @@ function transactionBlockByteCount([transaction, payloads]) {
|
|
|
3452
3446
|
}
|
|
3453
3447
|
|
|
3454
3448
|
// src/transaction/primitives/transactionElevatedPayloads.ts
|
|
3455
|
-
import { asHash as asHash2 } from "@
|
|
3449
|
+
import { asHash as asHash2 } from "@ariestools/sdk";
|
|
3456
3450
|
|
|
3457
3451
|
// src/transaction/primitives/transactionOperations.ts
|
|
3458
3452
|
function crackOperation(operation) {
|
|
@@ -3495,7 +3489,7 @@ import {
|
|
|
3495
3489
|
assertEx as assertEx24,
|
|
3496
3490
|
hexFromArrayBuffer,
|
|
3497
3491
|
toArrayBuffer
|
|
3498
|
-
} from "@
|
|
3492
|
+
} from "@ariestools/sdk";
|
|
3499
3493
|
import { PayloadBuilder as PayloadBuilder10 } from "@xyo-network/sdk-js";
|
|
3500
3494
|
async function signBoundWitness(bw, account) {
|
|
3501
3495
|
const unsigned = structuredClone(bw);
|
|
@@ -3514,7 +3508,7 @@ async function signTransaction(tx, account) {
|
|
|
3514
3508
|
}
|
|
3515
3509
|
|
|
3516
3510
|
// src/transaction/TransactionBuilder.ts
|
|
3517
|
-
import { assertEx as assertEx25, Base } from "@
|
|
3511
|
+
import { assertEx as assertEx25, Base } from "@ariestools/sdk";
|
|
3518
3512
|
import { PayloadBuilder as PayloadBuilder11 } from "@xyo-network/sdk-js";
|
|
3519
3513
|
import {
|
|
3520
3514
|
asXL1BlockNumber as asXL1BlockNumber4,
|
|
@@ -3672,7 +3666,7 @@ import {
|
|
|
3672
3666
|
zodAsFactory as zodAsFactory7,
|
|
3673
3667
|
zodIsFactory as zodIsFactory6,
|
|
3674
3668
|
zodToFactory as zodToFactory6
|
|
3675
|
-
} from "@
|
|
3669
|
+
} from "@ariestools/sdk";
|
|
3676
3670
|
import { z as z22 } from "zod/mini";
|
|
3677
3671
|
var HostActorConfigContext = z22.extend(BaseConfigContextZod, { config: HostActorConfigZod });
|
|
3678
3672
|
var isHostActorConfigContext = zodIsFactory6(HostActorConfigContext);
|
|
@@ -3684,7 +3678,7 @@ import {
|
|
|
3684
3678
|
AbstractCreatable,
|
|
3685
3679
|
assertEx as assertEx26,
|
|
3686
3680
|
IdLogger
|
|
3687
|
-
} from "@
|
|
3681
|
+
} from "@ariestools/sdk";
|
|
3688
3682
|
var AbstractCreatableProvider = class extends AbstractCreatable {
|
|
3689
3683
|
dependencies = {};
|
|
3690
3684
|
_contextCache;
|
|
@@ -3761,7 +3755,7 @@ function labeledCreatableProvider() {
|
|
|
3761
3755
|
}
|
|
3762
3756
|
|
|
3763
3757
|
// src/createDeclarationPayload.ts
|
|
3764
|
-
import { isDefined as isDefined17 } from "@
|
|
3758
|
+
import { isDefined as isDefined17 } from "@ariestools/sdk";
|
|
3765
3759
|
import { PayloadBuilder as PayloadBuilder13 } from "@xyo-network/sdk-js";
|
|
3766
3760
|
import {
|
|
3767
3761
|
ChainStakeIntentSchema
|
|
@@ -3779,7 +3773,7 @@ var createDeclarationIntent = (address, intent, nbf, exp) => {
|
|
|
3779
3773
|
};
|
|
3780
3774
|
|
|
3781
3775
|
// src/createTransferPayload.ts
|
|
3782
|
-
import { toHex as toHex3 } from "@
|
|
3776
|
+
import { toHex as toHex3 } from "@ariestools/sdk";
|
|
3783
3777
|
import { PayloadBuilder as PayloadBuilder14 } from "@xyo-network/sdk-js";
|
|
3784
3778
|
import { TransferSchema } from "@xyo-network/xl1-protocol-lib";
|
|
3785
3779
|
function createTransferPayload(from, transfers, context) {
|
|
@@ -3794,7 +3788,7 @@ function createTransferPayload(from, transfers, context) {
|
|
|
3794
3788
|
}
|
|
3795
3789
|
|
|
3796
3790
|
// src/eip-712/Payloads/EIP712Data.ts
|
|
3797
|
-
import { AsObjectFactory as AsObjectFactory2 } from "@
|
|
3791
|
+
import { AsObjectFactory as AsObjectFactory2 } from "@ariestools/sdk";
|
|
3798
3792
|
import {
|
|
3799
3793
|
asSchema as asSchema2,
|
|
3800
3794
|
isPayloadOfZodType
|
|
@@ -3831,7 +3825,7 @@ var isEIP712DataPayload = isPayloadOfZodType(
|
|
|
3831
3825
|
var asEIP712DataPayload = AsObjectFactory2.create(isEIP712DataPayload);
|
|
3832
3826
|
|
|
3833
3827
|
// src/eip-712/Payloads/EIP712Signature.ts
|
|
3834
|
-
import { AsObjectFactory as AsObjectFactory3, HashZod } from "@
|
|
3828
|
+
import { AsObjectFactory as AsObjectFactory3, HashZod } from "@ariestools/sdk";
|
|
3835
3829
|
import {
|
|
3836
3830
|
asSchema as asSchema3,
|
|
3837
3831
|
isPayloadOfZodType as isPayloadOfZodType2
|
|
@@ -3869,7 +3863,7 @@ var signEIP712Message = async (signer, data) => {
|
|
|
3869
3863
|
};
|
|
3870
3864
|
|
|
3871
3865
|
// src/eip-712/verify.ts
|
|
3872
|
-
import { asHash as asHash3, isUndefined as isUndefined6 } from "@
|
|
3866
|
+
import { asHash as asHash3, isUndefined as isUndefined6 } from "@ariestools/sdk";
|
|
3873
3867
|
import { PayloadBuilder as PayloadBuilder16 } from "@xyo-network/sdk-js";
|
|
3874
3868
|
import { verifyTypedData } from "ethers";
|
|
3875
3869
|
var verifyEIP712Message = async (data, sig) => {
|
|
@@ -3895,7 +3889,7 @@ var RewardMultipliers = {
|
|
|
3895
3889
|
};
|
|
3896
3890
|
|
|
3897
3891
|
// src/services/StakeIntentService/ChainIndexingServiceStateSchema.ts
|
|
3898
|
-
import { AsObjectFactory as AsObjectFactory4 } from "@
|
|
3892
|
+
import { AsObjectFactory as AsObjectFactory4 } from "@ariestools/sdk";
|
|
3899
3893
|
import {
|
|
3900
3894
|
asSchema as asSchema4,
|
|
3901
3895
|
isPayloadOfSchemaType as isPayloadOfSchemaType2,
|
|
@@ -3913,8 +3907,8 @@ var asChainIndexingServiceStateWithStorageMeta = AsObjectFactory4.create(isChain
|
|
|
3913
3907
|
import {
|
|
3914
3908
|
hexToBigInt as hexToBigInt5,
|
|
3915
3909
|
toHex as toHex4
|
|
3916
|
-
} from "@
|
|
3917
|
-
import { isObject as isObject2 } from "@
|
|
3910
|
+
} from "@ariestools/sdk";
|
|
3911
|
+
import { isObject as isObject2 } from "@ariestools/sdk";
|
|
3918
3912
|
var isNegativeBigInt = (value) => {
|
|
3919
3913
|
return isObject2(value) && "negative" in value && typeof value.negative === "string";
|
|
3920
3914
|
};
|
|
@@ -3953,7 +3947,7 @@ import {
|
|
|
3953
3947
|
exists as exists3,
|
|
3954
3948
|
isDefined as isDefined18,
|
|
3955
3949
|
ZERO_ADDRESS
|
|
3956
|
-
} from "@
|
|
3950
|
+
} from "@ariestools/sdk";
|
|
3957
3951
|
import {
|
|
3958
3952
|
AccountBalanceViewerMoniker,
|
|
3959
3953
|
asRange,
|
|
@@ -3969,7 +3963,7 @@ import {
|
|
|
3969
3963
|
import { Semaphore } from "async-mutex";
|
|
3970
3964
|
|
|
3971
3965
|
// src/summary/model/BalancesStepSummary.ts
|
|
3972
|
-
import { AsObjectFactory as AsObjectFactory5 } from "@
|
|
3966
|
+
import { AsObjectFactory as AsObjectFactory5 } from "@ariestools/sdk";
|
|
3973
3967
|
import {
|
|
3974
3968
|
asSchema as asSchema5,
|
|
3975
3969
|
isPayloadOfSchemaType as isPayloadOfSchemaType3,
|
|
@@ -3984,7 +3978,7 @@ var isBalancesStepSummaryWithStorageMeta = (value) => {
|
|
|
3984
3978
|
var asBalancesStepSummaryWithStorageMeta = AsObjectFactory5.create(isBalancesStepSummaryWithStorageMeta);
|
|
3985
3979
|
|
|
3986
3980
|
// src/summary/model/SchemasStepSummary.ts
|
|
3987
|
-
import { AsObjectFactory as AsObjectFactory6 } from "@
|
|
3981
|
+
import { AsObjectFactory as AsObjectFactory6 } from "@ariestools/sdk";
|
|
3988
3982
|
import {
|
|
3989
3983
|
asSchema as asSchema6,
|
|
3990
3984
|
isPayloadOfSchemaType as isPayloadOfSchemaType4,
|
|
@@ -3999,7 +3993,7 @@ var isSchemasStepSummaryWithStorageMeta = (value) => {
|
|
|
3999
3993
|
var asSchemasStepSummaryWithStorageMeta = AsObjectFactory6.create(isSchemasStepSummaryWithStorageMeta);
|
|
4000
3994
|
|
|
4001
3995
|
// src/summary/model/TransfersSummary.ts
|
|
4002
|
-
import { AsObjectFactory as AsObjectFactory7 } from "@
|
|
3996
|
+
import { AsObjectFactory as AsObjectFactory7 } from "@ariestools/sdk";
|
|
4003
3997
|
import {
|
|
4004
3998
|
asSchema as asSchema7,
|
|
4005
3999
|
isPayloadOfSchemaType as isPayloadOfSchemaType5,
|
|
@@ -4017,7 +4011,7 @@ var asTransfersStepSummaryWithStorageMeta = AsObjectFactory7.create(isTransfersS
|
|
|
4017
4011
|
var balancesMaxStep = 5;
|
|
4018
4012
|
|
|
4019
4013
|
// src/summary/primitives/balances/balancesStepSummaryFromRange.ts
|
|
4020
|
-
import { assertEx as assertEx27, spanRootAsync as spanRootAsync2 } from "@
|
|
4014
|
+
import { assertEx as assertEx27, spanRootAsync as spanRootAsync2 } from "@ariestools/sdk";
|
|
4021
4015
|
import { isAnyPayload as isAnyPayload3 } from "@xyo-network/sdk-js";
|
|
4022
4016
|
import { asXL1BlockNumber as asXL1BlockNumber5, StepSizes as StepSizes8 } from "@xyo-network/xl1-protocol-lib";
|
|
4023
4017
|
async function balancesStepSummaryFromRange(context, semaphores, blockViewer, summaryMap, range) {
|
|
@@ -4084,7 +4078,7 @@ async function balancesStepSummaryFromRange(context, semaphores, blockViewer, su
|
|
|
4084
4078
|
}
|
|
4085
4079
|
|
|
4086
4080
|
// src/summary/primitives/balances/balancesSummary.ts
|
|
4087
|
-
import { assertEx as assertEx28, spanRootAsync as spanRootAsync3 } from "@
|
|
4081
|
+
import { assertEx as assertEx28, spanRootAsync as spanRootAsync3 } from "@ariestools/sdk";
|
|
4088
4082
|
import { asXyoAddress } from "@xyo-network/sdk-js";
|
|
4089
4083
|
import {
|
|
4090
4084
|
asBlockBoundWitnessWithStorageMeta as asBlockBoundWitnessWithStorageMeta3,
|
|
@@ -4118,7 +4112,7 @@ async function balancesSummary(context, semaphores, blockViewer, summaryMap, con
|
|
|
4118
4112
|
var blocksMaxStep = 3;
|
|
4119
4113
|
|
|
4120
4114
|
// src/summary/primitives/blocks/blocksStepSummaryFromRange.ts
|
|
4121
|
-
import { assertEx as assertEx29, spanRootAsync as spanRootAsync4 } from "@
|
|
4115
|
+
import { assertEx as assertEx29, spanRootAsync as spanRootAsync4 } from "@ariestools/sdk";
|
|
4122
4116
|
import { isAnyPayload as isAnyPayload4 } from "@xyo-network/sdk-js";
|
|
4123
4117
|
import {
|
|
4124
4118
|
asBlocksStepSummary,
|
|
@@ -4187,7 +4181,7 @@ async function blocksStepSummaryFromRange(context, semaphores, blockViewer, summ
|
|
|
4187
4181
|
var schemasMaxStep = 5;
|
|
4188
4182
|
|
|
4189
4183
|
// src/summary/primitives/schemas/schemasStepSummaryFromRange.ts
|
|
4190
|
-
import { assertEx as assertEx30 } from "@
|
|
4184
|
+
import { assertEx as assertEx30 } from "@ariestools/sdk";
|
|
4191
4185
|
import {
|
|
4192
4186
|
isAnyPayload as isAnyPayload5,
|
|
4193
4187
|
isBoundWitness as isBoundWitness2,
|
|
@@ -4256,7 +4250,7 @@ async function schemasStepSummaryFromRange(context, semaphores, blockViewer, sum
|
|
|
4256
4250
|
}
|
|
4257
4251
|
|
|
4258
4252
|
// src/summary/primitives/schemas/schemasSummary.ts
|
|
4259
|
-
import { assertEx as assertEx31, spanRootAsync as spanRootAsync5 } from "@
|
|
4253
|
+
import { assertEx as assertEx31, spanRootAsync as spanRootAsync5 } from "@ariestools/sdk";
|
|
4260
4254
|
import {
|
|
4261
4255
|
asBlockBoundWitnessWithStorageMeta as asBlockBoundWitnessWithStorageMeta4,
|
|
4262
4256
|
asXL1BlockRange as asXL1BlockRange8,
|
|
@@ -4289,7 +4283,7 @@ async function schemasSummary(context, semaphores, blockViewer, summaryMap, conf
|
|
|
4289
4283
|
var transfersMaxStep = 4;
|
|
4290
4284
|
|
|
4291
4285
|
// src/summary/primitives/transfers/transfersStepSummaryFromRange.ts
|
|
4292
|
-
import { assertEx as assertEx32, spanRootAsync as spanRootAsync6 } from "@
|
|
4286
|
+
import { assertEx as assertEx32, spanRootAsync as spanRootAsync6 } from "@ariestools/sdk";
|
|
4293
4287
|
import { isAnyPayload as isAnyPayload6 } from "@xyo-network/sdk-js";
|
|
4294
4288
|
import { asXL1BlockNumber as asXL1BlockNumber7, StepSizes as StepSizes11 } from "@xyo-network/xl1-protocol-lib";
|
|
4295
4289
|
function transfersSummaryKey(frameHeadHash, frameSize) {
|
|
@@ -4370,7 +4364,7 @@ async function transfersStepSummaryFromRange(context, semaphores, blockViewer, s
|
|
|
4370
4364
|
}
|
|
4371
4365
|
|
|
4372
4366
|
// src/summary/primitives/transfers/transfersSummary.ts
|
|
4373
|
-
import { assertEx as assertEx33, spanRootAsync as spanRootAsync7 } from "@
|
|
4367
|
+
import { assertEx as assertEx33, spanRootAsync as spanRootAsync7 } from "@ariestools/sdk";
|
|
4374
4368
|
import { asXyoAddress as asXyoAddress2 } from "@xyo-network/sdk-js";
|
|
4375
4369
|
import {
|
|
4376
4370
|
asBlockBoundWitnessWithStorageMeta as asBlockBoundWitnessWithStorageMeta5,
|
|
@@ -4614,7 +4608,7 @@ import {
|
|
|
4614
4608
|
assertEx as assertEx35,
|
|
4615
4609
|
exists as exists4,
|
|
4616
4610
|
isUndefined as isUndefined7
|
|
4617
|
-
} from "@
|
|
4611
|
+
} from "@ariestools/sdk";
|
|
4618
4612
|
import { LruCacheMap as LruCacheMap2 } from "@xyo-network/xl1-driver-memory";
|
|
4619
4613
|
import {
|
|
4620
4614
|
asSignedHydratedBlockWithHashMeta,
|
|
@@ -4933,7 +4927,7 @@ SimpleBlockRewardViewer = __decorateClass([
|
|
|
4933
4927
|
], SimpleBlockRewardViewer);
|
|
4934
4928
|
|
|
4935
4929
|
// src/simple/blockValidation/SimpleBlockValidationViewer.ts
|
|
4936
|
-
import { assertEx as assertEx36 } from "@
|
|
4930
|
+
import { assertEx as assertEx36 } from "@ariestools/sdk";
|
|
4937
4931
|
import { PayloadBuilder as PayloadBuilder18 } from "@xyo-network/sdk-js";
|
|
4938
4932
|
import {
|
|
4939
4933
|
AccountBalanceViewerMoniker as AccountBalanceViewerMoniker2,
|
|
@@ -5077,7 +5071,7 @@ SimpleBlockValidationViewer = __decorateClass([
|
|
|
5077
5071
|
], SimpleBlockValidationViewer);
|
|
5078
5072
|
|
|
5079
5073
|
// src/simple/chainContractViewer/SimpleChainContractViewer.ts
|
|
5080
|
-
import { assertEx as assertEx37 } from "@
|
|
5074
|
+
import { assertEx as assertEx37 } from "@ariestools/sdk";
|
|
5081
5075
|
import { ChainContractViewerMoniker as ChainContractViewerMoniker2, FinalizationViewerMoniker as FinalizationViewerMoniker2 } from "@xyo-network/xl1-protocol-lib";
|
|
5082
5076
|
var SimpleChainContractViewer = class extends AbstractCreatableProvider {
|
|
5083
5077
|
moniker = SimpleChainContractViewer.defaultMoniker;
|
|
@@ -5149,18 +5143,18 @@ var SimpleXyoClient = class {
|
|
|
5149
5143
|
};
|
|
5150
5144
|
|
|
5151
5145
|
// src/simple/datalake/RestDataLakeRunner.ts
|
|
5152
|
-
import { assertEx as assertEx39, exists as exists6 } from "@
|
|
5146
|
+
import { assertEx as assertEx39, exists as exists6 } from "@ariestools/sdk";
|
|
5153
5147
|
import { isAnyPayload as isAnyPayload8, PayloadZodLoose } from "@xyo-network/sdk-js";
|
|
5154
5148
|
import { DataLakeRunnerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
5155
5149
|
import { z as z27 } from "zod/mini";
|
|
5156
5150
|
|
|
5157
5151
|
// src/simple/datalake/AbstractRestDataLake.ts
|
|
5158
|
-
import { FetchClientError, FetchJsonClient } from "@
|
|
5152
|
+
import { FetchClientError, FetchJsonClient } from "@ariestools/sdk";
|
|
5159
5153
|
import {
|
|
5160
5154
|
assertEx as assertEx38,
|
|
5161
5155
|
exists as exists5,
|
|
5162
5156
|
isDefined as isDefined19
|
|
5163
|
-
} from "@
|
|
5157
|
+
} from "@ariestools/sdk";
|
|
5164
5158
|
import { asAnyPayload as asAnyPayload4, isAnyPayload as isAnyPayload7 } from "@xyo-network/sdk-js";
|
|
5165
5159
|
var AbstractRestDataLake = class extends AbstractCreatableProvider {
|
|
5166
5160
|
get allowedSchemas() {
|
|
@@ -5269,7 +5263,7 @@ RestDataLakeViewer = __decorateClass([
|
|
|
5269
5263
|
], RestDataLakeViewer);
|
|
5270
5264
|
|
|
5271
5265
|
// src/simple/datalake/SimpleDataLakeRunner.ts
|
|
5272
|
-
import { exists as exists7 } from "@
|
|
5266
|
+
import { exists as exists7 } from "@ariestools/sdk";
|
|
5273
5267
|
import { isAnyPayload as isAnyPayload10, PayloadBuilder as PayloadBuilder19 } from "@xyo-network/sdk-js";
|
|
5274
5268
|
import { DataLakeRunnerMoniker as DataLakeRunnerMoniker2 } from "@xyo-network/xl1-protocol-lib";
|
|
5275
5269
|
|
|
@@ -5356,7 +5350,7 @@ SimpleDataLakeViewer = __decorateClass([
|
|
|
5356
5350
|
], SimpleDataLakeViewer);
|
|
5357
5351
|
|
|
5358
5352
|
// src/simple/finalization/SimpleFinalizationRunner.ts
|
|
5359
|
-
import { assertEx as assertEx40 } from "@
|
|
5353
|
+
import { assertEx as assertEx40 } from "@ariestools/sdk";
|
|
5360
5354
|
import { FinalizationRunnerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
5361
5355
|
var SimpleFinalizationRunner = class extends AbstractCreatableProvider {
|
|
5362
5356
|
moniker = SimpleFinalizationRunner.defaultMoniker;
|
|
@@ -5400,7 +5394,7 @@ SimpleFinalizationRunner = __decorateClass([
|
|
|
5400
5394
|
], SimpleFinalizationRunner);
|
|
5401
5395
|
|
|
5402
5396
|
// src/simple/finalization/SimpleFinalizationViewer.ts
|
|
5403
|
-
import { assertEx as assertEx41 } from "@
|
|
5397
|
+
import { assertEx as assertEx41 } from "@ariestools/sdk";
|
|
5404
5398
|
import {
|
|
5405
5399
|
asSignedHydratedBlockWithStorageMeta as asSignedHydratedBlockWithStorageMeta2,
|
|
5406
5400
|
ChainContractViewerMoniker as ChainContractViewerMoniker3,
|
|
@@ -5518,7 +5512,7 @@ import {
|
|
|
5518
5512
|
assertEx as assertEx42,
|
|
5519
5513
|
BigIntToJsonZod,
|
|
5520
5514
|
isDefined as isDefined20
|
|
5521
|
-
} from "@
|
|
5515
|
+
} from "@ariestools/sdk";
|
|
5522
5516
|
import { PayloadBuilder as PayloadBuilder20 } from "@xyo-network/sdk-js";
|
|
5523
5517
|
import {
|
|
5524
5518
|
asXL1BlockNumber as asXL1BlockNumber10,
|
|
@@ -5620,7 +5614,7 @@ var SimpleXyoGatewayRunner = class _SimpleXyoGatewayRunner extends AbstractCreat
|
|
|
5620
5614
|
import {
|
|
5621
5615
|
assertEx as assertEx43,
|
|
5622
5616
|
exists as exists8
|
|
5623
|
-
} from "@
|
|
5617
|
+
} from "@ariestools/sdk";
|
|
5624
5618
|
import { isPayloadBundle, PayloadBuilder as PayloadBuilder21 } from "@xyo-network/sdk-js";
|
|
5625
5619
|
import {
|
|
5626
5620
|
BlockValidationViewerMoniker as BlockValidationViewerMoniker2,
|
|
@@ -6057,7 +6051,7 @@ import {
|
|
|
6057
6051
|
exists as exists9,
|
|
6058
6052
|
isDefined as isDefined21,
|
|
6059
6053
|
isHash as isHash2
|
|
6060
|
-
} from "@
|
|
6054
|
+
} from "@ariestools/sdk";
|
|
6061
6055
|
import { isHashMeta as isHashMeta2, isPayloadBundle as isPayloadBundle2 } from "@xyo-network/sdk-js";
|
|
6062
6056
|
import { MempoolViewerMoniker as MempoolViewerMoniker2, WindowedBlockViewerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
6063
6057
|
var DEFAULT_MEMPOOL_SELECTION_RATIO = 0.66;
|
|
@@ -6291,7 +6285,7 @@ function deduplicateWithBundleBySigner(items) {
|
|
|
6291
6285
|
}
|
|
6292
6286
|
|
|
6293
6287
|
// src/simple/network/SimpleXyoNetwork.ts
|
|
6294
|
-
import { fetchJsonGet, isUndefined as isUndefined8 } from "@
|
|
6288
|
+
import { fetchJsonGet, isUndefined as isUndefined8 } from "@ariestools/sdk";
|
|
6295
6289
|
import { isNetworkStatus } from "@xyo-network/xl1-protocol-lib";
|
|
6296
6290
|
|
|
6297
6291
|
// src/simple/network/lib/FailedNetworkStatusPayloads.ts
|
|
@@ -6363,7 +6357,7 @@ var SimpleXyoNetwork = class {
|
|
|
6363
6357
|
};
|
|
6364
6358
|
|
|
6365
6359
|
// src/simple/permissions/SimpleXyoPermissions.ts
|
|
6366
|
-
import { assertEx as assertEx45 } from "@
|
|
6360
|
+
import { assertEx as assertEx45 } from "@ariestools/sdk";
|
|
6367
6361
|
var SimpleXyoPermissions = class {
|
|
6368
6362
|
invoker;
|
|
6369
6363
|
_store;
|
|
@@ -6425,7 +6419,7 @@ var SimpleXyoPermissions = class {
|
|
|
6425
6419
|
};
|
|
6426
6420
|
|
|
6427
6421
|
// src/simple/permissions/store/MemoryPermissions.ts
|
|
6428
|
-
import { assertEx as assertEx46 } from "@
|
|
6422
|
+
import { assertEx as assertEx46 } from "@ariestools/sdk";
|
|
6429
6423
|
var MemoryPermissionsStore = class {
|
|
6430
6424
|
_invoker;
|
|
6431
6425
|
permissions = [];
|
|
@@ -6475,7 +6469,7 @@ SimpleXyoRunner = __decorateClass([
|
|
|
6475
6469
|
], SimpleXyoRunner);
|
|
6476
6470
|
|
|
6477
6471
|
// src/simple/signer/SimpleXyoSigner.ts
|
|
6478
|
-
import { assertEx as assertEx47 } from "@
|
|
6472
|
+
import { assertEx as assertEx47 } from "@ariestools/sdk";
|
|
6479
6473
|
import { Account, PayloadBuilder as PayloadBuilder23 } from "@xyo-network/sdk-js";
|
|
6480
6474
|
import { asSignedHydratedTransactionWithHashMeta, XyoSignerMoniker as XyoSignerMoniker2 } from "@xyo-network/xl1-protocol-lib";
|
|
6481
6475
|
var SimpleXyoSigner = class _SimpleXyoSigner extends AbstractCreatableProvider {
|
|
@@ -6515,7 +6509,7 @@ var SimpleXyoSigner = class _SimpleXyoSigner extends AbstractCreatableProvider {
|
|
|
6515
6509
|
};
|
|
6516
6510
|
|
|
6517
6511
|
// src/simple/StakeEventsViewer/SimpleStakeEventsViewer.ts
|
|
6518
|
-
import { isDefined as isDefined22 } from "@
|
|
6512
|
+
import { isDefined as isDefined22 } from "@ariestools/sdk";
|
|
6519
6513
|
import { StakeEventsViewerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
6520
6514
|
var SimpleStakeEventsViewer = class extends AbstractCreatableProvider {
|
|
6521
6515
|
moniker = SimpleStakeEventsViewer.defaultMoniker;
|
|
@@ -6595,7 +6589,7 @@ SimpleStakeEventsViewer = __decorateClass([
|
|
|
6595
6589
|
], SimpleStakeEventsViewer);
|
|
6596
6590
|
|
|
6597
6591
|
// src/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.ts
|
|
6598
|
-
import { assertEx as assertEx48 } from "@
|
|
6592
|
+
import { assertEx as assertEx48 } from "@ariestools/sdk";
|
|
6599
6593
|
import { asXyoAddress as asXyoAddress3 } from "@xyo-network/sdk-js";
|
|
6600
6594
|
import {
|
|
6601
6595
|
StakeTotalsViewerMoniker,
|
|
@@ -6695,7 +6689,7 @@ SimpleStakeTotalsViewer = __decorateClass([
|
|
|
6695
6689
|
], SimpleStakeTotalsViewer);
|
|
6696
6690
|
|
|
6697
6691
|
// src/simple/StakeViewer/SimpleStakeViewer.ts
|
|
6698
|
-
import { assertEx as assertEx49, toAddress } from "@
|
|
6692
|
+
import { assertEx as assertEx49, toAddress } from "@ariestools/sdk";
|
|
6699
6693
|
import { asXyoAddress as asXyoAddress4 } from "@xyo-network/sdk-js";
|
|
6700
6694
|
import { StakeEventsViewerMoniker as StakeEventsViewerMoniker2, StakeViewerMoniker as StakeViewerMoniker2 } from "@xyo-network/xl1-protocol-lib";
|
|
6701
6695
|
var SimpleStakeViewer = class extends AbstractCreatableProvider {
|
|
@@ -6827,7 +6821,7 @@ SimpleStakeViewer = __decorateClass([
|
|
|
6827
6821
|
], SimpleStakeViewer);
|
|
6828
6822
|
|
|
6829
6823
|
// src/simple/sync/RestSyncViewer.ts
|
|
6830
|
-
import { FetchClientError as FetchClientError2, FetchJsonClient as FetchJsonClient2 } from "@
|
|
6824
|
+
import { FetchClientError as FetchClientError2, FetchJsonClient as FetchJsonClient2 } from "@ariestools/sdk";
|
|
6831
6825
|
import {
|
|
6832
6826
|
SyncStepSummaryMetadataZod,
|
|
6833
6827
|
SyncStepSummaryStatusZod,
|
|
@@ -6879,7 +6873,7 @@ RestSyncViewer = __decorateClass([
|
|
|
6879
6873
|
], RestSyncViewer);
|
|
6880
6874
|
|
|
6881
6875
|
// src/simple/systemStatus/SimpleSystemStatusViewer.ts
|
|
6882
|
-
import { assertEx as assertEx50 } from "@
|
|
6876
|
+
import { assertEx as assertEx50 } from "@ariestools/sdk";
|
|
6883
6877
|
import { SystemStatusViewerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
6884
6878
|
var SimpleSystemStatusViewer = class extends AbstractCreatableProvider {
|
|
6885
6879
|
moniker = SimpleSystemStatusViewer.defaultMoniker;
|
|
@@ -6916,7 +6910,7 @@ import {
|
|
|
6916
6910
|
asHash as asHash5,
|
|
6917
6911
|
assertEx as assertEx51,
|
|
6918
6912
|
isDefined as isDefined23
|
|
6919
|
-
} from "@
|
|
6913
|
+
} from "@ariestools/sdk";
|
|
6920
6914
|
import {
|
|
6921
6915
|
asTimePayload as asTimePayload2,
|
|
6922
6916
|
asXL1BlockNumber as asXL1BlockNumber11,
|
|
@@ -7032,7 +7026,7 @@ SimpleTimeSyncViewer = __decorateClass([
|
|
|
7032
7026
|
], SimpleTimeSyncViewer);
|
|
7033
7027
|
|
|
7034
7028
|
// src/simple/transactionValidation/SimpleTransactionValidationViewer.ts
|
|
7035
|
-
import { assertEx as assertEx52 } from "@
|
|
7029
|
+
import { assertEx as assertEx52 } from "@ariestools/sdk";
|
|
7036
7030
|
import { PayloadBuilder as PayloadBuilder24 } from "@xyo-network/sdk-js";
|
|
7037
7031
|
import {
|
|
7038
7032
|
AccountBalanceViewerMoniker as AccountBalanceViewerMoniker3,
|
|
@@ -7158,7 +7152,7 @@ SimpleTransactionValidationViewer = __decorateClass([
|
|
|
7158
7152
|
], SimpleTransactionValidationViewer);
|
|
7159
7153
|
|
|
7160
7154
|
// src/simple/TransactionViewer/SimpleTransactionViewer.ts
|
|
7161
|
-
import { assertEx as assertEx53, exists as exists10 } from "@
|
|
7155
|
+
import { assertEx as assertEx53, exists as exists10 } from "@ariestools/sdk";
|
|
7162
7156
|
import { BoundWitnessSchema } from "@xyo-network/sdk-js";
|
|
7163
7157
|
import {
|
|
7164
7158
|
asSignedHydratedTransactionWithHashMeta as asSignedHydratedTransactionWithHashMeta2,
|
|
@@ -7243,7 +7237,7 @@ import {
|
|
|
7243
7237
|
assertEx as assertEx54,
|
|
7244
7238
|
exists as exists11,
|
|
7245
7239
|
isNull as isNull3
|
|
7246
|
-
} from "@
|
|
7240
|
+
} from "@ariestools/sdk";
|
|
7247
7241
|
import { MemoryMap as MemoryMap2 } from "@xyo-network/xl1-driver-memory";
|
|
7248
7242
|
import {
|
|
7249
7243
|
asXL1BlockNumber as asXL1BlockNumber12,
|
|
@@ -7554,7 +7548,7 @@ var SimpleSystemStatusRunner = class extends LoggerStatusReporter {
|
|
|
7554
7548
|
};
|
|
7555
7549
|
|
|
7556
7550
|
// src/test/buildRandomChain.ts
|
|
7557
|
-
import { asAddress as asAddress2, assertEx as assertEx57 } from "@
|
|
7551
|
+
import { asAddress as asAddress2, assertEx as assertEx57 } from "@ariestools/sdk";
|
|
7558
7552
|
import {
|
|
7559
7553
|
Account as Account4,
|
|
7560
7554
|
asSchema as asSchema9,
|
|
@@ -7573,7 +7567,7 @@ import {
|
|
|
7573
7567
|
} from "@xyo-network/xl1-protocol-lib";
|
|
7574
7568
|
|
|
7575
7569
|
// src/test/buildBlock.ts
|
|
7576
|
-
import { assertEx as assertEx55, isDefined as isDefined24 } from "@
|
|
7570
|
+
import { assertEx as assertEx55, isDefined as isDefined24 } from "@ariestools/sdk";
|
|
7577
7571
|
import {
|
|
7578
7572
|
asAnyPayload as asAnyPayload5,
|
|
7579
7573
|
BoundWitnessBuilder as BoundWitnessBuilder4,
|
|
@@ -7598,7 +7592,7 @@ import {
|
|
|
7598
7592
|
isHash as isHash3,
|
|
7599
7593
|
isNumber as isNumber2,
|
|
7600
7594
|
isObject as isObject3
|
|
7601
|
-
} from "@
|
|
7595
|
+
} from "@ariestools/sdk";
|
|
7602
7596
|
var isBaseBuildBlockOptions = (value) => {
|
|
7603
7597
|
if (!isObject3(value)) {
|
|
7604
7598
|
return false;
|
|
@@ -7731,7 +7725,7 @@ async function buildNextBlock(previousBlock, txs, blockPayloads, signers, chainS
|
|
|
7731
7725
|
}
|
|
7732
7726
|
|
|
7733
7727
|
// src/test/buildRandomGenesisBlock.ts
|
|
7734
|
-
import { asAddress, assertEx as assertEx56 } from "@
|
|
7728
|
+
import { asAddress, assertEx as assertEx56 } from "@ariestools/sdk";
|
|
7735
7729
|
import {
|
|
7736
7730
|
Account as Account3,
|
|
7737
7731
|
asAnyPayload as asAnyPayload6,
|
|
@@ -7935,7 +7929,7 @@ function getTestProviderContext2(config) {
|
|
|
7935
7929
|
}
|
|
7936
7930
|
|
|
7937
7931
|
// src/time/primitives/xl1BlockNumberToEthBlockNumber.ts
|
|
7938
|
-
import { assertEx as assertEx58 } from "@
|
|
7932
|
+
import { assertEx as assertEx58 } from "@ariestools/sdk";
|
|
7939
7933
|
import { asTimePayload as asTimePayload3, TimeSchema as TimeSchema2 } from "@xyo-network/xl1-protocol-lib";
|
|
7940
7934
|
async function xl1BlockNumberToEthBlockNumber(context, xl1BlockNumber) {
|
|
7941
7935
|
const blockHash = await hashFromBlockNumber(context, xl1BlockNumber);
|
|
@@ -7994,7 +7988,6 @@ export {
|
|
|
7994
7988
|
ArchivistInstanceCache,
|
|
7995
7989
|
BalancesStepSummarySchema,
|
|
7996
7990
|
BaseConfigContextZod,
|
|
7997
|
-
BaseConfigZod,
|
|
7998
7991
|
BoundWitnessHydrator,
|
|
7999
7992
|
BoundWitnessWithStorageMetaZod,
|
|
8000
7993
|
CHAIN_ARCHIVIST_ROLE,
|