@aptos-labs/ts-sdk 1.36.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/{accountAddress-jrha_M3l.d.ts → accountAddress-DZH9Wn5l.d.ts} +28 -1
- package/dist/common/chunk-MVCKMP5U.js +4 -0
- package/dist/common/chunk-MVCKMP5U.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +9288 -8699
- package/dist/common/index.js +32 -32
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-D4j3_WIS.d.mts → Ed25519Account-CDURCT1q.d.mts} +59 -3
- package/dist/esm/account/AbstractKeylessAccount.d.mts +23 -13
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +10 -10
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +6 -6
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +11 -10
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +5 -5
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +3 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +12 -11
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +12 -11
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +31 -9
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +38 -12
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +6 -6
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +7 -6
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/api/account/abstraction.d.mts +9 -9
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +88 -9
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +13 -13
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +6 -5
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/coin.d.mts +11 -11
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +5 -5
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/experimental.d.mts +7 -7
- package/dist/esm/api/experimental.mjs +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +13 -13
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +7 -7
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +6 -5
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +20 -19
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +4 -4
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +9 -9
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +8 -8
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +3 -3
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +9 -9
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +3 -3
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/{chunk-AIPHJFJL.mjs → chunk-3IGJ2IMB.mjs} +2 -2
- package/dist/esm/{chunk-2P27DDVV.mjs → chunk-5MMTP427.mjs} +2 -2
- package/dist/esm/chunk-6374Q7AG.mjs +2 -0
- package/dist/esm/{chunk-JLZGYZBX.mjs.map → chunk-6374Q7AG.mjs.map} +1 -1
- package/dist/esm/{chunk-AEGA5N2W.mjs → chunk-6J64BOS7.mjs} +2 -2
- package/dist/esm/chunk-7H44HTYE.mjs +4 -0
- package/dist/esm/chunk-7H44HTYE.mjs.map +1 -0
- package/dist/esm/chunk-7VEWPUCH.mjs +2 -0
- package/dist/esm/chunk-7VEWPUCH.mjs.map +1 -0
- package/dist/esm/chunk-ANTUWHYB.mjs +2 -0
- package/dist/esm/chunk-ANTUWHYB.mjs.map +1 -0
- package/dist/esm/{chunk-R6QCPXQG.mjs → chunk-B373VRCY.mjs} +2 -2
- package/dist/esm/chunk-B373VRCY.mjs.map +1 -0
- package/dist/esm/{chunk-TTY5GFMN.mjs → chunk-BSH7B2QT.mjs} +2 -2
- package/dist/esm/chunk-EYLZD4JU.mjs +4 -0
- package/dist/esm/chunk-EYLZD4JU.mjs.map +1 -0
- package/dist/esm/chunk-GPG64UZT.mjs +2 -0
- package/dist/esm/{chunk-X5YB74NB.mjs.map → chunk-GPG64UZT.mjs.map} +1 -1
- package/dist/esm/{chunk-KBC4ECVP.mjs → chunk-HRHICHDX.mjs} +2 -2
- package/dist/esm/{chunk-HWMMVLTP.mjs → chunk-JG4T5BDZ.mjs} +2 -2
- package/dist/esm/chunk-LBA4CTUV.mjs +2 -0
- package/dist/esm/chunk-LBA4CTUV.mjs.map +1 -0
- package/dist/esm/{chunk-H4YAL2IL.mjs → chunk-LGC2JORV.mjs} +2 -2
- package/dist/esm/chunk-LGC2JORV.mjs.map +1 -0
- package/dist/esm/chunk-MIW45ADL.mjs +2 -0
- package/dist/esm/chunk-MIW45ADL.mjs.map +1 -0
- package/dist/esm/{chunk-ZOY6N6UM.mjs → chunk-NZXPT44W.mjs} +2 -2
- package/dist/esm/{chunk-2SAOCLIU.mjs → chunk-POELQOLD.mjs} +2 -2
- package/dist/esm/chunk-PR72YXRK.mjs +2 -0
- package/dist/esm/chunk-PR72YXRK.mjs.map +1 -0
- package/dist/esm/{chunk-ZVYTHOS5.mjs → chunk-PXG3WJIU.mjs} +2 -2
- package/dist/esm/chunk-TTFYJM6A.mjs +2 -0
- package/dist/esm/chunk-TTFYJM6A.mjs.map +1 -0
- package/dist/esm/{chunk-ACE3NEV6.mjs → chunk-VNUNIQAY.mjs} +2 -2
- package/dist/esm/chunk-YHJHXLYS.mjs +7 -0
- package/dist/esm/chunk-YHJHXLYS.mjs.map +1 -0
- package/dist/esm/chunk-YHKWV7NV.mjs +2 -0
- package/dist/esm/chunk-YHKWV7NV.mjs.map +1 -0
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +5 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +18 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +3 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +4 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +18 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +8 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +11 -87
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +8 -6
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +13 -586
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +14 -4
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +42 -3
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +3 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +3 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +26 -2
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +28 -3
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/index.d.mts +8 -6
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +10 -2
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/federatedKeyless-J5bdbbLQ.d.mts +875 -0
- package/dist/esm/index.d.mts +10 -9
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.d.mts +9 -9
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.d.mts +51 -8
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +13 -13
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +7 -7
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +2 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/experimental.d.mts +7 -7
- package/dist/esm/internal/experimental.mjs +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +9 -8
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +6 -6
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/utils/index.d.mts +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/utils.d.mts +2 -19
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.d.mts +7 -7
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/{publicKey-BMtGNNLg.d.mts → publicKey-pDHBAZlT.d.mts} +27 -1
- package/dist/esm/transactions/authenticator/account.d.mts +3 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +3 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +4 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +3 -3
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +4 -2
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +3 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +3 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +3 -3
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/scriptComposer/index.d.mts +7 -7
- package/dist/esm/transactions/scriptComposer/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +8 -8
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +7 -7
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +5 -5
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +7 -7
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +8 -8
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +5 -5
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/keyless.d.mts +1 -1
- package/dist/esm/types/types.d.mts +10 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +28 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +3 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +8 -2
- package/src/account/AbstractKeylessAccount.ts +33 -49
- package/src/account/Account.ts +20 -0
- package/src/account/Ed25519Account.ts +26 -1
- package/src/account/MultiEd25519Account.ts +28 -1
- package/src/account/MultiKeyAccount.ts +25 -16
- package/src/account/SingleKeyAccount.ts +35 -1
- package/src/api/account.ts +84 -4
- package/src/cli/localNode.ts +6 -15
- package/src/client/get.ts +45 -18
- package/src/core/accountAddress.ts +25 -0
- package/src/core/crypto/abstraction.ts +6 -1
- package/src/core/crypto/ed25519.ts +19 -1
- package/src/core/crypto/ephemeral.ts +9 -0
- package/src/core/crypto/federatedKeyless.ts +46 -4
- package/src/core/crypto/index.ts +4 -3
- package/src/core/crypto/keyless.ts +610 -17
- package/src/core/crypto/multiEd25519.ts +11 -3
- package/src/core/crypto/multiKey.ts +86 -5
- package/src/core/crypto/publicKey.ts +28 -0
- package/src/core/crypto/secp256k1.ts +25 -2
- package/src/core/crypto/singleKey.ts +41 -6
- package/src/errors/index.ts +50 -0
- package/src/internal/account.ts +84 -7
- package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +56 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +1533 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +280 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +443 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +204 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +1387 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +394 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +41 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +367 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +2214 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +101 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +77 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +5568 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +121 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +92 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +100 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +1566 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +176 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +550 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +23 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +68 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +817 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +312 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +205 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +2477 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +1073 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +147 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +405 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +574 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +153 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +49 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +237 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +132 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +69 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +267 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +3286 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +686 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +1618 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +90 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +622 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +82 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +457 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +501 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +16 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +42 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +115 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +2183 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +1279 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +469 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +985 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +802 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +855 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +193 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +173 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +45 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +278 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +447 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +91 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +381 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +336 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +139 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +142 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +482 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +571 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +270 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +1310 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +234 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +158 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +114 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +319 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +769 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +766 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +152 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +141 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +46 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +27 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +239 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +780 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +8 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +356 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +93 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +669 -0
- package/src/internal/move/jwks/build/jwk/sources/main.move +20 -0
- package/src/internal/utils/utils.ts +2 -32
- package/src/types/keyless.ts +1 -1
- package/src/types/types.ts +10 -0
- package/src/utils/helpers.ts +61 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-PA2XFIP3.js +0 -4
- package/dist/common/chunk-PA2XFIP3.js.map +0 -1
- package/dist/esm/chunk-2N4EPY2J.mjs +0 -2
- package/dist/esm/chunk-2N4EPY2J.mjs.map +0 -1
- package/dist/esm/chunk-2OBSQ2FK.mjs +0 -2
- package/dist/esm/chunk-2OBSQ2FK.mjs.map +0 -1
- package/dist/esm/chunk-36H47QOE.mjs +0 -2
- package/dist/esm/chunk-36H47QOE.mjs.map +0 -1
- package/dist/esm/chunk-3DHWWNJ3.mjs +0 -2
- package/dist/esm/chunk-3DHWWNJ3.mjs.map +0 -1
- package/dist/esm/chunk-4KKJ36IO.mjs +0 -2
- package/dist/esm/chunk-4KKJ36IO.mjs.map +0 -1
- package/dist/esm/chunk-4NMDYPUD.mjs +0 -1
- package/dist/esm/chunk-4NMDYPUD.mjs.map +0 -1
- package/dist/esm/chunk-4PW3JKQZ.mjs +0 -2
- package/dist/esm/chunk-4PW3JKQZ.mjs.map +0 -1
- package/dist/esm/chunk-4QK4SKAT.mjs +0 -2
- package/dist/esm/chunk-4QK4SKAT.mjs.map +0 -1
- package/dist/esm/chunk-4SWK3JHQ.mjs +0 -2
- package/dist/esm/chunk-4SWK3JHQ.mjs.map +0 -1
- package/dist/esm/chunk-553ZRNUL.mjs +0 -2
- package/dist/esm/chunk-553ZRNUL.mjs.map +0 -1
- package/dist/esm/chunk-5AD7ZF6G.mjs +0 -2
- package/dist/esm/chunk-5AD7ZF6G.mjs.map +0 -1
- package/dist/esm/chunk-5MVHOQKD.mjs +0 -2
- package/dist/esm/chunk-5MVHOQKD.mjs.map +0 -1
- package/dist/esm/chunk-5W5XV63W.mjs +0 -2
- package/dist/esm/chunk-5W5XV63W.mjs.map +0 -1
- package/dist/esm/chunk-5WWU3WSU.mjs +0 -2
- package/dist/esm/chunk-5WWU3WSU.mjs.map +0 -1
- package/dist/esm/chunk-6FQDCTMA.mjs +0 -2
- package/dist/esm/chunk-6FQDCTMA.mjs.map +0 -1
- package/dist/esm/chunk-6IULVNLQ.mjs +0 -2
- package/dist/esm/chunk-6IULVNLQ.mjs.map +0 -1
- package/dist/esm/chunk-6KI24ZRR.mjs +0 -2
- package/dist/esm/chunk-6KI24ZRR.mjs.map +0 -1
- package/dist/esm/chunk-6KZT3KFZ.mjs +0 -2
- package/dist/esm/chunk-6KZT3KFZ.mjs.map +0 -1
- package/dist/esm/chunk-6VGLRQBT.mjs +0 -2
- package/dist/esm/chunk-6VGLRQBT.mjs.map +0 -1
- package/dist/esm/chunk-6YPM7TK2.mjs +0 -2
- package/dist/esm/chunk-6YPM7TK2.mjs.map +0 -1
- package/dist/esm/chunk-7HC33TEX.mjs +0 -2
- package/dist/esm/chunk-7HC33TEX.mjs.map +0 -1
- package/dist/esm/chunk-7KHKP7DY.mjs +0 -2
- package/dist/esm/chunk-7KHKP7DY.mjs.map +0 -1
- package/dist/esm/chunk-7OUPEQRN.mjs +0 -2
- package/dist/esm/chunk-7OUPEQRN.mjs.map +0 -1
- package/dist/esm/chunk-APGCD5FH.mjs +0 -2
- package/dist/esm/chunk-APGCD5FH.mjs.map +0 -1
- package/dist/esm/chunk-BSCOVLWS.mjs +0 -1
- package/dist/esm/chunk-BSCOVLWS.mjs.map +0 -1
- package/dist/esm/chunk-CGTMSLVZ.mjs +0 -2
- package/dist/esm/chunk-CGTMSLVZ.mjs.map +0 -1
- package/dist/esm/chunk-CU6HQJSE.mjs +0 -2
- package/dist/esm/chunk-CU6HQJSE.mjs.map +0 -1
- package/dist/esm/chunk-DAR3R4UP.mjs +0 -2
- package/dist/esm/chunk-DAR3R4UP.mjs.map +0 -1
- package/dist/esm/chunk-DUJJUR7O.mjs +0 -2
- package/dist/esm/chunk-DUJJUR7O.mjs.map +0 -1
- package/dist/esm/chunk-E7FWVXGX.mjs +0 -1
- package/dist/esm/chunk-E7FWVXGX.mjs.map +0 -1
- package/dist/esm/chunk-EHTTY7EF.mjs +0 -2
- package/dist/esm/chunk-EHTTY7EF.mjs.map +0 -1
- package/dist/esm/chunk-FCHN3LT7.mjs +0 -2
- package/dist/esm/chunk-FCHN3LT7.mjs.map +0 -1
- package/dist/esm/chunk-GFPEB22G.mjs +0 -1
- package/dist/esm/chunk-GFPEB22G.mjs.map +0 -1
- package/dist/esm/chunk-GJOUTA7U.mjs +0 -2
- package/dist/esm/chunk-GJOUTA7U.mjs.map +0 -1
- package/dist/esm/chunk-H4YAL2IL.mjs.map +0 -1
- package/dist/esm/chunk-HEZ2ZYZA.mjs +0 -1
- package/dist/esm/chunk-HEZ2ZYZA.mjs.map +0 -1
- package/dist/esm/chunk-HTP5ZVX5.mjs +0 -2
- package/dist/esm/chunk-HTP5ZVX5.mjs.map +0 -1
- package/dist/esm/chunk-HWNPKEOJ.mjs +0 -2
- package/dist/esm/chunk-HWNPKEOJ.mjs.map +0 -1
- package/dist/esm/chunk-IHYTP2EW.mjs +0 -1
- package/dist/esm/chunk-IHYTP2EW.mjs.map +0 -1
- package/dist/esm/chunk-ILUFGYLO.mjs +0 -2
- package/dist/esm/chunk-ILUFGYLO.mjs.map +0 -1
- package/dist/esm/chunk-IM4O756A.mjs +0 -2
- package/dist/esm/chunk-IM4O756A.mjs.map +0 -1
- package/dist/esm/chunk-IMYNN4TW.mjs +0 -2
- package/dist/esm/chunk-IMYNN4TW.mjs.map +0 -1
- package/dist/esm/chunk-JA7CXAVY.mjs +0 -2
- package/dist/esm/chunk-JA7CXAVY.mjs.map +0 -1
- package/dist/esm/chunk-JBARRS6K.mjs +0 -2
- package/dist/esm/chunk-JBARRS6K.mjs.map +0 -1
- package/dist/esm/chunk-JLZGYZBX.mjs +0 -2
- package/dist/esm/chunk-JNNFNYDO.mjs +0 -2
- package/dist/esm/chunk-JNNFNYDO.mjs.map +0 -1
- package/dist/esm/chunk-JXHGJ3AA.mjs +0 -2
- package/dist/esm/chunk-JXHGJ3AA.mjs.map +0 -1
- package/dist/esm/chunk-K4JUKMMY.mjs +0 -2
- package/dist/esm/chunk-K4JUKMMY.mjs.map +0 -1
- package/dist/esm/chunk-LET633ZK.mjs +0 -2
- package/dist/esm/chunk-LET633ZK.mjs.map +0 -1
- package/dist/esm/chunk-LQOSHBB7.mjs +0 -4
- package/dist/esm/chunk-LQOSHBB7.mjs.map +0 -1
- package/dist/esm/chunk-M2GGYCLU.mjs +0 -2
- package/dist/esm/chunk-M2GGYCLU.mjs.map +0 -1
- package/dist/esm/chunk-MY2BEHYF.mjs +0 -2
- package/dist/esm/chunk-MY2BEHYF.mjs.map +0 -1
- package/dist/esm/chunk-MZVVBJVV.mjs +0 -2
- package/dist/esm/chunk-MZVVBJVV.mjs.map +0 -1
- package/dist/esm/chunk-N73S2K2V.mjs +0 -2
- package/dist/esm/chunk-N73S2K2V.mjs.map +0 -1
- package/dist/esm/chunk-NIDF2LHF.mjs +0 -2
- package/dist/esm/chunk-NIDF2LHF.mjs.map +0 -1
- package/dist/esm/chunk-OSZWSLJA.mjs +0 -2
- package/dist/esm/chunk-OSZWSLJA.mjs.map +0 -1
- package/dist/esm/chunk-P265EC4T.mjs +0 -2
- package/dist/esm/chunk-P265EC4T.mjs.map +0 -1
- package/dist/esm/chunk-PE7KT5ZB.mjs +0 -2
- package/dist/esm/chunk-PE7KT5ZB.mjs.map +0 -1
- package/dist/esm/chunk-PICZWW35.mjs +0 -2
- package/dist/esm/chunk-PICZWW35.mjs.map +0 -1
- package/dist/esm/chunk-PWGTRRSJ.mjs +0 -2
- package/dist/esm/chunk-PWGTRRSJ.mjs.map +0 -1
- package/dist/esm/chunk-Q3AVJUBL.mjs +0 -2
- package/dist/esm/chunk-Q3AVJUBL.mjs.map +0 -1
- package/dist/esm/chunk-QLEZDMIK.mjs +0 -2
- package/dist/esm/chunk-QLEZDMIK.mjs.map +0 -1
- package/dist/esm/chunk-QXTQNFEQ.mjs +0 -2
- package/dist/esm/chunk-QXTQNFEQ.mjs.map +0 -1
- package/dist/esm/chunk-R6I6Z3AA.mjs +0 -2
- package/dist/esm/chunk-R6I6Z3AA.mjs.map +0 -1
- package/dist/esm/chunk-R6QCPXQG.mjs.map +0 -1
- package/dist/esm/chunk-RMMOF53Q.mjs +0 -1
- package/dist/esm/chunk-RMMOF53Q.mjs.map +0 -1
- package/dist/esm/chunk-SCLWOTHD.mjs +0 -2
- package/dist/esm/chunk-SCLWOTHD.mjs.map +0 -1
- package/dist/esm/chunk-SZU5Q6CF.mjs +0 -2
- package/dist/esm/chunk-SZU5Q6CF.mjs.map +0 -1
- package/dist/esm/chunk-T3VLXADE.mjs +0 -2
- package/dist/esm/chunk-T3VLXADE.mjs.map +0 -1
- package/dist/esm/chunk-TJICLFR2.mjs +0 -2
- package/dist/esm/chunk-TJICLFR2.mjs.map +0 -1
- package/dist/esm/chunk-U6ZD22B5.mjs +0 -2
- package/dist/esm/chunk-U6ZD22B5.mjs.map +0 -1
- package/dist/esm/chunk-UOBDL2BZ.mjs +0 -2
- package/dist/esm/chunk-UOBDL2BZ.mjs.map +0 -1
- package/dist/esm/chunk-UP36QQGG.mjs +0 -4
- package/dist/esm/chunk-UP36QQGG.mjs.map +0 -1
- package/dist/esm/chunk-VIXTXBYA.mjs +0 -2
- package/dist/esm/chunk-VIXTXBYA.mjs.map +0 -1
- package/dist/esm/chunk-WYV4W2IM.mjs +0 -2
- package/dist/esm/chunk-WYV4W2IM.mjs.map +0 -1
- package/dist/esm/chunk-X5ORWYVO.mjs +0 -7
- package/dist/esm/chunk-X5ORWYVO.mjs.map +0 -1
- package/dist/esm/chunk-X5UJYMJU.mjs +0 -2
- package/dist/esm/chunk-X5UJYMJU.mjs.map +0 -1
- package/dist/esm/chunk-X5YB74NB.mjs +0 -2
- package/dist/esm/chunk-X6H4G6NE.mjs +0 -2
- package/dist/esm/chunk-X6H4G6NE.mjs.map +0 -1
- package/dist/esm/chunk-XFL3B4WZ.mjs +0 -2
- package/dist/esm/chunk-XFL3B4WZ.mjs.map +0 -1
- package/dist/esm/chunk-XX4SFNZY.mjs +0 -2
- package/dist/esm/chunk-XX4SFNZY.mjs.map +0 -1
- package/dist/esm/chunk-YMXJ6GYE.mjs +0 -2
- package/dist/esm/chunk-YMXJ6GYE.mjs.map +0 -1
- package/dist/esm/chunk-ZJCTELB4.mjs +0 -2
- package/dist/esm/chunk-ZJCTELB4.mjs.map +0 -1
- /package/dist/esm/{chunk-AIPHJFJL.mjs.map → chunk-3IGJ2IMB.mjs.map} +0 -0
- /package/dist/esm/{chunk-2P27DDVV.mjs.map → chunk-5MMTP427.mjs.map} +0 -0
- /package/dist/esm/{chunk-AEGA5N2W.mjs.map → chunk-6J64BOS7.mjs.map} +0 -0
- /package/dist/esm/{chunk-TTY5GFMN.mjs.map → chunk-BSH7B2QT.mjs.map} +0 -0
- /package/dist/esm/{chunk-KBC4ECVP.mjs.map → chunk-HRHICHDX.mjs.map} +0 -0
- /package/dist/esm/{chunk-HWMMVLTP.mjs.map → chunk-JG4T5BDZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZOY6N6UM.mjs.map → chunk-NZXPT44W.mjs.map} +0 -0
- /package/dist/esm/{chunk-2SAOCLIU.mjs.map → chunk-POELQOLD.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZVYTHOS5.mjs.map → chunk-PXG3WJIU.mjs.map} +0 -0
- /package/dist/esm/{chunk-ACE3NEV6.mjs.map → chunk-VNUNIQAY.mjs.map} +0 -0
package/dist/esm/api/staking.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{Gd as a}from"../chunk-7H44HTYE.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-PDAWVDI7.mjs";import"../chunk-6J64BOS7.mjs";import"../chunk-MIW45ADL.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-ANTUWHYB.mjs";import"../chunk-LS3IDL2N.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-2V636AYW.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-TTFYJM6A.mjs";import"../chunk-YHKWV7NV.mjs";import"../chunk-7VEWPUCH.mjs";import"../chunk-DOVH6HPL.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-7CRQNXR5.mjs";import"../chunk-LGC2JORV.mjs";import"../chunk-A3VO773Q.mjs";import"../chunk-W4BSN6SK.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-IMTC3J2M.mjs";import"../chunk-BSH7B2QT.mjs";import"../chunk-JG4T5BDZ.mjs";import"../chunk-POELQOLD.mjs";import"../chunk-VNUNIQAY.mjs";import"../chunk-NZXPT44W.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-HRHICHDX.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-6374Q7AG.mjs";import"../chunk-5MMTP427.mjs";import"../chunk-PXG3WJIU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-YHJHXLYS.mjs";import"../chunk-PR72YXRK.mjs";import"../chunk-3IGJ2IMB.mjs";import"../chunk-EYLZD4JU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-B373VRCY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KSLLV3ZC.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-GPG64UZT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Staking};
|
|
2
2
|
//# sourceMappingURL=staking.mjs.map
|
package/dist/esm/api/table.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-JG4T5BDZ.mjs";import"../chunk-POELQOLD.mjs";import"../chunk-VNUNIQAY.mjs";import"../chunk-NZXPT44W.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-HRHICHDX.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-6374Q7AG.mjs";import"../chunk-5MMTP427.mjs";import"../chunk-PXG3WJIU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-YHJHXLYS.mjs";import"../chunk-PR72YXRK.mjs";import"../chunk-3IGJ2IMB.mjs";import"../chunk-EYLZD4JU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-B373VRCY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-GPG64UZT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Table};
|
|
2
2
|
//# sourceMappingURL=table.mjs.map
|
|
@@ -3,11 +3,11 @@ import { PaginationArgs, TransactionResponse, AnyNumber, HexInput, WaitForTransa
|
|
|
3
3
|
import { FeePayerOrFeePayerAuthenticatorOrNeither } from '../internal/transactionSubmission.mjs';
|
|
4
4
|
import { AccountAuthenticator } from '../transactions/authenticator/account.mjs';
|
|
5
5
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
6
|
-
import { A as AuthenticationKey } from '../publicKey-
|
|
6
|
+
import { A as AuthenticationKey } from '../publicKey-pDHBAZlT.mjs';
|
|
7
|
+
import { A as Account } from '../Ed25519Account-CDURCT1q.mjs';
|
|
8
|
+
import { AnyRawTransaction, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData } from '../transactions/types.mjs';
|
|
7
9
|
import { Ed25519PrivateKey } from '../core/crypto/ed25519.mjs';
|
|
8
10
|
import { SimpleTransaction } from '../transactions/instances/simpleTransaction.mjs';
|
|
9
|
-
import { AnyRawTransaction, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData } from '../transactions/types.mjs';
|
|
10
|
-
import { A as Account } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
11
11
|
import { Build } from './transactionSubmission/build.mjs';
|
|
12
12
|
import { Simulate } from './transactionSubmission/simulate.mjs';
|
|
13
13
|
import { Submit } from './transactionSubmission/submit.mjs';
|
|
@@ -31,8 +31,8 @@ import '../transactions/instances/identifier.mjs';
|
|
|
31
31
|
import '../transactions/instances/moduleId.mjs';
|
|
32
32
|
import '../transactions/typeTag/index.mjs';
|
|
33
33
|
import '../core/crypto/multiEd25519.mjs';
|
|
34
|
-
import '../core/crypto/multiKey.mjs';
|
|
35
34
|
import '../core/crypto/signature.mjs';
|
|
35
|
+
import '../core/crypto/multiKey.mjs';
|
|
36
36
|
import '../core/crypto/singleKey.mjs';
|
|
37
37
|
import '../core/crypto/secp256k1.mjs';
|
|
38
38
|
import '../core/crypto/privateKey.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{Pd as a}from"../chunk-7H44HTYE.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-PDAWVDI7.mjs";import"../chunk-6J64BOS7.mjs";import"../chunk-MIW45ADL.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-ANTUWHYB.mjs";import"../chunk-LS3IDL2N.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-2V636AYW.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-TTFYJM6A.mjs";import"../chunk-YHKWV7NV.mjs";import"../chunk-7VEWPUCH.mjs";import"../chunk-DOVH6HPL.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-7CRQNXR5.mjs";import"../chunk-LGC2JORV.mjs";import"../chunk-A3VO773Q.mjs";import"../chunk-W4BSN6SK.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-IMTC3J2M.mjs";import"../chunk-BSH7B2QT.mjs";import"../chunk-JG4T5BDZ.mjs";import"../chunk-POELQOLD.mjs";import"../chunk-VNUNIQAY.mjs";import"../chunk-NZXPT44W.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-HRHICHDX.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-6374Q7AG.mjs";import"../chunk-5MMTP427.mjs";import"../chunk-PXG3WJIU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-YHJHXLYS.mjs";import"../chunk-PR72YXRK.mjs";import"../chunk-3IGJ2IMB.mjs";import"../chunk-EYLZD4JU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-B373VRCY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KSLLV3ZC.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-GPG64UZT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Transaction};
|
|
2
2
|
//# sourceMappingURL=transaction.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AccountAddressInput } from '../../core/accountAddress.mjs';
|
|
2
|
+
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
|
|
2
3
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
3
4
|
import { SimpleTransaction } from '../../transactions/instances/simpleTransaction.mjs';
|
|
4
5
|
import { MultiAgentTransaction } from '../../transactions/instances/multiAgentTransaction.mjs';
|
|
5
|
-
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
|
|
6
6
|
import { AptosScriptComposer } from '../../transactions/scriptComposer/index.mjs';
|
|
7
7
|
import '../../bcs/serializer.mjs';
|
|
8
8
|
import '../../core/hex.mjs';
|
|
@@ -15,25 +15,25 @@ import '../../utils/apiEndpoints.mjs';
|
|
|
15
15
|
import '@aptos-labs/script-composer-pack';
|
|
16
16
|
import '../../bcs/deserializer.mjs';
|
|
17
17
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
18
|
-
import '../../utils/const.mjs';
|
|
19
|
-
import '../../transactions/instances/rawTransaction.mjs';
|
|
20
|
-
import '../../transactions/instances/chainId.mjs';
|
|
21
|
-
import '../../transactions/instances/transactionPayload.mjs';
|
|
22
|
-
import '../../transactions/instances/identifier.mjs';
|
|
23
|
-
import '../../transactions/instances/moduleId.mjs';
|
|
24
|
-
import '../../transactions/typeTag/index.mjs';
|
|
25
18
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
26
19
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
27
20
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
28
|
-
import '../../publicKey-
|
|
21
|
+
import '../../publicKey-pDHBAZlT.mjs';
|
|
29
22
|
import '../../core/crypto/signature.mjs';
|
|
30
23
|
import '../../transactions/authenticator/account.mjs';
|
|
31
24
|
import '../../core/crypto/ed25519.mjs';
|
|
32
25
|
import '../../core/crypto/privateKey.mjs';
|
|
26
|
+
import '../../utils/const.mjs';
|
|
33
27
|
import '../../core/crypto/multiEd25519.mjs';
|
|
34
28
|
import '../../core/crypto/multiKey.mjs';
|
|
35
29
|
import '../../core/crypto/singleKey.mjs';
|
|
36
30
|
import '../../core/crypto/secp256k1.mjs';
|
|
31
|
+
import '../../transactions/instances/rawTransaction.mjs';
|
|
32
|
+
import '../../transactions/instances/chainId.mjs';
|
|
33
|
+
import '../../transactions/instances/transactionPayload.mjs';
|
|
34
|
+
import '../../transactions/instances/identifier.mjs';
|
|
35
|
+
import '../../transactions/instances/moduleId.mjs';
|
|
36
|
+
import '../../transactions/typeTag/index.mjs';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* A class to handle all `Build` transaction operations.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{Hd as a}from"../../chunk-7H44HTYE.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-6J64BOS7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-ANTUWHYB.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-TTFYJM6A.mjs";import"../../chunk-YHKWV7NV.mjs";import"../../chunk-7VEWPUCH.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-BSH7B2QT.mjs";import"../../chunk-JG4T5BDZ.mjs";import"../../chunk-POELQOLD.mjs";import"../../chunk-VNUNIQAY.mjs";import"../../chunk-NZXPT44W.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-HRHICHDX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6374Q7AG.mjs";import"../../chunk-5MMTP427.mjs";import"../../chunk-PXG3WJIU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-YHJHXLYS.mjs";import"../../chunk-PR72YXRK.mjs";import"../../chunk-3IGJ2IMB.mjs";import"../../chunk-EYLZD4JU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-GPG64UZT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
|
|
2
2
|
//# sourceMappingURL=build.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
|
2
2
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
3
|
-
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
4
3
|
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
|
|
4
|
+
import { A as Account } from '../../Ed25519Account-CDURCT1q.mjs';
|
|
5
5
|
import { TransactionWorkerEvents, TransactionWorker } from '../../transactions/management/transactionWorker.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
7
7
|
import '../../types/indexer.mjs';
|
|
@@ -10,24 +10,24 @@ import '../../types/generated/types.mjs';
|
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
11
|
import '@aptos-labs/script-composer-pack';
|
|
12
12
|
import '../../utils/const.mjs';
|
|
13
|
-
import '../../
|
|
13
|
+
import '../../bcs/serializable/moveStructs.mjs';
|
|
14
|
+
import '../../bcs/serializable/movePrimitives.mjs';
|
|
14
15
|
import '../../bcs/deserializer.mjs';
|
|
15
16
|
import '../../bcs/serializer.mjs';
|
|
16
17
|
import '../../core/hex.mjs';
|
|
17
18
|
import '../../core/common.mjs';
|
|
18
|
-
import '../../core/crypto/ed25519.mjs';
|
|
19
|
-
import '../../publicKey-BMtGNNLg.mjs';
|
|
20
|
-
import '../../core/accountAddress.mjs';
|
|
21
19
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
20
|
+
import '../../bcs/serializable/fixedBytes.mjs';
|
|
21
|
+
import '../../core/accountAddress.mjs';
|
|
22
|
+
import '../../publicKey-pDHBAZlT.mjs';
|
|
22
23
|
import '../../core/crypto/signature.mjs';
|
|
24
|
+
import '../../transactions/authenticator/account.mjs';
|
|
25
|
+
import '../../core/crypto/ed25519.mjs';
|
|
23
26
|
import '../../core/crypto/privateKey.mjs';
|
|
24
27
|
import '../../core/crypto/multiEd25519.mjs';
|
|
25
28
|
import '../../core/crypto/multiKey.mjs';
|
|
26
29
|
import '../../core/crypto/singleKey.mjs';
|
|
27
30
|
import '../../core/crypto/secp256k1.mjs';
|
|
28
|
-
import '../../bcs/serializable/moveStructs.mjs';
|
|
29
|
-
import '../../bcs/serializable/movePrimitives.mjs';
|
|
30
|
-
import '../../bcs/serializable/fixedBytes.mjs';
|
|
31
31
|
import '../../transactions/instances/rawTransaction.mjs';
|
|
32
32
|
import '../../transactions/instances/chainId.mjs';
|
|
33
33
|
import '../../transactions/instances/transactionPayload.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{Od as a}from"../../chunk-7H44HTYE.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-6J64BOS7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-ANTUWHYB.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-TTFYJM6A.mjs";import"../../chunk-YHKWV7NV.mjs";import"../../chunk-7VEWPUCH.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-BSH7B2QT.mjs";import"../../chunk-JG4T5BDZ.mjs";import"../../chunk-POELQOLD.mjs";import"../../chunk-VNUNIQAY.mjs";import"../../chunk-NZXPT44W.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-HRHICHDX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6374Q7AG.mjs";import"../../chunk-5MMTP427.mjs";import"../../chunk-PXG3WJIU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-YHJHXLYS.mjs";import"../../chunk-PR72YXRK.mjs";import"../../chunk-3IGJ2IMB.mjs";import"../../chunk-EYLZD4JU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-GPG64UZT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
|
|
2
2
|
//# sourceMappingURL=management.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountAuthenticator } from '../../transactions/authenticator/account.mjs';
|
|
2
2
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
3
|
-
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
4
3
|
import { AnyRawTransaction } from '../../transactions/types.mjs';
|
|
4
|
+
import { A as Account } from '../../Ed25519Account-CDURCT1q.mjs';
|
|
5
5
|
import '../../bcs/deserializer.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
7
7
|
import '../../types/indexer.mjs';
|
|
@@ -13,16 +13,16 @@ import '../../bcs/serializer.mjs';
|
|
|
13
13
|
import '../../core/hex.mjs';
|
|
14
14
|
import '../../core/common.mjs';
|
|
15
15
|
import '../../core/crypto/ed25519.mjs';
|
|
16
|
-
import '../../publicKey-
|
|
16
|
+
import '../../publicKey-pDHBAZlT.mjs';
|
|
17
17
|
import '../../core/accountAddress.mjs';
|
|
18
18
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
19
19
|
import '../../core/crypto/signature.mjs';
|
|
20
20
|
import '../../core/crypto/privateKey.mjs';
|
|
21
|
+
import '../../utils/const.mjs';
|
|
21
22
|
import '../../core/crypto/multiEd25519.mjs';
|
|
22
23
|
import '../../core/crypto/multiKey.mjs';
|
|
23
24
|
import '../../core/crypto/singleKey.mjs';
|
|
24
25
|
import '../../core/crypto/secp256k1.mjs';
|
|
25
|
-
import '../../utils/const.mjs';
|
|
26
26
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
27
27
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
28
28
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Pb as o}from"../../chunk-7H44HTYE.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-6J64BOS7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-ANTUWHYB.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-TTFYJM6A.mjs";import"../../chunk-YHKWV7NV.mjs";import"../../chunk-7VEWPUCH.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-BSH7B2QT.mjs";import"../../chunk-JG4T5BDZ.mjs";import"../../chunk-POELQOLD.mjs";import"../../chunk-VNUNIQAY.mjs";import"../../chunk-NZXPT44W.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-HRHICHDX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6374Q7AG.mjs";import"../../chunk-5MMTP427.mjs";import"../../chunk-PXG3WJIU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-YHJHXLYS.mjs";import"../../chunk-PR72YXRK.mjs";import"../../chunk-3IGJ2IMB.mjs";import"../../chunk-EYLZD4JU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-GPG64UZT.mjs";import"../../chunk-KDMSOCZY.mjs";var a=class{constructor(n){this.config=n}transaction(n){return o({...n})}transactionAsFeePayer(n){let{signer:r,transaction:t}=n;if(!t.feePayerAddress)throw new Error(`Transaction ${t} is not a Fee Payer transaction`);return t.feePayerAddress=r.accountAddress,o({signer:r,transaction:t})}};export{a as Sign};
|
|
2
2
|
//# sourceMappingURL=sign.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"y8DAcO,IAAMA,EAAN,KAAW,CAuBhB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,YAAYC,EAAiF,CAC3F,OAAOC,EAAgB,CACrB,GAAGD,CACL,CAAC,CACH,CAyCA,sBAAsBA,EAAiF,CACrG,GAAM,CAAE,OAAAE,EAAQ,YAAAC,CAAY,EAAIH,EAIhC,GAAI,CAACG,EAAY,gBACf,MAAM,IAAI,MAAM,eAAeA,CAAW,iCAAiC,EAI7E,OAAAA,EAAY,gBAAkBD,EAAO,eAE9BD,EAAgB,CACrB,OAAAC,EACA,YAAAC,CACF,CAAC,CACH,CACF","names":["Sign","config","args","signTransaction","signer","transaction"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserTransactionResponse } from '../../types/types.mjs';
|
|
2
|
-
import { P as PublicKey } from '../../publicKey-
|
|
3
|
-
import { AptosConfig } from '../aptosConfig.mjs';
|
|
2
|
+
import { P as PublicKey } from '../../publicKey-pDHBAZlT.mjs';
|
|
4
3
|
import { AnyRawTransaction, InputSimulateTransactionOptions } from '../../transactions/types.mjs';
|
|
4
|
+
import { AptosConfig } from '../aptosConfig.mjs';
|
|
5
5
|
import '../../types/indexer.mjs';
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
@@ -14,23 +14,23 @@ import '../../core/accountAddress.mjs';
|
|
|
14
14
|
import '../../bcs/deserializer.mjs';
|
|
15
15
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
16
16
|
import '../../core/crypto/signature.mjs';
|
|
17
|
-
import '../../utils/const.mjs';
|
|
18
17
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
19
18
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
20
19
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
21
|
-
import '../../transactions/instances/rawTransaction.mjs';
|
|
22
|
-
import '../../transactions/instances/chainId.mjs';
|
|
23
|
-
import '../../transactions/instances/transactionPayload.mjs';
|
|
24
|
-
import '../../transactions/instances/identifier.mjs';
|
|
25
|
-
import '../../transactions/instances/moduleId.mjs';
|
|
26
|
-
import '../../transactions/typeTag/index.mjs';
|
|
27
20
|
import '../../transactions/authenticator/account.mjs';
|
|
28
21
|
import '../../core/crypto/ed25519.mjs';
|
|
29
22
|
import '../../core/crypto/privateKey.mjs';
|
|
23
|
+
import '../../utils/const.mjs';
|
|
30
24
|
import '../../core/crypto/multiEd25519.mjs';
|
|
31
25
|
import '../../core/crypto/multiKey.mjs';
|
|
32
26
|
import '../../core/crypto/singleKey.mjs';
|
|
33
27
|
import '../../core/crypto/secp256k1.mjs';
|
|
28
|
+
import '../../transactions/instances/rawTransaction.mjs';
|
|
29
|
+
import '../../transactions/instances/chainId.mjs';
|
|
30
|
+
import '../../transactions/instances/transactionPayload.mjs';
|
|
31
|
+
import '../../transactions/instances/identifier.mjs';
|
|
32
|
+
import '../../transactions/instances/moduleId.mjs';
|
|
33
|
+
import '../../transactions/typeTag/index.mjs';
|
|
34
34
|
import '../../transactions/instances/simpleTransaction.mjs';
|
|
35
35
|
import '../../transactions/instances/multiAgentTransaction.mjs';
|
|
36
36
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{Id as a}from"../../chunk-7H44HTYE.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-6J64BOS7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-ANTUWHYB.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-TTFYJM6A.mjs";import"../../chunk-YHKWV7NV.mjs";import"../../chunk-7VEWPUCH.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-BSH7B2QT.mjs";import"../../chunk-JG4T5BDZ.mjs";import"../../chunk-POELQOLD.mjs";import"../../chunk-VNUNIQAY.mjs";import"../../chunk-NZXPT44W.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-HRHICHDX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6374Q7AG.mjs";import"../../chunk-5MMTP427.mjs";import"../../chunk-PXG3WJIU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-YHJHXLYS.mjs";import"../../chunk-PR72YXRK.mjs";import"../../chunk-3IGJ2IMB.mjs";import"../../chunk-EYLZD4JU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-GPG64UZT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
|
|
2
2
|
//# sourceMappingURL=simulate.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountAuthenticator } from '../../transactions/authenticator/account.mjs';
|
|
2
2
|
import { PendingTransactionResponse } from '../../types/types.mjs';
|
|
3
|
-
import { AptosConfig } from '../aptosConfig.mjs';
|
|
4
3
|
import { AnyRawTransaction } from '../../transactions/types.mjs';
|
|
4
|
+
import { AptosConfig } from '../aptosConfig.mjs';
|
|
5
5
|
import '../../bcs/deserializer.mjs';
|
|
6
6
|
import '../../types/indexer.mjs';
|
|
7
7
|
import '../../types/generated/operations.mjs';
|
|
@@ -12,16 +12,16 @@ import '../../bcs/serializer.mjs';
|
|
|
12
12
|
import '../../core/hex.mjs';
|
|
13
13
|
import '../../core/common.mjs';
|
|
14
14
|
import '../../core/crypto/ed25519.mjs';
|
|
15
|
-
import '../../publicKey-
|
|
15
|
+
import '../../publicKey-pDHBAZlT.mjs';
|
|
16
16
|
import '../../core/accountAddress.mjs';
|
|
17
17
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
18
18
|
import '../../core/crypto/signature.mjs';
|
|
19
19
|
import '../../core/crypto/privateKey.mjs';
|
|
20
|
+
import '../../utils/const.mjs';
|
|
20
21
|
import '../../core/crypto/multiEd25519.mjs';
|
|
21
22
|
import '../../core/crypto/multiKey.mjs';
|
|
22
23
|
import '../../core/crypto/singleKey.mjs';
|
|
23
24
|
import '../../core/crypto/secp256k1.mjs';
|
|
24
|
-
import '../../utils/const.mjs';
|
|
25
25
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
26
26
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
27
27
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{Jd as a}from"../../chunk-7H44HTYE.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-6J64BOS7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-ANTUWHYB.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-TTFYJM6A.mjs";import"../../chunk-YHKWV7NV.mjs";import"../../chunk-7VEWPUCH.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-BSH7B2QT.mjs";import"../../chunk-JG4T5BDZ.mjs";import"../../chunk-POELQOLD.mjs";import"../../chunk-VNUNIQAY.mjs";import"../../chunk-NZXPT44W.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-HRHICHDX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6374Q7AG.mjs";import"../../chunk-5MMTP427.mjs";import"../../chunk-PXG3WJIU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-YHJHXLYS.mjs";import"../../chunk-PR72YXRK.mjs";import"../../chunk-3IGJ2IMB.mjs";import"../../chunk-EYLZD4JU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-GPG64UZT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
|
|
2
2
|
//# sourceMappingURL=submit.mjs.map
|
package/dist/esm/api/utils.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-VNUNIQAY.mjs";import"../chunk-NZXPT44W.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-HRHICHDX.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-6374Q7AG.mjs";import"../chunk-5MMTP427.mjs";import"../chunk-PXG3WJIU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-YHJHXLYS.mjs";import"../chunk-PR72YXRK.mjs";import"../chunk-3IGJ2IMB.mjs";import"../chunk-EYLZD4JU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-B373VRCY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-GPG64UZT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
|
|
2
2
|
//# sourceMappingURL=utils.mjs.map
|
package/dist/esm/bcs/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-FZY4PMEE.mjs";import{a as
|
|
1
|
+
import"../chunk-FZY4PMEE.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-HHWJHOFZ.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o}from"../chunk-TKXEVD7A.mjs";import{a as h}from"../chunk-ERLDXTIY.mjs";import{a as g}from"../chunk-RIINVEZA.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-B373VRCY.mjs";import"../chunk-4WPQQPUF.mjs";import{a}from"../chunk-ZD2TY5N3.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{i as Bool,a as Deserializer,h as EntryFunctionBytes,g as FixedBytes,s as MoveOption,r as MoveString,p as MoveVector,b as Serializable,q as Serialized,c as Serializer,n as U128,k as U16,o as U256,l as U32,m as U64,j as U8,d as ensureBoolean,e as outOfRangeErrorMessage,f as validateNumberInRange};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../../chunk-TKXEVD7A.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../../chunk-TKXEVD7A.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Bool,f as U128,c as U16,g as U256,d as U32,e as U64,b as U8};
|
|
2
2
|
//# sourceMappingURL=movePrimitives.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-B373VRCY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as MoveOption,c as MoveString,a as MoveVector,b as Serialized};
|
|
2
2
|
//# sourceMappingURL=moveStructs.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as c}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as c}from"./chunk-EYLZD4JU.mjs";import{sha3_256 as n}from"@noble/hashes/sha3";var d=(e,r)=>{let t=e.bcsToBytes(),s=typeof r=="string"?Buffer.from(r,"utf8"):r,o=new Uint8Array([...t,...s,254]);return new c(n(o))},f=(e,r)=>{let t=e.bcsToBytes(),s=typeof r=="string"?Buffer.from(r,"utf8"):r,o=new Uint8Array([...t,...s,255]);return new c(n(o))},a=(e,r,t)=>{let s=`${r}::${t}`;return d(e,s)};export{d as a,f as b,a as c};
|
|
2
|
+
//# sourceMappingURL=chunk-3IGJ2IMB.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as u,d as A}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as u,d as A}from"./chunk-PXG3WJIU.mjs";async function n(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return u({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function y(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return A({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function C(e){let{aptosConfig:t}=e;return n({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function E(e){let{aptosConfig:t}=e;return y({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function l(e){let{aptosConfig:t}=e;return n({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.indexerConfig?.HEADERS}}})}async function m(e){let{aptosConfig:t}=e,o={...t,clientConfig:{...t.clientConfig}};return delete o?.clientConfig?.API_KEY,n({...e,type:"Faucet",overrides:{...o.clientConfig,...o.faucetConfig,...e.overrides,HEADERS:{...o.clientConfig?.HEADERS,...o.faucetConfig?.HEADERS}}})}async function P(e){return n({...e,type:"Pepper"})}async function x(e){return n({...e,type:"Prover"})}export{n as a,y as b,C as c,E as d,l as e,m as f,P as g,x as h};
|
|
2
|
+
//# sourceMappingURL=chunk-5MMTP427.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{c as d,d as c}from"./chunk-PXG3WJIU.mjs";async function p(e){let{aptosConfig:t,overrides:s,params:r,contentType:n,acceptType:i,path:a,originMethod:o,type:u}=e,R=t.getRequestUrl(u);return d({url:R,method:"GET",originMethod:o,path:a,contentType:n,acceptType:i,params:r,overrides:{...t.clientConfig,...s}},t,e.type)}async function f(e){let{aptosConfig:t,overrides:s,params:r,contentType:n,acceptType:i,path:a,originMethod:o,type:u}=e,R=t.getRequestUrl(u);return c({url:R,method:"GET",originMethod:o,path:a,contentType:n,acceptType:i,params:r,overrides:{...t.clientConfig,...s}},t,e.type)}async function q(e){let{aptosConfig:t}=e;return p({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function A(e){let{aptosConfig:t}=e;return f({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function C(e){return p({...e,type:"Pepper"})}async function h(e){let t=new Array(0),s,r=e.params;do{let n=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:r,overrides:e.overrides});s=n.headers["x-aptos-cursor"],delete n.headers,t.push(...n.data),r.start=s}while(s!=null);return t}async function x(e){let t=new Array(0),s,r=e.params,n=r.limit;do{let{response:i,cursor:a}=await g({...e});if(s=a,t.push(...i.data),e?.params&&(e.params.start=s),n!==void 0){let o=n-t.length;if(o<=0)break;r.limit=o}}while(s!=null);return t}async function g(e){let t,s={};typeof e.params?.cursor=="string"&&(s.start=e.params.cursor),typeof e.params?.limit=="number"&&(s.limit=e.params.limit);let r=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:s,overrides:e.overrides});return t=r.headers["x-aptos-cursor"],{response:r,cursor:t}}export{p as a,f as b,q as c,A as d,C as e,h as f,x as g,g as h};
|
|
2
|
+
//# sourceMappingURL=chunk-6374Q7AG.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/client/get.ts"],"sourcesContent":["import { AptosConfig } from \"../api/aptosConfig\";\nimport { aptosBinaryRequest, aptosRequest } from \"./core\";\nimport { AptosResponse, AnyNumber, ClientConfig, MimeType } from \"../types\";\nimport { AptosApiType } from \"../utils/const\";\n\n/**\n * Options for making a GET request, including configuration for the API client.\n * @group Implementation\n * @category Client\n */\nexport type GetRequestOptions = {\n /**\n * The config for the API client\n * @group Implementation\n * @category Client\n */\n aptosConfig: AptosConfig;\n /**\n * The type of API endpoint to call e.g. fullnode, indexer, etc\n * @group Implementation\n * @category Client\n */\n type: AptosApiType;\n /**\n * The name of the API method\n * @group Implementation\n * @category Client\n */\n originMethod: string;\n /**\n * The URL path to the API method\n * @group Implementation\n * @category Client\n */\n path: string;\n /**\n * The content type of the request body\n * @group Implementation\n * @category Client\n */\n contentType?: MimeType;\n /**\n * The accepted content type of the response of the API\n * @group Implementation\n * @category Client\n */\n acceptType?: MimeType;\n /**\n * The query parameters for the request\n * @group Implementation\n * @category Client\n */\n params?: Record<string, string | AnyNumber | boolean | undefined>;\n /**\n * Specific client overrides for this request to override aptosConfig\n * @group Implementation\n * @category Client\n */\n overrides?: ClientConfig;\n};\n\n/**\n * Options for making a request to the Aptos API, excluding the \"type\" field.\n * @group Implementation\n * @category Client\n */\nexport type GetAptosRequestOptions = Omit<GetRequestOptions, \"type\">;\n\n/**\n * Executes a GET request to retrieve data based on the provided options.\n *\n * @param options - The options for the GET request.\n * @param options.aptosConfig - The configuration object for Aptos requests.\n * @param options.overrides - Optional overrides for the request configuration.\n * @param options.params - Query parameters to include in the request.\n * @param options.contentType - The content type of the request.\n * @param options.acceptType - The accepted response type.\n * @param options.path - The specific path for the request.\n * @param options.originMethod - The original method of the request.\n * @param options.type - The type of request being made.\n * @returns The response from the GET request.\n * @group Implementation\n * @category Client\n */\nexport async function get<Req extends {}, Res extends {}>(\n options: GetRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig, overrides, params, contentType, acceptType, path, originMethod, type } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosRequest<Req, Res>(\n {\n url,\n method: \"GET\",\n originMethod,\n path,\n contentType,\n acceptType,\n params,\n overrides: {\n ...aptosConfig.clientConfig,\n ...overrides,\n },\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Executes a GET request to retrieve data based on the provided options.\n *\n * @param options - The options for the GET request.\n * @param options.aptosConfig - The configuration object for Aptos requests.\n * @param options.overrides - Optional overrides for the request configuration.\n * @param options.params - Query parameters to include in the request.\n * @param options.contentType - The content type of the request.\n * @param options.acceptType - The accepted response type.\n * @param options.path - The specific path for the request.\n * @param options.originMethod - The original method of the request.\n * @param options.type - The type of request being made.\n * @returns The response from the GET request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function getBinary<Req extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig, overrides, params, contentType, acceptType, path, originMethod, type } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosBinaryRequest<Req>(\n {\n url,\n method: \"GET\",\n originMethod,\n path,\n contentType,\n acceptType,\n params,\n overrides: {\n ...aptosConfig.clientConfig,\n ...overrides,\n },\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Retrieves data from the Aptos full node using the provided options.\n *\n * @param options - The options for the request to the Aptos full node.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and full node.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.fullnodeConfig - The full node configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.type - The type of API request being made.\n *\n * @returns A promise that resolves with the response from the Aptos full node.\n * @group Implementation\n * @category Client\n */\nexport async function getAptosFullNode<Req extends {}, Res extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n\n return get<Req, Res>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Retrieves data from the Aptos full node using the provided options.\n *\n * @param options - The options for the request to the Aptos full node.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and full node.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.fullnodeConfig - The full node configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.type - The type of API request being made.\n *\n * @returns A promise that resolves with the response from the Aptos full node.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function getBinaryAptosFullNode<Req extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig } = options;\n\n return getBinary<Req>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Makes a GET request to the Aptos Pepper service to retrieve data.\n *\n * @param options - The options for the request.\n * @param options.param1 - Description of param1.\n * @param options.param2 - Description of param2.\n * @returns AptosResponse - The response from the Aptos Pepper service.\n * @group Implementation\n * @category Client\n */\nexport async function getAptosPepperService<Req extends {}, Res extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return get<Req, Res>({ ...options, type: AptosApiType.PEPPER });\n}\n\n/**\n * This function is a helper for paginating using a function wrapping an API\n * @group Implementation\n * @category Client\n */\nexport async function paginateWithCursor<Req extends Record<string, any>, Res extends Array<{}>>(\n options: GetAptosRequestOptions,\n): Promise<Res> {\n const out: any[] = [];\n let cursor: string | undefined;\n const requestParams = options.params as { start?: string; limit?: number };\n do {\n // eslint-disable-next-line no-await-in-loop\n const response = await get<Req, Res>({\n type: AptosApiType.FULLNODE,\n aptosConfig: options.aptosConfig,\n originMethod: options.originMethod,\n path: options.path,\n params: requestParams,\n overrides: options.overrides,\n });\n /**\n * the cursor is a \"state key\" from the API perspective. Client\n * should not need to \"care\" what it represents but just use it\n * to query the next chunk of data.\n * @group Implementation\n * @category Client\n */\n cursor = response.headers[\"x-aptos-cursor\"];\n // Now that we have the cursor (if any), we remove the headers before\n // adding these to the output of this function.\n delete response.headers;\n out.push(...response.data);\n requestParams.start = cursor;\n } while (cursor !== null && cursor !== undefined);\n return out as Res;\n}\n\n/// This function is a helper for paginating using a function wrapping an API using offset instead of start\nexport async function paginateWithObfuscatedCursor<Req extends Record<string, any>, Res extends Array<{}>>(\n options: GetAptosRequestOptions,\n): Promise<Res> {\n const out: any[] = [];\n let cursor: string | undefined;\n const requestParams = options.params as { offset?: string; limit?: number };\n const totalLimit = requestParams.limit;\n do {\n // eslint-disable-next-line no-await-in-loop\n const response = await get<Req, Res>({\n type: AptosApiType.FULLNODE,\n aptosConfig: options.aptosConfig,\n originMethod: options.originMethod,\n path: options.path,\n params: requestParams,\n overrides: options.overrides,\n });\n /**\n * the cursor is a \"state key\" from the API perspective. Client\n * should not need to \"care\" what it represents but just use it\n * to query the next chunk of data.\n */\n cursor = response.headers[\"x-aptos-cursor\"];\n // Now that we have the cursor (if any), we remove the headers before\n // adding these to the output of this function.\n delete response.headers;\n out.push(...response.data);\n requestParams.offset = cursor;\n\n // Re-evaluate length\n if (totalLimit !== undefined) {\n const newLimit = totalLimit - out.length;\n if (newLimit <= 0) {\n break;\n }\n requestParams.limit = newLimit;\n }\n } while (cursor !== null && cursor !== undefined);\n return out as Res;\n}\n"],"mappings":"gDAoFA,eAAsBA,EACpBC,EACkC,CAClC,GAAM,CAAE,YAAAC,EAAa,UAAAC,EAAW,OAAAC,EAAQ,YAAAC,EAAa,WAAAC,EAAY,KAAAC,EAAM,aAAAC,EAAc,KAAAC,CAAK,EAAIR,EACxFS,EAAMR,EAAY,cAAcO,CAAI,EAE1C,OAAOE,EACL,CACE,IAAAD,EACA,OAAQ,MACR,aAAAF,EACA,KAAAD,EACA,YAAAF,EACA,WAAAC,EACA,OAAAF,EACA,UAAW,CACT,GAAGF,EAAY,aACf,GAAGC,CACL,CACF,EACAD,EACAD,EAAQ,IACV,CACF,CAmBA,eAAsBW,EAA0BX,EAAiE,CAC/G,GAAM,CAAE,YAAAC,EAAa,UAAAC,EAAW,OAAAC,EAAQ,YAAAC,EAAa,WAAAC,EAAY,KAAAC,EAAM,aAAAC,EAAc,KAAAC,CAAK,EAAIR,EACxFS,EAAMR,EAAY,cAAcO,CAAI,EAE1C,OAAOI,EACL,CACE,IAAAH,EACA,OAAQ,MACR,aAAAF,EACA,KAAAD,EACA,YAAAF,EACA,WAAAC,EACA,OAAAF,EACA,UAAW,CACT,GAAGF,EAAY,aACf,GAAGC,CACL,CACF,EACAD,EACAD,EAAQ,IACV,CACF,CAgBA,eAAsBa,EACpBb,EACkC,CAClC,GAAM,CAAE,YAAAC,CAAY,EAAID,EAExB,OAAOD,EAAc,CACnB,GAAGC,EACH,gBACA,UAAW,CACT,GAAGC,EAAY,aACf,GAAGA,EAAY,eACf,GAAGD,EAAQ,UACX,QAAS,CAAE,GAAGC,EAAY,cAAc,QAAS,GAAGA,EAAY,gBAAgB,OAAQ,CAC1F,CACF,CAAC,CACH,CAiBA,eAAsBa,EACpBd,EACqC,CACrC,GAAM,CAAE,YAAAC,CAAY,EAAID,EAExB,OAAOW,EAAe,CACpB,GAAGX,EACH,gBACA,UAAW,CACT,GAAGC,EAAY,aACf,GAAGA,EAAY,eACf,GAAGD,EAAQ,UACX,QAAS,CAAE,GAAGC,EAAY,cAAc,QAAS,GAAGA,EAAY,gBAAgB,OAAQ,CAC1F,CACF,CAAC,CACH,CAYA,eAAsBc,EACpBf,EACkC,CAClC,OAAOD,EAAc,CAAE,GAAGC,EAAS,aAA0B,CAAC,CAChE,CAOA,eAAsBgB,EACpBhB,EACc,CACd,IAAMiB,EAAa,CAAC,EAChBC,EACEC,EAAgBnB,EAAQ,OAC9B,EAAG,CAED,IAAMoB,EAAW,MAAMrB,EAAc,CACnC,gBACA,YAAaC,EAAQ,YACrB,aAAcA,EAAQ,aACtB,KAAMA,EAAQ,KACd,OAAQmB,EACR,UAAWnB,EAAQ,SACrB,CAAC,EAQDkB,EAASE,EAAS,QAAQ,gBAAgB,EAG1C,OAAOA,EAAS,QAChBH,EAAI,KAAK,GAAGG,EAAS,IAAI,EACzBD,EAAc,MAAQD,CACxB,OAASA,GAAW,MACpB,OAAOD,CACT,CAGA,eAAsBI,EACpBrB,EACc,CACd,IAAMiB,EAAa,CAAC,EAChBC,EACEC,EAAgBnB,EAAQ,OACxBsB,EAAaH,EAAc,MACjC,EAAG,CAED,IAAMC,EAAW,MAAMrB,EAAc,CACnC,gBACA,YAAaC,EAAQ,YACrB,aAAcA,EAAQ,aACtB,KAAMA,EAAQ,KACd,OAAQmB,EACR,UAAWnB,EAAQ,SACrB,CAAC,EAcD,GARAkB,EAASE,EAAS,QAAQ,gBAAgB,EAG1C,OAAOA,EAAS,QAChBH,EAAI,KAAK,GAAGG,EAAS,IAAI,EACzBD,EAAc,OAASD,EAGnBI,IAAe,OAAW,CAC5B,IAAMC,EAAWD,EAAaL,EAAI,OAClC,GAAIM,GAAY,EACd,MAEFJ,EAAc,MAAQI,CACxB,CACF,OAASL,GAAW,MACpB,OAAOD,CACT","names":["get","options","aptosConfig","overrides","params","contentType","acceptType","path","originMethod","type","url","aptosRequest","getBinary","aptosBinaryRequest","getAptosFullNode","getBinaryAptosFullNode","getAptosPepperService","paginateWithCursor","out","cursor","requestParams","response","paginateWithObfuscatedCursor","totalLimit","newLimit"]}
|
|
1
|
+
{"version":3,"sources":["../../src/client/get.ts"],"sourcesContent":["import { AptosConfig } from \"../api/aptosConfig\";\nimport { aptosBinaryRequest, aptosRequest } from \"./core\";\nimport { AptosResponse, AnyNumber, ClientConfig, MimeType } from \"../types\";\nimport { AptosApiType } from \"../utils/const\";\n\n/**\n * Options for making a GET request, including configuration for the API client.\n * @group Implementation\n * @category Client\n */\nexport type GetRequestOptions = {\n /**\n * The config for the API client\n * @group Implementation\n * @category Client\n */\n aptosConfig: AptosConfig;\n /**\n * The type of API endpoint to call e.g. fullnode, indexer, etc\n * @group Implementation\n * @category Client\n */\n type: AptosApiType;\n /**\n * The name of the API method\n * @group Implementation\n * @category Client\n */\n originMethod: string;\n /**\n * The URL path to the API method\n * @group Implementation\n * @category Client\n */\n path: string;\n /**\n * The content type of the request body\n * @group Implementation\n * @category Client\n */\n contentType?: MimeType;\n /**\n * The accepted content type of the response of the API\n * @group Implementation\n * @category Client\n */\n acceptType?: MimeType;\n /**\n * The query parameters for the request\n * @group Implementation\n * @category Client\n */\n params?: Record<string, string | AnyNumber | boolean | undefined>;\n /**\n * Specific client overrides for this request to override aptosConfig\n * @group Implementation\n * @category Client\n */\n overrides?: ClientConfig;\n};\n\n/**\n * Options for making a request to the Aptos API, excluding the \"type\" field.\n * @group Implementation\n * @category Client\n */\nexport type GetAptosRequestOptions = Omit<GetRequestOptions, \"type\">;\n\n/**\n * Executes a GET request to retrieve data based on the provided options.\n *\n * @param options - The options for the GET request.\n * @param options.aptosConfig - The configuration object for Aptos requests.\n * @param options.overrides - Optional overrides for the request configuration.\n * @param options.params - Query parameters to include in the request.\n * @param options.contentType - The content type of the request.\n * @param options.acceptType - The accepted response type.\n * @param options.path - The specific path for the request.\n * @param options.originMethod - The original method of the request.\n * @param options.type - The type of request being made.\n * @returns The response from the GET request.\n * @group Implementation\n * @category Client\n */\nexport async function get<Req extends {}, Res extends {}>(\n options: GetRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig, overrides, params, contentType, acceptType, path, originMethod, type } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosRequest<Req, Res>(\n {\n url,\n method: \"GET\",\n originMethod,\n path,\n contentType,\n acceptType,\n params,\n overrides: {\n ...aptosConfig.clientConfig,\n ...overrides,\n },\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Executes a GET request to retrieve data based on the provided options.\n *\n * @param options - The options for the GET request.\n * @param options.aptosConfig - The configuration object for Aptos requests.\n * @param options.overrides - Optional overrides for the request configuration.\n * @param options.params - Query parameters to include in the request.\n * @param options.contentType - The content type of the request.\n * @param options.acceptType - The accepted response type.\n * @param options.path - The specific path for the request.\n * @param options.originMethod - The original method of the request.\n * @param options.type - The type of request being made.\n * @returns The response from the GET request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function getBinary<Req extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig, overrides, params, contentType, acceptType, path, originMethod, type } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosBinaryRequest<Req>(\n {\n url,\n method: \"GET\",\n originMethod,\n path,\n contentType,\n acceptType,\n params,\n overrides: {\n ...aptosConfig.clientConfig,\n ...overrides,\n },\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Retrieves data from the Aptos full node using the provided options.\n *\n * @param options - The options for the request to the Aptos full node.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and full node.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.fullnodeConfig - The full node configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.type - The type of API request being made.\n *\n * @returns A promise that resolves with the response from the Aptos full node.\n * @group Implementation\n * @category Client\n */\nexport async function getAptosFullNode<Req extends {}, Res extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n\n return get<Req, Res>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Retrieves data from the Aptos full node using the provided options.\n *\n * @param options - The options for the request to the Aptos full node.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and full node.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.fullnodeConfig - The full node configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.type - The type of API request being made.\n *\n * @returns A promise that resolves with the response from the Aptos full node.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function getBinaryAptosFullNode<Req extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig } = options;\n\n return getBinary<Req>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Makes a GET request to the Aptos Pepper service to retrieve data.\n *\n * @param options - The options for the request.\n * @param options.param1 - Description of param1.\n * @param options.param2 - Description of param2.\n * @returns AptosResponse - The response from the Aptos Pepper service.\n * @group Implementation\n * @category Client\n */\nexport async function getAptosPepperService<Req extends {}, Res extends {}>(\n options: GetAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return get<Req, Res>({ ...options, type: AptosApiType.PEPPER });\n}\n\n/**\n * This function is a helper for paginating using a function wrapping an API\n * @group Implementation\n * @category Client\n */\nexport async function paginateWithCursor<Req extends Record<string, any>, Res extends Array<{}>>(\n options: GetAptosRequestOptions,\n): Promise<Res> {\n const out: Res = new Array(0) as Res;\n let cursor: string | undefined;\n const requestParams = options.params as { start?: string; limit?: number };\n do {\n // eslint-disable-next-line no-await-in-loop\n const response = await get<Req, Res>({\n type: AptosApiType.FULLNODE,\n aptosConfig: options.aptosConfig,\n originMethod: options.originMethod,\n path: options.path,\n params: requestParams,\n overrides: options.overrides,\n });\n /**\n * the cursor is a \"state key\" from the API perspective. Client\n * should not need to \"care\" what it represents but just use it\n * to query the next chunk of data.\n * @group Implementation\n * @category Client\n */\n cursor = response.headers[\"x-aptos-cursor\"];\n // Now that we have the cursor (if any), we remove the headers before\n // adding these to the output of this function.\n delete response.headers;\n out.push(...response.data);\n requestParams.start = cursor;\n } while (cursor !== null && cursor !== undefined);\n return out;\n}\n\n/// This function is a helper for paginating using a function wrapping an API using offset instead of start\nexport async function paginateWithObfuscatedCursor<Req extends Record<string, any>, Res extends Array<{}>>(\n options: GetAptosRequestOptions,\n): Promise<Res> {\n const out: Res = new Array(0) as Res;\n let cursor: string | undefined;\n const requestParams = options.params as { start?: string; limit?: number };\n const totalLimit = requestParams.limit;\n do {\n // eslint-disable-next-line no-await-in-loop\n const { response, cursor: newCursor } = await getPageWithObfuscatedCursor<Req, Res>({ ...options });\n\n /**\n * the cursor is a \"state key\" from the API perspective. Client\n * should not need to \"care\" what it represents but just use it\n * to query the next chunk of data.\n */\n cursor = newCursor;\n out.push(...response.data);\n if (options?.params) {\n options.params.start = cursor;\n }\n\n // Re-evaluate length\n if (totalLimit !== undefined) {\n const newLimit = totalLimit - out.length;\n if (newLimit <= 0) {\n break;\n }\n requestParams.limit = newLimit;\n }\n } while (cursor !== null && cursor !== undefined);\n return out;\n}\n\nexport async function getPageWithObfuscatedCursor<Req extends Record<string, any>, Res extends Array<{}>>(\n options: GetAptosRequestOptions,\n): Promise<{ response: AptosResponse<Req, Res>; cursor: string | undefined }> {\n let cursor: string | undefined;\n let requestParams: { start?: string; limit?: number } = {};\n\n // Drop any other values\n // TODO: Throw error if cursor is not a string\n if (typeof options.params?.cursor === \"string\") {\n requestParams.start = options.params.cursor;\n }\n if (typeof options.params?.limit === \"number\") {\n requestParams.limit = options.params.limit;\n }\n\n // eslint-disable-next-line no-await-in-loop\n const response = await get<Req, Res>({\n type: AptosApiType.FULLNODE,\n aptosConfig: options.aptosConfig,\n originMethod: options.originMethod,\n path: options.path,\n params: requestParams,\n overrides: options.overrides,\n });\n\n /**\n * the cursor is a \"state key\" from the API perspective. Client\n * should not need to \"care\" what it represents but just use it\n * to query the next chunk of data.\n */\n cursor = response.headers[\"x-aptos-cursor\"];\n return { response, cursor };\n}\n"],"mappings":"gDAoFA,eAAsBA,EACpBC,EACkC,CAClC,GAAM,CAAE,YAAAC,EAAa,UAAAC,EAAW,OAAAC,EAAQ,YAAAC,EAAa,WAAAC,EAAY,KAAAC,EAAM,aAAAC,EAAc,KAAAC,CAAK,EAAIR,EACxFS,EAAMR,EAAY,cAAcO,CAAI,EAE1C,OAAOE,EACL,CACE,IAAAD,EACA,OAAQ,MACR,aAAAF,EACA,KAAAD,EACA,YAAAF,EACA,WAAAC,EACA,OAAAF,EACA,UAAW,CACT,GAAGF,EAAY,aACf,GAAGC,CACL,CACF,EACAD,EACAD,EAAQ,IACV,CACF,CAmBA,eAAsBW,EAA0BX,EAAiE,CAC/G,GAAM,CAAE,YAAAC,EAAa,UAAAC,EAAW,OAAAC,EAAQ,YAAAC,EAAa,WAAAC,EAAY,KAAAC,EAAM,aAAAC,EAAc,KAAAC,CAAK,EAAIR,EACxFS,EAAMR,EAAY,cAAcO,CAAI,EAE1C,OAAOI,EACL,CACE,IAAAH,EACA,OAAQ,MACR,aAAAF,EACA,KAAAD,EACA,YAAAF,EACA,WAAAC,EACA,OAAAF,EACA,UAAW,CACT,GAAGF,EAAY,aACf,GAAGC,CACL,CACF,EACAD,EACAD,EAAQ,IACV,CACF,CAgBA,eAAsBa,EACpBb,EACkC,CAClC,GAAM,CAAE,YAAAC,CAAY,EAAID,EAExB,OAAOD,EAAc,CACnB,GAAGC,EACH,gBACA,UAAW,CACT,GAAGC,EAAY,aACf,GAAGA,EAAY,eACf,GAAGD,EAAQ,UACX,QAAS,CAAE,GAAGC,EAAY,cAAc,QAAS,GAAGA,EAAY,gBAAgB,OAAQ,CAC1F,CACF,CAAC,CACH,CAiBA,eAAsBa,EACpBd,EACqC,CACrC,GAAM,CAAE,YAAAC,CAAY,EAAID,EAExB,OAAOW,EAAe,CACpB,GAAGX,EACH,gBACA,UAAW,CACT,GAAGC,EAAY,aACf,GAAGA,EAAY,eACf,GAAGD,EAAQ,UACX,QAAS,CAAE,GAAGC,EAAY,cAAc,QAAS,GAAGA,EAAY,gBAAgB,OAAQ,CAC1F,CACF,CAAC,CACH,CAYA,eAAsBc,EACpBf,EACkC,CAClC,OAAOD,EAAc,CAAE,GAAGC,EAAS,aAA0B,CAAC,CAChE,CAOA,eAAsBgB,EACpBhB,EACc,CACd,IAAMiB,EAAW,IAAI,MAAM,CAAC,EACxBC,EACEC,EAAgBnB,EAAQ,OAC9B,EAAG,CAED,IAAMoB,EAAW,MAAMrB,EAAc,CACnC,gBACA,YAAaC,EAAQ,YACrB,aAAcA,EAAQ,aACtB,KAAMA,EAAQ,KACd,OAAQmB,EACR,UAAWnB,EAAQ,SACrB,CAAC,EAQDkB,EAASE,EAAS,QAAQ,gBAAgB,EAG1C,OAAOA,EAAS,QAChBH,EAAI,KAAK,GAAGG,EAAS,IAAI,EACzBD,EAAc,MAAQD,CACxB,OAASA,GAAW,MACpB,OAAOD,CACT,CAGA,eAAsBI,EACpBrB,EACc,CACd,IAAMiB,EAAW,IAAI,MAAM,CAAC,EACxBC,EACEC,EAAgBnB,EAAQ,OACxBsB,EAAaH,EAAc,MACjC,EAAG,CAED,GAAM,CAAE,SAAAC,EAAU,OAAQG,CAAU,EAAI,MAAMC,EAAsC,CAAE,GAAGxB,CAAQ,CAAC,EAclG,GAPAkB,EAASK,EACTN,EAAI,KAAK,GAAGG,EAAS,IAAI,EACrBpB,GAAS,SACXA,EAAQ,OAAO,MAAQkB,GAIrBI,IAAe,OAAW,CAC5B,IAAMG,EAAWH,EAAaL,EAAI,OAClC,GAAIQ,GAAY,EACd,MAEFN,EAAc,MAAQM,CACxB,CACF,OAASP,GAAW,MACpB,OAAOD,CACT,CAEA,eAAsBO,EACpBxB,EAC4E,CAC5E,IAAIkB,EACAC,EAAoD,CAAC,EAIrD,OAAOnB,EAAQ,QAAQ,QAAW,WACpCmB,EAAc,MAAQnB,EAAQ,OAAO,QAEnC,OAAOA,EAAQ,QAAQ,OAAU,WACnCmB,EAAc,MAAQnB,EAAQ,OAAO,OAIvC,IAAMoB,EAAW,MAAMrB,EAAc,CACnC,gBACA,YAAaC,EAAQ,YACrB,aAAcA,EAAQ,aACtB,KAAMA,EAAQ,KACd,OAAQmB,EACR,UAAWnB,EAAQ,SACrB,CAAC,EAOD,OAAAkB,EAASE,EAAS,QAAQ,gBAAgB,EACnC,CAAE,SAAAA,EAAU,OAAAF,CAAO,CAC5B","names":["get","options","aptosConfig","overrides","params","contentType","acceptType","path","originMethod","type","url","aptosRequest","getBinary","aptosBinaryRequest","getAptosFullNode","getBinaryAptosFullNode","getAptosPepperService","paginateWithCursor","out","cursor","requestParams","response","paginateWithObfuscatedCursor","totalLimit","newCursor","getPageWithObfuscatedCursor","newLimit"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as o}from"./chunk-EYLZD4JU.mjs";import{a as u,c as r}from"./chunk-HHWJHOFZ.mjs";import{e as t}from"./chunk-TKXEVD7A.mjs";import{a as i}from"./chunk-RXHER6EA.mjs";var c=class extends i{constructor(e){super();this.accountAddress=o.ONE;this.moduleName=new r("account");this.structName=new r("RotationProofChallenge");this.sequenceNumber=new t(e.sequenceNumber),this.originator=e.originator,this.currentAuthKey=e.currentAuthKey,this.newPublicKey=u.U8(e.newPublicKey.toUint8Array())}serialize(e){e.serialize(this.accountAddress),e.serialize(this.moduleName),e.serialize(this.structName),e.serialize(this.sequenceNumber),e.serialize(this.originator),e.serialize(this.currentAuthKey),e.serialize(this.newPublicKey)}};export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-6J64BOS7.mjs.map
|