@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.
- package/dist/neutral/index-node.d.ts +3 -0
- package/dist/neutral/index-node.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +0 -2
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +31 -60
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/node/Archivists/ArchivistConnectOptions.d.ts +8 -0
- package/dist/node/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
- package/dist/node/Archivists/ArchivistFactory.d.ts +31 -0
- package/dist/node/Archivists/ArchivistFactory.d.ts.map +1 -0
- package/dist/node/Archivists/MemoryArchivistFactory.d.ts +19 -0
- package/dist/node/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
- package/dist/node/Archivists/archivistFactoryRegistry.d.ts +9 -0
- package/dist/node/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
- package/dist/node/Archivists/archivistRoles.d.ts +12 -0
- package/dist/node/Archivists/archivistRoles.d.ts.map +1 -0
- package/dist/node/Archivists/connectArchivist.d.ts +11 -0
- package/dist/node/Archivists/connectArchivist.d.ts.map +1 -0
- package/dist/node/Archivists/index.d.ts +7 -0
- package/dist/node/Archivists/index.d.ts.map +1 -0
- package/dist/node/ChainContextHelpers.d.ts +10 -0
- package/dist/node/ChainContextHelpers.d.ts.map +1 -0
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +114 -0
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -0
- package/dist/node/CreatableProvider/CreatableProvider.d.ts +67 -0
- package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -0
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +13 -0
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -0
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +10 -0
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -0
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +14 -0
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactory.d.ts +29 -0
- package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +61 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +47 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -0
- package/dist/node/CreatableProvider/index.d.ts +9 -0
- package/dist/node/CreatableProvider/index.d.ts.map +1 -0
- package/dist/node/SignedBigInt.d.ts +22 -0
- package/dist/node/SignedBigInt.d.ts.map +1 -0
- package/dist/node/_internal/context/getTestProviderContext.d.ts +4 -0
- package/dist/node/_internal/context/getTestProviderContext.d.ts.map +1 -0
- package/dist/node/_internal/context/index.d.ts +2 -0
- package/dist/node/_internal/context/index.d.ts.map +1 -0
- package/dist/node/_internal/index.d.ts +2 -0
- package/dist/node/_internal/index.d.ts.map +1 -0
- package/dist/node/amount/ShiftedBigInt.d.ts +17 -0
- package/dist/node/amount/ShiftedBigInt.d.ts.map +1 -0
- package/dist/node/amount/index.d.ts +5 -0
- package/dist/node/amount/index.d.ts.map +1 -0
- package/dist/node/amount/splitOnDecimal.d.ts +3 -0
- package/dist/node/amount/splitOnDecimal.d.ts.map +1 -0
- package/dist/node/amount/splitOnDecimalToString.d.ts +3 -0
- package/dist/node/amount/splitOnDecimalToString.d.ts.map +1 -0
- package/dist/node/amount/xl1Amount.d.ts +26 -0
- package/dist/node/amount/xl1Amount.d.ts.map +1 -0
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +70 -0
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/allHashesPresent.d.ts +5 -0
- package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -0
- package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts +5 -0
- package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/createBlockHydrator.d.ts +6 -0
- package/dist/node/block/hydrate/createBlockHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +169 -0
- package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/createTransactionHydrator.d.ts +6 -0
- package/dist/node/block/hydrate/createTransactionHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/flattenHydratedBlock.d.ts +9 -0
- package/dist/node/block/hydrate/flattenHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts +4 -0
- package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts.map +1 -0
- package/dist/node/block/hydrate/hydrateBlock.d.ts +5 -0
- package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/index.d.ts +12 -0
- package/dist/node/block/hydrate/index.d.ts.map +1 -0
- package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts +4 -0
- package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts +6 -0
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -0
- package/dist/node/block/index.d.ts +3 -0
- package/dist/node/block/index.d.ts.map +1 -0
- package/dist/node/block/primitives/blockFromBlockNumber.d.ts +5 -0
- package/dist/node/block/primitives/blockFromBlockNumber.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts +7 -0
- package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts +10 -0
- package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/index.d.ts +3 -0
- package/dist/node/block/primitives/frames/index.d.ts.map +1 -0
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts +5 -0
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -0
- package/dist/node/block/primitives/index.d.ts +8 -0
- package/dist/node/block/primitives/index.d.ts.map +1 -0
- package/dist/node/block/primitives/model.d.ts +8 -0
- package/dist/node/block/primitives/model.d.ts.map +1 -0
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts +7 -0
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -0
- package/dist/node/block/primitives/payloads/index.d.ts +2 -0
- package/dist/node/block/primitives/payloads/index.d.ts.map +1 -0
- package/dist/node/block/primitives/toStepIdentityString.d.ts +4 -0
- package/dist/node/block/primitives/toStepIdentityString.d.ts.map +1 -0
- package/dist/node/block/primitives/validateTransactionOpcodes.d.ts +5 -0
- package/dist/node/block/primitives/validateTransactionOpcodes.d.ts.map +1 -0
- package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts +10 -0
- package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts.map +1 -0
- package/dist/node/boundwitness/index.d.ts +2 -0
- package/dist/node/boundwitness/index.d.ts.map +1 -0
- package/dist/node/capabilities/Backing.d.ts +52 -0
- package/dist/node/capabilities/Backing.d.ts.map +1 -0
- package/dist/node/capabilities/Capability.d.ts +32 -0
- package/dist/node/capabilities/Capability.d.ts.map +1 -0
- package/dist/node/capabilities/Provider.d.ts +31 -0
- package/dist/node/capabilities/Provider.d.ts.map +1 -0
- package/dist/node/capabilities/connectionSubsetBySurface.d.ts +17 -0
- package/dist/node/capabilities/connectionSubsetBySurface.d.ts.map +1 -0
- package/dist/node/capabilities/connectionTypes.d.ts +10 -0
- package/dist/node/capabilities/connectionTypes.d.ts.map +1 -0
- package/dist/node/capabilities/factoryBrand.d.ts +46 -0
- package/dist/node/capabilities/factoryBrand.d.ts.map +1 -0
- package/dist/node/capabilities/index.d.ts +12 -0
- package/dist/node/capabilities/index.d.ts.map +1 -0
- package/dist/node/capabilities/locatorFromConfig.d.ts +29 -0
- package/dist/node/capabilities/locatorFromConfig.d.ts.map +1 -0
- package/dist/node/capabilities/needsFromProviderBindings.d.ts +8 -0
- package/dist/node/capabilities/needsFromProviderBindings.d.ts.map +1 -0
- package/dist/node/capabilities/providerCandidateFromClass.d.ts +7 -0
- package/dist/node/capabilities/providerCandidateFromClass.d.ts.map +1 -0
- package/dist/node/capabilities/resolveProviders.d.ts +56 -0
- package/dist/node/capabilities/resolveProviders.d.ts.map +1 -0
- package/dist/node/capabilities/surfaceMap.d.ts +11 -0
- package/dist/node/capabilities/surfaceMap.d.ts.map +1 -0
- package/dist/node/config/Actor.d.ts +590 -0
- package/dist/node/config/Actor.d.ts.map +1 -0
- package/dist/node/config/Actors.d.ts +107 -0
- package/dist/node/config/Actors.d.ts.map +1 -0
- package/dist/node/config/Base.d.ts +109 -0
- package/dist/node/config/Base.d.ts.map +1 -0
- package/dist/node/config/Chain.d.ts +13 -0
- package/dist/node/config/Chain.d.ts.map +1 -0
- package/dist/node/config/Config.d.ts +396 -0
- package/dist/node/config/Config.d.ts.map +1 -0
- package/dist/node/config/DeepPartial.d.ts +5 -0
- package/dist/node/config/DeepPartial.d.ts.map +1 -0
- package/dist/node/config/HostActor.d.ts +591 -0
- package/dist/node/config/HostActor.d.ts.map +1 -0
- package/dist/node/config/LocatorConfigFields.d.ts +115 -0
- package/dist/node/config/LocatorConfigFields.d.ts.map +1 -0
- package/dist/node/config/Log.d.ts +16 -0
- package/dist/node/config/Log.d.ts.map +1 -0
- package/dist/node/config/Provider.d.ts +36 -0
- package/dist/node/config/Provider.d.ts.map +1 -0
- package/dist/node/config/ProviderBinding.d.ts +17 -0
- package/dist/node/config/ProviderBinding.d.ts.map +1 -0
- package/dist/node/config/Providers.d.ts +9 -0
- package/dist/node/config/Providers.d.ts.map +1 -0
- package/dist/node/config/ResolvedLocatorConfig.d.ts +122 -0
- package/dist/node/config/ResolvedLocatorConfig.d.ts.map +1 -0
- package/dist/node/config/Telemetry.d.ts +40 -0
- package/dist/node/config/Telemetry.d.ts.map +1 -0
- package/dist/node/config/UsageMeta.d.ts +32 -0
- package/dist/node/config/UsageMeta.d.ts.map +1 -0
- package/dist/node/config/Validation.d.ts +25 -0
- package/dist/node/config/Validation.d.ts.map +1 -0
- package/dist/node/config/connections/Connection.d.ts +147 -0
- package/dist/node/config/connections/Connection.d.ts.map +1 -0
- package/dist/node/config/connections/Mongo.d.ts +12 -0
- package/dist/node/config/connections/Mongo.d.ts.map +1 -0
- package/dist/node/config/connections/RpcRemote.d.ts +34 -0
- package/dist/node/config/connections/RpcRemote.d.ts.map +1 -0
- package/dist/node/config/connections/S3.d.ts +20 -0
- package/dist/node/config/connections/S3.d.ts.map +1 -0
- package/dist/node/config/connections/index.d.ts +5 -0
- package/dist/node/config/connections/index.d.ts.map +1 -0
- package/dist/node/config/index.d.ts +18 -0
- package/dist/node/config/index.d.ts.map +1 -0
- package/dist/node/config/normalizeConnectionsConfig.d.ts +17 -0
- package/dist/node/config/normalizeConnectionsConfig.d.ts.map +1 -0
- package/dist/node/config/resolveRestConnectionEndpoint.d.ts +5 -0
- package/dist/node/config/resolveRestConnectionEndpoint.d.ts.map +1 -0
- package/dist/node/config/synthesizeRpcConnectionBindings.d.ts +8 -0
- package/dist/node/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
- package/dist/node/constants.d.ts +5 -0
- package/dist/node/constants.d.ts.map +1 -0
- package/dist/node/context/Actor.d.ts +633 -0
- package/dist/node/context/Actor.d.ts.map +1 -0
- package/dist/node/context/HostActor.d.ts +645 -0
- package/dist/node/context/HostActor.d.ts.map +1 -0
- package/dist/node/context/index.d.ts +3 -0
- package/dist/node/context/index.d.ts.map +1 -0
- package/dist/node/createDeclarationPayload.d.ts +5 -0
- package/dist/node/createDeclarationPayload.d.ts.map +1 -0
- package/dist/node/createTransferPayload.d.ts +6 -0
- package/dist/node/createTransferPayload.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts +32 -0
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +23 -0
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/index.d.ts +3 -0
- package/dist/node/eip-712/Payloads/index.d.ts.map +1 -0
- package/dist/node/eip-712/Types.d.ts +35 -0
- package/dist/node/eip-712/Types.d.ts.map +1 -0
- package/dist/node/eip-712/index.d.ts +5 -0
- package/dist/node/eip-712/index.d.ts.map +1 -0
- package/dist/node/eip-712/sign.d.ts +5 -0
- package/dist/node/eip-712/sign.d.ts.map +1 -0
- package/dist/node/eip-712/verify.d.ts +4 -0
- package/dist/node/eip-712/verify.d.ts.map +1 -0
- package/dist/node/getFileConfig.d.ts +191 -0
- package/dist/node/getFileConfig.d.ts.map +1 -0
- package/dist/node/index-node.d.ts +3 -0
- package/dist/node/index-node.d.ts.map +1 -0
- package/dist/node/index-node.mjs +8324 -0
- package/dist/node/index-node.mjs.map +7 -0
- package/dist/node/index.d.ts +30 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/instances/Address.d.ts +13 -0
- package/dist/node/instances/Address.d.ts.map +1 -0
- package/dist/node/instances/BoundWitness.d.ts +9 -0
- package/dist/node/instances/BoundWitness.d.ts.map +1 -0
- package/dist/node/instances/Data.d.ts +5 -0
- package/dist/node/instances/Data.d.ts.map +1 -0
- package/dist/node/instances/Fees.d.ts +9 -0
- package/dist/node/instances/Fees.d.ts.map +1 -0
- package/dist/node/instances/HydratedBoundWitness.d.ts +11 -0
- package/dist/node/instances/HydratedBoundWitness.d.ts.map +1 -0
- package/dist/node/instances/Object.d.ts +6 -0
- package/dist/node/instances/Object.d.ts.map +1 -0
- package/dist/node/instances/Payload.d.ts +7 -0
- package/dist/node/instances/Payload.d.ts.map +1 -0
- package/dist/node/instances/Signature.d.ts +10 -0
- package/dist/node/instances/Signature.d.ts.map +1 -0
- package/dist/node/instances/block/BlockFields.d.ts +12 -0
- package/dist/node/instances/block/BlockFields.d.ts.map +1 -0
- package/dist/node/instances/block/HydratedBlock.d.ts +9 -0
- package/dist/node/instances/block/HydratedBlock.d.ts.map +1 -0
- package/dist/node/instances/block/index.d.ts +2 -0
- package/dist/node/instances/block/index.d.ts.map +1 -0
- package/dist/node/instances/index.d.ts +11 -0
- package/dist/node/instances/index.d.ts.map +1 -0
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +8 -0
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -0
- package/dist/node/instances/modifiers/BlockWindowState.d.ts +6 -0
- package/dist/node/instances/modifiers/BlockWindowState.d.ts.map +1 -0
- package/dist/node/instances/modifiers/Signed.d.ts +8 -0
- package/dist/node/instances/modifiers/Signed.d.ts.map +1 -0
- package/dist/node/instances/modifiers/Validatable.d.ts +6 -0
- package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -0
- package/dist/node/instances/modifiers/index.d.ts +5 -0
- package/dist/node/instances/modifiers/index.d.ts.map +1 -0
- package/dist/node/instances/transaction/HydratedTransaction.d.ts +7 -0
- package/dist/node/instances/transaction/HydratedTransaction.d.ts.map +1 -0
- package/dist/node/instances/transaction/TransactionFields.d.ts +17 -0
- package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -0
- package/dist/node/instances/transaction/index.d.ts +2 -0
- package/dist/node/instances/transaction/index.d.ts.map +1 -0
- package/dist/node/isInternetAvailable.d.ts +3 -0
- package/dist/node/isInternetAvailable.d.ts.map +1 -0
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts +9 -0
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -0
- package/dist/node/model/ChainFork/index.d.ts +2 -0
- package/dist/node/model/ChainFork/index.d.ts.map +1 -0
- package/dist/node/model/ChainIdentity.d.ts +6 -0
- package/dist/node/model/ChainIdentity.d.ts.map +1 -0
- package/dist/node/model/ChainStore.d.ts +12 -0
- package/dist/node/model/ChainStore.d.ts.map +1 -0
- package/dist/node/model/CreatableProviderContext.d.ts +5 -0
- package/dist/node/model/CreatableProviderContext.d.ts.map +1 -0
- package/dist/node/model/CreatableProviderContext.zod.d.ts +714 -0
- package/dist/node/model/CreatableProviderContext.zod.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts +5 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts +5 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts +5 -0
- package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts +5 -0
- package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/index.d.ts +5 -0
- package/dist/node/model/PayloadBundle/index.d.ts.map +1 -0
- package/dist/node/model/index.d.ts +7 -0
- package/dist/node/model/index.d.ts.map +1 -0
- package/dist/node/multipliers.d.ts +10 -0
- package/dist/node/multipliers.d.ts.map +1 -0
- package/dist/node/payloads/AddressPairPayload.d.ts +22 -0
- package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -0
- package/dist/node/payloads/index.d.ts +5 -0
- package/dist/node/payloads/index.d.ts.map +1 -0
- package/dist/node/payloads/netBalancesForPayloads.d.ts +9 -0
- package/dist/node/payloads/netBalancesForPayloads.d.ts.map +1 -0
- package/dist/node/payloads/netSchemasForPayloads.d.ts +9 -0
- package/dist/node/payloads/netSchemasForPayloads.d.ts.map +1 -0
- package/dist/node/payloads/netTransfersForPayloads.d.ts +5 -0
- package/dist/node/payloads/netTransfersForPayloads.d.ts.map +1 -0
- package/dist/node/primitives/block/index.d.ts +3 -0
- package/dist/node/primitives/block/index.d.ts.map +1 -0
- package/dist/node/primitives/block/range/blockRangeSteps.d.ts +4 -0
- package/dist/node/primitives/block/range/blockRangeSteps.d.ts.map +1 -0
- package/dist/node/primitives/block/range/index.d.ts +2 -0
- package/dist/node/primitives/block/range/index.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/blockRate.d.ts +11 -0
- package/dist/node/primitives/block/rate/blockRate.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/index.d.ts +5 -0
- package/dist/node/primitives/block/rate/index.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/stepRate.d.ts +7 -0
- package/dist/node/primitives/block/rate/stepRate.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/timeHelpers.d.ts +8 -0
- package/dist/node/primitives/block/rate/timeHelpers.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/timeRate.d.ts +8 -0
- package/dist/node/primitives/block/rate/timeRate.d.ts.map +1 -0
- package/dist/node/primitives/chain/getWindowedChain.d.ts +10 -0
- package/dist/node/primitives/chain/getWindowedChain.d.ts.map +1 -0
- package/dist/node/primitives/chain/index.d.ts +4 -0
- package/dist/node/primitives/chain/index.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts +5 -0
- package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/index.d.ts +5 -0
- package/dist/node/primitives/chain/step/index.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepRewardBlock.d.ts +4 -0
- package/dist/node/primitives/chain/step/stepRewardBlock.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepRewardTotal.d.ts +4 -0
- package/dist/node/primitives/chain/step/stepRewardTotal.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts +8 -0
- package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/index.d.ts +4 -0
- package/dist/node/primitives/chain/time/index.d.ts.map +1 -0
- package/dist/node/primitives/datalake/NamedDataLake.d.ts +7 -0
- package/dist/node/primitives/datalake/NamedDataLake.d.ts.map +1 -0
- package/dist/node/primitives/datalake/PayloadLocator.d.ts +55 -0
- package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -0
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +5 -0
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -0
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +9 -0
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -0
- package/dist/node/primitives/datalake/index.d.ts +5 -0
- package/dist/node/primitives/datalake/index.d.ts.map +1 -0
- package/dist/node/primitives/index.d.ts +13 -0
- package/dist/node/primitives/index.d.ts.map +1 -0
- package/dist/node/primitives/mapToMapType.d.ts +4 -0
- package/dist/node/primitives/mapToMapType.d.ts.map +1 -0
- package/dist/node/primitives/payload/index.d.ts +2 -0
- package/dist/node/primitives/payload/index.d.ts.map +1 -0
- package/dist/node/primitives/payload/mergeTransfers.d.ts +5 -0
- package/dist/node/primitives/payload/mergeTransfers.d.ts.map +1 -0
- package/dist/node/primitives/readPayloadMapFromStore.d.ts +7 -0
- package/dist/node/primitives/readPayloadMapFromStore.d.ts.map +1 -0
- package/dist/node/primitives/rewardFromBlockNumber.d.ts +4 -0
- package/dist/node/primitives/rewardFromBlockNumber.d.ts.map +1 -0
- package/dist/node/primitives/rewards/index.d.ts +2 -0
- package/dist/node/primitives/rewards/index.d.ts.map +1 -0
- package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts +4 -0
- package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts.map +1 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts +5 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts +4 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -0
- package/dist/node/primitives/stake/allStakersForRange.d.ts +5 -0
- package/dist/node/primitives/stake/allStakersForRange.d.ts.map +1 -0
- package/dist/node/primitives/stake/allStakersForStep.d.ts +5 -0
- package/dist/node/primitives/stake/allStakersForStep.d.ts.map +1 -0
- package/dist/node/primitives/stake/index.d.ts +7 -0
- package/dist/node/primitives/stake/index.d.ts.map +1 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts +4 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts.map +1 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +5 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -0
- package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts +6 -0
- package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -0
- package/dist/node/primitives/state/findMostRecentBlock.d.ts +11 -0
- package/dist/node/primitives/state/findMostRecentBlock.d.ts.map +1 -0
- package/dist/node/primitives/state/hydratedBlockByNumber.d.ts +4 -0
- package/dist/node/primitives/state/hydratedBlockByNumber.d.ts.map +1 -0
- package/dist/node/primitives/state/index.d.ts +3 -0
- package/dist/node/primitives/state/index.d.ts.map +1 -0
- package/dist/node/primitives/step/derivedReceiveAddress.d.ts +2 -0
- package/dist/node/primitives/step/derivedReceiveAddress.d.ts.map +1 -0
- package/dist/node/primitives/step/index.d.ts +3 -0
- package/dist/node/primitives/step/index.d.ts.map +1 -0
- package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts +2 -0
- package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts.map +1 -0
- package/dist/node/primitives/step/stepBlockRange.d.ts +4 -0
- package/dist/node/primitives/step/stepBlockRange.d.ts.map +1 -0
- package/dist/node/primitives/step/stepTransferIndex.d.ts +3 -0
- package/dist/node/primitives/step/stepTransferIndex.d.ts.map +1 -0
- package/dist/node/primitives/transaction/elevatedPayloads.d.ts +2 -0
- package/dist/node/primitives/transaction/elevatedPayloads.d.ts.map +1 -0
- package/dist/node/primitives/transaction/index.d.ts +2 -0
- package/dist/node/primitives/transaction/index.d.ts.map +1 -0
- package/dist/node/primitives/uncle/findBestUncle.d.ts +17 -0
- package/dist/node/primitives/uncle/findBestUncle.d.ts.map +1 -0
- package/dist/node/primitives/uncle/findUncles.d.ts +36 -0
- package/dist/node/primitives/uncle/findUncles.d.ts.map +1 -0
- package/dist/node/primitives/uncle/getProducerKey.d.ts +4 -0
- package/dist/node/primitives/uncle/getProducerKey.d.ts.map +1 -0
- package/dist/node/primitives/uncle/index.d.ts +5 -0
- package/dist/node/primitives/uncle/index.d.ts.map +1 -0
- package/dist/node/primitives/uncle/scoreUncle.d.ts +6 -0
- package/dist/node/primitives/uncle/scoreUncle.d.ts.map +1 -0
- package/dist/node/services/AccountTransfersService.d.ts +12 -0
- package/dist/node/services/AccountTransfersService.d.ts.map +1 -0
- package/dist/node/services/BlockProducerService.d.ts +7 -0
- package/dist/node/services/BlockProducerService.d.ts.map +1 -0
- package/dist/node/services/Chain/BaseChainService.d.ts +4 -0
- package/dist/node/services/Chain/BaseChainService.d.ts.map +1 -0
- package/dist/node/services/Chain/ChainHeadService.d.ts +7 -0
- package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -0
- package/dist/node/services/Chain/ChainService.d.ts +6 -0
- package/dist/node/services/Chain/ChainService.d.ts.map +1 -0
- package/dist/node/services/Chain/index.d.ts +4 -0
- package/dist/node/services/Chain/index.d.ts.map +1 -0
- package/dist/node/services/Election.d.ts +11 -0
- package/dist/node/services/Election.d.ts.map +1 -0
- package/dist/node/services/NetworkStakeService.d.ts +5 -0
- package/dist/node/services/NetworkStakeService.d.ts.map +1 -0
- package/dist/node/services/Params.d.ts +11 -0
- package/dist/node/services/Params.d.ts.map +1 -0
- package/dist/node/services/PendingTransactionsService.d.ts +7 -0
- package/dist/node/services/PendingTransactionsService.d.ts.map +1 -0
- package/dist/node/services/SchemasService.d.ts +11 -0
- package/dist/node/services/SchemasService.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +39 -0
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/StakeIntentService.d.ts +31 -0
- package/dist/node/services/StakeIntentService/StakeIntentService.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/index.d.ts +3 -0
- package/dist/node/services/StakeIntentService/index.d.ts.map +1 -0
- package/dist/node/services/index.d.ts +9 -0
- package/dist/node/services/index.d.ts.map +1 -0
- package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +23 -0
- package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeEventsViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeEventsViewer/index.d.ts.map +1 -0
- package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +27 -0
- package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeTotalsViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeTotalsViewer/index.d.ts.map +1 -0
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +42 -0
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeViewer/index.d.ts.map +1 -0
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +25 -0
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -0
- package/dist/node/simple/TransactionViewer/index.d.ts +2 -0
- package/dist/node/simple/TransactionViewer/index.d.ts.map +1 -0
- package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +132 -0
- package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -0
- package/dist/node/simple/accountBalance/index.d.ts +2 -0
- package/dist/node/simple/accountBalance/index.d.ts.map +1 -0
- package/dist/node/simple/block/SimpleBlockViewer.d.ts +114 -0
- package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -0
- package/dist/node/simple/block/index.d.ts +2 -0
- package/dist/node/simple/block/index.d.ts.map +1 -0
- package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +37 -0
- package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -0
- package/dist/node/simple/blockInvalidation/index.d.ts +2 -0
- package/dist/node/simple/blockInvalidation/index.d.ts.map +1 -0
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +18 -0
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -0
- package/dist/node/simple/blockReward/index.d.ts +2 -0
- package/dist/node/simple/blockReward/index.d.ts.map +1 -0
- package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts +38 -0
- package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -0
- package/dist/node/simple/blockValidation/index.d.ts +2 -0
- package/dist/node/simple/blockValidation/index.d.ts.map +1 -0
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +47 -0
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -0
- package/dist/node/simple/chainContractViewer/index.d.ts +2 -0
- package/dist/node/simple/chainContractViewer/index.d.ts.map +1 -0
- package/dist/node/simple/client/SimpleXyoClient.d.ts +9 -0
- package/dist/node/simple/client/SimpleXyoClient.d.ts.map +1 -0
- package/dist/node/simple/client/index.d.ts +2 -0
- package/dist/node/simple/client/index.d.ts.map +1 -0
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +34 -0
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -0
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +21 -0
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -0
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +20 -0
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -0
- package/dist/node/simple/datalake/RestDataLakeViewer.d.ts +16 -0
- package/dist/node/simple/datalake/RestDataLakeViewer.d.ts.map +1 -0
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +23 -0
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -0
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +17 -0
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -0
- package/dist/node/simple/datalake/index.d.ts +5 -0
- package/dist/node/simple/datalake/index.d.ts.map +1 -0
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +30 -0
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -0
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +75 -0
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -0
- package/dist/node/simple/finalization/index.d.ts +3 -0
- package/dist/node/simple/finalization/index.d.ts.map +1 -0
- package/dist/node/simple/gateway/SimpleXyoGateway.d.ts +17 -0
- package/dist/node/simple/gateway/SimpleXyoGateway.d.ts.map +1 -0
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +29 -0
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -0
- package/dist/node/simple/gateway/index.d.ts +3 -0
- package/dist/node/simple/gateway/index.d.ts.map +1 -0
- package/dist/node/simple/index.d.ts +24 -0
- package/dist/node/simple/index.d.ts.map +1 -0
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +84 -0
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -0
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +82 -0
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -0
- package/dist/node/simple/mempool/index.d.ts +3 -0
- package/dist/node/simple/mempool/index.d.ts.map +1 -0
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts +12 -0
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -0
- package/dist/node/simple/network/index.d.ts +2 -0
- package/dist/node/simple/network/index.d.ts.map +1 -0
- package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts +6 -0
- package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts.map +1 -0
- package/dist/node/simple/network/lib/StatusNetworks.d.ts +15 -0
- package/dist/node/simple/network/lib/StatusNetworks.d.ts.map +1 -0
- package/dist/node/simple/network/lib/index.d.ts +3 -0
- package/dist/node/simple/network/lib/index.d.ts.map +1 -0
- package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts +17 -0
- package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts.map +1 -0
- package/dist/node/simple/permissions/index.d.ts +3 -0
- package/dist/node/simple/permissions/index.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/MemoryPermissions.d.ts +16 -0
- package/dist/node/simple/permissions/store/MemoryPermissions.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/PermissionsStore.d.ts +14 -0
- package/dist/node/simple/permissions/store/PermissionsStore.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/index.d.ts +3 -0
- package/dist/node/simple/permissions/store/index.d.ts.map +1 -0
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts +21 -0
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -0
- package/dist/node/simple/runner/index.d.ts +2 -0
- package/dist/node/simple/runner/index.d.ts.map +1 -0
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts +31 -0
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -0
- package/dist/node/simple/signer/index.d.ts +2 -0
- package/dist/node/simple/signer/index.d.ts.map +1 -0
- package/dist/node/simple/sync/RestSyncViewer.d.ts +22 -0
- package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -0
- package/dist/node/simple/sync/index.d.ts +2 -0
- package/dist/node/simple/sync/index.d.ts.map +1 -0
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +27 -0
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -0
- package/dist/node/simple/systemStatus/index.d.ts +2 -0
- package/dist/node/simple/systemStatus/index.d.ts.map +1 -0
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +27 -0
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -0
- package/dist/node/simple/timeSync2/index.d.ts +2 -0
- package/dist/node/simple/timeSync2/index.d.ts.map +1 -0
- package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +35 -0
- package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -0
- package/dist/node/simple/transactionInvalidation/index.d.ts +2 -0
- package/dist/node/simple/transactionInvalidation/index.d.ts.map +1 -0
- package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +34 -0
- package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -0
- package/dist/node/simple/transactionValidation/index.d.ts +2 -0
- package/dist/node/simple/transactionValidation/index.d.ts.map +1 -0
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +242 -0
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -0
- package/dist/node/simple/windowedBlock/index.d.ts +2 -0
- package/dist/node/simple/windowedBlock/index.d.ts.map +1 -0
- package/dist/node/status/ServiceStatus.d.ts +9 -0
- package/dist/node/status/ServiceStatus.d.ts.map +1 -0
- package/dist/node/status/SimpleSystemStatusRunner.d.ts +35 -0
- package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -0
- package/dist/node/status/index.d.ts +3 -0
- package/dist/node/status/index.d.ts.map +1 -0
- package/dist/node/summary/index.d.ts +3 -0
- package/dist/node/summary/index.d.ts.map +1 -0
- package/dist/node/summary/model/BalancesStepSummary.d.ts +26 -0
- package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -0
- package/dist/node/summary/model/SchemasStepSummary.d.ts +25 -0
- package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -0
- package/dist/node/summary/model/TransfersSummary.d.ts +26 -0
- package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -0
- package/dist/node/summary/model/index.d.ts +4 -0
- package/dist/node/summary/model/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts +9 -0
- package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts +6 -0
- package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesSummary.d.ts +7 -0
- package/dist/node/summary/primitives/balances/balancesSummary.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/index.d.ts +4 -0
- package/dist/node/summary/primitives/balances/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts +13 -0
- package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +12 -0
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/index.d.ts +3 -0
- package/dist/node/summary/primitives/blocks/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/index.d.ts +5 -0
- package/dist/node/summary/primitives/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/index.d.ts +4 -0
- package/dist/node/summary/primitives/schemas/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts +8 -0
- package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts +7 -0
- package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasSummary.d.ts +7 -0
- package/dist/node/summary/primitives/schemas/schemasSummary.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/index.d.ts +4 -0
- package/dist/node/summary/primitives/transfers/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts +10 -0
- package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +9 -0
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersSummary.d.ts +7 -0
- package/dist/node/summary/primitives/transfers/transfersSummary.d.ts.map +1 -0
- package/dist/node/test/BuildBlockOptions.d.ts +33 -0
- package/dist/node/test/BuildBlockOptions.d.ts.map +1 -0
- package/dist/node/test/buildBlock.d.ts +5 -0
- package/dist/node/test/buildBlock.d.ts.map +1 -0
- package/dist/node/test/buildGenesisBlock.d.ts +9 -0
- package/dist/node/test/buildGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/buildNextBlock.d.ts +6 -0
- package/dist/node/test/buildNextBlock.d.ts.map +1 -0
- package/dist/node/test/buildRandomChain.d.ts +20 -0
- package/dist/node/test/buildRandomChain.d.ts.map +1 -0
- package/dist/node/test/buildRandomGenesisBlock.d.ts +13 -0
- package/dist/node/test/buildRandomGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/buildRandomTransaction.d.ts +5 -0
- package/dist/node/test/buildRandomTransaction.d.ts.map +1 -0
- package/dist/node/test/createGenesisBlock.d.ts +5 -0
- package/dist/node/test/createGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts +16 -0
- package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -0
- package/dist/node/test/getSimpleBlockViewerLocator.d.ts +15 -0
- package/dist/node/test/getSimpleBlockViewerLocator.d.ts.map +1 -0
- package/dist/node/test/getTestProviderContext.d.ts +5 -0
- package/dist/node/test/getTestProviderContext.d.ts.map +1 -0
- package/dist/node/test/index.d.ts +5 -0
- package/dist/node/test/index.d.ts.map +1 -0
- package/dist/node/time/index.d.ts +2 -0
- package/dist/node/time/index.d.ts.map +1 -0
- package/dist/node/time/primitives/index.d.ts +2 -0
- package/dist/node/time/primitives/index.d.ts.map +1 -0
- package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts +4 -0
- package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts.map +1 -0
- package/dist/node/transaction/TransactionBuilder.d.ts +110 -0
- package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -0
- package/dist/node/transaction/buildTransaction.d.ts +5 -0
- package/dist/node/transaction/buildTransaction.d.ts.map +1 -0
- package/dist/node/transaction/buildUnsignedTransaction.d.ts +5 -0
- package/dist/node/transaction/buildUnsignedTransaction.d.ts.map +1 -0
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts +11 -0
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -0
- package/dist/node/transaction/hydrateTransaction.d.ts +21 -0
- package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -0
- package/dist/node/transaction/index.d.ts +8 -0
- package/dist/node/transaction/index.d.ts.map +1 -0
- package/dist/node/transaction/primitives/index.d.ts +5 -0
- package/dist/node/transaction/primitives/index.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts +4 -0
- package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +8 -0
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionOperations.d.ts +5 -0
- package/dist/node/transaction/primitives/transactionOperations.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionRequiredGas.d.ts +7 -0
- package/dist/node/transaction/primitives/transactionRequiredGas.d.ts.map +1 -0
- package/dist/node/transaction/script.d.ts +2 -0
- package/dist/node/transaction/script.d.ts.map +1 -0
- package/dist/node/transaction/signTransaction.d.ts +19 -0
- package/dist/node/transaction/signTransaction.d.ts.map +1 -0
- package/dist/node/utils/HydratedCache.d.ts +15 -0
- package/dist/node/utils/HydratedCache.d.ts.map +1 -0
- package/dist/node/utils/index.d.ts +3 -0
- package/dist/node/utils/index.d.ts.map +1 -0
- package/dist/node/utils/isZodError.d.ts +6 -0
- package/dist/node/utils/isZodError.d.ts.map +1 -0
- package/dist/node/validation/index.d.ts +3 -0
- package/dist/node/validation/index.d.ts.map +1 -0
- package/dist/node/validation/lib/getUrl.d.ts +3 -0
- package/dist/node/validation/lib/getUrl.d.ts.map +1 -0
- package/dist/node/validation/lib/index.d.ts +3 -0
- package/dist/node/validation/lib/index.d.ts.map +1 -0
- package/dist/node/validation/lib/isLocalhost.d.ts +3 -0
- package/dist/node/validation/lib/isLocalhost.d.ts.map +1 -0
- package/dist/node/validation/schema/Address.d.ts +3 -0
- package/dist/node/validation/schema/Address.d.ts.map +1 -0
- package/dist/node/validation/schema/Mnemonic.d.ts +14 -0
- package/dist/node/validation/schema/Mnemonic.d.ts.map +1 -0
- package/dist/node/validation/schema/index.d.ts +3 -0
- package/dist/node/validation/schema/index.d.ts.map +1 -0
- package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts +7 -0
- package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts.map +1 -0
- package/dist/node/wallet/index.d.ts +3 -0
- package/dist/node/wallet/index.d.ts.map +1 -0
- package/dist/node/wallet/paths.d.ts +24 -0
- package/dist/node/wallet/paths.d.ts.map +1 -0
- package/package.json +15 -13
- package/dist/neutral/getFileConfig.mjs +0 -357
- package/dist/neutral/getFileConfig.mjs.map +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-node.d.ts","sourceRoot":"","sources":["../../src/index-node.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './CreatableProvider/index.ts';
|
|
|
11
11
|
export * from './createDeclarationPayload.ts';
|
|
12
12
|
export * from './createTransferPayload.ts';
|
|
13
13
|
export * from './eip-712/index.ts';
|
|
14
|
-
export * from './getFileConfig.ts';
|
|
15
14
|
export * from './instances/index.ts';
|
|
16
15
|
export * from './model/index.ts';
|
|
17
16
|
export * from './multipliers.ts';
|
|
@@ -28,5 +27,4 @@ export * from './transaction/index.ts';
|
|
|
28
27
|
export * from './utils/index.ts';
|
|
29
28
|
export * from './validation/index.ts';
|
|
30
29
|
export * from './wallet/index.ts';
|
|
31
|
-
export * from '@xyo-network/xl1-driver-memory';
|
|
32
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -3860,31 +3860,6 @@ var verifyEIP712Message = async (data, sig) => {
|
|
|
3860
3860
|
return recoveredAddress.toLowerCase() === address.toLowerCase();
|
|
3861
3861
|
};
|
|
3862
3862
|
|
|
3863
|
-
// src/getFileConfig.ts
|
|
3864
|
-
import { isDefined as isDefined17, isNull as isNull2 } from "@xylabs/sdk";
|
|
3865
|
-
import { cosmiconfig } from "cosmiconfig";
|
|
3866
|
-
import { z as z25 } from "zod/mini";
|
|
3867
|
-
var configName = "xyo";
|
|
3868
|
-
var configSection = "xl1";
|
|
3869
|
-
async function getFileConfig(searchPlaces) {
|
|
3870
|
-
const explorer = cosmiconfig(
|
|
3871
|
-
configName,
|
|
3872
|
-
{
|
|
3873
|
-
cache: true,
|
|
3874
|
-
searchPlaces
|
|
3875
|
-
}
|
|
3876
|
-
);
|
|
3877
|
-
const searchResult = await explorer.search();
|
|
3878
|
-
const result = searchResult?.config;
|
|
3879
|
-
if (!isNull2(result)) {
|
|
3880
|
-
const section = result[configSection];
|
|
3881
|
-
if (isDefined17(section) && typeof section === "object") {
|
|
3882
|
-
return z25.looseObject(ConfigZod.shape).parse(section);
|
|
3883
|
-
}
|
|
3884
|
-
}
|
|
3885
|
-
return ConfigZod.parse({});
|
|
3886
|
-
}
|
|
3887
|
-
|
|
3888
3863
|
// src/multipliers.ts
|
|
3889
3864
|
import { asAttoXL1 as asAttoXL14 } from "@xyo-network/xl1-protocol-lib";
|
|
3890
3865
|
var XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_EARNED_REWARDS = asAttoXL14(1343884111859145740576652n);
|
|
@@ -3951,7 +3926,7 @@ import {
|
|
|
3951
3926
|
asHash as asHash4,
|
|
3952
3927
|
assertEx as assertEx34,
|
|
3953
3928
|
exists as exists3,
|
|
3954
|
-
isDefined as
|
|
3929
|
+
isDefined as isDefined17,
|
|
3955
3930
|
ZERO_ADDRESS
|
|
3956
3931
|
} from "@xylabs/sdk";
|
|
3957
3932
|
import {
|
|
@@ -4450,7 +4425,7 @@ var SimpleAccountBalanceViewer = class extends AbstractCreatableProvider {
|
|
|
4450
4425
|
block[1].find((p) => p._hash === hash),
|
|
4451
4426
|
() => `Error: Could not find Transfer with hash ${hash} in block ${block[0]._hash}`
|
|
4452
4427
|
);
|
|
4453
|
-
}).filter(exists3).filter((t) => t.from === address ||
|
|
4428
|
+
}).filter(exists3).filter((t) => t.from === address || isDefined17(t.transfers[address]));
|
|
4454
4429
|
if (transfers.length === 0) {
|
|
4455
4430
|
continue;
|
|
4456
4431
|
}
|
|
@@ -4569,7 +4544,7 @@ var SimpleAccountBalanceViewer = class extends AbstractCreatableProvider {
|
|
|
4569
4544
|
return await this.spanAsync("qualifiedAccountBalanceHistory", async () => {
|
|
4570
4545
|
const range = asRange(headOrRange);
|
|
4571
4546
|
const headHash = asHash4(headOrRange);
|
|
4572
|
-
const [head] = assertEx34(
|
|
4547
|
+
const [head] = assertEx34(isDefined17(headHash) ? await this.blockViewer.blockByHash(headHash) : await this.blockViewer.currentBlock(), () => "Could not resolve head block");
|
|
4573
4548
|
const startingRange = asXL1BlockRange10(range ?? [0, head.block], true);
|
|
4574
4549
|
const blockNumbers = await this.distillTransferHistory(address, startingRange);
|
|
4575
4550
|
const blockResults = await Promise.all(blockNumbers.map(async (bn) => await this.blockViewer.blockByNumber(bn)));
|
|
@@ -4583,7 +4558,7 @@ var SimpleAccountBalanceViewer = class extends AbstractCreatableProvider {
|
|
|
4583
4558
|
block[1].find((p) => p._hash === hash),
|
|
4584
4559
|
() => `Error: Could not find Transfer with hash ${hash} in block ${block[0]._hash}`
|
|
4585
4560
|
);
|
|
4586
|
-
}).filter(exists3).filter((t) => t.from === address ||
|
|
4561
|
+
}).filter(exists3).filter((t) => t.from === address || isDefined17(t.transfers[address]));
|
|
4587
4562
|
if (transfers.length === 0) {
|
|
4588
4563
|
continue;
|
|
4589
4564
|
}
|
|
@@ -4652,12 +4627,12 @@ var HydratedCache = class {
|
|
|
4652
4627
|
};
|
|
4653
4628
|
|
|
4654
4629
|
// src/utils/isZodError.ts
|
|
4655
|
-
import { z as
|
|
4630
|
+
import { z as z25 } from "zod";
|
|
4656
4631
|
var isZodError = (error) => {
|
|
4657
|
-
return error instanceof
|
|
4632
|
+
return error instanceof z25.ZodError;
|
|
4658
4633
|
};
|
|
4659
4634
|
var prettifyZodError = (error) => {
|
|
4660
|
-
return
|
|
4635
|
+
return z25.prettifyError(error);
|
|
4661
4636
|
};
|
|
4662
4637
|
|
|
4663
4638
|
// src/simple/block/SimpleBlockViewer.ts
|
|
@@ -5152,14 +5127,14 @@ var SimpleXyoClient = class {
|
|
|
5152
5127
|
import { assertEx as assertEx39, exists as exists6 } from "@xylabs/sdk";
|
|
5153
5128
|
import { isAnyPayload as isAnyPayload8, PayloadZodLoose } from "@xyo-network/sdk-js";
|
|
5154
5129
|
import { DataLakeRunnerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
5155
|
-
import { z as
|
|
5130
|
+
import { z as z26 } from "zod/mini";
|
|
5156
5131
|
|
|
5157
5132
|
// src/simple/datalake/AbstractRestDataLake.ts
|
|
5158
5133
|
import { FetchClientError, FetchJsonClient } from "@xylabs/sdk";
|
|
5159
5134
|
import {
|
|
5160
5135
|
assertEx as assertEx38,
|
|
5161
5136
|
exists as exists5,
|
|
5162
|
-
isDefined as
|
|
5137
|
+
isDefined as isDefined18
|
|
5163
5138
|
} from "@xylabs/sdk";
|
|
5164
5139
|
import { asAnyPayload as asAnyPayload4, isAnyPayload as isAnyPayload7 } from "@xyo-network/sdk-js";
|
|
5165
5140
|
var AbstractRestDataLake = class extends AbstractCreatableProvider {
|
|
@@ -5177,7 +5152,7 @@ var AbstractRestDataLake = class extends AbstractCreatableProvider {
|
|
|
5177
5152
|
}
|
|
5178
5153
|
static async paramsHandler(params = {}) {
|
|
5179
5154
|
const moniker = this.defaultMoniker;
|
|
5180
|
-
const endpoint =
|
|
5155
|
+
const endpoint = isDefined18(params.endpoint) && params.endpoint !== "" ? params.endpoint : resolveRestConnectionEndpoint(
|
|
5181
5156
|
assertEx38(params.context?.config, () => "Context config is required to resolve REST data lake endpoint"),
|
|
5182
5157
|
moniker
|
|
5183
5158
|
);
|
|
@@ -5240,7 +5215,7 @@ var RestDataLakeRunner = class extends AbstractRestDataLake {
|
|
|
5240
5215
|
}).filter(exists6);
|
|
5241
5216
|
if (allowedItems.length > 0) {
|
|
5242
5217
|
const result = await this.client.post(`${this.params.endpoint}/insert`, allowedItems);
|
|
5243
|
-
return
|
|
5218
|
+
return z26.array(PayloadZodLoose).parse(result.data);
|
|
5244
5219
|
}
|
|
5245
5220
|
return [];
|
|
5246
5221
|
}
|
|
@@ -5517,7 +5492,7 @@ var SimpleXyoGateway = class _SimpleXyoGateway extends AbstractCreatableProvider
|
|
|
5517
5492
|
import {
|
|
5518
5493
|
assertEx as assertEx42,
|
|
5519
5494
|
BigIntToJsonZod,
|
|
5520
|
-
isDefined as
|
|
5495
|
+
isDefined as isDefined19
|
|
5521
5496
|
} from "@xylabs/sdk";
|
|
5522
5497
|
import { PayloadBuilder as PayloadBuilder20 } from "@xyo-network/sdk-js";
|
|
5523
5498
|
import {
|
|
@@ -5555,9 +5530,9 @@ var SimpleXyoGatewayRunner = class _SimpleXyoGatewayRunner extends AbstractCreat
|
|
|
5555
5530
|
chain,
|
|
5556
5531
|
fees
|
|
5557
5532
|
} = options ?? {};
|
|
5558
|
-
const resolvedChainId =
|
|
5559
|
-
const resolvedNbf = asXL1BlockNumber10(
|
|
5560
|
-
const resolvedExp = asXL1BlockNumber10(
|
|
5533
|
+
const resolvedChainId = isDefined19(chain) ? chain : await viewer.chainId();
|
|
5534
|
+
const resolvedNbf = asXL1BlockNumber10(isDefined19(nbf) ? nbf : await viewer.currentBlockNumber(), true);
|
|
5535
|
+
const resolvedExp = asXL1BlockNumber10(isDefined19(exp) ? exp : resolvedNbf + 10, true);
|
|
5561
5536
|
const tx = await buildUnsignedTransaction(resolvedChainId, onChain, offChain, resolvedNbf, resolvedExp, await this.signer.address(), fees);
|
|
5562
5537
|
return await this.addTransactionToChain(tx, await PayloadBuilder20.addHashMeta(offChain));
|
|
5563
5538
|
}
|
|
@@ -6055,7 +6030,7 @@ SimpleMempoolRunner = __decorateClass([
|
|
|
6055
6030
|
import {
|
|
6056
6031
|
assertEx as assertEx44,
|
|
6057
6032
|
exists as exists9,
|
|
6058
|
-
isDefined as
|
|
6033
|
+
isDefined as isDefined20,
|
|
6059
6034
|
isHash as isHash2
|
|
6060
6035
|
} from "@xylabs/sdk";
|
|
6061
6036
|
import { isHashMeta as isHashMeta2, isPayloadBundle as isPayloadBundle2 } from "@xyo-network/sdk-js";
|
|
@@ -6126,7 +6101,7 @@ var SimpleMempoolViewer = class extends AbstractCreatableProvider {
|
|
|
6126
6101
|
let cursor;
|
|
6127
6102
|
if (isHash2(providedCursor)) {
|
|
6128
6103
|
const [p] = await this.pendingBlocksArchivist.get([providedCursor]);
|
|
6129
|
-
if (
|
|
6104
|
+
if (isDefined20(p)) {
|
|
6130
6105
|
cursor = p._sequence;
|
|
6131
6106
|
}
|
|
6132
6107
|
}
|
|
@@ -6146,7 +6121,7 @@ var SimpleMempoolViewer = class extends AbstractCreatableProvider {
|
|
|
6146
6121
|
let cursor;
|
|
6147
6122
|
if (isHash2(providedCursor)) {
|
|
6148
6123
|
const [p] = await this.pendingTransactionsArchivist.get([providedCursor]);
|
|
6149
|
-
if (
|
|
6124
|
+
if (isDefined20(p)) {
|
|
6150
6125
|
cursor = p._sequence;
|
|
6151
6126
|
}
|
|
6152
6127
|
}
|
|
@@ -6219,7 +6194,7 @@ var SimpleMempoolViewer = class extends AbstractCreatableProvider {
|
|
|
6219
6194
|
const hydratedResults = await Promise.all(
|
|
6220
6195
|
filteredBundles.map(async (bundle3) => {
|
|
6221
6196
|
const tx = await bundledPayloadToHydratedTransaction(bundle3);
|
|
6222
|
-
return
|
|
6197
|
+
return isDefined20(tx) ? { bundle: bundle3, tx } : void 0;
|
|
6223
6198
|
})
|
|
6224
6199
|
);
|
|
6225
6200
|
return hydratedResults.filter(exists9);
|
|
@@ -6515,7 +6490,7 @@ var SimpleXyoSigner = class _SimpleXyoSigner extends AbstractCreatableProvider {
|
|
|
6515
6490
|
};
|
|
6516
6491
|
|
|
6517
6492
|
// src/simple/StakeEventsViewer/SimpleStakeEventsViewer.ts
|
|
6518
|
-
import { isDefined as
|
|
6493
|
+
import { isDefined as isDefined21 } from "@xylabs/sdk";
|
|
6519
6494
|
import { StakeEventsViewerMoniker } from "@xyo-network/xl1-protocol-lib";
|
|
6520
6495
|
var SimpleStakeEventsViewer = class extends AbstractCreatableProvider {
|
|
6521
6496
|
moniker = SimpleStakeEventsViewer.defaultMoniker;
|
|
@@ -6528,7 +6503,7 @@ var SimpleStakeEventsViewer = class extends AbstractCreatableProvider {
|
|
|
6528
6503
|
stakeEvents(range, { name } = {}) {
|
|
6529
6504
|
const positions = this.positionsFromRange(range);
|
|
6530
6505
|
const events = this.eventsFromPositions(positions);
|
|
6531
|
-
if (
|
|
6506
|
+
if (isDefined21(name)) {
|
|
6532
6507
|
return events.filter((event) => event.name === name);
|
|
6533
6508
|
}
|
|
6534
6509
|
return events;
|
|
@@ -6915,7 +6890,7 @@ SimpleSystemStatusViewer = __decorateClass([
|
|
|
6915
6890
|
import {
|
|
6916
6891
|
asHash as asHash5,
|
|
6917
6892
|
assertEx as assertEx51,
|
|
6918
|
-
isDefined as
|
|
6893
|
+
isDefined as isDefined22
|
|
6919
6894
|
} from "@xylabs/sdk";
|
|
6920
6895
|
import {
|
|
6921
6896
|
asTimePayload as asTimePayload2,
|
|
@@ -6939,7 +6914,7 @@ var SimpleTimeSyncViewer = class extends AbstractCreatableProvider {
|
|
|
6939
6914
|
const [block, payloads] = assertEx51(await this.blockViewer.blockByNumber(asXL1BlockNumber11(from, true)), () => "Block not found");
|
|
6940
6915
|
const timeSchemaIndex = block.payload_schemas.indexOf(TimeSchema);
|
|
6941
6916
|
const hash = timeSchemaIndex === -1 ? void 0 : block.payload_hashes[timeSchemaIndex];
|
|
6942
|
-
const timePayload = asTimePayload2(
|
|
6917
|
+
const timePayload = asTimePayload2(isDefined22(hash) ? payloads.find((p) => p._hash === hash) : void 0);
|
|
6943
6918
|
if (timePayload === void 0) return 0;
|
|
6944
6919
|
switch (toDomain) {
|
|
6945
6920
|
case "xl1": {
|
|
@@ -7013,7 +6988,7 @@ var SimpleTimeSyncViewer = class extends AbstractCreatableProvider {
|
|
|
7013
6988
|
xl1Hash: assertEx51(xl1Hash, () => "No xl1 hash available from time sync service"),
|
|
7014
6989
|
epoch: Date.now()
|
|
7015
6990
|
};
|
|
7016
|
-
if (
|
|
6991
|
+
if (isDefined22(this.ethProvider)) {
|
|
7017
6992
|
const [ethereum, ethHashOrNull] = await this.currentTimeAndHash("ethereum");
|
|
7018
6993
|
const ethereumHash = asHash5(ethHashOrNull, () => "No ethereum hash available from time sync service");
|
|
7019
6994
|
timePayload.ethereum = ethereum;
|
|
@@ -7242,7 +7217,7 @@ SimpleTransactionViewer = __decorateClass([
|
|
|
7242
7217
|
import {
|
|
7243
7218
|
assertEx as assertEx54,
|
|
7244
7219
|
exists as exists11,
|
|
7245
|
-
isNull as
|
|
7220
|
+
isNull as isNull2
|
|
7246
7221
|
} from "@xylabs/sdk";
|
|
7247
7222
|
import { MemoryMap as MemoryMap2 } from "@xyo-network/xl1-driver-memory";
|
|
7248
7223
|
import {
|
|
@@ -7393,10 +7368,10 @@ var SimpleWindowedBlockViewer = class extends AbstractCreatableProvider {
|
|
|
7393
7368
|
let cursor = await this._blockViewer.currentBlock();
|
|
7394
7369
|
const previousHead = this._chain.length > 0 ? await this.currentBlockHash() : null;
|
|
7395
7370
|
const newBlocks = [];
|
|
7396
|
-
while (!
|
|
7371
|
+
while (!isNull2(cursor) && cursor[0]._hash !== previousHead && newBlocks.length < this.maxWindowSize) {
|
|
7397
7372
|
newBlocks.unshift(cursor);
|
|
7398
7373
|
const previousHash = newBlocks[0][0].previous;
|
|
7399
|
-
cursor =
|
|
7374
|
+
cursor = isNull2(previousHash) ? null : await this._blockViewer.blockByHash(previousHash);
|
|
7400
7375
|
}
|
|
7401
7376
|
for (const block of newBlocks) {
|
|
7402
7377
|
this.addBlock(block);
|
|
@@ -7573,7 +7548,7 @@ import {
|
|
|
7573
7548
|
} from "@xyo-network/xl1-protocol-lib";
|
|
7574
7549
|
|
|
7575
7550
|
// src/test/buildBlock.ts
|
|
7576
|
-
import { assertEx as assertEx55, isDefined as
|
|
7551
|
+
import { assertEx as assertEx55, isDefined as isDefined23 } from "@xylabs/sdk";
|
|
7577
7552
|
import {
|
|
7578
7553
|
asAnyPayload as asAnyPayload5,
|
|
7579
7554
|
BoundWitnessBuilder as BoundWitnessBuilder4,
|
|
@@ -7657,7 +7632,7 @@ function buildStepHashes(blockNumber, inStepHashes, previousBlockHash, chainStep
|
|
|
7657
7632
|
completedStepRewardTransfers.push(createTransferPayload(chainStepRewardAddress2, { [completedStepRewardHolderAddress]: completedStepReward }));
|
|
7658
7633
|
}
|
|
7659
7634
|
step_hashes.push(assertEx55(previousBlockHash, () => `Previous block hash is required for step ${step} at block ${blockNumber}`));
|
|
7660
|
-
} else if (
|
|
7635
|
+
} else if (isDefined23(inStepHashes.at(i))) {
|
|
7661
7636
|
step_hashes.push(inStepHashes[i]);
|
|
7662
7637
|
}
|
|
7663
7638
|
}
|
|
@@ -7959,8 +7934,8 @@ var getUrl = (host, port) => {
|
|
|
7959
7934
|
var TODO = true;
|
|
7960
7935
|
|
|
7961
7936
|
// src/validation/schema/Mnemonic.ts
|
|
7962
|
-
import { z as
|
|
7963
|
-
var MnemonicStringZod =
|
|
7937
|
+
import { z as z27 } from "zod";
|
|
7938
|
+
var MnemonicStringZod = z27.string().transform((s) => s.trim().replaceAll(/\s+/g, " ")).refine(
|
|
7964
7939
|
(s) => [12, 15, 18, 21, 24].includes(s.split(" ").length),
|
|
7965
7940
|
{ message: "Mnemonic must contain 12, 15, 18, 21, or 24 words." }
|
|
7966
7941
|
).describe("BIP-39 mnemonic string");
|
|
@@ -7981,9 +7956,6 @@ var generateXyoBaseWalletFromPhrase = (walletPhrase) => {
|
|
|
7981
7956
|
const wallet = HDWallet.fromPhrase(walletPhrase, DEFAULT_WALLET_PATH);
|
|
7982
7957
|
return wallet;
|
|
7983
7958
|
};
|
|
7984
|
-
|
|
7985
|
-
// src/index.ts
|
|
7986
|
-
export * from "@xyo-network/xl1-driver-memory";
|
|
7987
7959
|
export {
|
|
7988
7960
|
ACCOUNT_TYPE,
|
|
7989
7961
|
ADDRESS_INDEX,
|
|
@@ -8195,7 +8167,6 @@ export {
|
|
|
8195
8167
|
generateXyoBaseWalletFromPhrase,
|
|
8196
8168
|
getArchivistFactory,
|
|
8197
8169
|
getBlockRateBlocks,
|
|
8198
|
-
getFileConfig,
|
|
8199
8170
|
getProducerKey,
|
|
8200
8171
|
getTestProviderContext2 as getTestProviderContext,
|
|
8201
8172
|
getTestSimpleBlockViewerLocator,
|