@paimaexample/wallets 0.3.117
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/README.md +1 -0
- package/esm/chain-types/src/hash.d.ts +28 -0
- package/esm/chain-types/src/hash.d.ts.map +1 -0
- package/esm/chain-types/src/hash.js +29 -0
- package/esm/chain-types/src/mod.d.ts +3 -0
- package/esm/chain-types/src/mod.d.ts.map +1 -0
- package/esm/chain-types/src/mod.js +2 -0
- package/esm/chain-types/src/types.d.ts +70 -0
- package/esm/chain-types/src/types.d.ts.map +1 -0
- package/esm/chain-types/src/types.js +1 -0
- package/esm/concise/src/batcher.d.ts +40 -0
- package/esm/concise/src/batcher.d.ts.map +1 -0
- package/esm/concise/src/batcher.js +117 -0
- package/esm/concise/src/delegate.d.ts +18 -0
- package/esm/concise/src/delegate.d.ts.map +1 -0
- package/esm/concise/src/delegate.js +118 -0
- package/esm/concise/src/mod.d.ts +5 -0
- package/esm/concise/src/mod.d.ts.map +1 -0
- package/esm/concise/src/mod.js +3 -0
- package/esm/concise/src/v2/builtins/batcher.d.ts +27 -0
- package/esm/concise/src/v2/builtins/batcher.d.ts.map +1 -0
- package/esm/concise/src/v2/builtins/batcher.js +51 -0
- package/esm/concise/src/v2/builtins/grammar.d.ts +25 -0
- package/esm/concise/src/v2/builtins/grammar.d.ts.map +1 -0
- package/esm/concise/src/v2/builtins/grammar.js +40 -0
- package/esm/concise/src/v2/builtins/index.d.ts +3 -0
- package/esm/concise/src/v2/builtins/index.d.ts.map +1 -0
- package/esm/concise/src/v2/builtins/index.js +3 -0
- package/esm/concise/src/v2/grammar.d.ts +8 -0
- package/esm/concise/src/v2/grammar.d.ts.map +1 -0
- package/esm/concise/src/v2/grammar.js +19 -0
- package/esm/concise/src/v2/inputs.d.ts +7 -0
- package/esm/concise/src/v2/inputs.d.ts.map +1 -0
- package/esm/concise/src/v2/inputs.js +37 -0
- package/esm/concise/src/v2/mod.d.ts +5 -0
- package/esm/concise/src/v2/mod.d.ts.map +1 -0
- package/esm/concise/src/v2/mod.js +4 -0
- package/esm/concise/src/v2/types.d.ts +23 -0
- package/esm/concise/src/v2/types.d.ts.map +1 -0
- package/esm/concise/src/v2/types.js +1 -0
- package/esm/config/src/config/builder.d.ts +33 -0
- package/esm/config/src/config/builder.d.ts.map +1 -0
- package/esm/config/src/config/builder.js +82 -0
- package/esm/config/src/config/configCheck.d.ts +32 -0
- package/esm/config/src/config/configCheck.d.ts.map +1 -0
- package/esm/config/src/config/configCheck.js +67 -0
- package/esm/config/src/config/context.d.ts +23 -0
- package/esm/config/src/config/context.d.ts.map +1 -0
- package/esm/config/src/config/context.js +25 -0
- package/esm/config/src/config/mod.d.ts +7 -0
- package/esm/config/src/config/mod.d.ts.map +1 -0
- package/esm/config/src/config/mod.js +4 -0
- package/esm/config/src/config/parts/deployedAddresses.d.ts +17 -0
- package/esm/config/src/config/parts/deployedAddresses.d.ts.map +1 -0
- package/esm/config/src/config/parts/deployedAddresses.js +24 -0
- package/esm/config/src/config/parts/network.d.ts +19 -0
- package/esm/config/src/config/parts/network.d.ts.map +1 -0
- package/esm/config/src/config/parts/network.js +29 -0
- package/esm/config/src/config/parts/primitive.d.ts +31 -0
- package/esm/config/src/config/parts/primitive.d.ts.map +1 -0
- package/esm/config/src/config/parts/primitive.js +28 -0
- package/esm/config/src/config/parts/securityNamespace.d.ts +14 -0
- package/esm/config/src/config/parts/securityNamespace.d.ts.map +1 -0
- package/esm/config/src/config/parts/securityNamespace.js +26 -0
- package/esm/config/src/config/parts/syncProtocols.d.ts +43 -0
- package/esm/config/src/config/parts/syncProtocols.d.ts.map +1 -0
- package/esm/config/src/config/parts/syncProtocols.js +66 -0
- package/esm/config/src/config/utils.d.ts +40 -0
- package/esm/config/src/config/utils.d.ts.map +1 -0
- package/esm/config/src/config/utils.js +55 -0
- package/esm/config/src/mod.d.ts +3 -0
- package/esm/config/src/mod.d.ts.map +1 -0
- package/esm/config/src/mod.js +2 -0
- package/esm/config/src/schema/common.d.ts +26 -0
- package/esm/config/src/schema/common.d.ts.map +1 -0
- package/esm/config/src/schema/common.js +51 -0
- package/esm/config/src/schema/mod.d.ts +7 -0
- package/esm/config/src/schema/mod.d.ts.map +1 -0
- package/esm/config/src/schema/mod.js +6 -0
- package/esm/config/src/schema/namespace.d.ts +39 -0
- package/esm/config/src/schema/namespace.d.ts.map +1 -0
- package/esm/config/src/schema/namespace.js +34 -0
- package/esm/config/src/schema/network/algorand.d.ts +12 -0
- package/esm/config/src/schema/network/algorand.d.ts.map +1 -0
- package/esm/config/src/schema/network/algorand.js +23 -0
- package/esm/config/src/schema/network/all.d.ts +175 -0
- package/esm/config/src/schema/network/all.d.ts.map +1 -0
- package/esm/config/src/schema/network/all.js +24 -0
- package/esm/config/src/schema/network/bitcoin.d.ts +19 -0
- package/esm/config/src/schema/network/bitcoin.d.ts.map +1 -0
- package/esm/config/src/schema/network/bitcoin.js +21 -0
- package/esm/config/src/schema/network/cardano.d.ts +12 -0
- package/esm/config/src/schema/network/cardano.d.ts.map +1 -0
- package/esm/config/src/schema/network/cardano.js +27 -0
- package/esm/config/src/schema/network/evm.d.ts +68 -0
- package/esm/config/src/schema/network/evm.d.ts.map +1 -0
- package/esm/config/src/schema/network/evm.js +70 -0
- package/esm/config/src/schema/network/mina.d.ts +14 -0
- package/esm/config/src/schema/network/mina.d.ts.map +1 -0
- package/esm/config/src/schema/network/mina.js +25 -0
- package/esm/config/src/schema/network/mod.d.ts +9 -0
- package/esm/config/src/schema/network/mod.d.ts.map +1 -0
- package/esm/config/src/schema/network/mod.js +8 -0
- package/esm/config/src/schema/network/ntp.d.ts +32 -0
- package/esm/config/src/schema/network/ntp.d.ts.map +1 -0
- package/esm/config/src/schema/network/ntp.js +39 -0
- package/esm/config/src/schema/network/substrate/avail.d.ts +14 -0
- package/esm/config/src/schema/network/substrate/avail.d.ts.map +1 -0
- package/esm/config/src/schema/network/substrate/avail.js +26 -0
- package/esm/config/src/schema/network/substrate/common.d.ts +18 -0
- package/esm/config/src/schema/network/substrate/common.d.ts.map +1 -0
- package/esm/config/src/schema/network/substrate/common.js +32 -0
- package/esm/config/src/schema/network/substrate/midnight.d.ts +20 -0
- package/esm/config/src/schema/network/substrate/midnight.d.ts.map +1 -0
- package/esm/config/src/schema/network/substrate/midnight.js +32 -0
- package/esm/config/src/schema/network/substrate/mod.d.ts +4 -0
- package/esm/config/src/schema/network/substrate/mod.d.ts.map +1 -0
- package/esm/config/src/schema/network/substrate/mod.js +3 -0
- package/esm/config/src/schema/network/types.d.ts +13 -0
- package/esm/config/src/schema/network/types.d.ts.map +1 -0
- package/esm/config/src/schema/network/types.js +13 -0
- package/esm/config/src/schema/network/utils.d.ts +5 -0
- package/esm/config/src/schema/network/utils.d.ts.map +1 -0
- package/esm/config/src/schema/network/utils.js +73 -0
- package/esm/config/src/schema/primitive/mod.d.ts +2 -0
- package/esm/config/src/schema/primitive/mod.d.ts.map +1 -0
- package/esm/config/src/schema/primitive/mod.js +1 -0
- package/esm/config/src/schema/primitive/types.d.ts +58 -0
- package/esm/config/src/schema/primitive/types.d.ts.map +1 -0
- package/esm/config/src/schema/primitive/types.js +1 -0
- package/esm/config/src/schema/sync-protocols/all.d.ts +583 -0
- package/esm/config/src/schema/sync-protocols/all.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/all.js +55 -0
- package/esm/config/src/schema/sync-protocols/avail/rpc.d.ts +76 -0
- package/esm/config/src/schema/sync-protocols/avail/rpc.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/avail/rpc.js +56 -0
- package/esm/config/src/schema/sync-protocols/bitcoin/rpc.d.ts +76 -0
- package/esm/config/src/schema/sync-protocols/bitcoin/rpc.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/bitcoin/rpc.js +47 -0
- package/esm/config/src/schema/sync-protocols/cardano/carp.d.ts +80 -0
- package/esm/config/src/schema/sync-protocols/cardano/carp.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/cardano/carp.js +62 -0
- package/esm/config/src/schema/sync-protocols/cardano/mod.d.ts +2 -0
- package/esm/config/src/schema/sync-protocols/cardano/mod.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/cardano/mod.js +1 -0
- package/esm/config/src/schema/sync-protocols/cardano/utxorpc.d.ts +56 -0
- package/esm/config/src/schema/sync-protocols/cardano/utxorpc.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/cardano/utxorpc.js +56 -0
- package/esm/config/src/schema/sync-protocols/common.d.ts +60 -0
- package/esm/config/src/schema/sync-protocols/common.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/common.js +54 -0
- package/esm/config/src/schema/sync-protocols/decorators/all.d.ts +17 -0
- package/esm/config/src/schema/sync-protocols/decorators/all.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/decorators/all.js +8 -0
- package/esm/config/src/schema/sync-protocols/decorators/emulated.d.ts +8 -0
- package/esm/config/src/schema/sync-protocols/decorators/emulated.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/decorators/emulated.js +12 -0
- package/esm/config/src/schema/sync-protocols/decorators/mod.d.ts +4 -0
- package/esm/config/src/schema/sync-protocols/decorators/mod.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/decorators/mod.js +3 -0
- package/esm/config/src/schema/sync-protocols/decorators/types.d.ts +4 -0
- package/esm/config/src/schema/sync-protocols/decorators/types.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/decorators/types.js +4 -0
- package/esm/config/src/schema/sync-protocols/evm/rpc.d.ts +68 -0
- package/esm/config/src/schema/sync-protocols/evm/rpc.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/evm/rpc.js +44 -0
- package/esm/config/src/schema/sync-protocols/midnight/graphql.d.ts +66 -0
- package/esm/config/src/schema/sync-protocols/midnight/graphql.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/midnight/graphql.js +50 -0
- package/esm/config/src/schema/sync-protocols/mina/graphql.d.ts +73 -0
- package/esm/config/src/schema/sync-protocols/mina/graphql.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/mina/graphql.js +59 -0
- package/esm/config/src/schema/sync-protocols/mod.d.ts +10 -0
- package/esm/config/src/schema/sync-protocols/mod.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/mod.js +9 -0
- package/esm/config/src/schema/sync-protocols/ntp/rpc.d.ts +45 -0
- package/esm/config/src/schema/sync-protocols/ntp/rpc.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/ntp/rpc.js +33 -0
- package/esm/config/src/schema/sync-protocols/types.d.ts +125 -0
- package/esm/config/src/schema/sync-protocols/types.d.ts.map +1 -0
- package/esm/config/src/schema/sync-protocols/types.js +22 -0
- package/esm/config/src/schema/utils.d.ts +53 -0
- package/esm/config/src/schema/utils.d.ts.map +1 -0
- package/esm/config/src/schema/utils.js +58 -0
- package/esm/events/src/app-events.d.ts +65 -0
- package/esm/events/src/app-events.d.ts.map +1 -0
- package/esm/events/src/app-events.js +51 -0
- package/esm/events/src/asyncapi.d.ts +1173 -0
- package/esm/events/src/asyncapi.d.ts.map +1 -0
- package/esm/events/src/asyncapi.js +7 -0
- package/esm/events/src/builtin-event-utils.d.ts +5 -0
- package/esm/events/src/builtin-event-utils.d.ts.map +1 -0
- package/esm/events/src/builtin-event-utils.js +58 -0
- package/esm/events/src/builtin-events.d.ts +106 -0
- package/esm/events/src/builtin-events.d.ts.map +1 -0
- package/esm/events/src/builtin-events.js +198 -0
- package/esm/events/src/event-connect.d.ts +15 -0
- package/esm/events/src/event-connect.d.ts.map +1 -0
- package/esm/events/src/event-connect.js +75 -0
- package/esm/events/src/event-manager.d.ts +54 -0
- package/esm/events/src/event-manager.d.ts.map +1 -0
- package/esm/events/src/event-manager.js +129 -0
- package/esm/events/src/evm.d.ts +6 -0
- package/esm/events/src/evm.d.ts.map +1 -0
- package/esm/events/src/evm.js +55 -0
- package/esm/events/src/mod.d.ts +10 -0
- package/esm/events/src/mod.d.ts.map +1 -0
- package/esm/events/src/mod.js +9 -0
- package/esm/events/src/types.d.ts +255 -0
- package/esm/events/src/types.d.ts.map +1 -0
- package/esm/events/src/types.js +103 -0
- package/esm/events/src/utils.d.ts +16 -0
- package/esm/events/src/utils.d.ts.map +1 -0
- package/esm/events/src/utils.js +93 -0
- package/esm/package.json +3 -0
- package/esm/utils/src/binary-search.d.ts +7 -0
- package/esm/utils/src/binary-search.d.ts.map +1 -0
- package/esm/utils/src/binary-search.js +38 -0
- package/esm/utils/src/captcha.d.ts +9 -0
- package/esm/utils/src/captcha.d.ts.map +1 -0
- package/esm/utils/src/captcha.js +19 -0
- package/esm/utils/src/concurrency/condVar.d.ts +25 -0
- package/esm/utils/src/concurrency/condVar.d.ts.map +1 -0
- package/esm/utils/src/concurrency/condVar.js +39 -0
- package/esm/utils/src/concurrency/latch.d.ts +25 -0
- package/esm/utils/src/concurrency/latch.d.ts.map +1 -0
- package/esm/utils/src/concurrency/latch.js +51 -0
- package/esm/utils/src/concurrency/mod.d.ts +5 -0
- package/esm/utils/src/concurrency/mod.d.ts.map +1 -0
- package/esm/utils/src/concurrency/mod.js +4 -0
- package/esm/utils/src/concurrency/retry.d.ts +14 -0
- package/esm/utils/src/concurrency/retry.d.ts.map +1 -0
- package/esm/utils/src/concurrency/retry.js +26 -0
- package/esm/utils/src/concurrency/utils.d.ts +27 -0
- package/esm/utils/src/concurrency/utils.d.ts.map +1 -0
- package/esm/utils/src/concurrency/utils.js +27 -0
- package/esm/utils/src/constants.d.ts +4 -0
- package/esm/utils/src/constants.d.ts.map +1 -0
- package/esm/utils/src/constants.js +7 -0
- package/esm/utils/src/decorators/bound.d.ts +10 -0
- package/esm/utils/src/decorators/bound.d.ts.map +1 -0
- package/esm/utils/src/decorators/bound.js +17 -0
- package/esm/utils/src/decorators/mod.d.ts +2 -0
- package/esm/utils/src/decorators/mod.d.ts.map +1 -0
- package/esm/utils/src/decorators/mod.js +1 -0
- package/esm/utils/src/mod.d.ts +8 -0
- package/esm/utils/src/mod.d.ts.map +1 -0
- package/esm/utils/src/mod.js +7 -0
- package/esm/utils/src/types/json-query.d.ts +30 -0
- package/esm/utils/src/types/json-query.d.ts.map +1 -0
- package/esm/utils/src/types/json-query.js +1 -0
- package/esm/utils/src/types/misc.d.ts +109 -0
- package/esm/utils/src/types/misc.d.ts.map +1 -0
- package/esm/utils/src/types/misc.js +2 -0
- package/esm/utils/src/types/mod.d.ts +7 -0
- package/esm/utils/src/types/mod.d.ts.map +1 -0
- package/esm/utils/src/types/mod.js +3 -0
- package/esm/utils/src/types/nominal.d.ts +87 -0
- package/esm/utils/src/types/nominal.d.ts.map +1 -0
- package/esm/utils/src/types/nominal.js +1 -0
- package/esm/utils/src/types/typebox-helpers.d.ts +183 -0
- package/esm/utils/src/types/typebox-helpers.d.ts.map +1 -0
- package/esm/utils/src/types/typebox-helpers.js +235 -0
- package/esm/utils/src/types/utils.d.ts +37 -0
- package/esm/utils/src/types/utils.d.ts.map +1 -0
- package/esm/utils/src/types/utils.js +46 -0
- package/esm/utils/src/types/validators/algorand.d.ts +31 -0
- package/esm/utils/src/types/validators/algorand.d.ts.map +1 -0
- package/esm/utils/src/types/validators/algorand.js +90 -0
- package/esm/utils/src/types/validators/cardano.d.ts +26 -0
- package/esm/utils/src/types/validators/cardano.d.ts.map +1 -0
- package/esm/utils/src/types/validators/cardano.js +113 -0
- package/esm/utils/src/types/validators/mina.d.ts +15 -0
- package/esm/utils/src/types/validators/mina.d.ts.map +1 -0
- package/esm/utils/src/types/validators/mina.js +43 -0
- package/esm/utils/src/types/validators/minicbor.d.ts +98 -0
- package/esm/utils/src/types/validators/minicbor.d.ts.map +1 -0
- package/esm/utils/src/types/validators/minicbor.js +332 -0
- package/esm/utils/src/types/validators/mod.d.ts +3 -0
- package/esm/utils/src/types/validators/mod.d.ts.map +1 -0
- package/esm/utils/src/types/validators/mod.js +2 -0
- package/esm/utils/src/types/validators/utils.d.ts +6 -0
- package/esm/utils/src/types/validators/utils.d.ts.map +1 -0
- package/esm/utils/src/types/validators/utils.js +24 -0
- package/esm/utils/src/viem.d.ts +6 -0
- package/esm/utils/src/viem.d.ts.map +1 -0
- package/esm/utils/src/viem.js +15 -0
- package/esm/wallets/src/IProvider.d.ts +48 -0
- package/esm/wallets/src/IProvider.d.ts.map +1 -0
- package/esm/wallets/src/IProvider.js +7 -0
- package/esm/wallets/src/avail/avail.d.ts +28 -0
- package/esm/wallets/src/avail/avail.d.ts.map +1 -0
- package/esm/wallets/src/avail/avail.js +65 -0
- package/esm/wallets/src/avail/wrapper.d.ts +6 -0
- package/esm/wallets/src/avail/wrapper.d.ts.map +1 -0
- package/esm/wallets/src/avail/wrapper.js +31 -0
- package/esm/wallets/src/cardano/cardano.d.ts +30 -0
- package/esm/wallets/src/cardano/cardano.d.ts.map +1 -0
- package/esm/wallets/src/cardano/cardano.js +158 -0
- package/esm/wallets/src/cardano/wrapper.d.ts +7 -0
- package/esm/wallets/src/cardano/wrapper.d.ts.map +1 -0
- package/esm/wallets/src/cardano/wrapper.js +22 -0
- package/esm/wallets/src/evm/ethers.d.ts +28 -0
- package/esm/wallets/src/evm/ethers.d.ts.map +1 -0
- package/esm/wallets/src/evm/ethers.js +79 -0
- package/esm/wallets/src/evm/injected.d.ts +74 -0
- package/esm/wallets/src/evm/injected.d.ts.map +1 -0
- package/esm/wallets/src/evm/injected.js +322 -0
- package/esm/wallets/src/evm/types.d.ts +3 -0
- package/esm/wallets/src/evm/types.d.ts.map +1 -0
- package/esm/wallets/src/evm/types.js +1 -0
- package/esm/wallets/src/evm/wrapper-ethers.d.ts +6 -0
- package/esm/wallets/src/evm/wrapper-ethers.d.ts.map +1 -0
- package/esm/wallets/src/evm/wrapper-ethers.js +38 -0
- package/esm/wallets/src/evm/wrapper-injected.d.ts +7 -0
- package/esm/wallets/src/evm/wrapper-injected.d.ts.map +1 -0
- package/esm/wallets/src/evm/wrapper-injected.js +80 -0
- package/esm/wallets/src/midnight/midnight.d.ts +26 -0
- package/esm/wallets/src/midnight/midnight.d.ts.map +1 -0
- package/esm/wallets/src/midnight/midnight.js +112 -0
- package/esm/wallets/src/midnight/wrapper.d.ts +7 -0
- package/esm/wallets/src/midnight/wrapper.d.ts.map +1 -0
- package/esm/wallets/src/midnight/wrapper.js +22 -0
- package/esm/wallets/src/mina/mina.d.ts +28 -0
- package/esm/wallets/src/mina/mina.d.ts.map +1 -0
- package/esm/wallets/src/mina/mina.js +133 -0
- package/esm/wallets/src/mina/wrapper.d.ts +6 -0
- package/esm/wallets/src/mina/wrapper.d.ts.map +1 -0
- package/esm/wallets/src/mina/wrapper.js +12 -0
- package/esm/wallets/src/mod.d.ts +8 -0
- package/esm/wallets/src/mod.d.ts.map +1 -0
- package/esm/wallets/src/mod.js +5 -0
- package/esm/wallets/src/paima.d.ts +104 -0
- package/esm/wallets/src/paima.d.ts.map +1 -0
- package/esm/wallets/src/paima.js +244 -0
- package/esm/wallets/src/types.d.ts +49 -0
- package/esm/wallets/src/types.d.ts.map +1 -0
- package/esm/wallets/src/types.js +1 -0
- package/esm/wallets/src/utils.d.ts +41 -0
- package/esm/wallets/src/utils.d.ts.map +1 -0
- package/esm/wallets/src/utils.js +75 -0
- package/esm/wallets/src/wallet-modes.d.ts +49 -0
- package/esm/wallets/src/wallet-modes.d.ts.map +1 -0
- package/esm/wallets/src/wallet-modes.js +26 -0
- package/esm/wallets/src/wallets.d.ts +5 -0
- package/esm/wallets/src/wallets.d.ts.map +1 -0
- package/esm/wallets/src/wallets.js +55 -0
- package/esm/wallets/src/windows.d.ts +5 -0
- package/esm/wallets/src/windows.d.ts.map +1 -0
- package/esm/wallets/src/windows.js +9 -0
- package/package.json +51 -0
- package/script/chain-types/src/hash.d.ts +28 -0
- package/script/chain-types/src/hash.d.ts.map +1 -0
- package/script/chain-types/src/hash.js +36 -0
- package/script/chain-types/src/mod.d.ts +3 -0
- package/script/chain-types/src/mod.d.ts.map +1 -0
- package/script/chain-types/src/mod.js +18 -0
- package/script/chain-types/src/types.d.ts +70 -0
- package/script/chain-types/src/types.d.ts.map +1 -0
- package/script/chain-types/src/types.js +2 -0
- package/script/concise/src/batcher.d.ts +40 -0
- package/script/concise/src/batcher.d.ts.map +1 -0
- package/script/concise/src/batcher.js +122 -0
- package/script/concise/src/delegate.d.ts +18 -0
- package/script/concise/src/delegate.d.ts.map +1 -0
- package/script/concise/src/delegate.js +123 -0
- package/script/concise/src/mod.d.ts +5 -0
- package/script/concise/src/mod.d.ts.map +1 -0
- package/script/concise/src/mod.js +19 -0
- package/script/concise/src/v2/builtins/batcher.d.ts +27 -0
- package/script/concise/src/v2/builtins/batcher.d.ts.map +1 -0
- package/script/concise/src/v2/builtins/batcher.js +54 -0
- package/script/concise/src/v2/builtins/grammar.d.ts +25 -0
- package/script/concise/src/v2/builtins/grammar.d.ts.map +1 -0
- package/script/concise/src/v2/builtins/grammar.js +43 -0
- package/script/concise/src/v2/builtins/index.d.ts +3 -0
- package/script/concise/src/v2/builtins/index.d.ts.map +1 -0
- package/script/concise/src/v2/builtins/index.js +19 -0
- package/script/concise/src/v2/grammar.d.ts +8 -0
- package/script/concise/src/v2/grammar.d.ts.map +1 -0
- package/script/concise/src/v2/grammar.js +24 -0
- package/script/concise/src/v2/inputs.d.ts +7 -0
- package/script/concise/src/v2/inputs.d.ts.map +1 -0
- package/script/concise/src/v2/inputs.js +43 -0
- package/script/concise/src/v2/mod.d.ts +5 -0
- package/script/concise/src/v2/mod.d.ts.map +1 -0
- package/script/concise/src/v2/mod.js +20 -0
- package/script/concise/src/v2/types.d.ts +23 -0
- package/script/concise/src/v2/types.d.ts.map +1 -0
- package/script/concise/src/v2/types.js +2 -0
- package/script/config/src/config/builder.d.ts +33 -0
- package/script/config/src/config/builder.d.ts.map +1 -0
- package/script/config/src/config/builder.js +86 -0
- package/script/config/src/config/configCheck.d.ts +32 -0
- package/script/config/src/config/configCheck.d.ts.map +1 -0
- package/script/config/src/config/configCheck.js +70 -0
- package/script/config/src/config/context.d.ts +23 -0
- package/script/config/src/config/context.d.ts.map +1 -0
- package/script/config/src/config/context.js +31 -0
- package/script/config/src/config/mod.d.ts +7 -0
- package/script/config/src/config/mod.d.ts.map +1 -0
- package/script/config/src/config/mod.js +22 -0
- package/script/config/src/config/parts/deployedAddresses.d.ts +17 -0
- package/script/config/src/config/parts/deployedAddresses.d.ts.map +1 -0
- package/script/config/src/config/parts/deployedAddresses.js +28 -0
- package/script/config/src/config/parts/network.d.ts +19 -0
- package/script/config/src/config/parts/network.d.ts.map +1 -0
- package/script/config/src/config/parts/network.js +33 -0
- package/script/config/src/config/parts/primitive.d.ts +31 -0
- package/script/config/src/config/parts/primitive.d.ts.map +1 -0
- package/script/config/src/config/parts/primitive.js +32 -0
- package/script/config/src/config/parts/securityNamespace.d.ts +14 -0
- package/script/config/src/config/parts/securityNamespace.d.ts.map +1 -0
- package/script/config/src/config/parts/securityNamespace.js +30 -0
- package/script/config/src/config/parts/syncProtocols.d.ts +43 -0
- package/script/config/src/config/parts/syncProtocols.d.ts.map +1 -0
- package/script/config/src/config/parts/syncProtocols.js +70 -0
- package/script/config/src/config/utils.d.ts +40 -0
- package/script/config/src/config/utils.d.ts.map +1 -0
- package/script/config/src/config/utils.js +62 -0
- package/script/config/src/mod.d.ts +3 -0
- package/script/config/src/mod.d.ts.map +1 -0
- package/script/config/src/mod.js +18 -0
- package/script/config/src/schema/common.d.ts +26 -0
- package/script/config/src/schema/common.d.ts.map +1 -0
- package/script/config/src/schema/common.js +54 -0
- package/script/config/src/schema/mod.d.ts +7 -0
- package/script/config/src/schema/mod.d.ts.map +1 -0
- package/script/config/src/schema/mod.js +22 -0
- package/script/config/src/schema/namespace.d.ts +39 -0
- package/script/config/src/schema/namespace.d.ts.map +1 -0
- package/script/config/src/schema/namespace.js +38 -0
- package/script/config/src/schema/network/algorand.d.ts +12 -0
- package/script/config/src/schema/network/algorand.d.ts.map +1 -0
- package/script/config/src/schema/network/algorand.js +26 -0
- package/script/config/src/schema/network/all.d.ts +175 -0
- package/script/config/src/schema/network/all.d.ts.map +1 -0
- package/script/config/src/schema/network/all.js +28 -0
- package/script/config/src/schema/network/bitcoin.d.ts +19 -0
- package/script/config/src/schema/network/bitcoin.d.ts.map +1 -0
- package/script/config/src/schema/network/bitcoin.js +24 -0
- package/script/config/src/schema/network/cardano.d.ts +12 -0
- package/script/config/src/schema/network/cardano.d.ts.map +1 -0
- package/script/config/src/schema/network/cardano.js +30 -0
- package/script/config/src/schema/network/evm.d.ts +68 -0
- package/script/config/src/schema/network/evm.d.ts.map +1 -0
- package/script/config/src/schema/network/evm.js +75 -0
- package/script/config/src/schema/network/mina.d.ts +14 -0
- package/script/config/src/schema/network/mina.d.ts.map +1 -0
- package/script/config/src/schema/network/mina.js +28 -0
- package/script/config/src/schema/network/mod.d.ts +9 -0
- package/script/config/src/schema/network/mod.d.ts.map +1 -0
- package/script/config/src/schema/network/mod.js +24 -0
- package/script/config/src/schema/network/ntp.d.ts +32 -0
- package/script/config/src/schema/network/ntp.d.ts.map +1 -0
- package/script/config/src/schema/network/ntp.js +42 -0
- package/script/config/src/schema/network/substrate/avail.d.ts +14 -0
- package/script/config/src/schema/network/substrate/avail.d.ts.map +1 -0
- package/script/config/src/schema/network/substrate/avail.js +29 -0
- package/script/config/src/schema/network/substrate/common.d.ts +18 -0
- package/script/config/src/schema/network/substrate/common.d.ts.map +1 -0
- package/script/config/src/schema/network/substrate/common.js +35 -0
- package/script/config/src/schema/network/substrate/midnight.d.ts +20 -0
- package/script/config/src/schema/network/substrate/midnight.d.ts.map +1 -0
- package/script/config/src/schema/network/substrate/midnight.js +35 -0
- package/script/config/src/schema/network/substrate/mod.d.ts +4 -0
- package/script/config/src/schema/network/substrate/mod.d.ts.map +1 -0
- package/script/config/src/schema/network/substrate/mod.js +19 -0
- package/script/config/src/schema/network/types.d.ts +13 -0
- package/script/config/src/schema/network/types.d.ts.map +1 -0
- package/script/config/src/schema/network/types.js +16 -0
- package/script/config/src/schema/network/utils.d.ts +5 -0
- package/script/config/src/schema/network/utils.d.ts.map +1 -0
- package/script/config/src/schema/network/utils.js +76 -0
- package/script/config/src/schema/primitive/mod.d.ts +2 -0
- package/script/config/src/schema/primitive/mod.d.ts.map +1 -0
- package/script/config/src/schema/primitive/mod.js +17 -0
- package/script/config/src/schema/primitive/types.d.ts +58 -0
- package/script/config/src/schema/primitive/types.d.ts.map +1 -0
- package/script/config/src/schema/primitive/types.js +2 -0
- package/script/config/src/schema/sync-protocols/all.d.ts +583 -0
- package/script/config/src/schema/sync-protocols/all.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/all.js +62 -0
- package/script/config/src/schema/sync-protocols/avail/rpc.d.ts +76 -0
- package/script/config/src/schema/sync-protocols/avail/rpc.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/avail/rpc.js +59 -0
- package/script/config/src/schema/sync-protocols/bitcoin/rpc.d.ts +76 -0
- package/script/config/src/schema/sync-protocols/bitcoin/rpc.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/bitcoin/rpc.js +50 -0
- package/script/config/src/schema/sync-protocols/cardano/carp.d.ts +80 -0
- package/script/config/src/schema/sync-protocols/cardano/carp.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/cardano/carp.js +65 -0
- package/script/config/src/schema/sync-protocols/cardano/mod.d.ts +2 -0
- package/script/config/src/schema/sync-protocols/cardano/mod.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/cardano/mod.js +17 -0
- package/script/config/src/schema/sync-protocols/cardano/utxorpc.d.ts +56 -0
- package/script/config/src/schema/sync-protocols/cardano/utxorpc.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/cardano/utxorpc.js +59 -0
- package/script/config/src/schema/sync-protocols/common.d.ts +60 -0
- package/script/config/src/schema/sync-protocols/common.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/common.js +61 -0
- package/script/config/src/schema/sync-protocols/decorators/all.d.ts +17 -0
- package/script/config/src/schema/sync-protocols/decorators/all.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/decorators/all.js +12 -0
- package/script/config/src/schema/sync-protocols/decorators/emulated.d.ts +8 -0
- package/script/config/src/schema/sync-protocols/decorators/emulated.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/decorators/emulated.js +15 -0
- package/script/config/src/schema/sync-protocols/decorators/mod.d.ts +4 -0
- package/script/config/src/schema/sync-protocols/decorators/mod.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/decorators/mod.js +19 -0
- package/script/config/src/schema/sync-protocols/decorators/types.d.ts +4 -0
- package/script/config/src/schema/sync-protocols/decorators/types.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/decorators/types.js +7 -0
- package/script/config/src/schema/sync-protocols/evm/rpc.d.ts +68 -0
- package/script/config/src/schema/sync-protocols/evm/rpc.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/evm/rpc.js +47 -0
- package/script/config/src/schema/sync-protocols/midnight/graphql.d.ts +66 -0
- package/script/config/src/schema/sync-protocols/midnight/graphql.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/midnight/graphql.js +53 -0
- package/script/config/src/schema/sync-protocols/mina/graphql.d.ts +73 -0
- package/script/config/src/schema/sync-protocols/mina/graphql.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/mina/graphql.js +62 -0
- package/script/config/src/schema/sync-protocols/mod.d.ts +10 -0
- package/script/config/src/schema/sync-protocols/mod.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/mod.js +25 -0
- package/script/config/src/schema/sync-protocols/ntp/rpc.d.ts +45 -0
- package/script/config/src/schema/sync-protocols/ntp/rpc.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/ntp/rpc.js +36 -0
- package/script/config/src/schema/sync-protocols/types.d.ts +125 -0
- package/script/config/src/schema/sync-protocols/types.d.ts.map +1 -0
- package/script/config/src/schema/sync-protocols/types.js +25 -0
- package/script/config/src/schema/utils.d.ts +53 -0
- package/script/config/src/schema/utils.d.ts.map +1 -0
- package/script/config/src/schema/utils.js +62 -0
- package/script/events/src/app-events.d.ts +65 -0
- package/script/events/src/app-events.d.ts.map +1 -0
- package/script/events/src/app-events.js +62 -0
- package/script/events/src/asyncapi.d.ts +1173 -0
- package/script/events/src/asyncapi.d.ts.map +1 -0
- package/script/events/src/asyncapi.js +8 -0
- package/script/events/src/builtin-event-utils.d.ts +5 -0
- package/script/events/src/builtin-event-utils.d.ts.map +1 -0
- package/script/events/src/builtin-event-utils.js +63 -0
- package/script/events/src/builtin-events.d.ts +106 -0
- package/script/events/src/builtin-events.d.ts.map +1 -0
- package/script/events/src/builtin-events.js +204 -0
- package/script/events/src/event-connect.d.ts +15 -0
- package/script/events/src/event-connect.d.ts.map +1 -0
- package/script/events/src/event-connect.js +82 -0
- package/script/events/src/event-manager.d.ts +54 -0
- package/script/events/src/event-manager.d.ts.map +1 -0
- package/script/events/src/event-manager.js +133 -0
- package/script/events/src/evm.d.ts +6 -0
- package/script/events/src/evm.d.ts.map +1 -0
- package/script/events/src/evm.js +59 -0
- package/script/events/src/mod.d.ts +10 -0
- package/script/events/src/mod.d.ts.map +1 -0
- package/script/events/src/mod.js +25 -0
- package/script/events/src/types.d.ts +255 -0
- package/script/events/src/types.d.ts.map +1 -0
- package/script/events/src/types.js +111 -0
- package/script/events/src/utils.d.ts +16 -0
- package/script/events/src/utils.d.ts.map +1 -0
- package/script/events/src/utils.js +98 -0
- package/script/package.json +3 -0
- package/script/utils/src/binary-search.d.ts +7 -0
- package/script/utils/src/binary-search.d.ts.map +1 -0
- package/script/utils/src/binary-search.js +41 -0
- package/script/utils/src/captcha.d.ts +9 -0
- package/script/utils/src/captcha.d.ts.map +1 -0
- package/script/utils/src/captcha.js +22 -0
- package/script/utils/src/concurrency/condVar.d.ts +25 -0
- package/script/utils/src/concurrency/condVar.d.ts.map +1 -0
- package/script/utils/src/concurrency/condVar.js +42 -0
- package/script/utils/src/concurrency/latch.d.ts +25 -0
- package/script/utils/src/concurrency/latch.d.ts.map +1 -0
- package/script/utils/src/concurrency/latch.js +54 -0
- package/script/utils/src/concurrency/mod.d.ts +5 -0
- package/script/utils/src/concurrency/mod.d.ts.map +1 -0
- package/script/utils/src/concurrency/mod.js +20 -0
- package/script/utils/src/concurrency/retry.d.ts +14 -0
- package/script/utils/src/concurrency/retry.d.ts.map +1 -0
- package/script/utils/src/concurrency/retry.js +30 -0
- package/script/utils/src/concurrency/utils.d.ts +27 -0
- package/script/utils/src/concurrency/utils.d.ts.map +1 -0
- package/script/utils/src/concurrency/utils.js +30 -0
- package/script/utils/src/constants.d.ts +4 -0
- package/script/utils/src/constants.d.ts.map +1 -0
- package/script/utils/src/constants.js +12 -0
- package/script/utils/src/decorators/bound.d.ts +10 -0
- package/script/utils/src/decorators/bound.d.ts.map +1 -0
- package/script/utils/src/decorators/bound.js +20 -0
- package/script/utils/src/decorators/mod.d.ts +2 -0
- package/script/utils/src/decorators/mod.d.ts.map +1 -0
- package/script/utils/src/decorators/mod.js +17 -0
- package/script/utils/src/mod.d.ts +8 -0
- package/script/utils/src/mod.d.ts.map +1 -0
- package/script/utils/src/mod.js +23 -0
- package/script/utils/src/types/json-query.d.ts +30 -0
- package/script/utils/src/types/json-query.d.ts.map +1 -0
- package/script/utils/src/types/json-query.js +2 -0
- package/script/utils/src/types/misc.d.ts +109 -0
- package/script/utils/src/types/misc.d.ts.map +1 -0
- package/script/utils/src/types/misc.js +3 -0
- package/script/utils/src/types/mod.d.ts +7 -0
- package/script/utils/src/types/mod.d.ts.map +1 -0
- package/script/utils/src/types/mod.js +19 -0
- package/script/utils/src/types/nominal.d.ts +87 -0
- package/script/utils/src/types/nominal.d.ts.map +1 -0
- package/script/utils/src/types/nominal.js +2 -0
- package/script/utils/src/types/typebox-helpers.d.ts +183 -0
- package/script/utils/src/types/typebox-helpers.d.ts.map +1 -0
- package/script/utils/src/types/typebox-helpers.js +277 -0
- package/script/utils/src/types/utils.d.ts +37 -0
- package/script/utils/src/types/utils.d.ts.map +1 -0
- package/script/utils/src/types/utils.js +52 -0
- package/script/utils/src/types/validators/algorand.d.ts +31 -0
- package/script/utils/src/types/validators/algorand.d.ts.map +1 -0
- package/script/utils/src/types/validators/algorand.js +98 -0
- package/script/utils/src/types/validators/cardano.d.ts +26 -0
- package/script/utils/src/types/validators/cardano.d.ts.map +1 -0
- package/script/utils/src/types/validators/cardano.js +121 -0
- package/script/utils/src/types/validators/mina.d.ts +15 -0
- package/script/utils/src/types/validators/mina.d.ts.map +1 -0
- package/script/utils/src/types/validators/mina.js +51 -0
- package/script/utils/src/types/validators/minicbor.d.ts +98 -0
- package/script/utils/src/types/validators/minicbor.d.ts.map +1 -0
- package/script/utils/src/types/validators/minicbor.js +337 -0
- package/script/utils/src/types/validators/mod.d.ts +3 -0
- package/script/utils/src/types/validators/mod.d.ts.map +1 -0
- package/script/utils/src/types/validators/mod.js +18 -0
- package/script/utils/src/types/validators/utils.d.ts +6 -0
- package/script/utils/src/types/validators/utils.d.ts.map +1 -0
- package/script/utils/src/types/validators/utils.js +31 -0
- package/script/utils/src/viem.d.ts +6 -0
- package/script/utils/src/viem.d.ts.map +1 -0
- package/script/utils/src/viem.js +19 -0
- package/script/wallets/src/IProvider.d.ts +48 -0
- package/script/wallets/src/IProvider.d.ts.map +1 -0
- package/script/wallets/src/IProvider.js +10 -0
- package/script/wallets/src/avail/avail.d.ts +28 -0
- package/script/wallets/src/avail/avail.d.ts.map +1 -0
- package/script/wallets/src/avail/avail.js +70 -0
- package/script/wallets/src/avail/wrapper.d.ts +6 -0
- package/script/wallets/src/avail/wrapper.d.ts.map +1 -0
- package/script/wallets/src/avail/wrapper.js +34 -0
- package/script/wallets/src/cardano/cardano.d.ts +30 -0
- package/script/wallets/src/cardano/cardano.d.ts.map +1 -0
- package/script/wallets/src/cardano/cardano.js +163 -0
- package/script/wallets/src/cardano/wrapper.d.ts +7 -0
- package/script/wallets/src/cardano/wrapper.d.ts.map +1 -0
- package/script/wallets/src/cardano/wrapper.js +26 -0
- package/script/wallets/src/evm/ethers.d.ts +28 -0
- package/script/wallets/src/evm/ethers.d.ts.map +1 -0
- package/script/wallets/src/evm/ethers.js +84 -0
- package/script/wallets/src/evm/injected.d.ts +74 -0
- package/script/wallets/src/evm/injected.d.ts.map +1 -0
- package/script/wallets/src/evm/injected.js +360 -0
- package/script/wallets/src/evm/types.d.ts +3 -0
- package/script/wallets/src/evm/types.d.ts.map +1 -0
- package/script/wallets/src/evm/types.js +4 -0
- package/script/wallets/src/evm/wrapper-ethers.d.ts +6 -0
- package/script/wallets/src/evm/wrapper-ethers.d.ts.map +1 -0
- package/script/wallets/src/evm/wrapper-ethers.js +41 -0
- package/script/wallets/src/evm/wrapper-injected.d.ts +7 -0
- package/script/wallets/src/evm/wrapper-injected.d.ts.map +1 -0
- package/script/wallets/src/evm/wrapper-injected.js +84 -0
- package/script/wallets/src/midnight/midnight.d.ts +26 -0
- package/script/wallets/src/midnight/midnight.d.ts.map +1 -0
- package/script/wallets/src/midnight/midnight.js +117 -0
- package/script/wallets/src/midnight/wrapper.d.ts +7 -0
- package/script/wallets/src/midnight/wrapper.d.ts.map +1 -0
- package/script/wallets/src/midnight/wrapper.js +26 -0
- package/script/wallets/src/mina/mina.d.ts +28 -0
- package/script/wallets/src/mina/mina.d.ts.map +1 -0
- package/script/wallets/src/mina/mina.js +138 -0
- package/script/wallets/src/mina/wrapper.d.ts +6 -0
- package/script/wallets/src/mina/wrapper.d.ts.map +1 -0
- package/script/wallets/src/mina/wrapper.js +15 -0
- package/script/wallets/src/mod.d.ts +8 -0
- package/script/wallets/src/mod.d.ts.map +1 -0
- package/script/wallets/src/mod.js +26 -0
- package/script/wallets/src/paima.d.ts +104 -0
- package/script/wallets/src/paima.d.ts.map +1 -0
- package/script/wallets/src/paima.js +253 -0
- package/script/wallets/src/types.d.ts +49 -0
- package/script/wallets/src/types.d.ts.map +1 -0
- package/script/wallets/src/types.js +2 -0
- package/script/wallets/src/utils.d.ts +41 -0
- package/script/wallets/src/utils.d.ts.map +1 -0
- package/script/wallets/src/utils.js +81 -0
- package/script/wallets/src/wallet-modes.d.ts +49 -0
- package/script/wallets/src/wallet-modes.d.ts.map +1 -0
- package/script/wallets/src/wallet-modes.js +29 -0
- package/script/wallets/src/wallets.d.ts +5 -0
- package/script/wallets/src/wallets.d.ts.map +1 -0
- package/script/wallets/src/wallets.js +58 -0
- package/script/wallets/src/windows.d.ts +5 -0
- package/script/wallets/src/windows.d.ts.map +1 -0
- package/script/wallets/src/windows.js +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asyncapi.d.ts","sourceRoot":"","sources":["../../../src/events/src/asyncapi.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,SAAS,GAAG,GAAG,CAAC,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;CACzC,GAAG,cAAc,CAAC;AACnB;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAC1C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,YAAY,GACZ,MAAM,GACN,IAAI,GACJ,mBAAmB,GACnB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,aAAa,GACb,kBAAkB,CAAC;AACvB,MAAM,MAAM,kBAAkB,GAC1B,2BAA2B,GAC3B,wBAAwB,GACxB,wBAAwB,CAAC;AAC7B,MAAM,MAAM,kBAAkB,GA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,oBAAoB,CAAC;KAC/C,CAAC;IACF;;OAEG;IACH,eAAe,CAAC,EAAE;QAChB;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,qBAAqB,CAAC;KAChD,CAAC;IACF;;OAEG;IACH,iBAAiB,CAAC,EAAE;QAClB;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,uBAAuB,CAAC;KAClD,CAAC;IACF;;OAEG;IACH,eAAe,CAAC,EAAE;QAChB;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,qBAAqB,CAAC;KAChD,CAAC;IACF;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,GAAG,CAAC;KAC9B,CAAC;IACF;;OAEG;IACH,YAAY,CAAC,EAAE;QACb;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;KACvC,CAAC;CACH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PaimaEventBrokerNames } from './types.js';
|
|
2
|
+
export declare function setupInitialListeners(_broker: PaimaEventBrokerNames): Promise<void>;
|
|
3
|
+
export declare function awaitBlockWS(blockHeight: number, maxTimeSec?: number): Promise<number>;
|
|
4
|
+
export declare function awaitBatcherHash(batchHash: string, maxTimeSec?: number): Promise<number>;
|
|
5
|
+
//# sourceMappingURL=builtin-event-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin-event-utils.d.ts","sourceRoot":"","sources":["../../../src/events/src/builtin-event-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIxD,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAUzF;AAKD,wBAAsB,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,SAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CASxF;AAKD,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,SAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CA8BpF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setupInitialListeners = setupInitialListeners;
|
|
4
|
+
exports.awaitBlockWS = awaitBlockWS;
|
|
5
|
+
exports.awaitBatcherHash = awaitBatcherHash;
|
|
6
|
+
const builtin_events_js_1 = require("./builtin-events.js");
|
|
7
|
+
const event_manager_js_1 = require("./event-manager.js");
|
|
8
|
+
let bestBlock = 0;
|
|
9
|
+
async function setupInitialListeners(_broker) {
|
|
10
|
+
await event_manager_js_1.PaimaEventManager.Instance.subscribe({
|
|
11
|
+
topic: builtin_events_js_1.BuiltinEvents.RollupBlock,
|
|
12
|
+
filter: { block: undefined },
|
|
13
|
+
}, event => {
|
|
14
|
+
bestBlock = Math.max(event.block, bestBlock);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
/*
|
|
18
|
+
* Helper to wait when batcher hash is processed by the STF
|
|
19
|
+
*/
|
|
20
|
+
async function awaitBlockWS(blockHeight, maxTimeSec = 20) {
|
|
21
|
+
const startTime = new Date().getTime();
|
|
22
|
+
const checkTime = () => startTime + maxTimeSec * 1000 > new Date().getTime();
|
|
23
|
+
while (bestBlock < blockHeight) {
|
|
24
|
+
if (!checkTime)
|
|
25
|
+
throw new Error('Block not processed');
|
|
26
|
+
await wait(100);
|
|
27
|
+
}
|
|
28
|
+
return bestBlock;
|
|
29
|
+
}
|
|
30
|
+
/*
|
|
31
|
+
* Helper to wait for batcher input hash, and then wait the for the corresponding block
|
|
32
|
+
*/
|
|
33
|
+
function awaitBatcherHash(batchHash, maxTimeSec = 20) {
|
|
34
|
+
const startTime = new Date().getTime();
|
|
35
|
+
let subscriptionSymbol;
|
|
36
|
+
return Promise.race([
|
|
37
|
+
(async () => {
|
|
38
|
+
await wait(maxTimeSec * 1000);
|
|
39
|
+
throw new Error('TIMEOUT');
|
|
40
|
+
})(),
|
|
41
|
+
new Promise((resolve, reject) => {
|
|
42
|
+
subscriptionSymbol = event_manager_js_1.PaimaEventManager.Instance.subscribe({
|
|
43
|
+
topic: builtin_events_js_1.BuiltinEvents.BatcherHash,
|
|
44
|
+
filter: { batch: batchHash, status: builtin_events_js_1.BatcherStatus.Finalized },
|
|
45
|
+
}, event => {
|
|
46
|
+
if (event.blockHeight == null)
|
|
47
|
+
return; // should never happen thanks to the filter
|
|
48
|
+
const remainingTime = maxTimeSec - (new Date().getTime() - startTime);
|
|
49
|
+
awaitBlockWS(event.blockHeight, remainingTime)
|
|
50
|
+
.then(resolve)
|
|
51
|
+
.catch(e => reject(e.message));
|
|
52
|
+
});
|
|
53
|
+
}),
|
|
54
|
+
]).finally(() => {
|
|
55
|
+
if (subscriptionSymbol != null) {
|
|
56
|
+
// note: it's okay that this doesn't happen right away
|
|
57
|
+
void subscriptionSymbol.then(sym => event_manager_js_1.PaimaEventManager.Instance.unsubscribe(sym));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
const wait = async (ms) => await new Promise(resolve => {
|
|
62
|
+
setTimeout(() => resolve(), ms);
|
|
63
|
+
});
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { EventAddHashFields, EventPathAndDef, LogEvent, LogEventFields } from './types.js';
|
|
2
|
+
import { PaimaEventBrokerNames, toPath, TopicPrefix } from './types.js';
|
|
3
|
+
import type { AsyncAPI300Schema } from './asyncapi.js';
|
|
4
|
+
import type { TSchema } from '@sinclair/typebox';
|
|
5
|
+
export declare enum BatcherStatus {
|
|
6
|
+
Posting = "posting",
|
|
7
|
+
/**
|
|
8
|
+
* note: it's entirely possible the Paima Engine node finds and processes the block before the batcher notifies it got posted
|
|
9
|
+
* so you may get a node/block event before receiving a Finalizing event
|
|
10
|
+
*/
|
|
11
|
+
Finalizing = "finalizing",
|
|
12
|
+
/**
|
|
13
|
+
* after waiting X blocks (X depends on the batcher configuration)
|
|
14
|
+
* note: it's entirely possible the Paima Engine node finds and processes the block before the batcher finds it
|
|
15
|
+
* so you may get a node/block event before receiving a Finalized event
|
|
16
|
+
*/
|
|
17
|
+
Finalized = "finalized",
|
|
18
|
+
Rejected = "rejected"
|
|
19
|
+
}
|
|
20
|
+
export declare const toPathFromEntries: <const T extends ReadonlyArray<readonly [TopicPrefix, LogEvent<LogEventFields<TSchema>[]>]>>(entries: T) => { [K in T[number] as K[1]["name"]]: ReturnType<typeof toPath<K[1], K[0]>>; };
|
|
21
|
+
export declare const toPathWithHashFromEntries: <const T extends ReadonlyArray<readonly [TopicPrefix, LogEvent<LogEventFields<TSchema>[]>]>>(entries: T) => { [K in T[number] as K[1]["name"]]: ReturnType<typeof toPath<EventAddHashFields<K[1]>, K[0]>>; };
|
|
22
|
+
export declare const BuiltinEvents: {
|
|
23
|
+
BatcherHash: {
|
|
24
|
+
path: ["batch", {
|
|
25
|
+
name: "batch";
|
|
26
|
+
type: import("@sinclair/typebox").TString;
|
|
27
|
+
}, "status", {
|
|
28
|
+
name: "status";
|
|
29
|
+
type: import("@sinclair/typebox").TEnum<typeof BatcherStatus>;
|
|
30
|
+
}];
|
|
31
|
+
broker: PaimaEventBrokerNames.Batcher;
|
|
32
|
+
type: import("@sinclair/typebox").TObject<{
|
|
33
|
+
blockHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
34
|
+
transactionHash: import("@sinclair/typebox").TString;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
RollupBlock: {
|
|
38
|
+
path: ["block", {
|
|
39
|
+
name: "block";
|
|
40
|
+
type: import("@sinclair/typebox").TInteger;
|
|
41
|
+
}];
|
|
42
|
+
broker: PaimaEventBrokerNames.PaimaEngine;
|
|
43
|
+
type: import("@sinclair/typebox").TObject<{
|
|
44
|
+
timestamp: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
45
|
+
}>;
|
|
46
|
+
};
|
|
47
|
+
SyncChains: {
|
|
48
|
+
path: ["chain", {
|
|
49
|
+
name: "chain";
|
|
50
|
+
type: import("@sinclair/typebox").TString;
|
|
51
|
+
}, "block", {
|
|
52
|
+
name: "block";
|
|
53
|
+
type: import("@sinclair/typebox").TInteger;
|
|
54
|
+
}];
|
|
55
|
+
broker: PaimaEventBrokerNames.PaimaEngine;
|
|
56
|
+
type: import("@sinclair/typebox").TObject<{
|
|
57
|
+
rollup: import("@sinclair/typebox").TInteger;
|
|
58
|
+
}>;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const BuiltinHashedEvents: {
|
|
62
|
+
BatcherHash: {
|
|
63
|
+
path: ["batch", {
|
|
64
|
+
name: "batch";
|
|
65
|
+
type: import("@sinclair/typebox").TString;
|
|
66
|
+
}, "status", {
|
|
67
|
+
name: "status";
|
|
68
|
+
type: import("@sinclair/typebox").TEnum<typeof BatcherStatus>;
|
|
69
|
+
}];
|
|
70
|
+
broker: PaimaEventBrokerNames.Batcher;
|
|
71
|
+
type: import("@sinclair/typebox").TObject<{
|
|
72
|
+
blockHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
73
|
+
transactionHash: import("@sinclair/typebox").TString;
|
|
74
|
+
}>;
|
|
75
|
+
};
|
|
76
|
+
RollupBlock: {
|
|
77
|
+
path: ["block", {
|
|
78
|
+
name: "block";
|
|
79
|
+
type: import("@sinclair/typebox").TInteger;
|
|
80
|
+
}];
|
|
81
|
+
broker: PaimaEventBrokerNames.PaimaEngine;
|
|
82
|
+
type: import("@sinclair/typebox").TObject<{
|
|
83
|
+
timestamp: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
86
|
+
SyncChains: {
|
|
87
|
+
path: ["chain", {
|
|
88
|
+
name: "chain";
|
|
89
|
+
type: import("@sinclair/typebox").TString;
|
|
90
|
+
}, "block", {
|
|
91
|
+
name: "block";
|
|
92
|
+
type: import("@sinclair/typebox").TInteger;
|
|
93
|
+
}];
|
|
94
|
+
broker: PaimaEventBrokerNames.PaimaEngine;
|
|
95
|
+
type: import("@sinclair/typebox").TObject<{
|
|
96
|
+
rollup: import("@sinclair/typebox").TInteger;
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
type HostInfo = {
|
|
101
|
+
backendUri: string;
|
|
102
|
+
batcherUri?: string;
|
|
103
|
+
};
|
|
104
|
+
export declare function toAsyncApi(info: HostInfo, events: [string, EventPathAndDef][]): AsyncAPI300Schema;
|
|
105
|
+
export {};
|
|
106
|
+
//# sourceMappingURL=builtin-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin-events.d.ts","sourceRoot":"","sources":["../../../src/events/src/builtin-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAChG,OAAO,EAAuB,qBAAqB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,KAAK,EAKV,iBAAiB,EAElB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAY,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI3D,oBAAY,aAAa;IACvB,OAAO,YAAY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CAAC,EAAE,GAAG,iBAAiB,CAsGjG"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BuiltinHashedEvents = exports.BuiltinEvents = exports.toPathWithHashFromEntries = exports.toPathFromEntries = exports.BatcherStatus = void 0;
|
|
4
|
+
exports.toAsyncApi = toAsyncApi;
|
|
5
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
6
|
+
const types_js_1 = require("./types.js");
|
|
7
|
+
// careful: the most steps you add, the more responsive, but also the slower
|
|
8
|
+
// since status updates themselves need to be sent over the network
|
|
9
|
+
var BatcherStatus;
|
|
10
|
+
(function (BatcherStatus) {
|
|
11
|
+
BatcherStatus["Posting"] = "posting";
|
|
12
|
+
/**
|
|
13
|
+
* note: it's entirely possible the Paima Engine node finds and processes the block before the batcher notifies it got posted
|
|
14
|
+
* so you may get a node/block event before receiving a Finalizing event
|
|
15
|
+
*/
|
|
16
|
+
BatcherStatus["Finalizing"] = "finalizing";
|
|
17
|
+
/**
|
|
18
|
+
* after waiting X blocks (X depends on the batcher configuration)
|
|
19
|
+
* note: it's entirely possible the Paima Engine node finds and processes the block before the batcher finds it
|
|
20
|
+
* so you may get a node/block event before receiving a Finalized event
|
|
21
|
+
*/
|
|
22
|
+
BatcherStatus["Finalized"] = "finalized";
|
|
23
|
+
BatcherStatus["Rejected"] = "rejected";
|
|
24
|
+
})(BatcherStatus || (exports.BatcherStatus = BatcherStatus = {}));
|
|
25
|
+
const BatcherHash = (0, types_js_1.genEvent)({
|
|
26
|
+
name: 'BatcherHash',
|
|
27
|
+
fields: [
|
|
28
|
+
{
|
|
29
|
+
name: 'batch', // batch hash
|
|
30
|
+
type: typebox_1.Type.String(),
|
|
31
|
+
indexed: true,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'status',
|
|
35
|
+
type: typebox_1.Type.Enum(BatcherStatus),
|
|
36
|
+
indexed: true,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'blockHeight',
|
|
40
|
+
type: typebox_1.Type.Optional(typebox_1.Type.Integer()),
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'transactionHash',
|
|
44
|
+
type: typebox_1.Type.String(),
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
});
|
|
48
|
+
const RollupBlock = (0, types_js_1.genEvent)({
|
|
49
|
+
name: 'RollupBlock',
|
|
50
|
+
fields: [
|
|
51
|
+
{
|
|
52
|
+
name: 'block', // block height
|
|
53
|
+
type: typebox_1.Type.Integer(),
|
|
54
|
+
indexed: true,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'timestamp',
|
|
58
|
+
type: typebox_1.Type.Optional(typebox_1.Type.Integer()),
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
});
|
|
62
|
+
const SyncChains = (0, types_js_1.genEvent)({
|
|
63
|
+
name: 'SyncChains',
|
|
64
|
+
fields: [
|
|
65
|
+
{
|
|
66
|
+
name: 'chain',
|
|
67
|
+
type: typebox_1.Type.String(),
|
|
68
|
+
indexed: true,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'block',
|
|
72
|
+
type: typebox_1.Type.Integer(),
|
|
73
|
+
indexed: true,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'rollup',
|
|
77
|
+
type: typebox_1.Type.Integer(),
|
|
78
|
+
indexed: false,
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
});
|
|
82
|
+
const Events = [
|
|
83
|
+
[types_js_1.TopicPrefix.Batcher, BatcherHash],
|
|
84
|
+
[types_js_1.TopicPrefix.Node, RollupBlock],
|
|
85
|
+
[types_js_1.TopicPrefix.Node, SyncChains],
|
|
86
|
+
];
|
|
87
|
+
const toPathFromEntries = (entries) => {
|
|
88
|
+
let result = {}; // we can't know the type here
|
|
89
|
+
for (const event of entries) {
|
|
90
|
+
result[event[1].name] = (0, types_js_1.toPath)(event[0], event[1]);
|
|
91
|
+
}
|
|
92
|
+
return result;
|
|
93
|
+
};
|
|
94
|
+
exports.toPathFromEntries = toPathFromEntries;
|
|
95
|
+
const toPathWithHashFromEntries = (entries) => {
|
|
96
|
+
let result = {}; // we can't know the type here
|
|
97
|
+
for (const event of entries) {
|
|
98
|
+
result[event[1].name] = (0, types_js_1.toPath)(event[0], (0, types_js_1.addHashes)(event[1]));
|
|
99
|
+
}
|
|
100
|
+
return result;
|
|
101
|
+
};
|
|
102
|
+
exports.toPathWithHashFromEntries = toPathWithHashFromEntries;
|
|
103
|
+
exports.BuiltinEvents = (0, exports.toPathFromEntries)(Events);
|
|
104
|
+
exports.BuiltinHashedEvents = (0, exports.toPathWithHashFromEntries)(Events);
|
|
105
|
+
function toAsyncApi(info, events) {
|
|
106
|
+
const parsedUrl = new URL(info.backendUri);
|
|
107
|
+
const servers = {
|
|
108
|
+
[types_js_1.PaimaEventBrokerNames.PaimaEngine]: {
|
|
109
|
+
host: parsedUrl.host,
|
|
110
|
+
// cut off trailing `:`
|
|
111
|
+
protocol: parsedUrl.protocol.substring(0, parsedUrl.protocol.length - 1),
|
|
112
|
+
title: 'Paima Engine node MQTT broker',
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
if (info.batcherUri != null) {
|
|
116
|
+
const parsedBatcherUrl = new URL(info.batcherUri);
|
|
117
|
+
servers[types_js_1.PaimaEventBrokerNames.Batcher] = {
|
|
118
|
+
host: parsedBatcherUrl.host,
|
|
119
|
+
// cut off trailing `:`
|
|
120
|
+
protocol: parsedBatcherUrl.protocol.substring(0, parsedUrl.protocol.length - 1),
|
|
121
|
+
summary: 'Paima Engine batcher MQTT broker',
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
const channels = {};
|
|
125
|
+
for (const [k, v] of events) {
|
|
126
|
+
if (v.broker === types_js_1.PaimaEventBrokerNames.Batcher && info.batcherUri == null) {
|
|
127
|
+
continue;
|
|
128
|
+
}
|
|
129
|
+
const parameters = {};
|
|
130
|
+
for (const param of v.path) {
|
|
131
|
+
if (typeof param === 'string')
|
|
132
|
+
continue;
|
|
133
|
+
const parameter = {
|
|
134
|
+
// description: 'todo',
|
|
135
|
+
};
|
|
136
|
+
if ('anyOf' in param.type) {
|
|
137
|
+
parameter.enum = param.type.anyOf.map((entry) => entry.const);
|
|
138
|
+
}
|
|
139
|
+
parameters[param.name] = parameter;
|
|
140
|
+
}
|
|
141
|
+
const messages = {
|
|
142
|
+
content: {
|
|
143
|
+
payload: v.type,
|
|
144
|
+
contentType: 'application/json',
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
channels[`on${k}`] = {
|
|
148
|
+
address: v.path.map(path => (typeof path === 'string' ? path : `{${path.name}}`)).join('/'),
|
|
149
|
+
messages,
|
|
150
|
+
parameters,
|
|
151
|
+
servers: [
|
|
152
|
+
{
|
|
153
|
+
$ref: `#/servers/${v.broker}`,
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
// description: 'todo',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
const operations = {};
|
|
160
|
+
for (const [k, v] of events) {
|
|
161
|
+
if (v.broker === types_js_1.PaimaEventBrokerNames.Batcher && info.batcherUri == null) {
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
operations[`receive${k}`] = {
|
|
165
|
+
action: 'receive',
|
|
166
|
+
channel: {
|
|
167
|
+
$ref: `#/channels/on${k}`,
|
|
168
|
+
},
|
|
169
|
+
traits: [
|
|
170
|
+
{
|
|
171
|
+
$ref: '#/components/operationTraits/mqtt',
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
const definition = {
|
|
177
|
+
asyncapi: '3.0.0',
|
|
178
|
+
info: {
|
|
179
|
+
title: 'Paima MQTT API',
|
|
180
|
+
version: '1.0.0',
|
|
181
|
+
description: 'Documentation for the MQTT channels for this Paima node',
|
|
182
|
+
externalDocs: {
|
|
183
|
+
description: 'Official Paima Engine documentation',
|
|
184
|
+
url: 'https://docs.paimastudios.com',
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
defaultContentType: 'application/json',
|
|
188
|
+
servers,
|
|
189
|
+
channels,
|
|
190
|
+
operations,
|
|
191
|
+
components: {
|
|
192
|
+
operationTraits: {
|
|
193
|
+
mqtt: {
|
|
194
|
+
bindings: {
|
|
195
|
+
mqtt: {
|
|
196
|
+
qos: 2,
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
};
|
|
203
|
+
return definition;
|
|
204
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import mqtt from 'mqtt';
|
|
2
|
+
import { PaimaEventBrokerNames } from './types.js';
|
|
3
|
+
export declare class PaimaEventConnect {
|
|
4
|
+
private static clients;
|
|
5
|
+
constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Get client for broker
|
|
8
|
+
* note: we lazy-load the client to avoid overhead if MQTT is never used
|
|
9
|
+
*/
|
|
10
|
+
getClient(broker: PaimaEventBrokerNames): Promise<mqtt.MqttClient>;
|
|
11
|
+
private setupClient;
|
|
12
|
+
private connectPaimaEngine;
|
|
13
|
+
private connectBatcher;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=event-connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-connect.d.ts","sourceRoot":"","sources":["../../../src/events/src/event-connect.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAKxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAYnD,qBAAa,iBAAiB;IAE5B,OAAO,CAAC,MAAM,CAAC,OAAO,CAGf;;IAUP;;;OAGG;IACU,SAAS,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC;YAUjE,WAAW;YAwBX,kBAAkB;YASlB,cAAc;CAQ7B"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PaimaEventConnect = void 0;
|
|
7
|
+
const mqtt_1 = __importDefault(require("mqtt"));
|
|
8
|
+
const builtin_event_utils_js_1 = require("./builtin-event-utils.js");
|
|
9
|
+
const event_manager_js_1 = require("./event-manager.js");
|
|
10
|
+
const utils_js_1 = require("./utils.js");
|
|
11
|
+
const mqtt_pattern_1 = require("mqtt-pattern");
|
|
12
|
+
const types_js_1 = require("./types.js");
|
|
13
|
+
// TODO This should come from @paimaexample/utils/node-env ENV
|
|
14
|
+
const ENV = {
|
|
15
|
+
MQTT_ENGINE_BROKER_URL: 'ws://localhost:8883',
|
|
16
|
+
MQTT_BATCHER_BROKER_URL: 'ws://localhost:8884',
|
|
17
|
+
};
|
|
18
|
+
/*
|
|
19
|
+
* Paima Event Connector
|
|
20
|
+
* Called automatically by listeners and published when needed.
|
|
21
|
+
*/
|
|
22
|
+
class PaimaEventConnect {
|
|
23
|
+
// clients
|
|
24
|
+
static clients = {};
|
|
25
|
+
constructor() {
|
|
26
|
+
// TODO: replace once TS5 decorators are better supported
|
|
27
|
+
this.getClient.bind(this);
|
|
28
|
+
this.setupClient.bind(this);
|
|
29
|
+
this.connectPaimaEngine.bind(this);
|
|
30
|
+
this.connectBatcher.bind(this);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get client for broker
|
|
34
|
+
* note: we lazy-load the client to avoid overhead if MQTT is never used
|
|
35
|
+
*/
|
|
36
|
+
async getClient(broker) {
|
|
37
|
+
switch (broker) {
|
|
38
|
+
case types_js_1.PaimaEventBrokerNames.PaimaEngine: {
|
|
39
|
+
return await this.connectPaimaEngine();
|
|
40
|
+
}
|
|
41
|
+
case types_js_1.PaimaEventBrokerNames.Batcher:
|
|
42
|
+
return await this.connectBatcher();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
async setupClient(url) {
|
|
46
|
+
const client = await mqtt_1.default.connectAsync(url);
|
|
47
|
+
client.on('message', (topic, message) => {
|
|
48
|
+
for (const [_broker, info] of Object.entries(event_manager_js_1.PaimaEventManager.Instance.callbacksForTopic)) {
|
|
49
|
+
for (const [pattern, callbacks] of Object.entries(info)) {
|
|
50
|
+
if ((0, mqtt_pattern_1.matches)(pattern, topic)) {
|
|
51
|
+
for (const callbackInfo of Object.getOwnPropertySymbols(callbacks).map(sym => callbacks[sym])) {
|
|
52
|
+
const data = JSON.parse(message.toString());
|
|
53
|
+
const resolved = (0, mqtt_pattern_1.extract)((0, utils_js_1.toPattern)(callbackInfo.event.path), topic);
|
|
54
|
+
callbackInfo.callback({
|
|
55
|
+
val: data,
|
|
56
|
+
resolvedPath: resolved,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
return client;
|
|
64
|
+
}
|
|
65
|
+
async connectPaimaEngine() {
|
|
66
|
+
if (!PaimaEventConnect.clients.engine) {
|
|
67
|
+
const broker = types_js_1.PaimaEventBrokerNames.PaimaEngine;
|
|
68
|
+
PaimaEventConnect.clients.engine = await this.setupClient(ENV.MQTT_ENGINE_BROKER_URL);
|
|
69
|
+
await (0, builtin_event_utils_js_1.setupInitialListeners)(broker);
|
|
70
|
+
}
|
|
71
|
+
return PaimaEventConnect.clients.engine;
|
|
72
|
+
}
|
|
73
|
+
async connectBatcher() {
|
|
74
|
+
if (!PaimaEventConnect.clients.batcher) {
|
|
75
|
+
const broker = types_js_1.PaimaEventBrokerNames.Batcher;
|
|
76
|
+
PaimaEventConnect.clients.batcher = await this.setupClient(ENV.MQTT_BATCHER_BROKER_URL);
|
|
77
|
+
await (0, builtin_event_utils_js_1.setupInitialListeners)(broker);
|
|
78
|
+
}
|
|
79
|
+
return PaimaEventConnect.clients.batcher;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.PaimaEventConnect = PaimaEventConnect;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Static } from '@sinclair/typebox';
|
|
2
|
+
import type { EventPathAndDef, ResolvedPath, UserFilledPath } from './types.js';
|
|
3
|
+
import { PaimaEventBrokerNames } from './types.js';
|
|
4
|
+
export type CallbackArgs<Event extends EventPathAndDef> = {
|
|
5
|
+
val: Static<Event['type']>;
|
|
6
|
+
resolvedPath: ResolvedPath<Event['path']>;
|
|
7
|
+
};
|
|
8
|
+
export type CallbackAndMetadata<Event extends EventPathAndDef> = {
|
|
9
|
+
callback: (args: CallbackArgs<Event>) => void;
|
|
10
|
+
event: Event;
|
|
11
|
+
};
|
|
12
|
+
export declare class PaimaEventManager {
|
|
13
|
+
callbacksForTopic: Record<PaimaEventBrokerNames, Record<string, // topic
|
|
14
|
+
Record<symbol, CallbackAndMetadata<EventPathAndDef>>>>;
|
|
15
|
+
symbolToSubscription: Record<symbol, {
|
|
16
|
+
broker: PaimaEventBrokerNames;
|
|
17
|
+
topic: string;
|
|
18
|
+
}>;
|
|
19
|
+
static Instance: PaimaEventManager;
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Subscribe to events for a topic filtered by a set of indexed variables
|
|
23
|
+
* @param broker
|
|
24
|
+
* @param filter a filter to generate the MQTT topic syntax to monitor for new events
|
|
25
|
+
* @param callback a callback to call when a message matching this topic is encountered
|
|
26
|
+
* @returns a unique symbol to use to unsubscribe the specific callback
|
|
27
|
+
*/
|
|
28
|
+
subscribe<Event extends EventPathAndDef>(args: {
|
|
29
|
+
topic: Event;
|
|
30
|
+
filter: UserFilledPath<Event['path']>;
|
|
31
|
+
}, callback: (args: Static<Event['type']> & ResolvedPath<Event['path']>) => void): Promise<symbol>;
|
|
32
|
+
/**
|
|
33
|
+
* Subscribe to events for a topic filtered by a set of indexed variables
|
|
34
|
+
*
|
|
35
|
+
* This is an explicit version of the `subscribe` function
|
|
36
|
+
* by explicit, it means MQTT topic vars and content are treated differently
|
|
37
|
+
* this is worse devx, but supports cases where topic & content have vars with overlapping names
|
|
38
|
+
* @param broker
|
|
39
|
+
* @param filter a filter to generate the MQTT topic syntax to monitor for new events
|
|
40
|
+
* @param callback a callback to call when a message matching this topic is encountered
|
|
41
|
+
* @returns a unique symbol to use to unsubscribe the specific callback
|
|
42
|
+
*/
|
|
43
|
+
subscribeExplicit<Event extends EventPathAndDef>(args: {
|
|
44
|
+
topic: Event;
|
|
45
|
+
filter: UserFilledPath<Event['path']>;
|
|
46
|
+
}, callback: (args: CallbackArgs<Event>) => void): Promise<symbol>;
|
|
47
|
+
unsubscribe(event: symbol): Promise<void>;
|
|
48
|
+
sendMessage<Event extends EventPathAndDef>(topic: Event, event: ResolvedPath<Event['path']> & Static<Event['type']>): Promise<void>;
|
|
49
|
+
sendMessageExplicit<Event extends EventPathAndDef>(args: {
|
|
50
|
+
topic: Event;
|
|
51
|
+
filter: ResolvedPath<Event['path']>;
|
|
52
|
+
}, message: Static<Event['type']>): Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=event-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-manager.d.ts","sourceRoot":"","sources":["../../../src/events/src/event-manager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,MAAM,YAAY,CAAC,KAAK,SAAS,eAAe,IAAI;IAGxD,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAG3B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