@algorandfoundation/algokit-utils 5.3.3-beta.2 → 5.4.0-beta.1
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import algosdk from 'algosdk';
|
|
2
|
+
|
|
2
3
|
/** Wrapper class to ensure safe, explicit conversion between µAlgos, Algos and numbers */
|
|
3
|
-
|
|
4
|
-
amountInMicroAlgos;
|
|
4
|
+
class AlgoAmount {
|
|
5
5
|
/** Return the amount as a number in µAlgos */
|
|
6
6
|
get microAlgos() {
|
|
7
7
|
return this.amountInMicroAlgos;
|
|
@@ -32,4 +32,6 @@ export class AlgoAmount {
|
|
|
32
32
|
return new AlgoAmount({ microAlgos: amount });
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
export { AlgoAmount };
|
|
37
|
+
//# sourceMappingURL=amount.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"amount.mjs","sources":["../../src/types/amount.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;MACa,UAAU,CAAA;;AAIrB,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,kBAAkB,CAAA;KAC/B;;AAGD,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;KAC1D;AAED,IAAA,WAAA,CAAY,MAAkD,EAAA;QAC5D,IAAI,CAAC,kBAAkB,GAAG,YAAY,IAAI,MAAM,GAAG,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;KAC/G;IAED,QAAQ,GAAA;QACN,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,MAAA,EAAS,IAAI,CAAC,UAAU,KAAK,CAAC,GAAG,EAAE,GAAG,GAAG,CAAA,CAAE,CAAA;KAC7F;AAED;;;AAGG;IACH,OAAO,GAAA;QACL,OAAO,IAAI,CAAC,UAAU,CAAA;KACvB;;IAGD,OAAO,KAAK,CAAC,MAAc,EAAA;QACzB,OAAO,IAAI,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAA;KACzC;;IAGD,OAAO,UAAU,CAAC,MAAc,EAAA;QAC9B,OAAO,IAAI,UAAU,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAA;KAC9C;AACF;;;;"}
|
package/types/app-client.d.ts
CHANGED
|
@@ -1,72 +1,416 @@
|
|
|
1
1
|
import algosdk from 'algosdk';
|
|
2
|
-
import {
|
|
2
|
+
import { AlgoAmount } from './amount';
|
|
3
|
+
import { ABIAppCallArgs, ABIReturn, AppCallArgs, AppCallTransactionResult, AppCallType, AppCompilationResult, AppLookup, AppMetadata, AppReference, AppState, BoxName, OnSchemaBreak, OnUpdate, RawAppCallArgs, TealTemplateParams } from './app';
|
|
4
|
+
import { AppSpec } from './app-spec';
|
|
5
|
+
import { SendTransactionFrom, SendTransactionParams, TransactionNote } from './transaction';
|
|
6
|
+
import ABIMethod = algosdk.ABIMethod;
|
|
7
|
+
import ABIMethodParams = algosdk.ABIMethodParams;
|
|
8
|
+
import ABIType = algosdk.ABIType;
|
|
9
|
+
import ABIValue = algosdk.ABIValue;
|
|
3
10
|
import Algodv2 = algosdk.Algodv2;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
11
|
+
import Indexer = algosdk.Indexer;
|
|
12
|
+
import OnApplicationComplete = algosdk.OnApplicationComplete;
|
|
13
|
+
import SuggestedParams = algosdk.SuggestedParams;
|
|
14
|
+
/** Configuration to resolve app by creator and name `getCreatorAppsByName` */
|
|
15
|
+
export type ResolveAppByCreatorAndNameBase = {
|
|
16
|
+
/** The address of the app creator account to resolve the app by */
|
|
17
|
+
creatorAddress: string;
|
|
18
|
+
/** The optional name override to resolve the app by within the creator account (default: uses the name in the ABI contract) */
|
|
19
|
+
name?: string;
|
|
20
|
+
/** The mechanism to find an existing app instance metadata for the given creator and name; either:
|
|
21
|
+
* * An indexer instance to search the creator account apps; or
|
|
22
|
+
* * The cached value of the existing apps for the given creator from `getCreatorAppsByName`
|
|
23
|
+
*/
|
|
24
|
+
findExistingUsing: Indexer | AppLookup;
|
|
25
|
+
};
|
|
26
|
+
/** Configuration to resolve app by creator and name `getCreatorAppsByName` */
|
|
27
|
+
export type ResolveAppByCreatorAndName = ResolveAppByCreatorAndNameBase & {
|
|
28
|
+
/** How the app ID is resolved, either by `'id'` or `'creatorAndName'`; must be `'creatorAndName'` if you want to use `deploy` */
|
|
29
|
+
resolveBy: 'creatorAndName';
|
|
30
|
+
};
|
|
31
|
+
/** Configuration to resolve app by ID */
|
|
32
|
+
export interface ResolveAppByIdBase {
|
|
33
|
+
/** The id of an existing app to call using this client, or 0 if the app hasn't been created yet */
|
|
34
|
+
id: number | bigint;
|
|
35
|
+
/** The optional name to use to mark the app when deploying `ApplicationClient.deploy` (default: uses the name in the ABI contract) */
|
|
36
|
+
name?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ResolveAppById extends ResolveAppByIdBase {
|
|
39
|
+
/** How the app ID is resolved, either by `'id'` or `'creatorAndName'`; must be `'creatorAndName'` if you want to use `deploy` */
|
|
40
|
+
resolveBy: 'id';
|
|
41
|
+
}
|
|
42
|
+
/** The details of an AlgoKit Utils deployed app */
|
|
43
|
+
export type AppDetailsBase = {
|
|
44
|
+
/** Default sender to use for transactions issued by this application client */
|
|
45
|
+
sender?: SendTransactionFrom;
|
|
46
|
+
/** Default suggested params object to use */
|
|
47
|
+
params?: SuggestedParams;
|
|
48
|
+
/** Optionally provide any deploy-time parameters to replace in the TEAL code; if specified here will get
|
|
49
|
+
* used in calls to `deploy`, `create` and `update` unless overridden in those calls
|
|
50
|
+
*/
|
|
51
|
+
deployTimeParams?: TealTemplateParams;
|
|
52
|
+
};
|
|
53
|
+
/** The details of an AlgoKit Utils deployed app */
|
|
54
|
+
export type AppDetails = AppDetailsBase & (ResolveAppById | ResolveAppByCreatorAndName);
|
|
55
|
+
/** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app */
|
|
56
|
+
export type AppSpecAppDetailsBase = {
|
|
57
|
+
/** The ARC-0032 application spec as either:
|
|
58
|
+
* * Parsed JSON `AppSpec`
|
|
59
|
+
* * Raw JSON string
|
|
60
|
+
*/
|
|
61
|
+
app: AppSpec | string;
|
|
62
|
+
};
|
|
63
|
+
/** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by id*/
|
|
64
|
+
export type AppSpecAppDetailsById = AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByIdBase;
|
|
65
|
+
/** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by creator and name*/
|
|
66
|
+
export type AppSpecAppDetailsByCreatorAndName = AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByCreatorAndNameBase;
|
|
67
|
+
/** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app */
|
|
68
|
+
export type AppSpecAppDetails = AppSpecAppDetailsBase & AppDetails;
|
|
69
|
+
/** Core parameters to pass into ApplicationClient.deploy */
|
|
70
|
+
export interface AppClientDeployCoreParams {
|
|
71
|
+
/** The version of the contract, uses "1.0" by default */
|
|
72
|
+
version?: string;
|
|
73
|
+
/** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
|
|
74
|
+
sender?: SendTransactionFrom;
|
|
75
|
+
/** Parameters to control transaction sending */
|
|
76
|
+
sendParams?: Omit<SendTransactionParams, 'skipSending' | 'skipWaiting'>;
|
|
77
|
+
/** Whether or not to allow updates in the contract using the deploy-time updatability control if present in your contract.
|
|
78
|
+
* If this is not specified then it will automatically be determined based on the AppSpec definition
|
|
79
|
+
**/
|
|
80
|
+
allowUpdate?: boolean;
|
|
81
|
+
/** Whether or not to allow deletes in the contract using the deploy-time deletability control if present in your contract.
|
|
82
|
+
* If this is not specified then it will automatically be determined based on the AppSpec definition
|
|
83
|
+
**/
|
|
84
|
+
allowDelete?: boolean;
|
|
85
|
+
/** What action to perform if a schema break is detected */
|
|
86
|
+
onSchemaBreak?: 'replace' | 'fail' | 'append' | OnSchemaBreak;
|
|
87
|
+
/** What action to perform if a TEAL update is detected */
|
|
88
|
+
onUpdate?: 'update' | 'replace' | 'append' | 'fail' | OnUpdate;
|
|
89
|
+
}
|
|
90
|
+
/** Call interface parameters to pass into ApplicationClient.deploy */
|
|
91
|
+
export interface AppClientDeployCallInterfaceParams {
|
|
92
|
+
/** Any deploy-time parameters to replace in the TEAL code */
|
|
93
|
+
deployTimeParams?: TealTemplateParams;
|
|
94
|
+
/** Any args to pass to any create transaction that is issued as part of deployment */
|
|
95
|
+
createArgs?: AppClientCallArgs;
|
|
96
|
+
/** Override the on-completion action for the create call; defaults to NoOp */
|
|
97
|
+
createOnCompleteAction?: Exclude<AppCallType, 'clear_state'> | Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>;
|
|
98
|
+
/** Any args to pass to any update transaction that is issued as part of deployment */
|
|
99
|
+
updateArgs?: AppClientCallArgs;
|
|
100
|
+
/** Any args to pass to any delete transaction that is issued as part of deployment */
|
|
101
|
+
deleteArgs?: AppClientCallArgs;
|
|
102
|
+
}
|
|
103
|
+
/** Parameters to pass into ApplicationClient.deploy */
|
|
104
|
+
export interface AppClientDeployParams extends AppClientDeployCoreParams, AppClientDeployCallInterfaceParams {
|
|
105
|
+
}
|
|
106
|
+
export interface AppClientCallRawArgs extends RawAppCallArgs {
|
|
107
|
+
}
|
|
108
|
+
export interface AppClientCallABIArgs extends Omit<ABIAppCallArgs, 'method'> {
|
|
109
|
+
/** If calling an ABI method then either the name of the method, or the ABI signature */
|
|
110
|
+
method: string;
|
|
111
|
+
}
|
|
112
|
+
/** The arguments to pass to an Application Client smart contract call */
|
|
113
|
+
export type AppClientCallArgs = AppClientCallRawArgs | AppClientCallABIArgs;
|
|
114
|
+
/** Common (core) parameters to construct a ApplicationClient contract call */
|
|
115
|
+
export interface AppClientCallCoreParams {
|
|
116
|
+
/** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
|
|
117
|
+
sender?: SendTransactionFrom;
|
|
118
|
+
/** The transaction note for the smart contract call */
|
|
119
|
+
note?: TransactionNote;
|
|
120
|
+
/** Parameters to control transaction sending */
|
|
121
|
+
sendParams?: SendTransactionParams;
|
|
122
|
+
}
|
|
123
|
+
/** Parameters to construct a ApplicationClient contract call */
|
|
124
|
+
export type AppClientCallParams = AppClientCallArgs & AppClientCallCoreParams;
|
|
125
|
+
/** Parameters to construct a ApplicationClient clear state contract call */
|
|
126
|
+
export type AppClientClearStateParams = AppClientCallRawArgs & AppClientCallCoreParams;
|
|
127
|
+
export interface AppClientCompilationParams {
|
|
128
|
+
/** Any deploy-time parameters to replace in the TEAL code */
|
|
129
|
+
deployTimeParams?: TealTemplateParams;
|
|
130
|
+
updatable?: boolean;
|
|
131
|
+
deletable?: boolean;
|
|
132
|
+
}
|
|
133
|
+
/** On-complete action parameter for creating a contract using ApplicationClient */
|
|
134
|
+
export type AppClientCreateOnComplete = {
|
|
135
|
+
/** Override the on-completion action for the create call; defaults to NoOp */
|
|
136
|
+
onCompleteAction?: Exclude<AppCallType, 'clear_state'> | Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>;
|
|
137
|
+
};
|
|
138
|
+
/** Parameters for creating a contract using ApplicationClient */
|
|
139
|
+
export type AppClientCreateParams = AppClientCallParams & AppClientCompilationParams & AppClientCreateOnComplete;
|
|
140
|
+
/** Parameters for updating a contract using ApplicationClient */
|
|
141
|
+
export type AppClientUpdateParams = AppClientCallParams & AppClientCompilationParams;
|
|
142
|
+
/** Parameters for funding an app account */
|
|
143
|
+
export interface FundAppAccountParams {
|
|
144
|
+
amount: AlgoAmount;
|
|
145
|
+
/** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
|
|
146
|
+
sender?: SendTransactionFrom;
|
|
147
|
+
/** The transaction note for the smart contract call */
|
|
148
|
+
note?: TransactionNote;
|
|
149
|
+
/** Parameters to control transaction sending */
|
|
150
|
+
sendParams?: SendTransactionParams;
|
|
151
|
+
}
|
|
152
|
+
/** Source maps for an Algorand app */
|
|
153
|
+
export interface AppSourceMaps {
|
|
154
|
+
/** The source map of the approval program */
|
|
155
|
+
approvalSourceMap: SourceMapExport;
|
|
156
|
+
/** The source map of the clear program */
|
|
157
|
+
clearSourceMap: SourceMapExport;
|
|
158
|
+
}
|
|
159
|
+
export interface SourceMapExport {
|
|
160
|
+
version: number;
|
|
161
|
+
sources: string[];
|
|
162
|
+
names: string[];
|
|
163
|
+
mappings: string;
|
|
164
|
+
}
|
|
165
|
+
/** Application client - a class that wraps an ARC-0032 app spec and provides high productivity methods to deploy and call the app */
|
|
166
|
+
export declare class ApplicationClient {
|
|
167
|
+
private algod;
|
|
168
|
+
private indexer?;
|
|
169
|
+
private appSpec;
|
|
170
|
+
private sender;
|
|
171
|
+
private params;
|
|
172
|
+
private existingDeployments;
|
|
173
|
+
private deployTimeParams?;
|
|
174
|
+
private _appId;
|
|
175
|
+
private _appAddress;
|
|
176
|
+
private _creator;
|
|
177
|
+
private _appName;
|
|
178
|
+
private _approvalSourceMap;
|
|
179
|
+
private _clearSourceMap;
|
|
180
|
+
/**
|
|
181
|
+
* Create a new ApplicationClient instance
|
|
182
|
+
* @param appDetails The details of the app
|
|
183
|
+
* @param algod An algod instance
|
|
184
|
+
*/
|
|
185
|
+
constructor(appDetails: AppSpecAppDetails, algod: Algodv2);
|
|
186
|
+
/**
|
|
187
|
+
* Compiles the approval and clear programs and sets up the source map.
|
|
188
|
+
* @param compilation The deploy-time parameters for the compilation
|
|
189
|
+
* @returns The compiled approval and clear programs
|
|
190
|
+
*/
|
|
191
|
+
compile(compilation?: AppClientCompilationParams): Promise<{
|
|
192
|
+
approvalCompiled: import("./app").CompiledTeal;
|
|
193
|
+
clearCompiled: import("./app").CompiledTeal;
|
|
194
|
+
}>;
|
|
195
|
+
/**
|
|
196
|
+
* Export the current source maps for the app.
|
|
197
|
+
* @returns The source maps
|
|
198
|
+
*/
|
|
199
|
+
exportSourceMaps(): AppSourceMaps;
|
|
200
|
+
/**
|
|
201
|
+
* Import source maps for the app.
|
|
202
|
+
* @param sourceMaps The source maps to import
|
|
203
|
+
*/
|
|
204
|
+
importSourceMaps(sourceMaps: AppSourceMaps): void;
|
|
205
|
+
/**
|
|
206
|
+
* Idempotently deploy (create, update/delete if changed) an app against the given name via the given creator account, including deploy-time template placeholder substitutions.
|
|
207
|
+
*
|
|
208
|
+
* To understand the architecture decisions behind this functionality please see https://github.com/algorandfoundation/algokit-cli/blob/main/docs/architecture-decisions/2023-01-12_smart-contract-deployment.md
|
|
209
|
+
*
|
|
210
|
+
* **Note:** if there is a breaking state schema change to an existing app (and `onSchemaBreak` is set to `'replace'`) the existing app will be deleted and re-created.
|
|
211
|
+
*
|
|
212
|
+
* **Note:** if there is an update (different TEAL code) to an existing app (and `onUpdate` is set to `'replace'`) the existing app will be deleted and re-created.
|
|
213
|
+
* @param deploy Deployment details
|
|
214
|
+
* @returns The metadata and transaction result(s) of the deployment, or just the metadata if it didn't need to issue transactions
|
|
215
|
+
*/
|
|
216
|
+
deploy(deploy?: AppClientDeployParams): Promise<(Partial<AppCompilationResult> & AppMetadata & {
|
|
217
|
+
operationPerformed: "nothing";
|
|
218
|
+
}) | {
|
|
219
|
+
compiledApproval: import("./app").CompiledTeal;
|
|
220
|
+
compiledClear: import("./app").CompiledTeal;
|
|
221
|
+
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
222
|
+
confirmations: algosdk.modelsv2.PendingTransactionResponse[];
|
|
223
|
+
transaction: algosdk.Transaction;
|
|
224
|
+
transactions: algosdk.Transaction[];
|
|
225
|
+
createdRound: number;
|
|
226
|
+
updatedRound: number;
|
|
227
|
+
createdMetadata: import("./app").AppDeployMetadata;
|
|
228
|
+
deleted: boolean;
|
|
229
|
+
appId: number | bigint;
|
|
230
|
+
appAddress: string;
|
|
231
|
+
name: string;
|
|
232
|
+
version: string;
|
|
233
|
+
deletable?: boolean | undefined;
|
|
234
|
+
updatable?: boolean | undefined;
|
|
235
|
+
return?: ABIReturn | undefined;
|
|
236
|
+
operationPerformed: "update" | "create";
|
|
237
|
+
} | {
|
|
238
|
+
compiledApproval: import("./app").CompiledTeal;
|
|
239
|
+
compiledClear: import("./app").CompiledTeal;
|
|
240
|
+
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
241
|
+
confirmations: algosdk.modelsv2.PendingTransactionResponse[];
|
|
242
|
+
transaction: algosdk.Transaction;
|
|
243
|
+
transactions: algosdk.Transaction[];
|
|
244
|
+
createdRound: number;
|
|
245
|
+
updatedRound: number;
|
|
246
|
+
createdMetadata: import("./app").AppDeployMetadata;
|
|
247
|
+
deleted: boolean;
|
|
248
|
+
appId: number | bigint;
|
|
249
|
+
appAddress: string;
|
|
250
|
+
name: string;
|
|
251
|
+
version: string;
|
|
252
|
+
deletable?: boolean | undefined;
|
|
253
|
+
updatable?: boolean | undefined;
|
|
254
|
+
return?: ABIReturn | undefined;
|
|
255
|
+
deleteReturn?: ABIReturn | undefined;
|
|
256
|
+
deleteResult: import("./transaction").ConfirmedTransactionResult;
|
|
257
|
+
operationPerformed: "replace";
|
|
258
|
+
}>;
|
|
259
|
+
/**
|
|
260
|
+
* Creates a smart contract app, returns the details of the created app.
|
|
261
|
+
* @param create The parameters to create the app with
|
|
262
|
+
* @returns The details of the created app, or the transaction to create it if `skipSending` and the compilation result
|
|
263
|
+
*/
|
|
264
|
+
create(create?: AppClientCreateParams): Promise<{
|
|
265
|
+
compiledApproval: import("./app").CompiledTeal;
|
|
266
|
+
compiledClear: import("./app").CompiledTeal;
|
|
267
|
+
return?: ABIReturn | undefined;
|
|
268
|
+
transactions: algosdk.Transaction[];
|
|
269
|
+
confirmations?: algosdk.modelsv2.PendingTransactionResponse[] | undefined;
|
|
270
|
+
transaction: algosdk.Transaction;
|
|
271
|
+
confirmation?: algosdk.modelsv2.PendingTransactionResponse | undefined;
|
|
272
|
+
appId: number | bigint;
|
|
273
|
+
appAddress: string;
|
|
274
|
+
}>;
|
|
275
|
+
/**
|
|
276
|
+
* Updates the smart contract app.
|
|
277
|
+
* @param update The parameters to update the app with
|
|
278
|
+
* @returns The transaction send result and the compilation result
|
|
279
|
+
*/
|
|
280
|
+
update(update?: AppClientUpdateParams): Promise<{
|
|
281
|
+
compiledApproval: import("./app").CompiledTeal;
|
|
282
|
+
compiledClear: import("./app").CompiledTeal;
|
|
283
|
+
return?: ABIReturn | undefined;
|
|
284
|
+
transactions: algosdk.Transaction[];
|
|
285
|
+
confirmations?: algosdk.modelsv2.PendingTransactionResponse[] | undefined;
|
|
286
|
+
transaction: algosdk.Transaction;
|
|
287
|
+
confirmation?: algosdk.modelsv2.PendingTransactionResponse | undefined;
|
|
288
|
+
}>;
|
|
289
|
+
/**
|
|
290
|
+
* Issues a no_op (normal) call to the app.
|
|
291
|
+
* @param call The call details.
|
|
292
|
+
* @returns The result of the call
|
|
293
|
+
*/
|
|
294
|
+
call(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
|
|
295
|
+
/**
|
|
296
|
+
* Issues a opt_in call to the app.
|
|
297
|
+
* @param call The call details.
|
|
298
|
+
* @returns The result of the call
|
|
299
|
+
*/
|
|
300
|
+
optIn(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
|
|
301
|
+
/**
|
|
302
|
+
* Issues a close_out call to the app.
|
|
303
|
+
* @param call The call details.
|
|
304
|
+
* @returns The result of the call
|
|
305
|
+
*/
|
|
306
|
+
closeOut(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
|
|
307
|
+
/**
|
|
308
|
+
* Issues a clear_state call to the app.
|
|
309
|
+
* @param call The call details.
|
|
310
|
+
* @returns The result of the call
|
|
311
|
+
*/
|
|
312
|
+
clearState(call?: AppClientClearStateParams): Promise<AppCallTransactionResult>;
|
|
313
|
+
/**
|
|
314
|
+
* Issues a delete_application call to the app.
|
|
315
|
+
* @param call The call details.
|
|
316
|
+
* @returns The result of the call
|
|
317
|
+
*/
|
|
318
|
+
delete(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
|
|
319
|
+
/**
|
|
320
|
+
* Issues a call to the app with the given call type.
|
|
321
|
+
* @param call The call details.
|
|
322
|
+
* @param callType The call type
|
|
323
|
+
* @returns The result of the call
|
|
324
|
+
*/
|
|
325
|
+
callOfType(call: AppClientCallParams | undefined, callType: Exclude<AppCallType, 'update_application'> | Exclude<OnApplicationComplete, OnApplicationComplete.UpdateApplicationOC>): Promise<AppCallTransactionResult>;
|
|
326
|
+
/**
|
|
327
|
+
* Funds ALGOs into the app account for this app.
|
|
328
|
+
* @param fund The parameters for the funding or the funding amount
|
|
329
|
+
* @returns The result of the funding
|
|
330
|
+
*/
|
|
331
|
+
fundAppAccount(fund: FundAppAccountParams | AlgoAmount): Promise<import("./transaction").SendTransactionResult>;
|
|
332
|
+
/**
|
|
333
|
+
* Returns global state for the current app.
|
|
334
|
+
* @returns The global state
|
|
335
|
+
*/
|
|
336
|
+
getGlobalState(): Promise<AppState>;
|
|
337
|
+
/**
|
|
338
|
+
* Returns local state for the given account / account address.
|
|
339
|
+
* @returns The global state
|
|
340
|
+
*/
|
|
341
|
+
getLocalState(account: string | SendTransactionFrom): Promise<AppState>;
|
|
342
|
+
/**
|
|
343
|
+
* Returns the names of all current boxes for the current app.
|
|
344
|
+
* @returns The names of the boxes
|
|
345
|
+
*/
|
|
346
|
+
getBoxNames(): Promise<BoxName[]>;
|
|
347
|
+
/**
|
|
348
|
+
* Returns the value of the given box for the current app.
|
|
349
|
+
* @param name The name of the box to return either as a string, binary array or `BoxName`
|
|
350
|
+
* @returns The current box value as a byte array
|
|
351
|
+
*/
|
|
352
|
+
getBoxValue(name: BoxName | string | Uint8Array): Promise<Uint8Array>;
|
|
353
|
+
/**
|
|
354
|
+
* Returns the value of the given box for the current app.
|
|
355
|
+
* @param name The name of the box to return either as a string, binary array or `BoxName`
|
|
356
|
+
* @param type
|
|
357
|
+
* @returns The current box value as a byte array
|
|
358
|
+
*/
|
|
359
|
+
getBoxValueFromABIType(name: BoxName | string | Uint8Array, type: ABIType): Promise<ABIValue>;
|
|
360
|
+
/**
|
|
361
|
+
* Returns the values of all current boxes for the current app.
|
|
362
|
+
* Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
|
|
363
|
+
* @param filter Optional filter to filter which boxes' values are returned
|
|
364
|
+
* @returns The (name, value) pair of the boxes with values as raw byte arrays
|
|
365
|
+
*/
|
|
366
|
+
getBoxValues(filter?: (name: BoxName) => boolean): Promise<{
|
|
367
|
+
name: BoxName;
|
|
368
|
+
value: Uint8Array;
|
|
369
|
+
}[]>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns the values of all current boxes for the current app decoded using an ABI Type.
|
|
372
|
+
* Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
|
|
373
|
+
* @param type The ABI type to decode the values with
|
|
374
|
+
* @param filter Optional filter to filter which boxes' values are returned
|
|
375
|
+
* @returns The (name, value) pair of the boxes with values as the ABI Value
|
|
376
|
+
*/
|
|
377
|
+
getBoxValuesFromABIType(type: ABIType, filter?: (name: BoxName) => boolean): Promise<{
|
|
378
|
+
name: BoxName;
|
|
379
|
+
value: ABIValue;
|
|
380
|
+
}[]>;
|
|
381
|
+
/**
|
|
382
|
+
* Returns the arguments for an app call for the given ABI method or raw method specification.
|
|
383
|
+
* @param args The call args specific to this application client
|
|
384
|
+
* @param sender The sender of this call. Will be used to fetch any default argument values if applicable
|
|
385
|
+
* @returns The call args ready to pass into an app call
|
|
386
|
+
*/
|
|
387
|
+
getCallArgs(args: AppClientCallArgs | undefined, sender: SendTransactionFrom): Promise<AppCallArgs | undefined>;
|
|
388
|
+
/**
|
|
389
|
+
* Returns the ABI Method parameters for the given method name string for the app represented by this application client instance
|
|
390
|
+
* @param method Either the name of the method or the ABI method spec definition string
|
|
391
|
+
* @returns The ABI method params for the given method
|
|
392
|
+
*/
|
|
393
|
+
getABIMethodParams(method: string): ABIMethodParams | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* Returns the ABI Method for the given method name string for the app represented by this application client instance
|
|
396
|
+
* @param method Either the name of the method or the ABI method spec definition string
|
|
397
|
+
* @returns The ABI method for the given method
|
|
398
|
+
*/
|
|
399
|
+
getABIMethod(method: string): ABIMethod | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Gets the reference information for the current application instance.
|
|
402
|
+
* `appId` will be 0 if it can't find an app.
|
|
403
|
+
* @returns The app reference, or if deployed using the `deploy` method, the app metadata too
|
|
404
|
+
*/
|
|
405
|
+
getAppReference(): Promise<AppMetadata | AppReference>;
|
|
406
|
+
/**
|
|
407
|
+
* Takes an error that may include a logic error from a smart contract call and re-exposes the error to include source code information via the source map.
|
|
408
|
+
* This is automatically used within `ApplicationClient` but if you pass `skipSending: true` e.g. if doing a group transaction
|
|
409
|
+
* then you can use this in a try/catch block to get better debugging information.
|
|
410
|
+
* @param e The error to parse
|
|
411
|
+
* @param isClear Whether or not the code was running the clear state program
|
|
412
|
+
* @returns The new error, or if there was no logic error or source map then the wrapped error with source details
|
|
413
|
+
*/
|
|
414
|
+
exposeLogicError(e: Error, isClear?: boolean): Error;
|
|
415
|
+
}
|
|
72
416
|
//# sourceMappingURL=app-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-client.d.ts","sourceRoot":"","sources":["../../src/app-client.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"app-client.d.ts","sourceRoot":"","sources":["../../src/types/app-client.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAmB7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAEL,cAAc,EACd,SAAS,EACT,WAAW,EACX,wBAAwB,EACxB,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EAEP,aAAa,EACb,QAAQ,EACR,cAAc,EACd,kBAAkB,EAEnB,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAGpC,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC3F,OAAO,SAAS,GAAG,OAAO,CAAC,SAAS,CAA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