@aptos-labs/ts-sdk 1.39.0 → 2.0.0-zeta.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-D0xKX-UM.d.ts → accountAddress-B3Y4WI-E.d.ts} +47 -11
- package/dist/common/chunk-BNN2XWNR.js +4 -0
- package/dist/common/chunk-BNN2XWNR.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 +121 -110
- package/dist/common/index.js +53 -32
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-D9XrCLfE.d.mts → Ed25519Account-D2MdV8Av.d.mts} +2 -2
- package/dist/esm/account/AbstractKeylessAccount.d.mts +2 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +1 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +1 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +2 -3
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +1 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +1 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +0 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +3 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +1 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +2 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +1 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +2 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +0 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/api/account/abstraction.d.mts +0 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +97 -7
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +1 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +7 -8
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +0 -1
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +0 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +1 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +0 -1
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +0 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +1 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +0 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +7 -8
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +2 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +0 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +0 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +0 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +2 -3
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +0 -66
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +1 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +1 -2
- 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 +0 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +0 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +0 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +0 -1
- package/dist/esm/bcs/deserializer.d.mts +0 -1
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +0 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +0 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +0 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -2
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +0 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +0 -1
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-ARNW34PP.mjs → chunk-2DYSBAZ7.mjs} +2 -2
- package/dist/esm/{chunk-3IHKQH5O.mjs → chunk-34R7FSQF.mjs} +2 -2
- package/dist/esm/{chunk-XF6BISPI.mjs → chunk-3BUKTQDX.mjs} +2 -2
- package/dist/esm/chunk-3FEFJIVT.mjs +2 -0
- package/dist/esm/chunk-3FEFJIVT.mjs.map +1 -0
- package/dist/esm/{chunk-KAYKTT4S.mjs → chunk-4F5EECVQ.mjs} +2 -2
- package/dist/esm/chunk-4YLUM62M.mjs +2 -0
- package/dist/esm/chunk-5HXLZHDW.mjs +1 -0
- package/dist/esm/{chunk-25O4L7YR.mjs → chunk-6UZHMEK3.mjs} +2 -2
- package/dist/esm/{chunk-6Y6ZO7TS.mjs → chunk-6WDVDEQZ.mjs} +2 -2
- package/dist/esm/{chunk-YFFDF22R.mjs → chunk-7DQDJ2SA.mjs} +2 -2
- package/dist/esm/{chunk-ZMT2M6YT.mjs → chunk-B563XRSZ.mjs} +2 -2
- package/dist/esm/{chunk-V7U5Y4AU.mjs → chunk-CO67Y6YE.mjs} +2 -2
- package/dist/esm/{chunk-V7U5Y4AU.mjs.map → chunk-CO67Y6YE.mjs.map} +1 -1
- package/dist/esm/{chunk-WTLQD6MR.mjs → chunk-CQJLK4WE.mjs} +2 -2
- package/dist/esm/{chunk-NJN3EAOM.mjs → chunk-EBMEXURY.mjs} +2 -2
- package/dist/esm/chunk-FD6FGKYY.mjs +1 -0
- package/dist/esm/chunk-FD6FGKYY.mjs.map +1 -0
- package/dist/esm/{chunk-6PKBXYG3.mjs → chunk-FGFLPH5K.mjs} +2 -2
- package/dist/esm/{chunk-GLFZJNF3.mjs → chunk-GPNNEHW4.mjs} +2 -2
- package/dist/esm/chunk-GRPSFJ3N.mjs +4 -0
- package/dist/esm/chunk-GRPSFJ3N.mjs.map +1 -0
- package/dist/esm/chunk-HLF3U7IS.mjs +2 -0
- package/dist/esm/{chunk-L33JDCWL.mjs.map → chunk-HLF3U7IS.mjs.map} +1 -1
- package/dist/esm/{chunk-BUUV6B4P.mjs → chunk-HNBVYE3N.mjs} +2 -2
- package/dist/esm/{chunk-GJ7STZEW.mjs → chunk-HW7TSJI2.mjs} +2 -2
- package/dist/esm/chunk-JCFTAG5Z.mjs +2 -0
- package/dist/esm/{chunk-RJ7F4JDV.mjs.map → chunk-JCFTAG5Z.mjs.map} +1 -1
- package/dist/esm/{chunk-WLUXOUZH.mjs → chunk-MT2RJ7H3.mjs} +2 -2
- package/dist/esm/{chunk-SOJ3OG6X.mjs → chunk-N4VVDQA5.mjs} +2 -2
- package/dist/esm/{chunk-PRUQZNAP.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/{chunk-C6JRJNK3.mjs → chunk-ORMOQWWH.mjs} +2 -2
- package/dist/esm/{chunk-GYVSI3TS.mjs → chunk-RGKRCZ36.mjs} +2 -2
- package/dist/esm/{chunk-FBCXUC7J.mjs → chunk-RQX6JOEN.mjs} +2 -2
- package/dist/esm/{chunk-BXRBOMHW.mjs → chunk-SVMCNLFC.mjs} +2 -2
- package/dist/esm/{chunk-GQ557FEA.mjs → chunk-TDGLYA35.mjs} +2 -2
- package/dist/esm/{chunk-IXYGZ57N.mjs → chunk-TOBQ5UE6.mjs} +2 -2
- package/dist/esm/{chunk-VHNX2NUR.mjs → chunk-UL777LTI.mjs} +47 -26
- package/dist/esm/chunk-UL777LTI.mjs.map +1 -0
- package/dist/esm/{chunk-YQIAWAPY.mjs → chunk-UQWF24SS.mjs} +2 -2
- package/dist/esm/{chunk-YQIAWAPY.mjs.map → chunk-UQWF24SS.mjs.map} +1 -1
- package/dist/esm/{chunk-P237G6YB.mjs → chunk-V7NWNNBI.mjs} +2 -2
- package/dist/esm/{chunk-Z6KQX6VX.mjs → chunk-WCMW2L3P.mjs} +2 -2
- package/dist/esm/{chunk-BYINW7I2.mjs → chunk-WSR5EBJM.mjs} +2 -2
- package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
- package/dist/esm/{chunk-OYH2T6V5.mjs → chunk-XKUIMGKU.mjs} +2 -2
- package/dist/esm/chunk-XTMUMN74.mjs +2 -0
- package/dist/esm/chunk-XTMUMN74.mjs.map +1 -0
- package/dist/esm/{chunk-JGFKIUG5.mjs → chunk-XTOIL6MB.mjs} +2 -2
- package/dist/esm/{chunk-JGFKIUG5.mjs.map → chunk-XTOIL6MB.mjs.map} +1 -1
- package/dist/esm/cli/index.d.mts +0 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +0 -1
- package/dist/esm/client/core.d.mts +0 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +0 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +0 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +0 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +0 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +0 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +0 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +0 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +0 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +0 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +1 -2
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +0 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +1 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +1 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +10 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +2 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +0 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +0 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +0 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -2
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +0 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +0 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/types.d.mts +25 -0
- package/dist/esm/core/crypto/types.mjs +2 -0
- package/dist/esm/core/crypto/types.mjs.map +1 -0
- package/dist/esm/core/crypto/utils.d.mts +0 -1
- package/dist/esm/core/hex.d.mts +0 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +0 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/{federatedKeyless-DAYXjY2Y.d.mts → federatedKeyless-BelAZrlM.d.mts} +2 -2
- package/dist/esm/index.d.mts +7 -8
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.d.mts +0 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.d.mts +43 -15
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +2 -3
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +0 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +2 -3
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +0 -1
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +0 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +1 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +0 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +11 -3
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +0 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +0 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +0 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +0 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +1 -2
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/utils/index.d.mts +0 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/utils.d.mts +0 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.d.mts +0 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +0 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +0 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +0 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +2 -4
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +0 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +0 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +0 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +0 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +0 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +0 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +0 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +0 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +0 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +0 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -2
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +1 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +1 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +1 -2
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +0 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -13
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +0 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -3
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +0 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +0 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +2 -11
- package/dist/esm/types/generated/operations.d.mts +37 -10
- package/dist/esm/types/generated/queries.d.mts +6 -2
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/generated/types.d.mts +584 -1172
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/index.d.mts +2 -3
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +8 -2
- package/dist/esm/types/types.d.mts +25 -4
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/const.d.mts +1 -0
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +0 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +0 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +0 -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 +3 -4
- package/src/account/FederatedKeylessAccount.ts +7 -1
- package/src/account/KeylessAccount.ts +17 -2
- package/src/api/account.ts +122 -2
- package/src/api/aptosConfig.ts +9 -0
- package/src/api/transaction.ts +1 -0
- package/src/api/transactionSubmission/build.ts +2 -85
- package/src/core/crypto/ed25519.ts +1 -1
- package/src/core/crypto/index.ts +1 -0
- package/src/core/crypto/multiEd25519.ts +26 -0
- package/src/core/crypto/multiKey.ts +6 -0
- package/src/core/crypto/secp256k1.ts +1 -1
- package/src/core/crypto/types.ts +9 -0
- package/src/internal/account.ts +523 -53
- package/src/internal/keyless.ts +10 -0
- package/src/internal/queries/getAccountAddressesForAuthKey.graphql +8 -0
- package/src/internal/queries/getAuthKeysForPublicKey.graphql +11 -0
- package/src/transactions/index.ts +0 -1
- package/src/transactions/transactionBuilder/remoteAbi.ts +1 -26
- package/src/transactions/types.ts +0 -11
- package/src/types/codegen.yaml +1 -1
- package/src/types/generated/operations.ts +39 -8
- package/src/types/generated/queries.ts +53 -0
- package/src/types/generated/types.ts +620 -1239
- package/src/types/index.ts +0 -1
- package/src/types/indexer.ts +8 -0
- package/src/types/types.ts +40 -3
- package/src/utils/const.ts +1 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-66TIRJFD.js +0 -4
- package/dist/common/chunk-66TIRJFD.js.map +0 -1
- package/dist/esm/chunk-3OLFJ65O.mjs +0 -2
- package/dist/esm/chunk-3OLFJ65O.mjs.map +0 -1
- package/dist/esm/chunk-F2ZTBAJJ.mjs +0 -2
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +0 -1
- package/dist/esm/chunk-L33JDCWL.mjs +0 -2
- package/dist/esm/chunk-ODAAZLPK.mjs +0 -2
- package/dist/esm/chunk-ODAAZLPK.mjs.map +0 -1
- package/dist/esm/chunk-OYUW6ZN2.mjs +0 -2
- package/dist/esm/chunk-RJ7F4JDV.mjs +0 -2
- package/dist/esm/chunk-TAEOFYOF.mjs +0 -4
- package/dist/esm/chunk-TAEOFYOF.mjs.map +0 -1
- package/dist/esm/chunk-TUZHLTDU.mjs +0 -2
- package/dist/esm/chunk-VHNX2NUR.mjs.map +0 -1
- package/dist/esm/transactions/scriptComposer/index.d.mts +0 -53
- package/dist/esm/transactions/scriptComposer/index.mjs +0 -2
- package/src/transactions/scriptComposer/index.ts +0 -102
- /package/dist/esm/{chunk-ARNW34PP.mjs.map → chunk-2DYSBAZ7.mjs.map} +0 -0
- /package/dist/esm/{chunk-3IHKQH5O.mjs.map → chunk-34R7FSQF.mjs.map} +0 -0
- /package/dist/esm/{chunk-XF6BISPI.mjs.map → chunk-3BUKTQDX.mjs.map} +0 -0
- /package/dist/esm/{chunk-KAYKTT4S.mjs.map → chunk-4F5EECVQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-TUZHLTDU.mjs.map → chunk-4YLUM62M.mjs.map} +0 -0
- /package/dist/esm/{transactions/scriptComposer/index.mjs.map → chunk-5HXLZHDW.mjs.map} +0 -0
- /package/dist/esm/{chunk-25O4L7YR.mjs.map → chunk-6UZHMEK3.mjs.map} +0 -0
- /package/dist/esm/{chunk-6Y6ZO7TS.mjs.map → chunk-6WDVDEQZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-YFFDF22R.mjs.map → chunk-7DQDJ2SA.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZMT2M6YT.mjs.map → chunk-B563XRSZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-WTLQD6MR.mjs.map → chunk-CQJLK4WE.mjs.map} +0 -0
- /package/dist/esm/{chunk-NJN3EAOM.mjs.map → chunk-EBMEXURY.mjs.map} +0 -0
- /package/dist/esm/{chunk-6PKBXYG3.mjs.map → chunk-FGFLPH5K.mjs.map} +0 -0
- /package/dist/esm/{chunk-GLFZJNF3.mjs.map → chunk-GPNNEHW4.mjs.map} +0 -0
- /package/dist/esm/{chunk-BUUV6B4P.mjs.map → chunk-HNBVYE3N.mjs.map} +0 -0
- /package/dist/esm/{chunk-GJ7STZEW.mjs.map → chunk-HW7TSJI2.mjs.map} +0 -0
- /package/dist/esm/{chunk-WLUXOUZH.mjs.map → chunk-MT2RJ7H3.mjs.map} +0 -0
- /package/dist/esm/{chunk-SOJ3OG6X.mjs.map → chunk-N4VVDQA5.mjs.map} +0 -0
- /package/dist/esm/{chunk-PRUQZNAP.mjs.map → chunk-N6YTF76Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-C6JRJNK3.mjs.map → chunk-ORMOQWWH.mjs.map} +0 -0
- /package/dist/esm/{chunk-GYVSI3TS.mjs.map → chunk-RGKRCZ36.mjs.map} +0 -0
- /package/dist/esm/{chunk-FBCXUC7J.mjs.map → chunk-RQX6JOEN.mjs.map} +0 -0
- /package/dist/esm/{chunk-BXRBOMHW.mjs.map → chunk-SVMCNLFC.mjs.map} +0 -0
- /package/dist/esm/{chunk-GQ557FEA.mjs.map → chunk-TDGLYA35.mjs.map} +0 -0
- /package/dist/esm/{chunk-IXYGZ57N.mjs.map → chunk-TOBQ5UE6.mjs.map} +0 -0
- /package/dist/esm/{chunk-P237G6YB.mjs.map → chunk-V7NWNNBI.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z6KQX6VX.mjs.map → chunk-WCMW2L3P.mjs.map} +0 -0
- /package/dist/esm/{chunk-BYINW7I2.mjs.map → chunk-WSR5EBJM.mjs.map} +0 -0
- /package/dist/esm/{chunk-OYUW6ZN2.mjs.map → chunk-XJJVJOX5.mjs.map} +0 -0
- /package/dist/esm/{chunk-OYH2T6V5.mjs.map → chunk-XKUIMGKU.mjs.map} +0 -0
package/dist/esm/api/object.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Zd as a}from"../chunk-
|
|
1
|
+
import{Zd as a}from"../chunk-GRPSFJ3N.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-3BUKTQDX.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-CO67Y6YE.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-34R7FSQF.mjs";import"../chunk-RQX6JOEN.mjs";import"../chunk-CQJLK4WE.mjs";import"../chunk-UQWF24SS.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-WSR5EBJM.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-W4BSN6SK.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-KJH4KKG6.mjs";import"../chunk-FGFLPH5K.mjs";import"../chunk-2DYSBAZ7.mjs";import"../chunk-GPNNEHW4.mjs";import"../chunk-4F5EECVQ.mjs";import"../chunk-V7NWNNBI.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-SVMCNLFC.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-HW7TSJI2.mjs";import"../chunk-TDGLYA35.mjs";import"../chunk-6UZHMEK3.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-XTMUMN74.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-HLF3U7IS.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AptosObject};
|
|
2
2
|
//# sourceMappingURL=object.mjs.map
|
|
@@ -5,7 +5,6 @@ import { AptosConfig } from './aptosConfig.mjs';
|
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../types/generated/types.mjs';
|
|
7
7
|
import '../utils/apiEndpoints.mjs';
|
|
8
|
-
import '@aptos-labs/script-composer-pack';
|
|
9
8
|
import '../bcs/serializer.mjs';
|
|
10
9
|
import '../core/hex.mjs';
|
|
11
10
|
import '../core/common.mjs';
|
package/dist/esm/api/staking.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Id as a}from"../chunk-
|
|
1
|
+
import{Id as a}from"../chunk-GRPSFJ3N.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-3BUKTQDX.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-CO67Y6YE.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-34R7FSQF.mjs";import"../chunk-RQX6JOEN.mjs";import"../chunk-CQJLK4WE.mjs";import"../chunk-UQWF24SS.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-WSR5EBJM.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-W4BSN6SK.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-KJH4KKG6.mjs";import"../chunk-FGFLPH5K.mjs";import"../chunk-2DYSBAZ7.mjs";import"../chunk-GPNNEHW4.mjs";import"../chunk-4F5EECVQ.mjs";import"../chunk-V7NWNNBI.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-SVMCNLFC.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-HW7TSJI2.mjs";import"../chunk-TDGLYA35.mjs";import"../chunk-6UZHMEK3.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-XTMUMN74.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-HLF3U7IS.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Staking};
|
|
2
2
|
//# sourceMappingURL=staking.mjs.map
|
package/dist/esm/api/table.d.mts
CHANGED
|
@@ -4,7 +4,6 @@ import { TableItemsBoolExp, TableMetadatasBoolExp } from '../types/generated/typ
|
|
|
4
4
|
import { AptosConfig } from './aptosConfig.mjs';
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../utils/apiEndpoints.mjs';
|
|
7
|
-
import '@aptos-labs/script-composer-pack';
|
|
8
7
|
import '../utils/const.mjs';
|
|
9
8
|
|
|
10
9
|
/**
|
package/dist/esm/api/table.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-2DYSBAZ7.mjs";import"../chunk-GPNNEHW4.mjs";import"../chunk-4F5EECVQ.mjs";import"../chunk-V7NWNNBI.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-SVMCNLFC.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-HW7TSJI2.mjs";import"../chunk-TDGLYA35.mjs";import"../chunk-6UZHMEK3.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-HLF3U7IS.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Table};
|
|
2
2
|
//# sourceMappingURL=table.mjs.map
|
|
@@ -4,7 +4,7 @@ import { FeePayerOrFeePayerAuthenticatorOrNeither } from '../internal/transactio
|
|
|
4
4
|
import { AccountAuthenticator } from '../transactions/authenticator/account.mjs';
|
|
5
5
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
6
6
|
import { A as AuthenticationKey } from '../publicKey-CJOcUwJK.mjs';
|
|
7
|
-
import { A as Account } from '../Ed25519Account-
|
|
7
|
+
import { A as Account } from '../Ed25519Account-D2MdV8Av.mjs';
|
|
8
8
|
import { AnyRawTransaction, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData } from '../transactions/types.mjs';
|
|
9
9
|
import { Ed25519PrivateKey } from '../core/crypto/ed25519.mjs';
|
|
10
10
|
import { SimpleTransaction } from '../transactions/instances/simpleTransaction.mjs';
|
|
@@ -17,7 +17,6 @@ import '../utils/const.mjs';
|
|
|
17
17
|
import '../types/indexer.mjs';
|
|
18
18
|
import '../types/generated/operations.mjs';
|
|
19
19
|
import '../types/generated/types.mjs';
|
|
20
|
-
import '@aptos-labs/script-composer-pack';
|
|
21
20
|
import '../transactions/instances/multiAgentTransaction.mjs';
|
|
22
21
|
import '../bcs/deserializer.mjs';
|
|
23
22
|
import '../bcs/serializer.mjs';
|
|
@@ -39,7 +38,6 @@ import '../core/crypto/privateKey.mjs';
|
|
|
39
38
|
import '../bcs/serializable/moveStructs.mjs';
|
|
40
39
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
41
40
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
42
|
-
import '../transactions/scriptComposer/index.mjs';
|
|
43
41
|
import 'eventemitter3';
|
|
44
42
|
import '../transactions/management/transactionWorker.mjs';
|
|
45
43
|
import '../transactions/management/accountSequenceNumber.mjs';
|
|
@@ -478,6 +476,7 @@ declare class Transaction {
|
|
|
478
476
|
*/
|
|
479
477
|
rotateAuthKey(args: {
|
|
480
478
|
fromAccount: Account;
|
|
479
|
+
options?: InputGenerateTransactionOptions;
|
|
481
480
|
} & ({
|
|
482
481
|
toAccount: Account;
|
|
483
482
|
dangerouslySkipVerification?: never;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Rd as a}from"../chunk-
|
|
1
|
+
import{Rd as a}from"../chunk-GRPSFJ3N.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-3BUKTQDX.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-CO67Y6YE.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-34R7FSQF.mjs";import"../chunk-RQX6JOEN.mjs";import"../chunk-CQJLK4WE.mjs";import"../chunk-UQWF24SS.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-WSR5EBJM.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-W4BSN6SK.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-KJH4KKG6.mjs";import"../chunk-FGFLPH5K.mjs";import"../chunk-2DYSBAZ7.mjs";import"../chunk-GPNNEHW4.mjs";import"../chunk-4F5EECVQ.mjs";import"../chunk-V7NWNNBI.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-SVMCNLFC.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-HW7TSJI2.mjs";import"../chunk-TDGLYA35.mjs";import"../chunk-6UZHMEK3.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-XTMUMN74.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-HLF3U7IS.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Transaction};
|
|
2
2
|
//# sourceMappingURL=transaction.mjs.map
|
|
@@ -3,7 +3,6 @@ import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions }
|
|
|
3
3
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
4
4
|
import { SimpleTransaction } from '../../transactions/instances/simpleTransaction.mjs';
|
|
5
5
|
import { MultiAgentTransaction } from '../../transactions/instances/multiAgentTransaction.mjs';
|
|
6
|
-
import { AptosScriptComposer } from '../../transactions/scriptComposer/index.mjs';
|
|
7
6
|
import '../../bcs/serializer.mjs';
|
|
8
7
|
import '../../core/hex.mjs';
|
|
9
8
|
import '../../core/common.mjs';
|
|
@@ -12,7 +11,6 @@ import '../../types/indexer.mjs';
|
|
|
12
11
|
import '../../types/generated/operations.mjs';
|
|
13
12
|
import '../../types/generated/types.mjs';
|
|
14
13
|
import '../../utils/apiEndpoints.mjs';
|
|
15
|
-
import '@aptos-labs/script-composer-pack';
|
|
16
14
|
import '../../bcs/deserializer.mjs';
|
|
17
15
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
18
16
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
@@ -116,70 +114,6 @@ declare class Build {
|
|
|
116
114
|
options?: InputGenerateTransactionOptions;
|
|
117
115
|
withFeePayer?: boolean;
|
|
118
116
|
}): Promise<SimpleTransaction>;
|
|
119
|
-
/**
|
|
120
|
-
* Build a transaction from a series of Move calls.
|
|
121
|
-
*
|
|
122
|
-
* This function allows you to create a transaction with a list of Move calls.
|
|
123
|
-
*
|
|
124
|
-
* Right now we only tested this logic with single signer and we will add support
|
|
125
|
-
* for mutli agent transactions if needed.
|
|
126
|
-
*
|
|
127
|
-
* @param args.sender - The sender account address.
|
|
128
|
-
* @param args.builder - The closure to construct the list of calls.
|
|
129
|
-
* @param args.options - Optional transaction configurations.
|
|
130
|
-
* @param args.withFeePayer - Whether there is a fee payer for the transaction.
|
|
131
|
-
*
|
|
132
|
-
* @returns SimpleTransaction
|
|
133
|
-
*
|
|
134
|
-
* @example
|
|
135
|
-
* ```typescript
|
|
136
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
137
|
-
*
|
|
138
|
-
* const config = new AptosConfig({ network: Network.TESTNET });
|
|
139
|
-
* const aptos = new Aptos(config);
|
|
140
|
-
*
|
|
141
|
-
* async function runExample() {
|
|
142
|
-
* // Build a transaction from a chained series of Move calls.
|
|
143
|
-
* const transaction = await aptos.transaction.build.scriptComposer({
|
|
144
|
-
* sender: "0x1", // replace with a real sender account address
|
|
145
|
-
* builder: builder: async (builder) => {
|
|
146
|
-
* const coin = await builder.addBatchedCalls({
|
|
147
|
-
* function: "0x1::coin::withdraw",
|
|
148
|
-
* functionArguments: [CallArgument.new_signer(0), 1],
|
|
149
|
-
* typeArguments: ["0x1::aptos_coin::AptosCoin"],
|
|
150
|
-
* });
|
|
151
|
-
*
|
|
152
|
-
* // Pass the returned value from the first function call to the second call
|
|
153
|
-
* const fungibleAsset = await builder.addBatchedCalls({
|
|
154
|
-
* function: "0x1::coin::coin_to_fungible_asset",
|
|
155
|
-
* functionArguments: [coin[0]],
|
|
156
|
-
* typeArguments: ["0x1::aptos_coin::AptosCoin"],
|
|
157
|
-
* });
|
|
158
|
-
*
|
|
159
|
-
* await builder.addBatchedCalls({
|
|
160
|
-
* function: "0x1::primary_fungible_store::deposit",
|
|
161
|
-
* functionArguments: [singleSignerED25519SenderAccount.accountAddress, fungibleAsset[0]],
|
|
162
|
-
* typeArguments: [],
|
|
163
|
-
* });
|
|
164
|
-
* return builder;
|
|
165
|
-
* },
|
|
166
|
-
* options: {
|
|
167
|
-
* gasUnitPrice: 100, // specify your own gas unit price if needed
|
|
168
|
-
* maxGasAmount: 1000, // specify your own max gas amount if needed
|
|
169
|
-
* },
|
|
170
|
-
* });
|
|
171
|
-
*
|
|
172
|
-
* console.log(transaction);
|
|
173
|
-
* }
|
|
174
|
-
* runExample().catch(console.error);
|
|
175
|
-
* ```
|
|
176
|
-
*/
|
|
177
|
-
scriptComposer(args: {
|
|
178
|
-
sender: AccountAddressInput;
|
|
179
|
-
builder: (builder: AptosScriptComposer) => Promise<AptosScriptComposer>;
|
|
180
|
-
options?: InputGenerateTransactionOptions;
|
|
181
|
-
withFeePayer?: boolean;
|
|
182
|
-
}): Promise<SimpleTransaction>;
|
|
183
117
|
/**
|
|
184
118
|
* Build a multi-agent transaction that allows multiple signers to authorize a transaction.
|
|
185
119
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Jd as a}from"../../chunk-
|
|
1
|
+
import{Jd as a}from"../../chunk-GRPSFJ3N.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-3BUKTQDX.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-CO67Y6YE.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-34R7FSQF.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-CQJLK4WE.mjs";import"../../chunk-UQWF24SS.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-2DYSBAZ7.mjs";import"../../chunk-GPNNEHW4.mjs";import"../../chunk-4F5EECVQ.mjs";import"../../chunk-V7NWNNBI.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-SVMCNLFC.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-HW7TSJI2.mjs";import"../../chunk-TDGLYA35.mjs";import"../../chunk-6UZHMEK3.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-XTMUMN74.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-HLF3U7IS.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
|
|
2
2
|
//# sourceMappingURL=build.mjs.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
|
2
2
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
3
3
|
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
|
|
4
|
-
import { A as Account } from '../../Ed25519Account-
|
|
4
|
+
import { A as Account } from '../../Ed25519Account-D2MdV8Av.mjs';
|
|
5
5
|
import { TransactionWorkerEvents, TransactionWorker } from '../../transactions/management/transactionWorker.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
7
7
|
import '../../types/indexer.mjs';
|
|
8
8
|
import '../../types/generated/operations.mjs';
|
|
9
9
|
import '../../types/generated/types.mjs';
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
|
-
import '@aptos-labs/script-composer-pack';
|
|
12
11
|
import '../../utils/const.mjs';
|
|
13
12
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
14
13
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Qd as a}from"../../chunk-
|
|
1
|
+
import{Qd as a}from"../../chunk-GRPSFJ3N.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-3BUKTQDX.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-CO67Y6YE.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-34R7FSQF.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-CQJLK4WE.mjs";import"../../chunk-UQWF24SS.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-2DYSBAZ7.mjs";import"../../chunk-GPNNEHW4.mjs";import"../../chunk-4F5EECVQ.mjs";import"../../chunk-V7NWNNBI.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-SVMCNLFC.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-HW7TSJI2.mjs";import"../../chunk-TDGLYA35.mjs";import"../../chunk-6UZHMEK3.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-XTMUMN74.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-HLF3U7IS.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
|
|
2
2
|
//# sourceMappingURL=management.mjs.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { AccountAuthenticator } from '../../transactions/authenticator/account.mjs';
|
|
2
2
|
import { AptosConfig } from '../aptosConfig.mjs';
|
|
3
3
|
import { AnyRawTransaction } from '../../transactions/types.mjs';
|
|
4
|
-
import { A as Account } from '../../Ed25519Account-
|
|
4
|
+
import { A as Account } from '../../Ed25519Account-D2MdV8Av.mjs';
|
|
5
5
|
import '../../bcs/deserializer.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
7
7
|
import '../../types/indexer.mjs';
|
|
8
8
|
import '../../types/generated/operations.mjs';
|
|
9
9
|
import '../../types/generated/types.mjs';
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
|
-
import '@aptos-labs/script-composer-pack';
|
|
12
11
|
import '../../bcs/serializer.mjs';
|
|
13
12
|
import '../../core/hex.mjs';
|
|
14
13
|
import '../../core/common.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ob as o}from"../../chunk-GRPSFJ3N.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-3BUKTQDX.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-CO67Y6YE.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-34R7FSQF.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-CQJLK4WE.mjs";import"../../chunk-UQWF24SS.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-2DYSBAZ7.mjs";import"../../chunk-GPNNEHW4.mjs";import"../../chunk-4F5EECVQ.mjs";import"../../chunk-V7NWNNBI.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-SVMCNLFC.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-HW7TSJI2.mjs";import"../../chunk-TDGLYA35.mjs";import"../../chunk-6UZHMEK3.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-XTMUMN74.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-HLF3U7IS.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":"0+DAcO,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"]}
|
|
@@ -6,7 +6,6 @@ import '../../types/indexer.mjs';
|
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
|
-
import '@aptos-labs/script-composer-pack';
|
|
10
9
|
import '../../bcs/serializer.mjs';
|
|
11
10
|
import '../../core/hex.mjs';
|
|
12
11
|
import '../../core/common.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Kd as a}from"../../chunk-
|
|
1
|
+
import{Kd as a}from"../../chunk-GRPSFJ3N.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-3BUKTQDX.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-CO67Y6YE.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-34R7FSQF.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-CQJLK4WE.mjs";import"../../chunk-UQWF24SS.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-2DYSBAZ7.mjs";import"../../chunk-GPNNEHW4.mjs";import"../../chunk-4F5EECVQ.mjs";import"../../chunk-V7NWNNBI.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-SVMCNLFC.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-HW7TSJI2.mjs";import"../../chunk-TDGLYA35.mjs";import"../../chunk-6UZHMEK3.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-XTMUMN74.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-HLF3U7IS.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
|
|
2
2
|
//# sourceMappingURL=simulate.mjs.map
|
|
@@ -7,7 +7,6 @@ import '../../types/indexer.mjs';
|
|
|
7
7
|
import '../../types/generated/operations.mjs';
|
|
8
8
|
import '../../types/generated/types.mjs';
|
|
9
9
|
import '../../utils/apiEndpoints.mjs';
|
|
10
|
-
import '@aptos-labs/script-composer-pack';
|
|
11
10
|
import '../../bcs/serializer.mjs';
|
|
12
11
|
import '../../core/hex.mjs';
|
|
13
12
|
import '../../core/common.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ld as a}from"../../chunk-
|
|
1
|
+
import{Ld as a}from"../../chunk-GRPSFJ3N.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-3BUKTQDX.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-CO67Y6YE.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-34R7FSQF.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-CQJLK4WE.mjs";import"../../chunk-UQWF24SS.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-2DYSBAZ7.mjs";import"../../chunk-GPNNEHW4.mjs";import"../../chunk-4F5EECVQ.mjs";import"../../chunk-V7NWNNBI.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-SVMCNLFC.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-HW7TSJI2.mjs";import"../../chunk-TDGLYA35.mjs";import"../../chunk-6UZHMEK3.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-XTMUMN74.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-HLF3U7IS.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
|
|
2
2
|
//# sourceMappingURL=submit.mjs.map
|
package/dist/esm/api/utils.d.mts
CHANGED
|
@@ -5,7 +5,6 @@ import '../types/indexer.mjs';
|
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../types/generated/types.mjs';
|
|
7
7
|
import '../utils/apiEndpoints.mjs';
|
|
8
|
-
import '@aptos-labs/script-composer-pack';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Waits for the indexer to reach a specified ledger version, allowing for synchronization with the blockchain.
|
package/dist/esm/api/utils.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-4F5EECVQ.mjs";import"../chunk-V7NWNNBI.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-SVMCNLFC.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-HW7TSJI2.mjs";import"../chunk-TDGLYA35.mjs";import"../chunk-6UZHMEK3.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-HLF3U7IS.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
|
|
2
2
|
//# sourceMappingURL=utils.mjs.map
|
|
@@ -3,7 +3,6 @@ import '../types/indexer.mjs';
|
|
|
3
3
|
import '../types/generated/operations.mjs';
|
|
4
4
|
import '../types/generated/types.mjs';
|
|
5
5
|
import '../utils/apiEndpoints.mjs';
|
|
6
|
-
import '@aptos-labs/script-composer-pack';
|
|
7
6
|
|
|
8
7
|
declare const MAX_U8_NUMBER: Uint8;
|
|
9
8
|
declare const MAX_U16_NUMBER: Uint16;
|
|
@@ -3,7 +3,6 @@ import '../types/indexer.mjs';
|
|
|
3
3
|
import '../types/generated/operations.mjs';
|
|
4
4
|
import '../types/generated/types.mjs';
|
|
5
5
|
import '../utils/apiEndpoints.mjs';
|
|
6
|
-
import '@aptos-labs/script-composer-pack';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* This interface exists to define Deserializable<T> inputs for functions that
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Deserializer};
|
|
2
2
|
//# sourceMappingURL=deserializer.mjs.map
|
package/dist/esm/bcs/index.d.mts
CHANGED
|
@@ -9,7 +9,6 @@ import '../types/indexer.mjs';
|
|
|
9
9
|
import '../types/generated/operations.mjs';
|
|
10
10
|
import '../types/generated/types.mjs';
|
|
11
11
|
import '../utils/apiEndpoints.mjs';
|
|
12
|
-
import '@aptos-labs/script-composer-pack';
|
|
13
12
|
import '../core/hex.mjs';
|
|
14
13
|
import '../core/common.mjs';
|
|
15
14
|
import '../transactions/instances/transactionArgument.mjs';
|
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-N4VVDQA5.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-ORMOQWWH.mjs";import{a as h}from"../chunk-TOBQ5UE6.mjs";import{a as g}from"../chunk-MT2RJ7H3.mjs";import{a}from"../chunk-XTOIL6MB.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-3FEFJIVT.mjs";import"../chunk-4WPQQPUF.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.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
|
|
@@ -9,7 +9,6 @@ import '../../types/indexer.mjs';
|
|
|
9
9
|
import '../../types/generated/operations.mjs';
|
|
10
10
|
import '../../types/generated/types.mjs';
|
|
11
11
|
import '../../utils/apiEndpoints.mjs';
|
|
12
|
-
import '@aptos-labs/script-composer-pack';
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* This class exists solely to represent a sequence of fixed bytes as a serialized entry function, because
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EntryFunctionBytes};
|
|
2
2
|
//# sourceMappingURL=entryFunctionBytes.mjs.map
|
|
@@ -8,7 +8,6 @@ import '../../types/indexer.mjs';
|
|
|
8
8
|
import '../../types/generated/operations.mjs';
|
|
9
9
|
import '../../types/generated/types.mjs';
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
|
-
import '@aptos-labs/script-composer-pack';
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* Represents a contiguous sequence of already serialized BCS bytes.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-MT2RJ7H3.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FixedBytes};
|
|
2
2
|
//# sourceMappingURL=fixedBytes.mjs.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Deserializer } from '../deserializer.mjs';
|
|
2
2
|
import { Serializable, Serializer } from '../serializer.mjs';
|
|
3
3
|
import { TransactionArgument } from '../../transactions/instances/transactionArgument.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { Uint8, Uint16, Uint32, AnyNumber } from '../../types/types.mjs';
|
|
5
5
|
import '../../types/indexer.mjs';
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
|
-
import '@aptos-labs/script-composer-pack';
|
|
10
9
|
import '../../core/hex.mjs';
|
|
11
10
|
import '../../core/common.mjs';
|
|
12
11
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.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
|
|
@@ -7,7 +7,6 @@ import '../../types/indexer.mjs';
|
|
|
7
7
|
import '../../types/generated/operations.mjs';
|
|
8
8
|
import '../../types/generated/types.mjs';
|
|
9
9
|
import '../../utils/apiEndpoints.mjs';
|
|
10
|
-
import '@aptos-labs/script-composer-pack';
|
|
11
10
|
import '../../core/hex.mjs';
|
|
12
11
|
import '../../core/common.mjs';
|
|
13
12
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-3FEFJIVT.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.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
|
|
@@ -5,7 +5,6 @@ import '../types/indexer.mjs';
|
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../types/generated/types.mjs';
|
|
7
7
|
import '../utils/apiEndpoints.mjs';
|
|
8
|
-
import '@aptos-labs/script-composer-pack';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* This class serves as a base class for all serializable types. It facilitates
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Serializable,b as Serializer,c as ensureBoolean,d as outOfRangeErrorMessage,e as validateNumberInRange};
|
|
2
2
|
//# sourceMappingURL=serializer.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o,b as r,c as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o,b as r,c as s}from"./chunk-GPNNEHW4.mjs";import{a as t}from"./chunk-4F5EECVQ.mjs";var a=class{constructor(e){this.config=e}async getTableItem(e){return o({aptosConfig:this.config,...e})}async getTableItemsData(e){return await t({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),r({aptosConfig:this.config,...e})}async getTableItemsMetadata(e){return await t({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),s({aptosConfig:this.config,...e})}};export{a};
|
|
2
|
+
//# sourceMappingURL=chunk-2DYSBAZ7.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d}from"./chunk-YOZBVVKL.mjs";import{b as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as d}from"./chunk-YOZBVVKL.mjs";import{b as s}from"./chunk-HW7TSJI2.mjs";import{b as r}from"./chunk-RGKRCZ36.mjs";async function g(o){let{aptosConfig:e,accountAddress:t}=o,{data:n}=await s({aptosConfig:e,originMethod:"getInfo",path:`accounts/${r.from(t).toString()}`});return n}async function f(o){return o.options?.ledgerVersion!==void 0?c(o):d(async()=>c(o),`module-${o.accountAddress}-${o.moduleName}`,1e3*60*5)()}async function c(o){let{aptosConfig:e,accountAddress:t,moduleName:n,options:i}=o,{data:u}=await s({aptosConfig:e,originMethod:"getModule",path:`accounts/${r.from(t).toString()}/module/${n}`,params:{ledger_version:i?.ledgerVersion}});return u}export{g as a,f as b};
|
|
2
|
+
//# sourceMappingURL=chunk-34R7FSQF.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u,c as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u,c as r}from"./chunk-N4VVDQA5.mjs";import{e as t}from"./chunk-ORMOQWWH.mjs";import{b as o}from"./chunk-RGKRCZ36.mjs";import{a as i}from"./chunk-EBMEXURY.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-3BUKTQDX.mjs.map
|