@algorandfoundation/algokit-utils 5.3.3-beta.2 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account/account.d.ts +81 -0
- package/account/account.d.ts.map +1 -0
- package/account/account.js +120 -0
- package/account/account.js.map +1 -0
- package/account/account.mjs +112 -0
- package/account/account.mjs.map +1 -0
- package/account/get-account-config-from-environment.d.ts +13 -0
- package/account/get-account-config-from-environment.d.ts.map +1 -0
- package/account/get-account-config-from-environment.js +25 -0
- package/account/get-account-config-from-environment.js.map +1 -0
- package/account/get-account-config-from-environment.mjs +23 -0
- package/account/get-account-config-from-environment.mjs.map +1 -0
- package/account/get-account.d.ts +66 -0
- package/account/get-account.d.ts.map +1 -0
- package/account/get-account.js +83 -0
- package/account/get-account.js.map +1 -0
- package/account/get-account.mjs +81 -0
- package/account/get-account.mjs.map +1 -0
- package/account/get-dispenser-account.d.ts +13 -0
- package/account/get-dispenser-account.d.ts.map +1 -0
- package/account/get-dispenser-account.js +23 -0
- package/account/get-dispenser-account.js.map +1 -0
- package/account/get-dispenser-account.mjs +21 -0
- package/account/get-dispenser-account.mjs.map +1 -0
- package/account/index.d.ts +6 -0
- package/account/index.d.ts.map +1 -0
- package/account/mnemonic-account.d.ts +11 -0
- package/account/mnemonic-account.d.ts.map +1 -0
- package/account/mnemonic-account.js +18 -0
- package/account/mnemonic-account.js.map +1 -0
- package/account/mnemonic-account.mjs +16 -0
- package/account/mnemonic-account.mjs.map +1 -0
- package/amount.d.ts.map +1 -0
- package/amount.js +34 -0
- package/amount.js.map +1 -0
- package/{esm/amount.js → amount.mjs} +8 -5
- package/amount.mjs.map +1 -0
- package/app-client.d.ts.map +1 -0
- package/{cjs/app-client.js → app-client.js} +11 -10
- package/app-client.js.map +1 -0
- package/{esm/app-client.js → app-client.mjs} +8 -5
- package/app-client.mjs.map +1 -0
- package/app-deploy.d.ts.map +1 -0
- package/{cjs/app-deploy.js → app-deploy.js} +67 -69
- package/app-deploy.js.map +1 -0
- package/{esm/app-deploy.js → app-deploy.mjs} +17 -14
- package/app-deploy.mjs.map +1 -0
- package/{cjs/app.d.ts → app.d.ts} +1 -1
- package/app.d.ts.map +1 -0
- package/{cjs/app.js → app.js} +102 -104
- package/app.js.map +1 -0
- package/{esm/app.js → app.mjs} +27 -24
- package/app.mjs.map +1 -0
- package/asset.d.ts.map +1 -0
- package/{cjs/asset.js → asset.js} +41 -42
- package/asset.js.map +1 -0
- package/{esm/asset.js → asset.mjs} +10 -6
- package/asset.mjs.map +1 -0
- package/config.d.ts +4 -0
- package/config.d.ts.map +1 -0
- package/config.js +9 -0
- package/config.js.map +1 -0
- package/config.mjs +7 -0
- package/config.mjs.map +1 -0
- package/debugging/debugging.d.ts +10 -0
- package/debugging/debugging.d.ts.map +1 -0
- package/debugging/debugging.js +139 -0
- package/debugging/debugging.js.map +1 -0
- package/debugging/debugging.mjs +118 -0
- package/debugging/debugging.mjs.map +1 -0
- package/debugging/index.d.ts +3 -0
- package/debugging/index.d.ts.map +1 -0
- package/{cjs/debugging.d.ts → debugging/simulate-and-persist-response.d.ts} +3 -12
- package/debugging/simulate-and-persist-response.d.ts.map +1 -0
- package/debugging/simulate-and-persist-response.js +108 -0
- package/debugging/simulate-and-persist-response.js.map +1 -0
- package/debugging/simulate-and-persist-response.mjs +89 -0
- package/debugging/simulate-and-persist-response.mjs.map +1 -0
- package/dispenser-client.d.ts.map +1 -0
- package/{cjs/dispenser-client.js → dispenser-client.js} +7 -6
- package/dispenser-client.js.map +1 -0
- package/{esm/dispenser-client.js → dispenser-client.mjs} +6 -3
- package/dispenser-client.mjs.map +1 -0
- package/{cjs/index.d.ts → index.d.ts} +1 -3
- package/index.d.ts.map +1 -0
- package/index.js +125 -0
- package/index.js.map +1 -0
- package/index.mjs +25 -0
- package/index.mjs.map +1 -0
- package/indexer-lookup.d.ts.map +1 -0
- package/{cjs/indexer-lookup.js → indexer-lookup.js} +8 -8
- package/indexer-lookup.js.map +1 -0
- package/{esm/indexer-lookup.js → indexer-lookup.mjs} +8 -6
- package/indexer-lookup.mjs.map +1 -0
- package/localnet/get-kmd-wallet-account.d.ts +26 -0
- package/localnet/get-kmd-wallet-account.d.ts.map +1 -0
- package/localnet/get-kmd-wallet-account.js +55 -0
- package/localnet/get-kmd-wallet-account.js.map +1 -0
- package/localnet/get-kmd-wallet-account.mjs +53 -0
- package/localnet/get-kmd-wallet-account.mjs.map +1 -0
- package/localnet/get-localnet-dispenser-account.d.ts +12 -0
- package/localnet/get-localnet-dispenser-account.d.ts.map +1 -0
- package/localnet/get-localnet-dispenser-account.js +21 -0
- package/localnet/get-localnet-dispenser-account.js.map +1 -0
- package/localnet/get-localnet-dispenser-account.mjs +19 -0
- package/localnet/get-localnet-dispenser-account.mjs.map +1 -0
- package/localnet/get-or-create-kmd-wallet-account.d.ts +27 -0
- package/localnet/get-or-create-kmd-wallet-account.d.ts.map +1 -0
- package/localnet/get-or-create-kmd-wallet-account.js +52 -0
- package/localnet/get-or-create-kmd-wallet-account.js.map +1 -0
- package/localnet/get-or-create-kmd-wallet-account.mjs +50 -0
- package/localnet/get-or-create-kmd-wallet-account.mjs.map +1 -0
- package/localnet/index.d.ts +5 -0
- package/localnet/index.d.ts.map +1 -0
- package/localnet/is-localnet.d.ts +5 -0
- package/localnet/is-localnet.d.ts.map +1 -0
- package/localnet/is-localnet.js +10 -0
- package/localnet/is-localnet.js.map +1 -0
- package/localnet/is-localnet.mjs +8 -0
- package/localnet/is-localnet.mjs.map +1 -0
- package/{cjs/network-client.d.ts → network-client.d.ts} +0 -1
- package/network-client.d.ts.map +1 -0
- package/{cjs/network-client.js → network-client.js} +21 -25
- package/network-client.js.map +1 -0
- package/{esm/network-client.js → network-client.mjs} +15 -13
- package/network-client.mjs.map +1 -0
- package/package.json +15 -36
- package/testing/_asset.d.ts.map +1 -0
- package/testing/account.d.ts.map +1 -0
- package/testing/account.js +29 -0
- package/testing/account.js.map +1 -0
- package/{esm/testing/account.js → testing/account.mjs} +8 -5
- package/testing/account.mjs.map +1 -0
- package/testing/fixtures/algokit-log-capture-fixture.d.ts.map +1 -0
- package/{cjs/testing → testing}/fixtures/algokit-log-capture-fixture.js +11 -10
- package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -0
- package/{esm/testing/fixtures/algokit-log-capture-fixture.js → testing/fixtures/algokit-log-capture-fixture.mjs} +7 -4
- package/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -0
- package/testing/fixtures/algorand-fixture.d.ts.map +1 -0
- package/testing/fixtures/algorand-fixture.js +64 -0
- package/testing/fixtures/algorand-fixture.js.map +1 -0
- package/{esm/testing/fixtures/algorand-fixture.js → testing/fixtures/algorand-fixture.mjs} +12 -4
- package/testing/fixtures/algorand-fixture.mjs.map +1 -0
- package/testing/fixtures/index.d.ts.map +1 -0
- package/testing/index.d.ts.map +1 -0
- package/testing/index.js +18 -0
- package/testing/index.js.map +1 -0
- package/testing/index.mjs +7 -0
- package/testing/index.mjs.map +1 -0
- package/testing/indexer.d.ts.map +1 -0
- package/{cjs/testing → testing}/indexer.js +4 -4
- package/testing/indexer.js.map +1 -0
- package/{esm/testing/indexer.js → testing/indexer.mjs} +4 -2
- package/testing/indexer.mjs.map +1 -0
- package/testing/test-logger.d.ts.map +1 -0
- package/{cjs/testing → testing}/test-logger.js +7 -8
- package/testing/test-logger.js.map +1 -0
- package/{esm/testing/test-logger.js → testing/test-logger.mjs} +6 -5
- package/testing/test-logger.mjs.map +1 -0
- package/testing/transaction-logger.d.ts.map +1 -0
- package/{cjs/testing → testing}/transaction-logger.js +14 -15
- package/testing/transaction-logger.js.map +1 -0
- package/{esm/testing/transaction-logger.js → testing/transaction-logger.mjs} +9 -5
- package/testing/transaction-logger.mjs.map +1 -0
- package/transaction/index.d.ts +3 -0
- package/transaction/index.d.ts.map +1 -0
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts +11 -0
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts.map +1 -0
- package/transaction/perform-atomic-transaction-composer-simulate.js +35 -0
- package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -0
- package/transaction/perform-atomic-transaction-composer-simulate.mjs +33 -0
- package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -0
- package/{cjs → transaction}/transaction.d.ts +2 -9
- package/transaction/transaction.d.ts.map +1 -0
- package/{cjs → transaction}/transaction.js +88 -113
- package/transaction/transaction.js.map +1 -0
- package/{esm/transaction.js → transaction/transaction.mjs} +27 -50
- package/transaction/transaction.mjs.map +1 -0
- package/transfer/index.d.ts +3 -0
- package/transfer/index.d.ts.map +1 -0
- package/transfer/transfer-algos.d.ts +17 -0
- package/transfer/transfer-algos.d.ts.map +1 -0
- package/transfer/transfer-algos.js +40 -0
- package/transfer/transfer-algos.js.map +1 -0
- package/transfer/transfer-algos.mjs +38 -0
- package/transfer/transfer-algos.mjs.map +1 -0
- package/{cjs → transfer}/transfer.d.ts +2 -14
- package/transfer/transfer.d.ts.map +1 -0
- package/transfer/transfer.js +147 -0
- package/transfer/transfer.js.map +1 -0
- package/{esm/transfer.js → transfer/transfer.mjs} +15 -40
- package/transfer/transfer.mjs.map +1 -0
- package/types/account.d.ts +63 -161
- package/types/account.d.ts.map +1 -1
- package/{cjs/types → types}/account.js +14 -22
- package/types/account.js.map +1 -0
- package/{esm/types/account.js → types/account.mjs} +7 -11
- package/types/account.mjs.map +1 -0
- package/types/algo-http-client-with-retry.d.ts.map +1 -0
- package/{cjs/types → types}/algo-http-client-with-retry.js +25 -24
- package/types/algo-http-client-with-retry.js.map +1 -0
- package/{esm/types/algo-http-client-with-retry.js → types/algo-http-client-with-retry.mjs} +23 -20
- package/types/algo-http-client-with-retry.mjs.map +1 -0
- package/types/amount.d.ts +22 -18
- package/types/amount.d.ts.map +1 -1
- package/{cjs/types → types}/amount.js +8 -11
- package/types/amount.js.map +1 -0
- package/{esm/types/amount.js → types/amount.mjs} +5 -3
- package/types/amount.mjs.map +1 -0
- package/types/app-client.d.ts +413 -69
- package/types/app-client.d.ts.map +1 -1
- package/{cjs/types → types}/app-client.js +58 -73
- package/types/app-client.js.map +1 -0
- package/{esm/types/app-client.js → types/app-client.mjs} +14 -24
- package/types/app-client.mjs.map +1 -0
- package/types/app-spec.d.ts.map +1 -0
- package/types/app.d.ts +300 -146
- package/types/app.d.ts.map +1 -1
- package/{cjs/types → types}/app.js +16 -14
- package/types/app.js.map +1 -0
- package/{esm/types/app.js → types/app.mjs} +9 -9
- package/types/app.mjs.map +1 -0
- package/types/asset.d.ts +40 -47
- package/types/asset.d.ts.map +1 -1
- package/types/config.d.ts.map +1 -0
- package/{cjs/types → types}/config.js +30 -41
- package/types/config.js.map +1 -0
- package/{esm/types/config.js → types/config.mjs} +8 -11
- package/types/config.mjs.map +1 -0
- package/types/debugging.d.ts +105 -22
- package/types/debugging.d.ts.map +1 -1
- package/{cjs/types → types}/debugging.js +6 -13
- package/types/debugging.js.map +1 -0
- package/{esm/types/debugging.js → types/debugging.mjs} +6 -11
- package/types/debugging.mjs.map +1 -0
- package/types/dispenser-client.d.ts +71 -13
- package/types/dispenser-client.d.ts.map +1 -1
- package/{cjs/types → types}/dispenser-client.js +4 -6
- package/types/dispenser-client.js.map +1 -0
- package/{esm/types/dispenser-client.js → types/dispenser-client.mjs} +4 -4
- package/types/dispenser-client.mjs.map +1 -0
- package/types/indexer.d.ts.map +1 -0
- package/types/logging.d.ts.map +1 -0
- package/{cjs/types → types}/logging.js +8 -6
- package/types/logging.js.map +1 -0
- package/{esm/types/logging.js → types/logging.mjs} +5 -3
- package/types/logging.mjs.map +1 -0
- package/types/logic-error.d.ts.map +1 -0
- package/{cjs/types → types}/logic-error.js +6 -9
- package/types/logic-error.js.map +1 -0
- package/{esm/types/logic-error.js → types/logic-error.mjs} +6 -7
- package/types/logic-error.mjs.map +1 -0
- package/types/network-client.d.ts +19 -99
- package/types/network-client.d.ts.map +1 -1
- package/types/testing.d.ts.map +1 -0
- package/types/transaction.d.ts +112 -175
- package/types/transaction.d.ts.map +1 -1
- package/types/transfer.d.ts +74 -56
- package/types/transfer.d.ts.map +1 -1
- package/types/urlTokenBaseHTTPClient.d.ts.map +1 -0
- package/{cjs/types → types}/urlTokenBaseHTTPClient.js +7 -10
- package/types/urlTokenBaseHTTPClient.js.map +1 -0
- package/{esm/types/urlTokenBaseHTTPClient.js → types/urlTokenBaseHTTPClient.mjs} +5 -6
- package/types/urlTokenBaseHTTPClient.mjs.map +1 -0
- package/util.d.ts.map +1 -0
- package/{cjs/util.js → util.js} +7 -7
- package/util.js.map +1 -0
- package/{esm/util.js → util.mjs} +7 -5
- package/util.mjs.map +1 -0
- package/cjs/account.d.ts +0 -168
- package/cjs/account.d.ts.map +0 -1
- package/cjs/account.js +0 -238
- package/cjs/account.js.map +0 -1
- package/cjs/amount.d.ts.map +0 -1
- package/cjs/amount.js +0 -36
- package/cjs/amount.js.map +0 -1
- package/cjs/app-client.d.ts.map +0 -1
- package/cjs/app-client.js.map +0 -1
- package/cjs/app-deploy.d.ts.map +0 -1
- package/cjs/app-deploy.js.map +0 -1
- package/cjs/app.d.ts.map +0 -1
- package/cjs/app.js.map +0 -1
- package/cjs/asset.d.ts.map +0 -1
- package/cjs/asset.js.map +0 -1
- package/cjs/debugging.d.ts.map +0 -1
- package/cjs/debugging.js +0 -225
- package/cjs/debugging.js.map +0 -1
- package/cjs/dispenser-client.d.ts.map +0 -1
- package/cjs/dispenser-client.js.map +0 -1
- package/cjs/index.d.ts.map +0 -1
- package/cjs/index.js +0 -34
- package/cjs/index.js.map +0 -1
- package/cjs/indexer-lookup.d.ts.map +0 -1
- package/cjs/indexer-lookup.js.map +0 -1
- package/cjs/localnet.d.ts +0 -57
- package/cjs/localnet.d.ts.map +0 -1
- package/cjs/localnet.js +0 -121
- package/cjs/localnet.js.map +0 -1
- package/cjs/network-client.d.ts.map +0 -1
- package/cjs/network-client.js.map +0 -1
- package/cjs/testing/_asset.d.ts.map +0 -1
- package/cjs/testing/_asset.js +0 -36
- package/cjs/testing/_asset.js.map +0 -1
- package/cjs/testing/account.d.ts.map +0 -1
- package/cjs/testing/account.js +0 -31
- package/cjs/testing/account.js.map +0 -1
- package/cjs/testing/fixtures/algokit-log-capture-fixture.d.ts.map +0 -1
- package/cjs/testing/fixtures/algokit-log-capture-fixture.js.map +0 -1
- package/cjs/testing/fixtures/algorand-fixture.d.ts.map +0 -1
- package/cjs/testing/fixtures/algorand-fixture.js +0 -58
- package/cjs/testing/fixtures/algorand-fixture.js.map +0 -1
- package/cjs/testing/fixtures/index.d.ts.map +0 -1
- package/cjs/testing/fixtures/index.js +0 -19
- package/cjs/testing/fixtures/index.js.map +0 -1
- package/cjs/testing/index.d.ts.map +0 -1
- package/cjs/testing/index.js +0 -22
- package/cjs/testing/index.js.map +0 -1
- package/cjs/testing/indexer.d.ts.map +0 -1
- package/cjs/testing/indexer.js.map +0 -1
- package/cjs/testing/test-logger.d.ts.map +0 -1
- package/cjs/testing/test-logger.js.map +0 -1
- package/cjs/testing/transaction-logger.d.ts.map +0 -1
- package/cjs/testing/transaction-logger.js.map +0 -1
- package/cjs/transaction.d.ts.map +0 -1
- package/cjs/transaction.js.map +0 -1
- package/cjs/transfer.d.ts.map +0 -1
- package/cjs/transfer.js +0 -178
- package/cjs/transfer.js.map +0 -1
- package/cjs/types/account.d.ts +0 -70
- package/cjs/types/account.d.ts.map +0 -1
- package/cjs/types/account.js.map +0 -1
- package/cjs/types/algo-http-client-with-retry.d.ts.map +0 -1
- package/cjs/types/algo-http-client-with-retry.js.map +0 -1
- package/cjs/types/amount.d.ts +0 -24
- package/cjs/types/amount.d.ts.map +0 -1
- package/cjs/types/amount.js.map +0 -1
- package/cjs/types/app-client.d.ts +0 -416
- package/cjs/types/app-client.d.ts.map +0 -1
- package/cjs/types/app-client.js.map +0 -1
- package/cjs/types/app-spec.d.ts.map +0 -1
- package/cjs/types/app-spec.js +0 -3
- package/cjs/types/app-spec.js.map +0 -1
- package/cjs/types/app.d.ts +0 -323
- package/cjs/types/app.d.ts.map +0 -1
- package/cjs/types/app.js.map +0 -1
- package/cjs/types/asset.d.ts +0 -42
- package/cjs/types/asset.d.ts.map +0 -1
- package/cjs/types/asset.js +0 -3
- package/cjs/types/asset.js.map +0 -1
- package/cjs/types/config.d.ts.map +0 -1
- package/cjs/types/config.js.map +0 -1
- package/cjs/types/debugging.d.ts +0 -112
- package/cjs/types/debugging.d.ts.map +0 -1
- package/cjs/types/debugging.js.map +0 -1
- package/cjs/types/dispenser-client.d.ts +0 -77
- package/cjs/types/dispenser-client.d.ts.map +0 -1
- package/cjs/types/dispenser-client.js.map +0 -1
- package/cjs/types/indexer.d.ts.map +0 -1
- package/cjs/types/indexer.js +0 -34
- package/cjs/types/indexer.js.map +0 -1
- package/cjs/types/logging.d.ts.map +0 -1
- package/cjs/types/logging.js.map +0 -1
- package/cjs/types/logic-error.d.ts.map +0 -1
- package/cjs/types/logic-error.js.map +0 -1
- package/cjs/types/network-client.d.ts +0 -20
- package/cjs/types/network-client.d.ts.map +0 -1
- package/cjs/types/network-client.js +0 -3
- package/cjs/types/network-client.js.map +0 -1
- package/cjs/types/testing.d.ts.map +0 -1
- package/cjs/types/testing.js +0 -3
- package/cjs/types/testing.js.map +0 -1
- package/cjs/types/transaction.d.ts +0 -118
- package/cjs/types/transaction.d.ts.map +0 -1
- package/cjs/types/transaction.js +0 -3
- package/cjs/types/transaction.js.map +0 -1
- package/cjs/types/transfer.d.ts +0 -76
- package/cjs/types/transfer.d.ts.map +0 -1
- package/cjs/types/transfer.js +0 -3
- package/cjs/types/transfer.js.map +0 -1
- package/cjs/types/urlTokenBaseHTTPClient.d.ts.map +0 -1
- package/cjs/types/urlTokenBaseHTTPClient.js.map +0 -1
- package/cjs/util.d.ts.map +0 -1
- package/cjs/util.js.map +0 -1
- package/esm/account.js +0 -221
- package/esm/account.js.map +0 -1
- package/esm/amount.js.map +0 -1
- package/esm/app-client.js.map +0 -1
- package/esm/app-deploy.js.map +0 -1
- package/esm/app.js.map +0 -1
- package/esm/asset.js.map +0 -1
- package/esm/debugging.js +0 -197
- package/esm/debugging.js.map +0 -1
- package/esm/dispenser-client.js.map +0 -1
- package/esm/index.js +0 -17
- package/esm/index.js.map +0 -1
- package/esm/indexer-lookup.js.map +0 -1
- package/esm/localnet.js +0 -111
- package/esm/localnet.js.map +0 -1
- package/esm/network-client.js.map +0 -1
- package/esm/package.json +0 -3
- package/esm/testing/_asset.js +0 -29
- package/esm/testing/_asset.js.map +0 -1
- package/esm/testing/account.js.map +0 -1
- package/esm/testing/fixtures/algokit-log-capture-fixture.js.map +0 -1
- package/esm/testing/fixtures/algorand-fixture.js.map +0 -1
- package/esm/testing/fixtures/index.js +0 -3
- package/esm/testing/fixtures/index.js.map +0 -1
- package/esm/testing/index.js +0 -6
- package/esm/testing/index.js.map +0 -1
- package/esm/testing/indexer.js.map +0 -1
- package/esm/testing/test-logger.js.map +0 -1
- package/esm/testing/transaction-logger.js.map +0 -1
- package/esm/transaction.js.map +0 -1
- package/esm/transfer.js.map +0 -1
- package/esm/types/account.js.map +0 -1
- package/esm/types/algo-http-client-with-retry.js.map +0 -1
- package/esm/types/amount.js.map +0 -1
- package/esm/types/app-client.js.map +0 -1
- package/esm/types/app-spec.js +0 -2
- package/esm/types/app-spec.js.map +0 -1
- package/esm/types/app.js.map +0 -1
- package/esm/types/asset.js +0 -2
- package/esm/types/asset.js.map +0 -1
- package/esm/types/config.js.map +0 -1
- package/esm/types/debugging.js.map +0 -1
- package/esm/types/dispenser-client.js.map +0 -1
- package/esm/types/indexer.js +0 -31
- package/esm/types/indexer.js.map +0 -1
- package/esm/types/logging.js.map +0 -1
- package/esm/types/logic-error.js.map +0 -1
- package/esm/types/network-client.js +0 -2
- package/esm/types/network-client.js.map +0 -1
- package/esm/types/testing.js +0 -2
- package/esm/types/testing.js.map +0 -1
- package/esm/types/transaction.js +0 -2
- package/esm/types/transaction.js.map +0 -1
- package/esm/types/transfer.js +0 -2
- package/esm/types/transfer.js.map +0 -1
- package/esm/types/urlTokenBaseHTTPClient.js.map +0 -1
- package/esm/util.js.map +0 -1
- package/types/app-deploy.d.ts +0 -104
- package/types/app-deploy.d.ts.map +0 -1
- package/types/index.d.ts +0 -17
- package/types/index.d.ts.map +0 -1
- package/types/indexer-lookup.d.ts +0 -39
- package/types/indexer-lookup.d.ts.map +0 -1
- package/types/localnet.d.ts +0 -57
- package/types/localnet.d.ts.map +0 -1
- package/types/testing/_asset.d.ts +0 -5
- package/types/testing/_asset.d.ts.map +0 -1
- package/types/testing/account.d.ts +0 -17
- package/types/testing/account.d.ts.map +0 -1
- package/types/testing/fixtures/algokit-log-capture-fixture.d.ts +0 -20
- package/types/testing/fixtures/algokit-log-capture-fixture.d.ts.map +0 -1
- package/types/testing/fixtures/algorand-fixture.d.ts +0 -50
- package/types/testing/fixtures/algorand-fixture.d.ts.map +0 -1
- package/types/testing/fixtures/index.d.ts +0 -3
- package/types/testing/fixtures/index.d.ts.map +0 -1
- package/types/testing/index.d.ts +0 -6
- package/types/testing/index.d.ts.map +0 -1
- package/types/testing/indexer.d.ts +0 -13
- package/types/testing/indexer.d.ts.map +0 -1
- package/types/testing/test-logger.d.ts +0 -41
- package/types/testing/test-logger.d.ts.map +0 -1
- package/types/testing/transaction-logger.d.ts +0 -31
- package/types/testing/transaction-logger.d.ts.map +0 -1
- package/types/types/account.d.ts +0 -70
- package/types/types/account.d.ts.map +0 -1
- package/types/types/algo-http-client-with-retry.d.ts +0 -14
- package/types/types/algo-http-client-with-retry.d.ts.map +0 -1
- package/types/types/amount.d.ts +0 -24
- package/types/types/amount.d.ts.map +0 -1
- package/types/types/app-client.d.ts +0 -416
- package/types/types/app-client.d.ts.map +0 -1
- package/types/types/app-spec.d.ts +0 -156
- package/types/types/app-spec.d.ts.map +0 -1
- package/types/types/app.d.ts +0 -323
- package/types/types/app.d.ts.map +0 -1
- package/types/types/asset.d.ts +0 -42
- package/types/types/asset.d.ts.map +0 -1
- package/types/types/config.d.ts +0 -49
- package/types/types/config.d.ts.map +0 -1
- package/types/types/debugging.d.ts +0 -112
- package/types/types/debugging.d.ts.map +0 -1
- package/types/types/dispenser-client.d.ts +0 -77
- package/types/types/dispenser-client.d.ts.map +0 -1
- package/types/types/indexer.d.ts +0 -625
- package/types/types/indexer.d.ts.map +0 -1
- package/types/types/logging.d.ts +0 -13
- package/types/types/logging.d.ts.map +0 -1
- package/types/types/logic-error.d.ts +0 -37
- package/types/types/logic-error.d.ts.map +0 -1
- package/types/types/network-client.d.ts +0 -20
- package/types/types/network-client.d.ts.map +0 -1
- package/types/types/testing.d.ts +0 -95
- package/types/types/testing.d.ts.map +0 -1
- package/types/types/transaction.d.ts +0 -118
- package/types/types/transaction.d.ts.map +0 -1
- package/types/types/transfer.d.ts +0 -76
- package/types/types/transfer.d.ts.map +0 -1
- package/types/types/urlTokenBaseHTTPClient.d.ts +0 -41
- package/types/types/urlTokenBaseHTTPClient.d.ts.map +0 -1
- package/types/util.d.ts +0 -24
- package/types/util.d.ts.map +0 -1
- /package/{cjs/amount.d.ts → amount.d.ts} +0 -0
- /package/{cjs/app-client.d.ts → app-client.d.ts} +0 -0
- /package/{cjs/app-deploy.d.ts → app-deploy.d.ts} +0 -0
- /package/{cjs/asset.d.ts → asset.d.ts} +0 -0
- /package/{cjs/dispenser-client.d.ts → dispenser-client.d.ts} +0 -0
- /package/{cjs/indexer-lookup.d.ts → indexer-lookup.d.ts} +0 -0
- /package/{cjs/testing → testing}/_asset.d.ts +0 -0
- /package/{cjs/testing → testing}/account.d.ts +0 -0
- /package/{cjs/testing → testing}/fixtures/algokit-log-capture-fixture.d.ts +0 -0
- /package/{cjs/testing → testing}/fixtures/algorand-fixture.d.ts +0 -0
- /package/{cjs/testing → testing}/fixtures/index.d.ts +0 -0
- /package/{cjs/testing → testing}/index.d.ts +0 -0
- /package/{cjs/testing → testing}/indexer.d.ts +0 -0
- /package/{cjs/testing → testing}/test-logger.d.ts +0 -0
- /package/{cjs/testing → testing}/transaction-logger.d.ts +0 -0
- /package/{cjs/types → types}/algo-http-client-with-retry.d.ts +0 -0
- /package/{cjs/types → types}/app-spec.d.ts +0 -0
- /package/{cjs/types → types}/config.d.ts +0 -0
- /package/{cjs/types → types}/indexer.d.ts +0 -0
- /package/{cjs/types → types}/logging.d.ts +0 -0
- /package/{cjs/types → types}/logic-error.d.ts +0 -0
- /package/{cjs/types → types}/testing.d.ts +0 -0
- /package/{cjs/types → types}/urlTokenBaseHTTPClient.d.ts +0 -0
- /package/{cjs/util.d.ts → util.d.ts} +0 -0
package/types/types/indexer.d.ts
DELETED
|
@@ -1,625 +0,0 @@
|
|
|
1
|
-
import algosdk from 'algosdk';
|
|
2
|
-
import modelsv2 = algosdk.modelsv2;
|
|
3
|
-
import TransactionType = algosdk.TransactionType;
|
|
4
|
-
/** Indexer result for a transaction search, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2transactions */
|
|
5
|
-
export interface TransactionSearchResults {
|
|
6
|
-
/** Round at which the results were computed. */
|
|
7
|
-
'current-round': number;
|
|
8
|
-
/** Used for pagination, when making another request provide this token with the next parameter. */
|
|
9
|
-
'next-token': string;
|
|
10
|
-
/** The returned transactions */
|
|
11
|
-
transactions: TransactionResult[];
|
|
12
|
-
}
|
|
13
|
-
/** Indexer result for an account lookup, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2accountsaccount-id */
|
|
14
|
-
export interface AccountLookupResult {
|
|
15
|
-
/** Round at which the results were computed. */
|
|
16
|
-
'current-round': number;
|
|
17
|
-
/** The returned account */
|
|
18
|
-
account: AccountResult;
|
|
19
|
-
}
|
|
20
|
-
/** Indexer result for an account's asset holdings, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2accountsaccount-idassets */
|
|
21
|
-
export interface AssetsLookupResult {
|
|
22
|
-
/** Round at which the results were computed. */
|
|
23
|
-
'current-round': number;
|
|
24
|
-
/** Used for pagination, when making another request provide this token with the next parameter. */
|
|
25
|
-
'next-token': string;
|
|
26
|
-
/** The returned asset holdings */
|
|
27
|
-
assets: AssetHolding[];
|
|
28
|
-
}
|
|
29
|
-
/** Indexer result for an account's created assets, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2accountsaccount-idcreated-assets */
|
|
30
|
-
export interface AssetsCreatedLookupResult {
|
|
31
|
-
/** Round at which the results were computed. */
|
|
32
|
-
'current-round': number;
|
|
33
|
-
/** Used for pagination, when making another request provide this token with the next parameter. */
|
|
34
|
-
'next-token': string;
|
|
35
|
-
/** The returned assets */
|
|
36
|
-
assets: AssetResult[];
|
|
37
|
-
}
|
|
38
|
-
/** Indexer result for an account's created applications, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2accountsaccount-idcreated-applications */
|
|
39
|
-
export interface ApplicationCreatedLookupResult {
|
|
40
|
-
/** Round at which the results were computed. */
|
|
41
|
-
'current-round': number;
|
|
42
|
-
/** Used for pagination, when making another request provide this token with the next parameter. */
|
|
43
|
-
'next-token': string;
|
|
44
|
-
/** The returned applications */
|
|
45
|
-
applications: ApplicationResult[];
|
|
46
|
-
}
|
|
47
|
-
/** Indexer result for an asset lookup, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2assetsasset-id */
|
|
48
|
-
export interface AssetLookupResult {
|
|
49
|
-
/** Round at which the results were computed. */
|
|
50
|
-
'current-round': number;
|
|
51
|
-
/** The returned asset */
|
|
52
|
-
asset: AssetResult;
|
|
53
|
-
}
|
|
54
|
-
/** Indexer result for a transaction lookup, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2transactionstxid */
|
|
55
|
-
export interface TransactionLookupResult {
|
|
56
|
-
/** Round at which the results were computed. */
|
|
57
|
-
'current-round': number;
|
|
58
|
-
/** The returned transaction */
|
|
59
|
-
transaction: TransactionResult;
|
|
60
|
-
}
|
|
61
|
-
/** Indexer result for an application lookup, https://developer.algorand.org/docs/rest-apis/indexer/#get-v2applicationsapplication-id */
|
|
62
|
-
export interface ApplicationLookupResult {
|
|
63
|
-
/** Round at which the results were computed. */
|
|
64
|
-
'current-round': number;
|
|
65
|
-
/** The returned application */
|
|
66
|
-
application: ApplicationResult;
|
|
67
|
-
}
|
|
68
|
-
/** Indexer result for a transaction, https://developer.algorand.org/docs/rest-apis/indexer/#transaction */
|
|
69
|
-
export interface TransactionResult extends Record<string, any> {
|
|
70
|
-
/** Transaction ID */
|
|
71
|
-
id: string;
|
|
72
|
-
/** [type] Indicates what type of transaction this is. Different types have different fields. */
|
|
73
|
-
'tx-type': TransactionType;
|
|
74
|
-
/** [fee] Transaction fee. */
|
|
75
|
-
fee: number;
|
|
76
|
-
/** [snd] Sender's address. */
|
|
77
|
-
sender: string;
|
|
78
|
-
/** [fv] First valid round for this transaction. */
|
|
79
|
-
'first-valid': number;
|
|
80
|
-
/** [lv] Last valid round for this transaction. */
|
|
81
|
-
'last-valid': number;
|
|
82
|
-
/** Round when the transaction was confirmed. */
|
|
83
|
-
'confirmed-round'?: number;
|
|
84
|
-
/** [grp] Base64 encoded byte array of a sha512/256 digest.
|
|
85
|
-
*
|
|
86
|
-
* When present indicates that this transaction is part of a transaction group
|
|
87
|
-
* and the value is the sha512/256 hash of the transactions in that group.
|
|
88
|
-
*
|
|
89
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
90
|
-
*/
|
|
91
|
-
group?: string;
|
|
92
|
-
/**
|
|
93
|
-
* [note] Free form data.
|
|
94
|
-
*
|
|
95
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
96
|
-
*/
|
|
97
|
-
note?: string;
|
|
98
|
-
/** [lg] Logs for the application being executed by this transaction. */
|
|
99
|
-
logs?: string[];
|
|
100
|
-
/** Time when the block this transaction is in was confirmed. */
|
|
101
|
-
'round-time'?: number;
|
|
102
|
-
/** Offset into the round where this transaction was confirmed. */
|
|
103
|
-
'intra-round-offset'?: number;
|
|
104
|
-
/** Signature of the transaction */
|
|
105
|
-
signature?: TransactionSignature;
|
|
106
|
-
/** If the transaction is an `appl` transaction this will be populated see `tx-type` */
|
|
107
|
-
'application-transaction'?: ApplicationTransactionResult;
|
|
108
|
-
/** If the transaction is an `appl` transaction that resulted in an application creation then this
|
|
109
|
-
* specifies the application index (ID) of that application.
|
|
110
|
-
*/
|
|
111
|
-
'created-application-index'?: number;
|
|
112
|
-
/** If the transaction is an `acfg` transaction this will be populated see `tx-type` */
|
|
113
|
-
'asset-config-transaction'?: AssetConfigTransactionResult;
|
|
114
|
-
/** If the transaction is an `acfg` transaction that resulted in an asset creation then this
|
|
115
|
-
* specifies the asset index (ID) of that asset.
|
|
116
|
-
*/
|
|
117
|
-
'created-asset-index'?: number;
|
|
118
|
-
/** If the transaction is an `afrz` transaction this will be populated see `tx-type` */
|
|
119
|
-
'asset-freeze-transaction'?: AssetFreezeTransactionResult;
|
|
120
|
-
/** If the transaction is an `axfer` transaction this will be populated see `tx-type` */
|
|
121
|
-
'asset-transfer-transaction'?: AssetTransferTransactionResult;
|
|
122
|
-
/** If the transaction is a `keyreg` transaction this will be populated see `tx-type` */
|
|
123
|
-
'keyreg-transaction'?: KeyRegistrationTransactionResult;
|
|
124
|
-
/** If the transaction is a `pay` transaction this will be populated see `tx-type` */
|
|
125
|
-
'payment-transaction'?: PaymentTransactionResult;
|
|
126
|
-
/** [sgnr] this is included with signed transactions when the signing address does not equal the sender.
|
|
127
|
-
* The backend can use this to ensure that auth addr is equal to the accounts auth addr.
|
|
128
|
-
*/
|
|
129
|
-
'auth-addr'?: string;
|
|
130
|
-
/** [ca] closing amount for transaction. */
|
|
131
|
-
'closing-amount'?: number;
|
|
132
|
-
/** [gh] Hash of genesis block.
|
|
133
|
-
*
|
|
134
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
135
|
-
*/
|
|
136
|
-
'genesis-hash'?: string;
|
|
137
|
-
/** [gen] genesis block ID. */
|
|
138
|
-
'genesis-id'?: string;
|
|
139
|
-
/** Inner transactions produced by application execution. */
|
|
140
|
-
'inner-txns'?: TransactionResult[];
|
|
141
|
-
/** [rekey] when included in a valid transaction, the accounts auth addr will be updated with
|
|
142
|
-
* this value and future signatures must be signed with the key represented by this address.
|
|
143
|
-
*/
|
|
144
|
-
'rekey-to'?: string;
|
|
145
|
-
/** [lx] Base64 encoded 32-byte array. Lease enforces mutual exclusion of transactions.
|
|
146
|
-
*
|
|
147
|
-
* If this field is nonzero, then once the transaction is confirmed, it acquires the lease
|
|
148
|
-
* identified by the (Sender, Lease) pair of the transaction until the LastValid round passes.
|
|
149
|
-
*
|
|
150
|
-
* While this transaction possesses the lease, no other transaction specifying this lease can be confirmed.
|
|
151
|
-
*
|
|
152
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
153
|
-
*/
|
|
154
|
-
lease?: string;
|
|
155
|
-
/** [ld] Local state key/value changes for the application being executed by this transaction. */
|
|
156
|
-
'local-state-delta'?: Record<string, EvalDelta>[];
|
|
157
|
-
/** [gd] Global state key/value changes for the application being executed by this transaction. */
|
|
158
|
-
'global-state-delta'?: Record<string, EvalDelta>[];
|
|
159
|
-
/** [rr] rewards applied to receiver account. */
|
|
160
|
-
'receiver-rewards'?: number;
|
|
161
|
-
/** [rs] rewards applied to sender account. */
|
|
162
|
-
'sender-rewards'?: number;
|
|
163
|
-
/** [rc] rewards applied to close-remainder-to account. */
|
|
164
|
-
'close-rewards'?: number;
|
|
165
|
-
}
|
|
166
|
-
/** Account information at a given round https://developer.algorand.org/docs/rest-apis/indexer/#account */
|
|
167
|
-
export interface AccountResult extends Record<string, any> {
|
|
168
|
-
/** the account public key */
|
|
169
|
-
address: string;
|
|
170
|
-
/** [algo] total number of MicroAlgos in the account */
|
|
171
|
-
amount: number;
|
|
172
|
-
/** specifies the amount of MicroAlgos in the account, without the pending rewards. */
|
|
173
|
-
'amount-without-pending-rewards': number;
|
|
174
|
-
/** [appl] applications local data stored in this account.
|
|
175
|
-
*
|
|
176
|
-
* Note the raw object uses map[int] -> AppLocalState for this type.
|
|
177
|
-
*/
|
|
178
|
-
'apps-local-state'?: AppLocalState[];
|
|
179
|
-
/** [teap] the sum of all extra application program pages for this account. */
|
|
180
|
-
'apps-total-extra-pages'?: number;
|
|
181
|
-
/** [tsch] stores the sum of all of the local schemas and global schemas in this account.
|
|
182
|
-
*
|
|
183
|
-
* Note: the raw account uses StateSchema for this type.
|
|
184
|
-
*/
|
|
185
|
-
'apps-total-schema'?: StateSchema;
|
|
186
|
-
/** [asset] assets held by this account.
|
|
187
|
-
*
|
|
188
|
-
* Note the raw object uses map[int] -> AssetHolding for this type.
|
|
189
|
-
*/
|
|
190
|
-
assets?: AssetHolding[];
|
|
191
|
-
/** [spend] the address against which signing should be checked.
|
|
192
|
-
*
|
|
193
|
-
* If empty, the address of the current account is used.
|
|
194
|
-
*
|
|
195
|
-
* This field can be updated in any transaction by setting the RekeyTo field.
|
|
196
|
-
*/
|
|
197
|
-
'auth-addr'?: string;
|
|
198
|
-
/** Round during which this account was most recently closed. */
|
|
199
|
-
'closed-at-round'?: number;
|
|
200
|
-
/** [appp] parameters of applications created by this account including app global data.
|
|
201
|
-
*
|
|
202
|
-
* Note: the raw account uses map[int] -> AppParams for this type.
|
|
203
|
-
*/
|
|
204
|
-
'created-apps'?: ApplicationResult[];
|
|
205
|
-
/** [apar] parameters of assets created by this account.
|
|
206
|
-
*
|
|
207
|
-
* Note: the raw account uses map[int] -> Asset for this type.
|
|
208
|
-
*/
|
|
209
|
-
'created-assets'?: AssetResult[];
|
|
210
|
-
/** Round during which this account first appeared in a transaction. */
|
|
211
|
-
'created-at-round'?: number;
|
|
212
|
-
/** Whether or not this account is currently closed. */
|
|
213
|
-
deleted?: boolean;
|
|
214
|
-
/** If participating in consensus, the parameters used by this account in the consensus protocol. */
|
|
215
|
-
participation?: AccountParticipation;
|
|
216
|
-
/** amount of MicroAlgos of pending rewards in this account. */
|
|
217
|
-
'pending-rewards': number;
|
|
218
|
-
/** [ebase] used as part of the rewards computation. Only applicable to accounts which are participating. */
|
|
219
|
-
'reward-base'?: number;
|
|
220
|
-
/** [ern] total rewards of MicroAlgos the account has received, including pending rewards. */
|
|
221
|
-
rewards: number;
|
|
222
|
-
/** The round for which this information is relevant. */
|
|
223
|
-
round: number;
|
|
224
|
-
/** Indicates what type of signature is used by this account */
|
|
225
|
-
'sig-type': SignatureType;
|
|
226
|
-
/** [onl] delegation status of the account's MicroAlgos */
|
|
227
|
-
status: AccountStatus;
|
|
228
|
-
/** The count of all applications that have been opted in, equivalent to the count of application local data (AppLocalState objects) stored in this account. */
|
|
229
|
-
'total-apps-opted-in': number;
|
|
230
|
-
/** The count of all assets that have been opted in, equivalent to the count of AssetHolding objects held by this account. */
|
|
231
|
-
'total-assets-opted-in': number;
|
|
232
|
-
/** For app-accounts only. The total number of bytes allocated for the keys and values of boxes which belong to the associated application. */
|
|
233
|
-
'total-box-bytes': number;
|
|
234
|
-
/** For app-accounts only. The total number of boxes which belong to the associated application. */
|
|
235
|
-
'total-boxes': number;
|
|
236
|
-
/** The count of all apps (AppParams objects) created by this account. */
|
|
237
|
-
'total-created-apps': number;
|
|
238
|
-
/** The count of all assets (AssetParams objects) created by this account. */
|
|
239
|
-
'total-created-assets': number;
|
|
240
|
-
}
|
|
241
|
-
/** Fields for a payment transaction https://developer.algorand.org/docs/rest-apis/indexer/#transactionpayment */
|
|
242
|
-
export interface PaymentTransactionResult {
|
|
243
|
-
/** [amt] number of MicroAlgos intended to be transferred. */
|
|
244
|
-
amount: number;
|
|
245
|
-
/** Number of MicroAlgos that were sent to the close-remainder-to address when closing the sender account. */
|
|
246
|
-
'close-amount'?: number;
|
|
247
|
-
/** [close] when set, indicates that the sending account should be closed and all remaining funds be transferred to this address. */
|
|
248
|
-
'close-remainder-to'?: string;
|
|
249
|
-
/** [rcv] receiver's address. */
|
|
250
|
-
receiver: string;
|
|
251
|
-
}
|
|
252
|
-
/** Fields for an application transaction https://developer.algorand.org/docs/rest-apis/indexer/#transactionapplication */
|
|
253
|
-
export interface ApplicationTransactionResult extends Omit<ApplicationParams, 'creator' | 'global-state'> {
|
|
254
|
-
/** [apat] List of accounts in addition to the sender that may be accessed from the application's approval-program and clear-state-program. */
|
|
255
|
-
accounts?: string[];
|
|
256
|
-
/** [apaa] transaction specific arguments accessed from the application's approval-program and clear-state-program. */
|
|
257
|
-
'application-args'?: string[];
|
|
258
|
-
/** [apid] ID of the application being configured or empty if creating. */
|
|
259
|
-
'application-id': number;
|
|
260
|
-
/** [apfa] Lists the applications in addition to the application-id whose global states may be accessed by this application's approval-program and clear-state-program. The access is read-only. */
|
|
261
|
-
'foreign-apps'?: number[];
|
|
262
|
-
/** [apas] lists the assets whose parameters may be accessed by this application's ApprovalProgram and ClearStateProgram. The access is read-only. */
|
|
263
|
-
'foreign-assets'?: number[];
|
|
264
|
-
/** [apan] defines the what additional actions occur with the transaction. */
|
|
265
|
-
'on-completion': ApplicationOnComplete;
|
|
266
|
-
}
|
|
267
|
-
/** Fields for asset allocation, re-configuration, and destruction.
|
|
268
|
-
* https://developer.algorand.org/docs/rest-apis/indexer/#transactionassetconfig
|
|
269
|
-
*
|
|
270
|
-
* A zero value for asset-id indicates asset creation. A zero value for the params indicates asset destruction.
|
|
271
|
-
*/
|
|
272
|
-
export interface AssetConfigTransactionResult {
|
|
273
|
-
/** [xaid] ID of the asset being configured or empty if creating. */
|
|
274
|
-
'asset-id': number;
|
|
275
|
-
/** [apar] the parameters for the asset. */
|
|
276
|
-
params?: AssetParams;
|
|
277
|
-
}
|
|
278
|
-
/** Fields for an asset freeze transaction. https://developer.algorand.org/docs/rest-apis/indexer/#transactionassetfreeze */
|
|
279
|
-
export interface AssetFreezeTransactionResult {
|
|
280
|
-
/** [fadd] Address of the account whose asset is being frozen or thawed. */
|
|
281
|
-
address: string;
|
|
282
|
-
/** [faid] ID of the asset being frozen or thawed. */
|
|
283
|
-
'asset-id': number;
|
|
284
|
-
/** [afrz] The new freeze status. */
|
|
285
|
-
'new-freeze-status': boolean;
|
|
286
|
-
}
|
|
287
|
-
/** Fields for an asset transfer transaction. https://developer.algorand.org/docs/rest-apis/indexer/#transactionassettransfer */
|
|
288
|
-
export interface AssetTransferTransactionResult {
|
|
289
|
-
/** [aamt] Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account's Assets map. */
|
|
290
|
-
amount: number;
|
|
291
|
-
/** [xaid] ID of the asset being transferred. */
|
|
292
|
-
'asset-id': number;
|
|
293
|
-
/** Number of assets transfered to the close-to account as part of the transaction. */
|
|
294
|
-
'close-amount'?: number;
|
|
295
|
-
/** [aclose] Indicates that the asset should be removed from the account's Assets map, and specifies where the remaining asset holdings should be transferred. It's always valid to transfer remaining asset holdings to the creator account. */
|
|
296
|
-
'close-to'?: string;
|
|
297
|
-
/** [arcv] Recipient address of the transfer. */
|
|
298
|
-
receiver: string;
|
|
299
|
-
/** [asnd] The effective sender during a clawback transactions. If this is not a zero value, the real transaction sender must be the Clawback address from the AssetParams. */
|
|
300
|
-
sender?: string;
|
|
301
|
-
}
|
|
302
|
-
/** Fields for a `keyreg` transaction https://developer.algorand.org/docs/rest-apis/indexer/#transactionkeyreg */
|
|
303
|
-
export interface KeyRegistrationTransactionResult {
|
|
304
|
-
/** [nonpart] Mark the account as participating or non-participating. */
|
|
305
|
-
'non-participation'?: boolean;
|
|
306
|
-
/** [selkey] Public key used with the Verified Random Function (VRF) result during committee selection.
|
|
307
|
-
*
|
|
308
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
309
|
-
*/
|
|
310
|
-
'selection-participation-key'?: string;
|
|
311
|
-
/** [selkey] Public key used with the Verified Random Function (VRF) result during committee selection.
|
|
312
|
-
*
|
|
313
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
314
|
-
*/
|
|
315
|
-
'state-proof-key'?: string;
|
|
316
|
-
/** [votefst] First round this participation key is valid. */
|
|
317
|
-
'vote-first-valid'?: number;
|
|
318
|
-
/** [votekd] Number of subkeys in each batch of participation keys. */
|
|
319
|
-
'vote-key-dilution'?: number;
|
|
320
|
-
/** [votelst] Last round this participation key is valid. */
|
|
321
|
-
'vote-last-valid'?: number;
|
|
322
|
-
/** [votekey] Participation public key used in key registration transactions.
|
|
323
|
-
*
|
|
324
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
325
|
-
*/
|
|
326
|
-
'vote-participation-key'?: string;
|
|
327
|
-
}
|
|
328
|
-
/** Specifies both the unique identifier and the parameters for an asset. https://developer.algorand.org/docs/rest-apis/indexer/#asset */
|
|
329
|
-
export interface AssetResult {
|
|
330
|
-
/** Unique asset identifier. */
|
|
331
|
-
index: number;
|
|
332
|
-
/** Whether or not this asset is currently deleted. */
|
|
333
|
-
deleted?: boolean;
|
|
334
|
-
/** Round during which this asset was created. */
|
|
335
|
-
'created-at-round'?: number;
|
|
336
|
-
/** Round during which this asset was destroyed. */
|
|
337
|
-
'destroyed-at-round'?: number;
|
|
338
|
-
/** The parameters for the asset */
|
|
339
|
-
params: AssetParams;
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* The result of looking up an application
|
|
343
|
-
*/
|
|
344
|
-
export interface ApplicationResult {
|
|
345
|
-
id: number;
|
|
346
|
-
params: ApplicationParams;
|
|
347
|
-
'created-at-round'?: number;
|
|
348
|
-
deleted?: boolean;
|
|
349
|
-
'deleted-at-round'?: number;
|
|
350
|
-
}
|
|
351
|
-
/** Validation signature associated with some data. Only one of the signatures should be provided. https://developer.algorand.org/docs/rest-apis/indexer/#transactionsignature */
|
|
352
|
-
export interface TransactionSignature {
|
|
353
|
-
/** Logicsig signature */
|
|
354
|
-
logicsig?: LogicTransactionSignature;
|
|
355
|
-
/** Multisig signature */
|
|
356
|
-
multisig?: MultisigTransactionSignature;
|
|
357
|
-
/** [sig] Standard ed25519 signature.
|
|
358
|
-
*
|
|
359
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
360
|
-
*/
|
|
361
|
-
sig?: string;
|
|
362
|
-
}
|
|
363
|
-
/** [lsig] Programatic transaction signature.
|
|
364
|
-
*
|
|
365
|
-
* https://developer.algorand.org/docs/rest-apis/indexer/#transactionsignaturelogicsig
|
|
366
|
-
*
|
|
367
|
-
* https://developer.algorand.org/docs/get-details/transactions/signatures/#logic-signatures
|
|
368
|
-
*/
|
|
369
|
-
export interface LogicTransactionSignature {
|
|
370
|
-
/** [arg] Logic arguments, base64 encoded. */
|
|
371
|
-
args?: string[];
|
|
372
|
-
/** [l] Program signed by a signature or multi signature, or hashed to be the address of ana ccount.
|
|
373
|
-
*
|
|
374
|
-
* Base64 encoded TEAL program.
|
|
375
|
-
*
|
|
376
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
377
|
-
*/
|
|
378
|
-
logic: string;
|
|
379
|
-
/** The signature of the multisig the logic signature delegating the logicsig. https://developer.algorand.org/docs/get-details/dapps/smart-contracts/smartsigs/modes/#delegated-approval */
|
|
380
|
-
'multisig-signature'?: MultisigTransactionSignature;
|
|
381
|
-
/** [sig] Standard ed25519 signature delegating the logicsig. https://developer.algorand.org/docs/get-details/dapps/smart-contracts/smartsigs/modes/#delegated-approval
|
|
382
|
-
*
|
|
383
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
384
|
-
*/
|
|
385
|
-
signature?: string;
|
|
386
|
-
}
|
|
387
|
-
/** [msig] structure holding multiple subsignatures. https://developer.algorand.org/docs/rest-apis/indexer/#transactionsignaturemultisig */
|
|
388
|
-
export interface MultisigTransactionSignature {
|
|
389
|
-
/** [subsig] Holds pairs of public key and signatures. */
|
|
390
|
-
subsignature: MultisigTransactionSubSignature[];
|
|
391
|
-
/** [thr] The threshold of signatures required for the multisig */
|
|
392
|
-
threshold: number;
|
|
393
|
-
/** [v] The version of the multisig */
|
|
394
|
-
version: number;
|
|
395
|
-
}
|
|
396
|
-
/** Sub-signature for a multisig signature https://developer.algorand.org/docs/rest-apis/indexer/#transactionsignaturemultisigsubsignature */
|
|
397
|
-
export interface MultisigTransactionSubSignature {
|
|
398
|
-
/** [pk] The public key of the account making the signature
|
|
399
|
-
*
|
|
400
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
401
|
-
*/
|
|
402
|
-
'public-key': string;
|
|
403
|
-
/** [s] The signature
|
|
404
|
-
*
|
|
405
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
406
|
-
*/
|
|
407
|
-
signature: string;
|
|
408
|
-
}
|
|
409
|
-
/** Represents a TEAL value delta. https://developer.algorand.org/docs/rest-apis/indexer/#evaldelta */
|
|
410
|
-
export interface EvalDelta {
|
|
411
|
-
/** [at] delta action. */
|
|
412
|
-
action: number;
|
|
413
|
-
/** [bs] bytes value. */
|
|
414
|
-
bytes?: string;
|
|
415
|
-
/** [ui] uint value. */
|
|
416
|
-
uint?: number;
|
|
417
|
-
}
|
|
418
|
-
/** Stores the global information associated with an application https://developer.algorand.org/docs/rest-apis/indexer/#applicationparams */
|
|
419
|
-
export interface ApplicationParams {
|
|
420
|
-
/** The address that created this application. This is the address where the parameters and global state for this application can be found. */
|
|
421
|
-
creator: string;
|
|
422
|
-
/**
|
|
423
|
-
* [apap]/[approv] Logic executed for every application transaction, except when on-completion is set to "clear".
|
|
424
|
-
*
|
|
425
|
-
* It can read and write global state for the application, as well as account-specific local state.
|
|
426
|
-
*
|
|
427
|
-
* Approval programs may reject the transaction.
|
|
428
|
-
*
|
|
429
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
430
|
-
*/
|
|
431
|
-
'approval-program': string;
|
|
432
|
-
/**
|
|
433
|
-
* [apsu]/[clearp] Logic executed for application transactions with on-completion set to "clear".
|
|
434
|
-
*
|
|
435
|
-
* It can read and write global state for the application, as well as account-specific local state.
|
|
436
|
-
*
|
|
437
|
-
* Clear state programs cannot reject the transaction.
|
|
438
|
-
*
|
|
439
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
440
|
-
*/
|
|
441
|
-
'clear-state-program': string;
|
|
442
|
-
/** [epp] the amount of extra program pages available to this app. */
|
|
443
|
-
'extra-program-pages'?: number;
|
|
444
|
-
/** [gs] global schema */
|
|
445
|
-
'global-state': modelsv2.TealKeyValue[];
|
|
446
|
-
/** [gsch] global schema */
|
|
447
|
-
'global-state-schema'?: StateSchema;
|
|
448
|
-
/** [lsch] local schema */
|
|
449
|
-
'local-state-schema'?: StateSchema;
|
|
450
|
-
}
|
|
451
|
-
/** Represents a [apls] local-state or [apgs] global-state schema.
|
|
452
|
-
* https://developer.algorand.org/docs/rest-apis/indexer/#stateschema
|
|
453
|
-
*
|
|
454
|
-
* These schemas determine how much storage may be used in a local-state or global-state for an application.
|
|
455
|
-
*
|
|
456
|
-
* The more space used, the larger minimum balance must be maintained in the account holding the data.
|
|
457
|
-
*/
|
|
458
|
-
export interface StateSchema {
|
|
459
|
-
/** Maximum number of TEAL byte slices that may be stored in the key/value store. */
|
|
460
|
-
'num-byte-slice': number;
|
|
461
|
-
/** Maximum number of TEAL uints that may be stored in the key/value store. */
|
|
462
|
-
'num-uint': number;
|
|
463
|
-
}
|
|
464
|
-
/** Defines the what additional actions occur with the transaction https://developer.algorand.org/docs/rest-apis/indexer/#oncompletion */
|
|
465
|
-
export declare enum ApplicationOnComplete {
|
|
466
|
-
noop = "noop",
|
|
467
|
-
optin = "optin",
|
|
468
|
-
closeout = "closeout",
|
|
469
|
-
clear = "clear",
|
|
470
|
-
update = "update",
|
|
471
|
-
delete = "delete"
|
|
472
|
-
}
|
|
473
|
-
/** AssetParams specifies the parameters for an asset. https://developer.algorand.org/docs/rest-apis/indexer/#assetparams */
|
|
474
|
-
export interface AssetParams {
|
|
475
|
-
/**
|
|
476
|
-
* The address that created this asset. This is the address where the parameters
|
|
477
|
-
* for this asset can be found, and also the address where unwanted asset units can
|
|
478
|
-
* be sent in the worst case.
|
|
479
|
-
*/
|
|
480
|
-
creator: string;
|
|
481
|
-
/**
|
|
482
|
-
* (dc) The number of digits to use after the decimal point when displaying this
|
|
483
|
-
* asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in
|
|
484
|
-
* tenths. If 2, the base unit of the asset is in hundredths, and so on. This value
|
|
485
|
-
* must be between 0 and 19 (inclusive).
|
|
486
|
-
*/
|
|
487
|
-
decimals: number | bigint;
|
|
488
|
-
/**
|
|
489
|
-
* (t) The total number of units of this asset.
|
|
490
|
-
*/
|
|
491
|
-
total: number | bigint;
|
|
492
|
-
/**
|
|
493
|
-
* (c) Address of account used to clawback holdings of this asset. If empty,
|
|
494
|
-
* clawback is not permitted.
|
|
495
|
-
*/
|
|
496
|
-
clawback?: string;
|
|
497
|
-
/**
|
|
498
|
-
* (df) Whether holdings of this asset are frozen by default.
|
|
499
|
-
*/
|
|
500
|
-
'default-frozen'?: boolean;
|
|
501
|
-
/**
|
|
502
|
-
* (f) Address of account used to freeze holdings of this asset. If empty, freezing
|
|
503
|
-
* is not permitted.
|
|
504
|
-
*/
|
|
505
|
-
freeze?: string;
|
|
506
|
-
/**
|
|
507
|
-
* (m) Address of account used to manage the keys of this asset and to destroy it.
|
|
508
|
-
*/
|
|
509
|
-
manager?: string;
|
|
510
|
-
/**
|
|
511
|
-
* (am) A commitment to some unspecified asset metadata. The format of this
|
|
512
|
-
* metadata is up to the application.
|
|
513
|
-
*/
|
|
514
|
-
'metadata-hash'?: Uint8Array;
|
|
515
|
-
/**
|
|
516
|
-
* (an) Name of this asset, as supplied by the creator. Included only when the
|
|
517
|
-
* asset name is composed of printable utf-8 characters.
|
|
518
|
-
*/
|
|
519
|
-
name?: string;
|
|
520
|
-
/**
|
|
521
|
-
* Base64 encoded name of this asset, as supplied by the creator.
|
|
522
|
-
*/
|
|
523
|
-
'name-b64'?: Uint8Array;
|
|
524
|
-
/**
|
|
525
|
-
* (r) Address of account holding reserve (non-minted) units of this asset.
|
|
526
|
-
*/
|
|
527
|
-
reserve?: string;
|
|
528
|
-
/**
|
|
529
|
-
* (un) Name of a unit of this asset, as supplied by the creator. Included only
|
|
530
|
-
* when the name of a unit of this asset is composed of printable utf-8 characters.
|
|
531
|
-
*/
|
|
532
|
-
'unit-name'?: string;
|
|
533
|
-
/**
|
|
534
|
-
* Base64 encoded name of a unit of this asset, as supplied by the creator.
|
|
535
|
-
*/
|
|
536
|
-
'unit-name-b64'?: Uint8Array;
|
|
537
|
-
/**
|
|
538
|
-
* (au) URL where more information about the asset can be retrieved. Included only
|
|
539
|
-
* when the URL is composed of printable utf-8 characters.
|
|
540
|
-
*/
|
|
541
|
-
url?: string;
|
|
542
|
-
/**
|
|
543
|
-
* Base64 encoded URL where more information about the asset can be retrieved.
|
|
544
|
-
*/
|
|
545
|
-
'url-b64'?: Uint8Array;
|
|
546
|
-
}
|
|
547
|
-
/** Type of signature used by an account */
|
|
548
|
-
export declare enum SignatureType {
|
|
549
|
-
/** Normal signature */
|
|
550
|
-
sig = "sig",
|
|
551
|
-
/** Multisig */
|
|
552
|
-
msig = "msig",
|
|
553
|
-
/** Logic signature */
|
|
554
|
-
lsig = "lsig"
|
|
555
|
-
}
|
|
556
|
-
/** Delegation status of the account */
|
|
557
|
-
export declare enum AccountStatus {
|
|
558
|
-
/** Indicates that the associated account is delegated */
|
|
559
|
-
Offline = "Offline",
|
|
560
|
-
/** Indicates that the associated account used as part of the delegation pool */
|
|
561
|
-
Online = "Online",
|
|
562
|
-
/** Indicates that the associated account is neither a delegator nor a delegate */
|
|
563
|
-
NotParticipating = "NotParticipating"
|
|
564
|
-
}
|
|
565
|
-
/** AccountParticipation describes the parameters used by this account in consensus protocol. https://developer.algorand.org/docs/rest-apis/indexer/#accountparticipation */
|
|
566
|
-
export interface AccountParticipation {
|
|
567
|
-
/** [sel] Selection public key (if any) currently registered for this round.
|
|
568
|
-
*
|
|
569
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
570
|
-
*/
|
|
571
|
-
'selection-participation-key': string;
|
|
572
|
-
/** [stprf] Root of the state proof key (if any).
|
|
573
|
-
*
|
|
574
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
575
|
-
*/
|
|
576
|
-
'state-proof-key'?: string;
|
|
577
|
-
/** [voteFst] First round for which this participation is valid. */
|
|
578
|
-
'vote-first-valid': number;
|
|
579
|
-
/** [voteKD] Number of subkeys in each batch of participation keys. */
|
|
580
|
-
'vote-key-dilution': number;
|
|
581
|
-
/** [voteLst] Last round for which this participation is valid. */
|
|
582
|
-
'vote-last-valid': number;
|
|
583
|
-
/** [vote] root participation public key (if any) currently registered for this round.
|
|
584
|
-
*
|
|
585
|
-
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
|
|
586
|
-
*/
|
|
587
|
-
'vote-participation-key': string;
|
|
588
|
-
}
|
|
589
|
-
/** Stores local state associated with an application. https://developer.algorand.org/docs/rest-apis/indexer/#applicationlocalstate */
|
|
590
|
-
export interface AppLocalState {
|
|
591
|
-
/** Round when account closed out of the application. */
|
|
592
|
-
'closed-out-at-round'?: number;
|
|
593
|
-
/** Whether or not the application local state is currently deleted from its account. */
|
|
594
|
-
deleted?: boolean;
|
|
595
|
-
/** The application which this local state is for. */
|
|
596
|
-
id: number;
|
|
597
|
-
/** [tkv] storage. */
|
|
598
|
-
'key-value'?: modelsv2.TealKeyValue[];
|
|
599
|
-
/** Round when the account opted into the application. */
|
|
600
|
-
'opted-in-at-round'?: number;
|
|
601
|
-
/** [hsch] schema. */
|
|
602
|
-
schema: StateSchema;
|
|
603
|
-
}
|
|
604
|
-
/** Describes an asset held by an account. https://developer.algorand.org/docs/rest-apis/indexer/#assetholding */
|
|
605
|
-
export interface AssetHolding {
|
|
606
|
-
/**
|
|
607
|
-
* (a) number of units held.
|
|
608
|
-
*/
|
|
609
|
-
amount: number;
|
|
610
|
-
/**
|
|
611
|
-
* Asset ID of the holding.
|
|
612
|
-
*/
|
|
613
|
-
'asset-id': number;
|
|
614
|
-
/** Whether or not the asset holding is currently deleted from its account. */
|
|
615
|
-
deleted?: boolean;
|
|
616
|
-
/**
|
|
617
|
-
* [f] whether or not the holding is frozen.
|
|
618
|
-
*/
|
|
619
|
-
'is-frozen': boolean;
|
|
620
|
-
/** Round during which the account opted into this asset holding. */
|
|
621
|
-
'opted-in-at-round': number;
|
|
622
|
-
/** Round during which the account opted out of this asset holding. */
|
|
623
|
-
'opted-out-at-round': number;
|
|
624
|
-
}
|
|
625
|
-
//# sourceMappingURL=indexer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexer.d.ts","sourceRoot":"","sources":["../../../src/types/indexer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;AAClC,OAAO,eAAe,G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AkE;IAClE,iBAAiB,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,wBAAwB,EAAE,MAAM,CAAA;CACjC;AAED,sIAAsI;AACtI,MAAM,WAAW,aAAa;IAC5B,wDAAwD;IACxD,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,wFAAwF;IACxF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAA;IACV,qBAAqB;IACrB,WAAW,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,CAAA;IACrC,yDAAyD;IACzD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,qBAAqB;IACrB,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,iHAAiH;AACjH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB,oEAAoE;IACpE,mBAAmB,EAAE,MAAM,CAAA;IAC3B,sEAAsE;IACtE,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
package/types/types/logging.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** General purpose logger type, compatible with Winston and others. */
|
|
2
|
-
export type Logger = {
|
|
3
|
-
error(message: string, ...optionalParams: unknown[]): void;
|
|
4
|
-
warn(message: string, ...optionalParams: unknown[]): void;
|
|
5
|
-
info(message: string, ...optionalParams: unknown[]): void;
|
|
6
|
-
verbose(message: string, ...optionalParams: unknown[]): void;
|
|
7
|
-
debug(message: string, ...optionalParams: unknown[]): void;
|
|
8
|
-
};
|
|
9
|
-
/** A logger implementation that writes to console */
|
|
10
|
-
export declare const consoleLogger: Logger;
|
|
11
|
-
/** A logger implementation that does nothing */
|
|
12
|
-
export declare const nullLogger: Logger;
|
|
13
|
-
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/types/logging.ts"],"names":[],"mappings":"AAGA,uEAAuE;AACvE,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;IAC1D,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;IACzD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;IACzD,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;IAC5D,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;CAC3D,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,aAAa,EAAE,MAM3B,CAAA;AAED,gDAAgD;AAChD,eAAO,MAAM,UAAU,EAAE,MAWxB,CAAA"}
|