@algorandfoundation/algokit-utils 6.2.1 → 7.0.0-alpha.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/LICENSE +21 -0
- package/README.md +22 -26
- package/account/account.d.ts +21 -11
- package/account/get-account-config-from-environment.d.ts +0 -1
- package/account/get-account.d.ts +6 -7
- package/account/get-dispenser-account.d.ts +2 -3
- package/account/index.d.ts +0 -1
- package/account/mnemonic-account.d.ts +1 -2
- package/amount.d.ts +41 -9
- package/app-client.d.ts +19 -5
- package/app-deploy.d.ts +18 -2
- package/app.d.ts +39 -3
- package/asset.d.ts +10 -1
- package/config.d.ts +0 -1
- package/debugging/debugging.d.ts +3 -5
- package/debugging/index.d.ts +0 -2
- package/dispenser-client.d.ts +1 -2
- package/index.d.ts +8 -6
- package/index.js +61 -48
- package/index.js.map +1 -1
- package/index.mjs +27 -24
- package/index.mjs.map +1 -1
- package/indexer-lookup.d.ts +10 -9
- package/localnet/get-kmd-wallet-account.d.ts +1 -2
- package/localnet/get-localnet-dispenser-account.d.ts +1 -2
- package/localnet/get-or-create-kmd-wallet-account.d.ts +2 -3
- package/localnet/index.d.ts +0 -1
- package/localnet/is-localnet.d.ts +1 -2
- package/network-client.d.ts +3 -10
- package/package.json +5 -5
- package/{account → src/account}/account.js +38 -15
- package/src/account/account.js.map +1 -0
- package/{account → src/account}/account.mjs +39 -16
- package/src/account/account.mjs.map +1 -0
- package/src/account/get-account-config-from-environment.js.map +1 -0
- package/src/account/get-account-config-from-environment.mjs.map +1 -0
- package/{account → src/account}/get-account.js +5 -5
- package/src/account/get-account.js.map +1 -0
- package/{account → src/account}/get-account.mjs +5 -5
- package/src/account/get-account.mjs.map +1 -0
- package/{account → src/account}/get-dispenser-account.js +3 -3
- package/src/account/get-dispenser-account.js.map +1 -0
- package/{account → src/account}/get-dispenser-account.mjs +3 -3
- package/src/account/get-dispenser-account.mjs.map +1 -0
- package/{account → src/account}/mnemonic-account.js +1 -1
- package/src/account/mnemonic-account.js.map +1 -0
- package/{account → src/account}/mnemonic-account.mjs +1 -1
- package/src/account/mnemonic-account.mjs.map +1 -0
- package/src/amount.js +61 -0
- package/src/amount.js.map +1 -0
- package/src/amount.mjs +54 -0
- package/src/amount.mjs.map +1 -0
- package/{app-client.js → src/app-client.js} +20 -5
- package/src/app-client.js.map +1 -0
- package/{app-client.mjs → src/app-client.mjs} +20 -5
- package/src/app-client.mjs.map +1 -0
- package/src/app-deploy.js +285 -0
- package/src/app-deploy.js.map +1 -0
- package/src/app-deploy.mjs +276 -0
- package/src/app-deploy.mjs.map +1 -0
- package/src/app.js +349 -0
- package/src/app.js.map +1 -0
- package/src/app.mjs +329 -0
- package/src/app.mjs.map +1 -0
- package/src/asset.js +142 -0
- package/src/asset.js.map +1 -0
- package/src/asset.mjs +136 -0
- package/src/asset.mjs.map +1 -0
- package/{config.js → src/config.js} +1 -1
- package/src/config.js.map +1 -0
- package/{config.mjs → src/config.mjs} +1 -1
- package/src/config.mjs.map +1 -0
- package/src/debugging/debugging.js +15 -0
- package/src/debugging/debugging.js.map +1 -0
- package/src/debugging/debugging.mjs +13 -0
- package/src/debugging/debugging.mjs.map +1 -0
- package/{dispenser-client.js → src/dispenser-client.js} +3 -3
- package/src/dispenser-client.js.map +1 -0
- package/{dispenser-client.mjs → src/dispenser-client.mjs} +3 -3
- package/src/dispenser-client.mjs.map +1 -0
- package/{indexer-lookup.js → src/indexer-lookup.js} +14 -10
- package/src/indexer-lookup.js.map +1 -0
- package/{indexer-lookup.mjs → src/indexer-lookup.mjs} +14 -10
- package/src/indexer-lookup.mjs.map +1 -0
- package/{localnet → src/localnet}/get-kmd-wallet-account.js +3 -3
- package/src/localnet/get-kmd-wallet-account.js.map +1 -0
- package/{localnet → src/localnet}/get-kmd-wallet-account.mjs +3 -3
- package/src/localnet/get-kmd-wallet-account.mjs.map +1 -0
- package/{localnet → src/localnet}/get-localnet-dispenser-account.js +3 -3
- package/src/localnet/get-localnet-dispenser-account.js.map +1 -0
- package/{localnet → src/localnet}/get-localnet-dispenser-account.mjs +3 -3
- package/src/localnet/get-localnet-dispenser-account.mjs.map +1 -0
- package/{localnet → src/localnet}/get-or-create-kmd-wallet-account.js +4 -4
- package/src/localnet/get-or-create-kmd-wallet-account.js.map +1 -0
- package/{localnet → src/localnet}/get-or-create-kmd-wallet-account.mjs +4 -4
- package/src/localnet/get-or-create-kmd-wallet-account.mjs.map +1 -0
- package/{localnet → src/localnet}/is-localnet.js +2 -2
- package/src/localnet/is-localnet.js.map +1 -0
- package/{localnet → src/localnet}/is-localnet.mjs +2 -2
- package/src/localnet/is-localnet.mjs.map +1 -0
- package/{network-client.js → src/network-client.js} +5 -12
- package/src/network-client.js.map +1 -0
- package/{network-client.mjs → src/network-client.mjs} +5 -12
- package/src/network-client.mjs.map +1 -0
- package/{testing → src/testing}/account.js +16 -4
- package/src/testing/account.js.map +1 -0
- package/{testing → src/testing}/account.mjs +17 -5
- package/src/testing/account.mjs.map +1 -0
- package/src/testing/fixtures/algokit-log-capture-fixture.js.map +1 -0
- package/src/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -0
- package/{testing → src/testing}/fixtures/algorand-fixture.js +18 -14
- package/src/testing/fixtures/algorand-fixture.js.map +1 -0
- package/{testing → src/testing}/fixtures/algorand-fixture.mjs +18 -14
- package/src/testing/fixtures/algorand-fixture.mjs.map +1 -0
- package/src/testing/indexer.js.map +1 -0
- package/src/testing/indexer.mjs.map +1 -0
- package/{testing → src/testing}/test-logger.js +7 -3
- package/src/testing/test-logger.js.map +1 -0
- package/{testing → src/testing}/test-logger.mjs +7 -3
- package/src/testing/test-logger.mjs.map +1 -0
- package/src/testing/transaction-logger.js.map +1 -0
- package/src/testing/transaction-logger.mjs.map +1 -0
- package/src/transaction/legacy-bridge.js +129 -0
- package/src/transaction/legacy-bridge.js.map +1 -0
- package/src/transaction/legacy-bridge.mjs +124 -0
- package/src/transaction/legacy-bridge.mjs.map +1 -0
- package/{transaction → src/transaction}/perform-atomic-transaction-composer-simulate.js +14 -9
- package/src/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -0
- package/{transaction → src/transaction}/perform-atomic-transaction-composer-simulate.mjs +15 -10
- package/src/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -0
- package/{transaction → src/transaction}/transaction.js +221 -141
- package/src/transaction/transaction.js.map +1 -0
- package/{transaction → src/transaction}/transaction.mjs +222 -142
- package/src/transaction/transaction.mjs.map +1 -0
- package/src/transfer/transfer-algos.js +31 -0
- package/src/transfer/transfer-algos.js.map +1 -0
- package/src/transfer/transfer-algos.mjs +29 -0
- package/src/transfer/transfer-algos.mjs.map +1 -0
- package/src/transfer/transfer.js +112 -0
- package/src/transfer/transfer.js.map +1 -0
- package/src/transfer/transfer.mjs +108 -0
- package/src/transfer/transfer.mjs.map +1 -0
- package/{util.js → src/util.js} +33 -7
- package/src/util.js.map +1 -0
- package/{util.mjs → src/util.mjs} +31 -7
- package/src/util.mjs.map +1 -0
- package/testing/_asset.d.ts +3 -5
- package/testing/account.d.ts +4 -4
- package/testing/fixtures/algokit-log-capture-fixture.d.ts +0 -1
- package/testing/fixtures/algorand-fixture.d.ts +1 -2
- package/testing/fixtures/index.d.ts +0 -1
- package/testing/index.d.ts +0 -1
- package/testing/index.js +6 -6
- package/testing/index.mjs +6 -6
- package/testing/indexer.d.ts +0 -1
- package/testing/test-logger.d.ts +0 -1
- package/testing/transaction-logger.d.ts +0 -1
- package/transaction/index.d.ts +0 -1
- package/transaction/legacy-bridge.d.ts +35 -0
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts +4 -2
- package/transaction/transaction.d.ts +39 -20
- package/transfer/index.d.ts +0 -1
- package/transfer/transfer-algos.d.ts +4 -3
- package/transfer/transfer.d.ts +8 -2
- package/types/account-manager.d.ts +165 -40
- package/types/account-manager.js +255 -59
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +255 -59
- package/types/account-manager.mjs.map +1 -1
- package/types/account.d.ts +137 -14
- package/types/account.js +2 -2
- package/types/account.js.map +1 -1
- package/types/account.mjs +3 -3
- package/types/account.mjs.map +1 -1
- package/types/algo-http-client-with-retry.d.ts +1 -3
- package/types/algo-http-client-with-retry.js +34 -4
- package/types/algo-http-client-with-retry.js.map +1 -1
- package/types/algo-http-client-with-retry.mjs +33 -3
- package/types/algo-http-client-with-retry.mjs.map +1 -1
- package/types/algorand-client-interface.d.ts +28 -0
- package/types/algorand-client-interface.js +3 -0
- package/types/algorand-client-interface.js.map +1 -0
- package/types/algorand-client-interface.mjs +2 -0
- package/types/algorand-client-interface.mjs.map +1 -0
- package/types/algorand-client-transaction-creator.d.ts +718 -0
- package/types/algorand-client-transaction-creator.js +683 -0
- package/types/algorand-client-transaction-creator.js.map +1 -0
- package/types/algorand-client-transaction-creator.mjs +681 -0
- package/types/algorand-client-transaction-creator.mjs.map +1 -0
- package/types/algorand-client-transaction-sender.d.ts +1158 -0
- package/types/algorand-client-transaction-sender.js +852 -0
- package/types/algorand-client-transaction-sender.js.map +1 -0
- package/types/algorand-client-transaction-sender.mjs +850 -0
- package/types/algorand-client-transaction-sender.mjs.map +1 -0
- package/types/algorand-client.d.ts +48 -91
- package/types/algorand-client.js +53 -132
- package/types/algorand-client.js.map +1 -1
- package/types/algorand-client.mjs +55 -131
- package/types/algorand-client.mjs.map +1 -1
- package/types/amount.d.ts +23 -12
- package/types/amount.js +33 -10
- package/types/amount.js.map +1 -1
- package/types/amount.mjs +33 -10
- package/types/amount.mjs.map +1 -1
- package/types/app-arc56.d.ts +359 -0
- package/types/app-arc56.js +184 -0
- package/types/app-arc56.js.map +1 -0
- package/types/app-arc56.mjs +175 -0
- package/types/app-arc56.mjs.map +1 -0
- package/types/app-client.d.ts +1511 -15
- package/types/app-client.js +1029 -43
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +1030 -45
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +126 -0
- package/types/app-deployer.js +353 -0
- package/types/app-deployer.js.map +1 -0
- package/types/app-deployer.mjs +351 -0
- package/types/app-deployer.mjs.map +1 -0
- package/types/app-factory.d.ts +846 -0
- package/types/app-factory.js +410 -0
- package/types/app-factory.js.map +1 -0
- package/types/app-factory.mjs +408 -0
- package/types/app-factory.mjs.map +1 -0
- package/types/app-manager.d.ts +244 -0
- package/types/app-manager.js +423 -0
- package/types/app-manager.js.map +1 -0
- package/types/app-manager.mjs +421 -0
- package/types/app-manager.mjs.map +1 -0
- package/types/app-spec.d.ts +2 -1
- package/types/app-spec.js +127 -0
- package/types/app-spec.js.map +1 -1
- package/types/app-spec.mjs +126 -0
- package/types/app-spec.mjs.map +1 -1
- package/types/app.d.ts +57 -18
- package/types/app.js +1 -1
- package/types/app.js.map +1 -1
- package/types/app.mjs +1 -1
- package/types/app.mjs.map +1 -1
- package/types/asset-manager.d.ts +205 -0
- package/types/asset-manager.js +176 -0
- package/types/asset-manager.js.map +1 -0
- package/types/asset-manager.mjs +174 -0
- package/types/asset-manager.mjs.map +1 -0
- package/types/asset.d.ts +4 -5
- package/types/async-event-emitter.d.ts +14 -0
- package/types/async-event-emitter.js +50 -0
- package/types/async-event-emitter.js.map +1 -0
- package/types/async-event-emitter.mjs +48 -0
- package/types/async-event-emitter.mjs.map +1 -0
- package/types/client-manager.d.ts +171 -58
- package/types/client-manager.js +198 -43
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs +199 -44
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +474 -132
- package/types/composer.js +461 -167
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +461 -168
- package/types/composer.mjs.map +1 -1
- package/types/config.d.ts +3 -6
- package/types/config.js +5 -44
- package/types/config.js.map +1 -1
- package/types/config.mjs +5 -27
- package/types/config.mjs.map +1 -1
- package/types/debugging.d.ts +29 -101
- package/types/debugging.js +16 -109
- package/types/debugging.js.map +1 -1
- package/types/debugging.mjs +12 -107
- package/types/debugging.mjs.map +1 -1
- package/types/dispenser-client.d.ts +14 -6
- package/types/dispenser-client.js +19 -14
- package/types/dispenser-client.js.map +1 -1
- package/types/dispenser-client.mjs +19 -14
- package/types/dispenser-client.mjs.map +1 -1
- package/types/expand.d.ts +7 -0
- package/types/expand.js +3 -0
- package/types/expand.js.map +1 -0
- package/types/expand.mjs +2 -0
- package/types/expand.mjs.map +1 -0
- package/types/indexer.d.ts +74 -756
- package/types/indexer.js.map +1 -1
- package/types/indexer.mjs.map +1 -1
- package/types/kmd-account-manager.d.ts +5 -6
- package/types/kmd-account-manager.js +9 -9
- package/types/kmd-account-manager.js.map +1 -1
- package/types/kmd-account-manager.mjs +10 -10
- package/types/kmd-account-manager.mjs.map +1 -1
- package/types/lifecycle-events.d.ts +10 -0
- package/types/lifecycle-events.js +8 -0
- package/types/lifecycle-events.js.map +1 -0
- package/types/lifecycle-events.mjs +8 -0
- package/types/lifecycle-events.mjs.map +1 -0
- package/types/logging.d.ts +0 -1
- package/types/logging.js.map +1 -1
- package/types/logging.mjs.map +1 -1
- package/types/logic-error.d.ts +2 -4
- package/types/logic-error.js +3 -3
- package/types/logic-error.js.map +1 -1
- package/types/logic-error.mjs +3 -3
- package/types/logic-error.mjs.map +1 -1
- package/types/network-client.d.ts +21 -3
- package/types/network-client.js +10 -0
- package/types/network-client.js.map +1 -1
- package/types/network-client.mjs +9 -0
- package/types/network-client.mjs.map +1 -1
- package/types/testing.d.ts +9 -11
- package/types/transaction.d.ts +17 -4
- package/types/transfer.d.ts +8 -8
- package/util.d.ts +15 -2
- package/account/account.d.ts.map +0 -1
- package/account/account.js.map +0 -1
- package/account/account.mjs.map +0 -1
- package/account/get-account-config-from-environment.d.ts.map +0 -1
- package/account/get-account-config-from-environment.js.map +0 -1
- package/account/get-account-config-from-environment.mjs.map +0 -1
- package/account/get-account.d.ts.map +0 -1
- package/account/get-account.js.map +0 -1
- package/account/get-account.mjs.map +0 -1
- package/account/get-dispenser-account.d.ts.map +0 -1
- package/account/get-dispenser-account.js.map +0 -1
- package/account/get-dispenser-account.mjs.map +0 -1
- package/account/index.d.ts.map +0 -1
- package/account/mnemonic-account.d.ts.map +0 -1
- package/account/mnemonic-account.js.map +0 -1
- package/account/mnemonic-account.mjs.map +0 -1
- package/amount.d.ts.map +0 -1
- package/amount.js +0 -34
- package/amount.js.map +0 -1
- package/amount.mjs +0 -30
- package/amount.mjs.map +0 -1
- package/app-client.d.ts.map +0 -1
- package/app-client.js.map +0 -1
- package/app-client.mjs.map +0 -1
- package/app-deploy.d.ts.map +0 -1
- package/app-deploy.js +0 -468
- package/app-deploy.js.map +0 -1
- package/app-deploy.mjs +0 -459
- package/app-deploy.mjs.map +0 -1
- package/app.d.ts.map +0 -1
- package/app.js +0 -599
- package/app.js.map +0 -1
- package/app.mjs +0 -579
- package/app.mjs.map +0 -1
- package/asset.d.ts.map +0 -1
- package/asset.js +0 -272
- package/asset.js.map +0 -1
- package/asset.mjs +0 -266
- package/asset.mjs.map +0 -1
- package/config.d.ts.map +0 -1
- package/config.js.map +0 -1
- package/config.mjs.map +0 -1
- package/debugging/debugging.d.ts.map +0 -1
- package/debugging/debugging.js +0 -139
- package/debugging/debugging.js.map +0 -1
- package/debugging/debugging.mjs +0 -118
- package/debugging/debugging.mjs.map +0 -1
- package/debugging/index.d.ts.map +0 -1
- package/debugging/simulate-and-persist-response.d.ts +0 -20
- package/debugging/simulate-and-persist-response.d.ts.map +0 -1
- package/debugging/simulate-and-persist-response.js +0 -108
- package/debugging/simulate-and-persist-response.js.map +0 -1
- package/debugging/simulate-and-persist-response.mjs +0 -89
- package/debugging/simulate-and-persist-response.mjs.map +0 -1
- package/dispenser-client.d.ts.map +0 -1
- package/dispenser-client.js.map +0 -1
- package/dispenser-client.mjs.map +0 -1
- package/index.d.ts.map +0 -1
- package/indexer-lookup.d.ts.map +0 -1
- package/indexer-lookup.js.map +0 -1
- package/indexer-lookup.mjs.map +0 -1
- package/localnet/get-kmd-wallet-account.d.ts.map +0 -1
- package/localnet/get-kmd-wallet-account.js.map +0 -1
- package/localnet/get-kmd-wallet-account.mjs.map +0 -1
- package/localnet/get-localnet-dispenser-account.d.ts.map +0 -1
- package/localnet/get-localnet-dispenser-account.js.map +0 -1
- package/localnet/get-localnet-dispenser-account.mjs.map +0 -1
- package/localnet/get-or-create-kmd-wallet-account.d.ts.map +0 -1
- package/localnet/get-or-create-kmd-wallet-account.js.map +0 -1
- package/localnet/get-or-create-kmd-wallet-account.mjs.map +0 -1
- package/localnet/index.d.ts.map +0 -1
- package/localnet/is-localnet.d.ts.map +0 -1
- package/localnet/is-localnet.js.map +0 -1
- package/localnet/is-localnet.mjs.map +0 -1
- package/network-client.d.ts.map +0 -1
- package/network-client.js.map +0 -1
- package/network-client.mjs.map +0 -1
- package/testing/_asset.d.ts.map +0 -1
- package/testing/account.d.ts.map +0 -1
- package/testing/account.js.map +0 -1
- package/testing/account.mjs.map +0 -1
- package/testing/fixtures/algokit-log-capture-fixture.d.ts.map +0 -1
- package/testing/fixtures/algokit-log-capture-fixture.js.map +0 -1
- package/testing/fixtures/algokit-log-capture-fixture.mjs.map +0 -1
- package/testing/fixtures/algorand-fixture.d.ts.map +0 -1
- package/testing/fixtures/algorand-fixture.js.map +0 -1
- package/testing/fixtures/algorand-fixture.mjs.map +0 -1
- package/testing/fixtures/index.d.ts.map +0 -1
- package/testing/index.d.ts.map +0 -1
- package/testing/indexer.d.ts.map +0 -1
- package/testing/indexer.js.map +0 -1
- package/testing/indexer.mjs.map +0 -1
- package/testing/test-logger.d.ts.map +0 -1
- package/testing/test-logger.js.map +0 -1
- package/testing/test-logger.mjs.map +0 -1
- package/testing/transaction-logger.d.ts.map +0 -1
- package/testing/transaction-logger.js.map +0 -1
- package/testing/transaction-logger.mjs.map +0 -1
- package/transaction/index.d.ts.map +0 -1
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts.map +0 -1
- package/transaction/perform-atomic-transaction-composer-simulate.js.map +0 -1
- package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +0 -1
- package/transaction/transaction.d.ts.map +0 -1
- package/transaction/transaction.js.map +0 -1
- package/transaction/transaction.mjs.map +0 -1
- package/transfer/index.d.ts.map +0 -1
- package/transfer/transfer-algos.d.ts.map +0 -1
- package/transfer/transfer-algos.js +0 -40
- package/transfer/transfer-algos.js.map +0 -1
- package/transfer/transfer-algos.mjs +0 -38
- package/transfer/transfer-algos.mjs.map +0 -1
- package/transfer/transfer.d.ts.map +0 -1
- package/transfer/transfer.js +0 -147
- package/transfer/transfer.js.map +0 -1
- package/transfer/transfer.mjs +0 -143
- package/transfer/transfer.mjs.map +0 -1
- package/types/account-manager.d.ts.map +0 -1
- package/types/account.d.ts.map +0 -1
- package/types/algo-http-client-with-retry.d.ts.map +0 -1
- package/types/algorand-client.d.ts.map +0 -1
- package/types/amount.d.ts.map +0 -1
- package/types/app-client.d.ts.map +0 -1
- package/types/app-spec.d.ts.map +0 -1
- package/types/app.d.ts.map +0 -1
- package/types/asset.d.ts.map +0 -1
- package/types/client-manager.d.ts.map +0 -1
- package/types/composer.d.ts.map +0 -1
- package/types/config.d.ts.map +0 -1
- package/types/debugging.d.ts.map +0 -1
- package/types/dispenser-client.d.ts.map +0 -1
- package/types/indexer.d.ts.map +0 -1
- package/types/kmd-account-manager.d.ts.map +0 -1
- package/types/logging.d.ts.map +0 -1
- package/types/logic-error.d.ts.map +0 -1
- package/types/network-client.d.ts.map +0 -1
- package/types/testing.d.ts.map +0 -1
- package/types/transaction.d.ts.map +0 -1
- package/types/transfer.d.ts.map +0 -1
- package/types/urlTokenBaseHTTPClient.d.ts +0 -41
- package/types/urlTokenBaseHTTPClient.d.ts.map +0 -1
- package/types/urlTokenBaseHTTPClient.js +0 -153
- package/types/urlTokenBaseHTTPClient.js.map +0 -1
- package/types/urlTokenBaseHTTPClient.mjs +0 -151
- package/types/urlTokenBaseHTTPClient.mjs.map +0 -1
- package/util.d.ts.map +0 -1
- package/util.js.map +0 -1
- package/util.mjs.map +0 -1
- /package/{account → src/account}/get-account-config-from-environment.js +0 -0
- /package/{account → src/account}/get-account-config-from-environment.mjs +0 -0
- /package/{testing → src/testing}/fixtures/algokit-log-capture-fixture.js +0 -0
- /package/{testing → src/testing}/fixtures/algokit-log-capture-fixture.mjs +0 -0
- /package/{testing → src/testing}/indexer.js +0 -0
- /package/{testing → src/testing}/indexer.mjs +0 -0
- /package/{testing → src/testing}/transaction-logger.js +0 -0
- /package/{testing → src/testing}/transaction-logger.mjs +0 -0
package/app.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ import Algodv2 = algosdk.Algodv2;
|
|
|
8
8
|
import modelsv2 = algosdk.modelsv2;
|
|
9
9
|
import OnApplicationComplete = algosdk.OnApplicationComplete;
|
|
10
10
|
/**
|
|
11
|
+
* @deprecated Use `algorand.send.appCreate()` / `algorand.createTransaction.appCreate()` / `algorand.send.appCreateMethodCall()`
|
|
12
|
+
* / `algorand.createTransaction.appCreateMethodCall()` instead
|
|
13
|
+
*
|
|
11
14
|
* Creates a smart contract app, returns the details of the created app.
|
|
12
15
|
* @param create The parameters to create the app with
|
|
13
16
|
* @param algod An algod client
|
|
@@ -15,13 +18,19 @@ import OnApplicationComplete = algosdk.OnApplicationComplete;
|
|
|
15
18
|
*/
|
|
16
19
|
export declare function createApp(create: CreateAppParams, algod: Algodv2): Promise<Partial<AppCompilationResult> & AppCallTransactionResult & AppReference>;
|
|
17
20
|
/**
|
|
21
|
+
* @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
|
|
22
|
+
* / `algorand.createTransaction.appUpdateMethodCall()` instead
|
|
23
|
+
*
|
|
18
24
|
* Updates a smart contract app.
|
|
19
25
|
* @param update The parameters to update the app with
|
|
20
26
|
* @param algod An algod client
|
|
21
27
|
* @returns The transaction send result and the compilation result
|
|
22
28
|
*/
|
|
23
29
|
export declare function updateApp(update: UpdateAppParams, algod: Algodv2): Promise<Partial<AppCompilationResult> & AppCallTransactionResult>;
|
|
24
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use `algosdk.OnApplicationComplete` directly instead.
|
|
32
|
+
*
|
|
33
|
+
* Returns a `algosdk.OnApplicationComplete` for the given onCompleteAction.
|
|
25
34
|
*
|
|
26
35
|
* If given `undefined` will return `OnApplicationComplete.NoOpOC`.
|
|
27
36
|
*
|
|
@@ -32,6 +41,9 @@ export declare function updateApp(update: UpdateAppParams, algod: Algodv2): Prom
|
|
|
32
41
|
*/
|
|
33
42
|
export declare function getAppOnCompleteAction(onCompletionAction?: AppCallType | OnApplicationComplete): algosdk.OnApplicationComplete;
|
|
34
43
|
/**
|
|
44
|
+
* @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
|
|
45
|
+
* / `algorand.createTransaction.appUpdateMethodCall()` instead
|
|
46
|
+
*
|
|
35
47
|
* Issues a call to a given app.
|
|
36
48
|
* @param call The call details.
|
|
37
49
|
* @param algod An algod client
|
|
@@ -39,6 +51,8 @@ export declare function getAppOnCompleteAction(onCompletionAction?: AppCallType
|
|
|
39
51
|
*/
|
|
40
52
|
export declare function callApp(call: AppCallParams, algod: Algodv2): Promise<AppCallTransactionResult>;
|
|
41
53
|
/**
|
|
54
|
+
* @deprecated Use `AppManager.getABIReturn` instead.
|
|
55
|
+
*
|
|
42
56
|
* Returns any ABI return values for the given app call arguments and transaction confirmation.
|
|
43
57
|
* @param args The arguments that were used for the call
|
|
44
58
|
* @param confirmation The transaction confirmation from algod
|
|
@@ -46,6 +60,8 @@ export declare function callApp(call: AppCallParams, algod: Algodv2): Promise<Ap
|
|
|
46
60
|
*/
|
|
47
61
|
export declare function getABIReturn(args?: AppCallArgs, confirmation?: modelsv2.PendingTransactionResponse): ABIReturn | undefined;
|
|
48
62
|
/**
|
|
63
|
+
* @deprecated Use `algorand.app.getGlobalState` instead.
|
|
64
|
+
*
|
|
49
65
|
* Returns the current global state values for the given app ID
|
|
50
66
|
* @param appId The ID of the app return global state for
|
|
51
67
|
* @param algod An algod client instance
|
|
@@ -53,6 +69,8 @@ export declare function getABIReturn(args?: AppCallArgs, confirmation?: modelsv2
|
|
|
53
69
|
*/
|
|
54
70
|
export declare function getAppGlobalState(appId: number | bigint, algod: Algodv2): Promise<AppState>;
|
|
55
71
|
/**
|
|
72
|
+
* @deprecated Use `algorand.app.getLocalState` instead.
|
|
73
|
+
*
|
|
56
74
|
* Returns the current global state values for the given app ID and account
|
|
57
75
|
* @param appId The ID of the app return global state for
|
|
58
76
|
* @param account Either the string address of an account or an account object for the account to get local state for the given app
|
|
@@ -61,6 +79,7 @@ export declare function getAppGlobalState(appId: number | bigint, algod: Algodv2
|
|
|
61
79
|
*/
|
|
62
80
|
export declare function getAppLocalState(appId: number | bigint, account: string | SendTransactionFrom, algod: Algodv2): Promise<AppState>;
|
|
63
81
|
/**
|
|
82
|
+
* @deprecated Use `algorand.app.getBoxNames` instead.
|
|
64
83
|
* Returns the names of the boxes for the given app.
|
|
65
84
|
* @param appId The ID of the app return box names for
|
|
66
85
|
* @param algod An algod client instance
|
|
@@ -68,6 +87,7 @@ export declare function getAppLocalState(appId: number | bigint, account: string
|
|
|
68
87
|
*/
|
|
69
88
|
export declare function getAppBoxNames(appId: number | bigint, algod: Algodv2): Promise<BoxName[]>;
|
|
70
89
|
/**
|
|
90
|
+
* @deprecated Use `algorand.app.getBoxValue` instead.
|
|
71
91
|
* Returns the value of the given box name for the given app.
|
|
72
92
|
* @param appId The ID of the app return box names for
|
|
73
93
|
* @param boxName The name of the box to return either as a string, binary array or `BoxName`
|
|
@@ -76,6 +96,7 @@ export declare function getAppBoxNames(appId: number | bigint, algod: Algodv2):
|
|
|
76
96
|
*/
|
|
77
97
|
export declare function getAppBoxValue(appId: number | bigint, boxName: string | Uint8Array | BoxName, algod: Algodv2): Promise<Uint8Array>;
|
|
78
98
|
/**
|
|
99
|
+
* @deprecated Use `algorand.app.getBoxValues` instead.
|
|
79
100
|
* Returns the value of the given box names for the given app.
|
|
80
101
|
* @param appId The ID of the app return box names for
|
|
81
102
|
* @param boxNames The names of the boxes to return either as a string, binary array or `BoxName`
|
|
@@ -84,6 +105,7 @@ export declare function getAppBoxValue(appId: number | bigint, boxName: string |
|
|
|
84
105
|
*/
|
|
85
106
|
export declare function getAppBoxValues(appId: number, boxNames: (string | Uint8Array | BoxName)[], algod: Algodv2): Promise<Uint8Array[]>;
|
|
86
107
|
/**
|
|
108
|
+
* @deprecated Use `algorand.app.getBoxValueFromABIType` instead.
|
|
87
109
|
* Returns the value of the given box name for the given app decoded based on the given ABI type.
|
|
88
110
|
* @param request The parameters for the box value request
|
|
89
111
|
* @param algod An algod client instance
|
|
@@ -91,6 +113,7 @@ export declare function getAppBoxValues(appId: number, boxNames: (string | Uint8
|
|
|
91
113
|
*/
|
|
92
114
|
export declare function getAppBoxValueFromABIType(request: BoxValueRequestParams, algod: Algodv2): Promise<ABIValue>;
|
|
93
115
|
/**
|
|
116
|
+
* @deprecated Use `algorand.app.getBoxValuesFromABIType` instead.
|
|
94
117
|
* Returns the value of the given box names for the given app decoded based on the given ABI type.
|
|
95
118
|
* @param request The parameters for the box value request
|
|
96
119
|
* @param algod An algod client instance
|
|
@@ -98,6 +121,8 @@ export declare function getAppBoxValueFromABIType(request: BoxValueRequestParams
|
|
|
98
121
|
*/
|
|
99
122
|
export declare function getAppBoxValuesFromABIType(request: BoxValuesRequestParams, algod: Algodv2): Promise<ABIValue[]>;
|
|
100
123
|
/**
|
|
124
|
+
* @deprecated Use `AppManager.decodeAppState` instead.
|
|
125
|
+
*
|
|
101
126
|
* Converts an array of global/local state values from the algod api to a more friendly
|
|
102
127
|
* generic object keyed by the UTF-8 value of the key.
|
|
103
128
|
* @param state A `global-state`, `local-state`, `global-state-deltas` or `local-state-deltas`
|
|
@@ -108,6 +133,8 @@ export declare function decodeAppState(state: {
|
|
|
108
133
|
value: modelsv2.TealValue | modelsv2.EvalDelta;
|
|
109
134
|
}[]): AppState;
|
|
110
135
|
/**
|
|
136
|
+
* @deprecated Use `TransactionComposer` methods to construct transactions instead.
|
|
137
|
+
*
|
|
111
138
|
* Returns the app args ready to load onto an app `Transaction` object
|
|
112
139
|
* @param args The app call args
|
|
113
140
|
* @returns The args ready to load into a `Transaction`
|
|
@@ -121,6 +148,8 @@ export declare function getAppArgsForTransaction(args?: RawAppCallArgs): {
|
|
|
121
148
|
lease: Uint8Array | undefined;
|
|
122
149
|
} | undefined;
|
|
123
150
|
/**
|
|
151
|
+
* @deprecated Use `TransactionComposer` methods to construct transactions instead.
|
|
152
|
+
*
|
|
124
153
|
* Returns the app args ready to load onto an ABI method call in `AtomicTransactionComposer`
|
|
125
154
|
* @param args The ABI app call args
|
|
126
155
|
* @param from The transaction signer
|
|
@@ -135,16 +164,20 @@ export declare function getAppArgsForABICall(args: ABIAppCallArgs, from: SendTra
|
|
|
135
164
|
appForeignApps: number[] | undefined;
|
|
136
165
|
appForeignAssets: number[] | undefined;
|
|
137
166
|
appAccounts: string[] | undefined;
|
|
138
|
-
methodArgs: (string | number | bigint | boolean |
|
|
167
|
+
methodArgs: (string | number | bigint | boolean | Uint8Array | algosdk.ABIValue[] | algosdk.TransactionWithSigner)[];
|
|
139
168
|
rekeyTo: string | undefined;
|
|
140
169
|
}>;
|
|
141
170
|
/**
|
|
171
|
+
* @deprecated Use `AppManager.getBoxReference()` instead.
|
|
172
|
+
*
|
|
142
173
|
* Returns a `algosdk.BoxReference` given a `BoxIdentifier` or `BoxReference`.
|
|
143
174
|
* @param box The box to return a reference for
|
|
144
175
|
* @returns The box reference ready to pass into a `Transaction`
|
|
145
176
|
*/
|
|
146
177
|
export declare function getBoxReference(box: BoxIdentifier | BoxReference | algosdk.BoxReference): algosdk.BoxReference;
|
|
147
178
|
/**
|
|
179
|
+
* @deprecated Use `algorand.app.getById` instead.
|
|
180
|
+
*
|
|
148
181
|
* Gets the current data for the given app from algod.
|
|
149
182
|
*
|
|
150
183
|
* @param appId The id of the app
|
|
@@ -153,6 +186,8 @@ export declare function getBoxReference(box: BoxIdentifier | BoxReference | algo
|
|
|
153
186
|
*/
|
|
154
187
|
export declare function getAppById(appId: number | bigint, algod: Algodv2): Promise<algosdk.modelsv2.Application>;
|
|
155
188
|
/**
|
|
189
|
+
* @deprecated Use `algorand.app.compileTeal` instead.
|
|
190
|
+
*
|
|
156
191
|
* Compiles the given TEAL using algod and returns the result, including source map.
|
|
157
192
|
*
|
|
158
193
|
* @param algod An algod client
|
|
@@ -161,9 +196,10 @@ export declare function getAppById(appId: number | bigint, algod: Algodv2): Prom
|
|
|
161
196
|
*/
|
|
162
197
|
export declare function compileTeal(tealCode: string, algod: Algodv2): Promise<CompiledTeal>;
|
|
163
198
|
/**
|
|
199
|
+
* @deprecated Use `abiMethod.getSignature()` or `new ABIMethod(abiMethodParams).getSignature()` instead.
|
|
200
|
+
*
|
|
164
201
|
* Returns the encoded ABI spec for a given ABI Method
|
|
165
202
|
* @param method The method to return a signature for
|
|
166
203
|
* @returns The encoded ABI method spec e.g. `method_name(uint64,string)string`
|
|
167
204
|
*/
|
|
168
205
|
export declare const getABIMethodSignature: (method: ABIMethodParams | ABIMethod) => string;
|
|
169
|
-
//# sourceMappingURL=app.d.ts.map
|
package/asset.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { AssetBulkOptInOutParams, AssetOptInParams, AssetOptOutParams, CreateAss
|
|
|
3
3
|
import { SendTransactionResult } from './types/transaction';
|
|
4
4
|
import Algodv2 = algosdk.Algodv2;
|
|
5
5
|
/**
|
|
6
|
+
* @deprecated use `algorand.send.assetCreate()` / `algorand.createTransaction.assetCreate()` instead
|
|
7
|
+
*
|
|
6
8
|
* Create an Algorand Standard Asset (ASA).
|
|
7
9
|
* @param create The asset creation definition
|
|
8
10
|
* @param algod An algod client
|
|
@@ -19,6 +21,8 @@ export declare function createAsset(create: CreateAssetParams, algod: Algodv2):
|
|
|
19
21
|
};
|
|
20
22
|
}>;
|
|
21
23
|
/**
|
|
24
|
+
* @deprecated use `algorand.send.assetOptIn()` / `algorand.createTransaction.assetOptIn()` instead
|
|
25
|
+
*
|
|
22
26
|
* Opt-in an account to an asset.
|
|
23
27
|
* @param optIn The opt-in definition
|
|
24
28
|
* @param algod An algod client
|
|
@@ -31,6 +35,8 @@ export declare function createAsset(create: CreateAssetParams, algod: Algodv2):
|
|
|
31
35
|
*/
|
|
32
36
|
export declare function assetOptIn(optIn: AssetOptInParams, algod: Algodv2): Promise<SendTransactionResult>;
|
|
33
37
|
/**
|
|
38
|
+
* @deprecated use `algorand.send.assetOptOut()` / `algorand.createTransaction.assetOptOut()` instead
|
|
39
|
+
*
|
|
34
40
|
* Opt-out an account from an asset.
|
|
35
41
|
* @param optOut The opt-in definition
|
|
36
42
|
* @param algod An algod client
|
|
@@ -43,6 +49,8 @@ export declare function assetOptIn(optIn: AssetOptInParams, algod: Algodv2): Pro
|
|
|
43
49
|
*/
|
|
44
50
|
export declare function assetOptOut(optOut: AssetOptOutParams, algod: Algodv2): Promise<SendTransactionResult>;
|
|
45
51
|
/**
|
|
52
|
+
* @deprecated use `algorand.asset.bulkOptIn()` instead
|
|
53
|
+
*
|
|
46
54
|
* Opt in to a list of assets on the Algorand blockchain.
|
|
47
55
|
*
|
|
48
56
|
* @param optIn - The bulk opt-in request.
|
|
@@ -53,6 +61,8 @@ export declare function assetOptOut(optOut: AssetOptOutParams, algod: Algodv2):
|
|
|
53
61
|
*/
|
|
54
62
|
export declare function assetBulkOptIn(optIn: AssetBulkOptInOutParams, algod: Algodv2): Promise<Record<number, string>>;
|
|
55
63
|
/**
|
|
64
|
+
* @deprecated use `algorand.asset.bulkOptOut()` instead
|
|
65
|
+
*
|
|
56
66
|
* Opt out of multiple assets in Algorand blockchain.
|
|
57
67
|
*
|
|
58
68
|
* @param optOut The bulk opt-out request.
|
|
@@ -62,4 +72,3 @@ export declare function assetBulkOptIn(optIn: AssetBulkOptInOutParams, algod: Al
|
|
|
62
72
|
* @example algokit.bulkOptOut({ account: account, assetIds: [12345, 67890] }, algod)
|
|
63
73
|
*/
|
|
64
74
|
export declare function assetBulkOptOut(optOut: AssetBulkOptInOutParams, algod: Algodv2): Promise<Record<number, string>>;
|
|
65
|
-
//# sourceMappingURL=asset.d.ts.map
|
package/config.d.ts
CHANGED
package/debugging/debugging.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { PersistSourceMapsParams } from '../types/debugging';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
2
|
+
* @deprecated Use latest version of `AlgoKit AVM Debugger` VSCode extension instead. It will automatically manage your sourcemaps.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* This function persists the source maps for the given sources.
|
|
6
5
|
*
|
|
7
6
|
* @returns A promise that resolves when the source maps have been persisted.
|
|
8
7
|
*/
|
|
9
|
-
export declare function persistSourceMaps(
|
|
10
|
-
//# sourceMappingURL=debugging.d.ts.map
|
|
8
|
+
export declare function persistSourceMaps(_params: unknown): Promise<void>;
|
package/debugging/index.d.ts
CHANGED
package/dispenser-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TestNetDispenserApiClient, TestNetDispenserApiClientParams } from './types/dispenser-client';
|
|
2
2
|
/**
|
|
3
|
-
* @deprecated Use `clientManager.getTestNetDispenser` instead
|
|
3
|
+
* @deprecated Use `clientManager.getTestNetDispenser` or `clientManager.getTestNetDispenserFromEnvironment` instead
|
|
4
4
|
*
|
|
5
5
|
* Create a new TestNetDispenserApiClient instance.
|
|
6
6
|
* Refer to [docs](https://github.com/algorandfoundation/algokit/blob/main/docs/testnet_api.md) on guidance to obtain an access token.
|
|
@@ -18,4 +18,3 @@ import { TestNetDispenserApiClient, TestNetDispenserApiClientParams } from './ty
|
|
|
18
18
|
* @returns An instance of the TestNetDispenserApiClient class.
|
|
19
19
|
*/
|
|
20
20
|
export declare function getTestNetDispenserApiClient(params?: TestNetDispenserApiClientParams | null): TestNetDispenserApiClient;
|
|
21
|
-
//# sourceMappingURL=dispenser-client.d.ts.map
|
package/index.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
export * from './account';
|
|
1
2
|
export * from './app';
|
|
2
3
|
export * from './app-client';
|
|
3
4
|
export * from './app-deploy';
|
|
4
5
|
export * from './asset';
|
|
5
|
-
export * from './debugging';
|
|
6
|
-
export * from './indexer-lookup';
|
|
7
|
-
export * from './transaction';
|
|
8
|
-
export * from './transfer';
|
|
9
|
-
export * from './account';
|
|
10
6
|
export * from './dispenser-client';
|
|
7
|
+
export * from './indexer-lookup';
|
|
11
8
|
export * from './localnet';
|
|
12
9
|
export * from './network-client';
|
|
10
|
+
export * from './transfer';
|
|
13
11
|
export * from './amount';
|
|
14
12
|
export * from './config';
|
|
13
|
+
export * from './debugging';
|
|
14
|
+
export * as indexer from './indexer-lookup';
|
|
15
|
+
export * from './transaction';
|
|
15
16
|
export { AlgorandClient } from './types/algorand-client';
|
|
16
|
-
|
|
17
|
+
export * from './types/debugging';
|
|
18
|
+
export * from './types/lifecycle-events';
|
package/index.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var app = require('./app.js');
|
|
4
|
-
var appClient = require('./app-client.js');
|
|
5
|
-
var appDeploy = require('./app-deploy.js');
|
|
6
|
-
var asset = require('./asset.js');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var networkClient = require('./network-client.js');
|
|
10
|
-
var amount = require('./amount.js');
|
|
11
|
-
var config = require('./config.js');
|
|
3
|
+
var app = require('./src/app.js');
|
|
4
|
+
var appClient = require('./src/app-client.js');
|
|
5
|
+
var appDeploy = require('./src/app-deploy.js');
|
|
6
|
+
var asset = require('./src/asset.js');
|
|
7
|
+
var dispenserClient = require('./src/dispenser-client.js');
|
|
8
|
+
var indexerLookup = require('./src/indexer-lookup.js');
|
|
9
|
+
var networkClient = require('./src/network-client.js');
|
|
10
|
+
var amount = require('./src/amount.js');
|
|
11
|
+
var config = require('./src/config.js');
|
|
12
12
|
var types_algorandClient = require('./types/algorand-client.js');
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
13
|
+
var types_debugging = require('./types/debugging.js');
|
|
14
|
+
var types_lifecycleEvents = require('./types/lifecycle-events.js');
|
|
15
|
+
var account = require('./src/account/account.js');
|
|
16
|
+
var getAccount = require('./src/account/get-account.js');
|
|
17
|
+
var getAccountConfigFromEnvironment = require('./src/account/get-account-config-from-environment.js');
|
|
18
|
+
var getDispenserAccount = require('./src/account/get-dispenser-account.js');
|
|
19
|
+
var mnemonicAccount = require('./src/account/mnemonic-account.js');
|
|
20
|
+
var getKmdWalletAccount = require('./src/localnet/get-kmd-wallet-account.js');
|
|
21
|
+
var getLocalnetDispenserAccount = require('./src/localnet/get-localnet-dispenser-account.js');
|
|
22
|
+
var getOrCreateKmdWalletAccount = require('./src/localnet/get-or-create-kmd-wallet-account.js');
|
|
23
|
+
var isLocalnet = require('./src/localnet/is-localnet.js');
|
|
24
|
+
var transfer = require('./src/transfer/transfer.js');
|
|
25
|
+
var transferAlgos = require('./src/transfer/transfer-algos.js');
|
|
26
|
+
var debugging = require('./src/debugging/debugging.js');
|
|
27
|
+
var performAtomicTransactionComposerSimulate = require('./src/transaction/perform-atomic-transaction-composer-simulate.js');
|
|
28
|
+
var transaction = require('./src/transaction/transaction.js');
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
|
|
@@ -63,13 +64,14 @@ exports.assetBulkOptOut = asset.assetBulkOptOut;
|
|
|
63
64
|
exports.assetOptIn = asset.assetOptIn;
|
|
64
65
|
exports.assetOptOut = asset.assetOptOut;
|
|
65
66
|
exports.createAsset = asset.createAsset;
|
|
67
|
+
exports.getTestNetDispenserApiClient = dispenserClient.getTestNetDispenserApiClient;
|
|
66
68
|
exports.executePaginatedRequest = indexerLookup.executePaginatedRequest;
|
|
69
|
+
exports.indexer = indexerLookup;
|
|
67
70
|
exports.lookupAccountByAddress = indexerLookup.lookupAccountByAddress;
|
|
68
71
|
exports.lookupAccountCreatedApplicationByAddress = indexerLookup.lookupAccountCreatedApplicationByAddress;
|
|
69
72
|
exports.lookupAssetHoldings = indexerLookup.lookupAssetHoldings;
|
|
70
73
|
exports.lookupTransactionById = indexerLookup.lookupTransactionById;
|
|
71
74
|
exports.searchTransactions = indexerLookup.searchTransactions;
|
|
72
|
-
exports.getTestNetDispenserApiClient = dispenserClient.getTestNetDispenserApiClient;
|
|
73
75
|
exports.getAlgoClient = networkClient.getAlgoClient;
|
|
74
76
|
exports.getAlgoIndexerClient = networkClient.getAlgoIndexerClient;
|
|
75
77
|
exports.getAlgoKmdClient = networkClient.getAlgoKmdClient;
|
|
@@ -80,13 +82,45 @@ exports.getDefaultLocalNetConfig = networkClient.getDefaultLocalNetConfig;
|
|
|
80
82
|
exports.getIndexerConfigFromEnvironment = networkClient.getIndexerConfigFromEnvironment;
|
|
81
83
|
exports.isMainNet = networkClient.isMainNet;
|
|
82
84
|
exports.isTestNet = networkClient.isTestNet;
|
|
85
|
+
exports.ALGORAND_MIN_TX_FEE = amount.ALGORAND_MIN_TX_FEE;
|
|
86
|
+
exports.algo = amount.algo;
|
|
83
87
|
exports.algos = amount.algos;
|
|
88
|
+
exports.microAlgo = amount.microAlgo;
|
|
84
89
|
exports.microAlgos = amount.microAlgos;
|
|
85
90
|
exports.transactionFees = amount.transactionFees;
|
|
86
91
|
exports.Config = config.Config;
|
|
87
92
|
exports.AlgorandClient = types_algorandClient.AlgorandClient;
|
|
93
|
+
exports.ALGOKIT_DIR = types_debugging.ALGOKIT_DIR;
|
|
94
|
+
exports.DEFAULT_MAX_SEARCH_DEPTH = types_debugging.DEFAULT_MAX_SEARCH_DEPTH;
|
|
95
|
+
exports.SOURCES_DIR = types_debugging.SOURCES_DIR;
|
|
96
|
+
exports.TEAL_FILE_EXT = types_debugging.TEAL_FILE_EXT;
|
|
97
|
+
exports.TEAL_SOURCEMAP_EXT = types_debugging.TEAL_SOURCEMAP_EXT;
|
|
98
|
+
Object.defineProperty(exports, "EventType", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return types_lifecycleEvents.EventType; }
|
|
101
|
+
});
|
|
102
|
+
exports.getAccountAddressAsString = account.getAccountAddressAsString;
|
|
103
|
+
exports.getAccountAddressAsUint8Array = account.getAccountAddressAsUint8Array;
|
|
104
|
+
exports.getAccountAssetInformation = account.getAccountAssetInformation;
|
|
105
|
+
exports.getAccountInformation = account.getAccountInformation;
|
|
106
|
+
exports.mnemonicAccountFromEnvironment = account.mnemonicAccountFromEnvironment;
|
|
107
|
+
exports.multisigAccount = account.multisigAccount;
|
|
108
|
+
exports.randomAccount = account.randomAccount;
|
|
109
|
+
exports.rekeyedAccount = account.rekeyedAccount;
|
|
110
|
+
exports.transactionSignerAccount = account.transactionSignerAccount;
|
|
111
|
+
exports.getAccount = getAccount.getAccount;
|
|
112
|
+
exports.getAccountConfigFromEnvironment = getAccountConfigFromEnvironment.getAccountConfigFromEnvironment;
|
|
113
|
+
exports.getDispenserAccount = getDispenserAccount.getDispenserAccount;
|
|
114
|
+
exports.mnemonicAccount = mnemonicAccount.mnemonicAccount;
|
|
115
|
+
exports.getKmdWalletAccount = getKmdWalletAccount.getKmdWalletAccount;
|
|
116
|
+
exports.getLocalNetDispenserAccount = getLocalnetDispenserAccount.getLocalNetDispenserAccount;
|
|
117
|
+
exports.getOrCreateKmdWalletAccount = getOrCreateKmdWalletAccount.getOrCreateKmdWalletAccount;
|
|
118
|
+
exports.isLocalNet = isLocalnet.isLocalNet;
|
|
119
|
+
exports.ensureFunded = transfer.ensureFunded;
|
|
120
|
+
exports.rekeyAccount = transfer.rekeyAccount;
|
|
121
|
+
exports.transferAsset = transfer.transferAsset;
|
|
122
|
+
exports.transferAlgos = transferAlgos.transferAlgos;
|
|
88
123
|
exports.persistSourceMaps = debugging.persistSourceMaps;
|
|
89
|
-
exports.simulateAndPersistResponse = simulateAndPersistResponse.simulateAndPersistResponse;
|
|
90
124
|
exports.performAtomicTransactionComposerSimulate = performAtomicTransactionComposerSimulate.performAtomicTransactionComposerSimulate;
|
|
91
125
|
exports.MAX_APP_CALL_ACCOUNT_REFERENCES = transaction.MAX_APP_CALL_ACCOUNT_REFERENCES;
|
|
92
126
|
exports.MAX_APP_CALL_FOREIGN_REFERENCES = transaction.MAX_APP_CALL_FOREIGN_REFERENCES;
|
|
@@ -95,37 +129,16 @@ exports.capTransactionFee = transaction.capTransactionFee;
|
|
|
95
129
|
exports.controlFees = transaction.controlFees;
|
|
96
130
|
exports.encodeLease = transaction.encodeLease;
|
|
97
131
|
exports.encodeTransactionNote = transaction.encodeTransactionNote;
|
|
132
|
+
exports.getABIReturnValue = transaction.getABIReturnValue;
|
|
98
133
|
exports.getAtomicTransactionComposerTransactions = transaction.getAtomicTransactionComposerTransactions;
|
|
99
134
|
exports.getSenderAddress = transaction.getSenderAddress;
|
|
100
135
|
exports.getSenderTransactionSigner = transaction.getSenderTransactionSigner;
|
|
101
136
|
exports.getTransactionParams = transaction.getTransactionParams;
|
|
102
137
|
exports.getTransactionWithSigner = transaction.getTransactionWithSigner;
|
|
103
|
-
exports.performAtomicTransactionComposerDryrun = transaction.performAtomicTransactionComposerDryrun;
|
|
104
138
|
exports.populateAppCallResources = transaction.populateAppCallResources;
|
|
105
139
|
exports.sendAtomicTransactionComposer = transaction.sendAtomicTransactionComposer;
|
|
106
140
|
exports.sendGroupOfTransactions = transaction.sendGroupOfTransactions;
|
|
107
141
|
exports.sendTransaction = transaction.sendTransaction;
|
|
108
142
|
exports.signTransaction = transaction.signTransaction;
|
|
109
143
|
exports.waitForConfirmation = transaction.waitForConfirmation;
|
|
110
|
-
exports.ensureFunded = transfer.ensureFunded;
|
|
111
|
-
exports.rekeyAccount = transfer.rekeyAccount;
|
|
112
|
-
exports.transferAsset = transfer.transferAsset;
|
|
113
|
-
exports.transferAlgos = transferAlgos.transferAlgos;
|
|
114
|
-
exports.getAccountAddressAsString = account.getAccountAddressAsString;
|
|
115
|
-
exports.getAccountAddressAsUint8Array = account.getAccountAddressAsUint8Array;
|
|
116
|
-
exports.getAccountAssetInformation = account.getAccountAssetInformation;
|
|
117
|
-
exports.getAccountInformation = account.getAccountInformation;
|
|
118
|
-
exports.mnemonicAccountFromEnvironment = account.mnemonicAccountFromEnvironment;
|
|
119
|
-
exports.multisigAccount = account.multisigAccount;
|
|
120
|
-
exports.randomAccount = account.randomAccount;
|
|
121
|
-
exports.rekeyedAccount = account.rekeyedAccount;
|
|
122
|
-
exports.transactionSignerAccount = account.transactionSignerAccount;
|
|
123
|
-
exports.getAccount = getAccount.getAccount;
|
|
124
|
-
exports.getAccountConfigFromEnvironment = getAccountConfigFromEnvironment.getAccountConfigFromEnvironment;
|
|
125
|
-
exports.getDispenserAccount = getDispenserAccount.getDispenserAccount;
|
|
126
|
-
exports.mnemonicAccount = mnemonicAccount.mnemonicAccount;
|
|
127
|
-
exports.getKmdWalletAccount = getKmdWalletAccount.getKmdWalletAccount;
|
|
128
|
-
exports.getLocalNetDispenserAccount = getLocalnetDispenserAccount.getLocalNetDispenserAccount;
|
|
129
|
-
exports.getOrCreateKmdWalletAccount = getOrCreateKmdWalletAccount.getOrCreateKmdWalletAccount;
|
|
130
|
-
exports.isLocalNet = isLocalnet.isLocalNet;
|
|
131
144
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.mjs
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
export { callApp, compileTeal, createApp, decodeAppState, getABIMethodSignature, getABIReturn, getAppArgsForABICall, getAppArgsForTransaction, getAppBoxNames, getAppBoxValue, getAppBoxValueFromABIType, getAppBoxValues, getAppBoxValuesFromABIType, getAppById, getAppGlobalState, getAppLocalState, getAppOnCompleteAction, getBoxReference, updateApp } from './app.mjs';
|
|
2
|
-
export { getAppClient, getAppClientByCreatorAndName, getAppClientById } from './app-client.mjs';
|
|
3
|
-
export { deployApp, getAppDeploymentTransactionNote, getCreatorAppsByName, isSchemaIsBroken, performTemplateSubstitution, performTemplateSubstitutionAndCompile, replaceDeployTimeControlParams, stripTealComments } from './app-deploy.mjs';
|
|
4
|
-
export { assetBulkOptIn, assetBulkOptOut, assetOptIn, assetOptOut, createAsset } from './asset.mjs';
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
1
|
+
export { callApp, compileTeal, createApp, decodeAppState, getABIMethodSignature, getABIReturn, getAppArgsForABICall, getAppArgsForTransaction, getAppBoxNames, getAppBoxValue, getAppBoxValueFromABIType, getAppBoxValues, getAppBoxValuesFromABIType, getAppById, getAppGlobalState, getAppLocalState, getAppOnCompleteAction, getBoxReference, updateApp } from './src/app.mjs';
|
|
2
|
+
export { getAppClient, getAppClientByCreatorAndName, getAppClientById } from './src/app-client.mjs';
|
|
3
|
+
export { deployApp, getAppDeploymentTransactionNote, getCreatorAppsByName, isSchemaIsBroken, performTemplateSubstitution, performTemplateSubstitutionAndCompile, replaceDeployTimeControlParams, stripTealComments } from './src/app-deploy.mjs';
|
|
4
|
+
export { assetBulkOptIn, assetBulkOptOut, assetOptIn, assetOptOut, createAsset } from './src/asset.mjs';
|
|
5
|
+
export { getTestNetDispenserApiClient } from './src/dispenser-client.mjs';
|
|
6
|
+
import * as indexerLookup from './src/indexer-lookup.mjs';
|
|
7
|
+
export { indexerLookup as indexer };
|
|
8
|
+
export { executePaginatedRequest, lookupAccountByAddress, lookupAccountCreatedApplicationByAddress, lookupAssetHoldings, lookupTransactionById, searchTransactions } from './src/indexer-lookup.mjs';
|
|
9
|
+
export { getAlgoClient, getAlgoIndexerClient, getAlgoKmdClient, getAlgoNodeConfig, getAlgodConfigFromEnvironment, getConfigFromEnvOrDefaults, getDefaultLocalNetConfig, getIndexerConfigFromEnvironment, isMainNet, isTestNet } from './src/network-client.mjs';
|
|
10
|
+
export { ALGORAND_MIN_TX_FEE, algo, algos, microAlgo, microAlgos, transactionFees } from './src/amount.mjs';
|
|
11
|
+
export { Config } from './src/config.mjs';
|
|
10
12
|
export { AlgorandClient } from './types/algorand-client.mjs';
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
13
|
+
export { ALGOKIT_DIR, DEFAULT_MAX_SEARCH_DEPTH, SOURCES_DIR, TEAL_FILE_EXT, TEAL_SOURCEMAP_EXT } from './types/debugging.mjs';
|
|
14
|
+
export { EventType } from './types/lifecycle-events.mjs';
|
|
15
|
+
export { getAccountAddressAsString, getAccountAddressAsUint8Array, getAccountAssetInformation, getAccountInformation, mnemonicAccountFromEnvironment, multisigAccount, randomAccount, rekeyedAccount, transactionSignerAccount } from './src/account/account.mjs';
|
|
16
|
+
export { getAccount } from './src/account/get-account.mjs';
|
|
17
|
+
export { getAccountConfigFromEnvironment } from './src/account/get-account-config-from-environment.mjs';
|
|
18
|
+
export { getDispenserAccount } from './src/account/get-dispenser-account.mjs';
|
|
19
|
+
export { mnemonicAccount } from './src/account/mnemonic-account.mjs';
|
|
20
|
+
export { getKmdWalletAccount } from './src/localnet/get-kmd-wallet-account.mjs';
|
|
21
|
+
export { getLocalNetDispenserAccount } from './src/localnet/get-localnet-dispenser-account.mjs';
|
|
22
|
+
export { getOrCreateKmdWalletAccount } from './src/localnet/get-or-create-kmd-wallet-account.mjs';
|
|
23
|
+
export { isLocalNet } from './src/localnet/is-localnet.mjs';
|
|
24
|
+
export { ensureFunded, rekeyAccount, transferAsset } from './src/transfer/transfer.mjs';
|
|
25
|
+
export { transferAlgos } from './src/transfer/transfer-algos.mjs';
|
|
26
|
+
export { persistSourceMaps } from './src/debugging/debugging.mjs';
|
|
27
|
+
export { performAtomicTransactionComposerSimulate } from './src/transaction/perform-atomic-transaction-composer-simulate.mjs';
|
|
28
|
+
export { MAX_APP_CALL_ACCOUNT_REFERENCES, MAX_APP_CALL_FOREIGN_REFERENCES, MAX_TRANSACTION_GROUP_SIZE, capTransactionFee, controlFees, encodeLease, encodeTransactionNote, getABIReturnValue, getAtomicTransactionComposerTransactions, getSenderAddress, getSenderTransactionSigner, getTransactionParams, getTransactionWithSigner, populateAppCallResources, sendAtomicTransactionComposer, sendGroupOfTransactions, sendTransaction, signTransaction, waitForConfirmation } from './src/transaction/transaction.mjs';
|
|
26
29
|
//# sourceMappingURL=index.mjs.map
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/indexer-lookup.d.ts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import algosdk from 'algosdk';
|
|
2
|
-
import
|
|
3
|
-
import { AccountLookupResult, ApplicationResult, LookupAssetHoldingsOptions, MiniAssetHolding, TransactionLookupResult, TransactionSearchResults } from './types/indexer';
|
|
1
|
+
import algosdk, { Address } from 'algosdk';
|
|
2
|
+
import { LookupAssetHoldingsOptions } from './types/indexer';
|
|
4
3
|
import Indexer = algosdk.Indexer;
|
|
4
|
+
export type SearchForTransactions = ReturnType<Indexer['searchForTransactions']>;
|
|
5
5
|
/**
|
|
6
|
+
* @deprecated Use `indexer.lookupTransactionByID(transactionId).do()`.
|
|
6
7
|
* Looks up a transaction by ID using Indexer.
|
|
7
8
|
* @param transactionId The ID of the transaction to look up
|
|
8
9
|
* @param indexer An indexer client
|
|
9
10
|
* @returns The result of the look-up
|
|
10
11
|
*/
|
|
11
|
-
export declare function lookupTransactionById(transactionId: string, indexer: Indexer): Promise<
|
|
12
|
+
export declare function lookupTransactionById(transactionId: string, indexer: Indexer): Promise<algosdk.indexerModels.TransactionResponse>;
|
|
12
13
|
/**
|
|
14
|
+
* @deprecated Use `indexer.lookupAccountByID(accountAddress).do()`.
|
|
13
15
|
* Looks up an account by address using Indexer.
|
|
14
16
|
* @param accountAddress The address of the account to look up
|
|
15
17
|
* @param indexer An indexer client
|
|
16
18
|
* @returns The result of the look-up
|
|
17
19
|
*/
|
|
18
|
-
export declare function lookupAccountByAddress(accountAddress: string, indexer: Indexer): Promise<
|
|
20
|
+
export declare function lookupAccountByAddress(accountAddress: string | Address, indexer: Indexer): Promise<algosdk.indexerModels.AccountResponse>;
|
|
19
21
|
/**
|
|
20
22
|
* Looks up applications that were created by the given address; will automatically paginate through all data.
|
|
21
23
|
* @param indexer An indexer instance
|
|
@@ -24,7 +26,7 @@ export declare function lookupAccountByAddress(accountAddress: string, indexer:
|
|
|
24
26
|
* @param paginationLimit The number of records to return per paginated request, default 1000
|
|
25
27
|
* @returns The list of application results
|
|
26
28
|
*/
|
|
27
|
-
export declare function lookupAccountCreatedApplicationByAddress(indexer: Indexer, address: string, getAll?: boolean | undefined, paginationLimit?: number): Promise<
|
|
29
|
+
export declare function lookupAccountCreatedApplicationByAddress(indexer: Indexer, address: string | Address, getAll?: boolean | undefined, paginationLimit?: number): Promise<algosdk.indexerModels.Application[]>;
|
|
28
30
|
/**
|
|
29
31
|
* Looks up asset holdings for the given asset; will automatically paginate through all data.
|
|
30
32
|
* @param indexer An indexer instance
|
|
@@ -33,7 +35,7 @@ export declare function lookupAccountCreatedApplicationByAddress(indexer: Indexe
|
|
|
33
35
|
* @param paginationLimit The number of records to return per paginated request, default 1000
|
|
34
36
|
* @returns The list of application results
|
|
35
37
|
*/
|
|
36
|
-
export declare function lookupAssetHoldings(indexer: Indexer, assetId: number | bigint, options?: LookupAssetHoldingsOptions, paginationLimit?: number): Promise<MiniAssetHolding[]>;
|
|
38
|
+
export declare function lookupAssetHoldings(indexer: Indexer, assetId: number | bigint, options?: LookupAssetHoldingsOptions, paginationLimit?: number): Promise<algosdk.indexerModels.MiniAssetHolding[]>;
|
|
37
39
|
/**
|
|
38
40
|
* Allows transactions to be searched for the given criteria.
|
|
39
41
|
* @param indexer An indexer client
|
|
@@ -41,8 +43,7 @@ export declare function lookupAssetHoldings(indexer: Indexer, assetId: number |
|
|
|
41
43
|
* @param paginationLimit The number of records to return per paginated request, default 1000
|
|
42
44
|
* @returns The search results
|
|
43
45
|
*/
|
|
44
|
-
export declare function searchTransactions(indexer: Indexer, searchCriteria: (s: SearchForTransactions) => SearchForTransactions, paginationLimit?: number): Promise<
|
|
46
|
+
export declare function searchTransactions(indexer: Indexer, searchCriteria: (s: SearchForTransactions) => SearchForTransactions, paginationLimit?: number): Promise<algosdk.indexerModels.TransactionsResponse>;
|
|
45
47
|
export declare function executePaginatedRequest<TResult, TRequest extends {
|
|
46
48
|
do: () => Promise<any>;
|
|
47
49
|
}>(extractItems: (response: any) => TResult[], buildRequest: (nextToken?: string) => TRequest): Promise<TResult[]>;
|
|
48
|
-
//# sourceMappingURL=indexer-lookup.d.ts.map
|
|
@@ -3,7 +3,7 @@ import Account = algosdk.Account;
|
|
|
3
3
|
import Algodv2 = algosdk.Algodv2;
|
|
4
4
|
import Kmd = algosdk.Kmd;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated use `
|
|
6
|
+
* @deprecated use `algorand.account.kmd.getWalletAccount(name, predicate)` or `new KMDAccountManager(clientManager).getWalletAccount(name, predicate)` instead.
|
|
7
7
|
*
|
|
8
8
|
* Returns an Algorand account with private key loaded from the given KMD wallet (identified by name).
|
|
9
9
|
*
|
|
@@ -25,4 +25,3 @@ export declare function getKmdWalletAccount(walletAccount: {
|
|
|
25
25
|
name: string;
|
|
26
26
|
predicate?: (account: Record<string, any>) => boolean;
|
|
27
27
|
}, algod: Algodv2, kmdClient?: Kmd): Promise<Account | undefined>;
|
|
28
|
-
//# sourceMappingURL=get-kmd-wallet-account.d.ts.map
|
|
@@ -3,7 +3,7 @@ import Account = algosdk.Account;
|
|
|
3
3
|
import Algodv2 = algosdk.Algodv2;
|
|
4
4
|
import Kmd = algosdk.Kmd;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated Use `
|
|
6
|
+
* @deprecated Use `algorand.account.kmd.getLocalNetDispenserAccount()` instead.
|
|
7
7
|
*
|
|
8
8
|
* Returns an Algorand account with private key loaded for the default LocalNet dispenser account (that can be used to fund other accounts)
|
|
9
9
|
*
|
|
@@ -11,4 +11,3 @@ import Kmd = algosdk.Kmd;
|
|
|
11
11
|
* @param kmd A KMD client, if not specified then a default KMD client will be loaded from environment variables
|
|
12
12
|
*/
|
|
13
13
|
export declare function getLocalNetDispenserAccount(algod: Algodv2, kmd?: Kmd): Promise<Account>;
|
|
14
|
-
//# sourceMappingURL=get-localnet-dispenser-account.d.ts.map
|
|
@@ -4,7 +4,7 @@ import Account = algosdk.Account;
|
|
|
4
4
|
import Algodv2 = algosdk.Algodv2;
|
|
5
5
|
import Kmd = algosdk.Kmd;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated use `
|
|
7
|
+
* @deprecated use `algorand.account.kmd.getOrCreateWalletAccount(name, fundWith)` or `new KMDAccountManager(clientManager).getOrCreateWalletAccount(name, fundWith)` instead.
|
|
8
8
|
*
|
|
9
9
|
* Gets an account with private key loaded from a KMD wallet of the given name, or alternatively creates one with funds in it via a KMD wallet of the given name.
|
|
10
10
|
*
|
|
@@ -16,7 +16,7 @@ import Kmd = algosdk.Kmd;
|
|
|
16
16
|
*
|
|
17
17
|
* @param walletAccount The wallet details with:
|
|
18
18
|
* * `name`: The name of the wallet to retrieve / create
|
|
19
|
-
* * `fundWith`: The number of
|
|
19
|
+
* * `fundWith`: The number of Algo to fund the account with when it gets created, if not specified then 1000 ALGO will be funded from the dispenser account
|
|
20
20
|
* @param algod An algod client
|
|
21
21
|
* @param kmdClient A KMD client, if not specified then a default KMD client will be loaded from environment variables
|
|
22
22
|
*
|
|
@@ -26,4 +26,3 @@ export declare function getOrCreateKmdWalletAccount(walletAccount: {
|
|
|
26
26
|
name: string;
|
|
27
27
|
fundWith?: AlgoAmount;
|
|
28
28
|
}, algod: Algodv2, kmdClient?: Kmd): Promise<Account>;
|
|
29
|
-
//# sourceMappingURL=get-or-create-kmd-wallet-account.d.ts.map
|
package/localnet/index.d.ts
CHANGED