@aptos-labs/ts-sdk 6.0.0 → 6.2.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/README.md +9 -13
- package/dist/common/{account-Dpz_N9h-.d.ts → account-DGpxrkAn.d.ts} +187 -20
- package/dist/common/chunk-2VR6ONNW.js +4 -0
- package/dist/common/chunk-2VR6ONNW.js.map +1 -0
- package/dist/common/cli/index.d.ts +2 -2
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +69 -6
- package/dist/common/index.js +34 -45
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-BW_kXHC2.d.mts → Ed25519Account-BCt2cu_M.d.mts} +2 -2
- package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +2 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +3 -3
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +26 -2
- 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 +2 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +3 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/{account-CcxnCdYZ.d.mts → account-Dg0ejXHy.d.mts} +172 -8
- package/dist/esm/api/account/abstraction.d.mts +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +2 -2
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +1 -1
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +3 -3
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +1 -1
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +2 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +2 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +3 -3
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +3 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +2 -2
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +2 -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 +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -1
- package/dist/esm/bcs/deserializer.d.mts +1 -1
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +1 -1
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-5FNZUL2Y.mjs → chunk-2VBY2V4Z.mjs} +2 -2
- package/dist/esm/chunk-2VHA77EO.mjs +2 -0
- package/dist/esm/chunk-2VHA77EO.mjs.map +1 -0
- package/dist/esm/{chunk-35DKMW7Q.mjs → chunk-44MMFX5F.mjs} +1 -1
- package/dist/esm/chunk-44MMFX5F.mjs.map +1 -0
- package/dist/esm/chunk-5HHC2YG4.mjs +2 -0
- package/dist/esm/chunk-5LMLIRGK.mjs +2 -0
- package/dist/esm/chunk-5LMLIRGK.mjs.map +1 -0
- package/dist/esm/chunk-66F7RP7K.mjs +2 -0
- package/dist/esm/chunk-66F7RP7K.mjs.map +1 -0
- package/dist/esm/chunk-6CD6PDFJ.mjs +4 -0
- package/dist/esm/chunk-6CD6PDFJ.mjs.map +1 -0
- package/dist/esm/{chunk-FW6UHAQV.mjs → chunk-A7SQEK23.mjs} +2 -2
- package/dist/esm/chunk-A7SQEK23.mjs.map +1 -0
- package/dist/esm/{chunk-G3HAIETV.mjs → chunk-ASFFADWS.mjs} +2 -2
- package/dist/esm/chunk-ASFFADWS.mjs.map +1 -0
- package/dist/esm/chunk-AUGTNOKZ.mjs +2 -0
- package/dist/esm/{chunk-RQN6LA7E.mjs.map → chunk-AUGTNOKZ.mjs.map} +1 -1
- package/dist/esm/chunk-BT742BFQ.mjs +2 -0
- package/dist/esm/chunk-BT742BFQ.mjs.map +1 -0
- package/dist/esm/chunk-C2KVLMPH.mjs +2 -0
- package/dist/esm/chunk-C2KVLMPH.mjs.map +1 -0
- package/dist/esm/{chunk-DIFSO4N6.mjs → chunk-CD3EZCI5.mjs} +2 -2
- package/dist/esm/{chunk-43LWUUXS.mjs → chunk-E3DHFXN4.mjs} +2 -2
- package/dist/esm/{chunk-QDJDZ3ON.mjs → chunk-EIWPAECI.mjs} +2 -2
- package/dist/esm/{chunk-GOXRBEIJ.mjs → chunk-F45HI7LU.mjs} +1 -1
- package/dist/esm/chunk-F45HI7LU.mjs.map +1 -0
- package/dist/esm/chunk-F4LHBGG2.mjs +2 -0
- package/dist/esm/chunk-F4LHBGG2.mjs.map +1 -0
- package/dist/esm/{chunk-MEG27LEV.mjs → chunk-FDHHQUS3.mjs} +3 -3
- package/dist/esm/chunk-FDHHQUS3.mjs.map +1 -0
- package/dist/esm/{chunk-LS2HRAVW.mjs → chunk-G5OONGWS.mjs} +1 -12
- package/dist/esm/chunk-G5OONGWS.mjs.map +1 -0
- package/dist/esm/{chunk-F3NI6N7R.mjs → chunk-H2T2SU5O.mjs} +2 -2
- package/dist/esm/chunk-H2T2SU5O.mjs.map +1 -0
- package/dist/esm/chunk-ITZN23GU.mjs +2 -0
- package/dist/esm/{chunk-X674XJNJ.mjs → chunk-KOVWYU53.mjs} +2 -2
- package/dist/esm/{chunk-PXJEKGEG.mjs → chunk-LDK76MDN.mjs} +2 -2
- package/dist/esm/chunk-M65PXVDO.mjs +2 -0
- package/dist/esm/chunk-M65PXVDO.mjs.map +1 -0
- package/dist/esm/{chunk-WZ6FL7CH.mjs → chunk-NWP2VEMB.mjs} +2 -2
- package/dist/esm/chunk-ODNZJSOC.mjs +2 -0
- package/dist/esm/chunk-ODNZJSOC.mjs.map +1 -0
- package/dist/esm/{chunk-6IWGTO2J.mjs → chunk-POQ4FT4E.mjs} +2 -2
- package/dist/esm/{chunk-76SVQZDX.mjs → chunk-Q4KYBAYN.mjs} +2 -2
- package/dist/esm/chunk-Q5ESW36C.mjs +2 -0
- package/dist/esm/chunk-Q5ESW36C.mjs.map +1 -0
- package/dist/esm/{chunk-52PWWLJJ.mjs → chunk-QRW7MQDA.mjs} +2 -2
- package/dist/esm/chunk-QRW7MQDA.mjs.map +1 -0
- package/dist/esm/{chunk-3P474TWM.mjs → chunk-R7PCBRRT.mjs} +2 -2
- package/dist/esm/chunk-T32P4APJ.mjs +2 -0
- package/dist/esm/chunk-T32P4APJ.mjs.map +1 -0
- package/dist/esm/chunk-TAHLOBRG.mjs +2 -0
- package/dist/esm/chunk-TAHLOBRG.mjs.map +1 -0
- package/dist/esm/{chunk-RYOICF37.mjs → chunk-TSPG5VED.mjs} +2 -2
- package/dist/esm/{chunk-56IXVVXX.mjs → chunk-UPHD2B4I.mjs} +2 -2
- package/dist/esm/{chunk-QREVMGQZ.mjs → chunk-UVJW4DPP.mjs} +1 -1
- package/dist/esm/{chunk-QREVMGQZ.mjs.map → chunk-UVJW4DPP.mjs.map} +1 -1
- package/dist/esm/chunk-UYG4XVVO.mjs +2 -0
- package/dist/esm/chunk-UYG4XVVO.mjs.map +1 -0
- package/dist/esm/chunk-WFZFTRRS.mjs +2 -0
- package/dist/esm/chunk-WFZFTRRS.mjs.map +1 -0
- package/dist/esm/{chunk-CUXCVNES.mjs → chunk-X4IR6WX6.mjs} +2 -2
- package/dist/esm/chunk-YJVBGKWM.mjs +2 -0
- package/dist/esm/chunk-YJVBGKWM.mjs.map +1 -0
- package/dist/esm/{chunk-NTLOKAPD.mjs → chunk-YTFJ5W7U.mjs} +2 -2
- package/dist/esm/cli/index.d.mts +2 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +1 -1
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +1 -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.d.mts +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -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 +2 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256r1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/types.d.mts +1 -1
- package/dist/esm/core/crypto/utils.d.mts +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +1 -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 +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/{federatedKeyless-BzaYmP03.d.mts → federatedKeyless-BYLu31Sa.d.mts} +13 -2
- package/dist/esm/index.d.mts +5 -5
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.d.mts +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.d.mts +3 -3
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +2 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +3 -3
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +4 -4
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +4 -2
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +3 -3
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +2 -2
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- 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 +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +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 +12 -4
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +2 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +1 -1
- package/dist/esm/types/generated/operations.d.mts +0 -11
- package/dist/esm/types/generated/queries.d.mts +1 -1
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +1 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/const.d.mts +16 -2
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +21 -2
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +3 -3
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/memoize.d.mts +23 -1
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +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 +36 -50
- package/src/account/AbstractKeylessAccount.ts +2 -3
- package/src/account/DerivableAbstractedAccount.ts +1 -3
- package/src/account/EphemeralKeyPair.ts +53 -2
- package/src/account/MultiEd25519Account.ts +0 -2
- package/src/account/MultiKeyAccount.ts +0 -2
- package/src/account/SingleKeyAccount.ts +0 -1
- package/src/api/account.ts +1 -2
- package/src/api/ans.ts +0 -1
- package/src/api/aptos.ts +1 -1
- package/src/api/aptosConfig.ts +12 -1
- package/src/api/transaction.ts +4 -4
- package/src/api/transactionSubmission/build.ts +1 -5
- package/src/api/transactionSubmission/helpers.ts +0 -1
- package/src/api/transactionSubmission/sign.ts +2 -2
- package/src/bcs/deserializer.ts +64 -17
- package/src/bcs/serializable/movePrimitives.ts +15 -28
- package/src/bcs/serializable/moveStructs.ts +4 -6
- package/src/bcs/serializer.ts +147 -12
- package/src/cli/localNode.ts +4 -7
- package/src/cli/move.ts +7 -7
- package/src/client/get.ts +8 -10
- package/src/core/account/utils/address.ts +3 -3
- package/src/core/accountAddress.ts +2 -3
- package/src/core/crypto/abstraction.ts +0 -3
- package/src/core/crypto/ed25519.ts +66 -1
- package/src/core/crypto/federatedKeyless.ts +1 -1
- package/src/core/crypto/keyless.ts +65 -14
- package/src/core/crypto/multiEd25519.ts +1 -3
- package/src/core/crypto/multiKey.ts +4 -7
- package/src/core/crypto/poseidon.ts +0 -1
- package/src/core/crypto/privateKey.ts +2 -5
- package/src/core/crypto/secp256k1.ts +68 -3
- package/src/core/crypto/secp256r1.ts +1 -1
- package/src/core/crypto/singleKey.ts +4 -1
- package/src/core/crypto/utils.ts +6 -3
- package/src/errors/index.ts +4 -5
- package/src/internal/account.ts +21 -30
- package/src/internal/ans.ts +5 -6
- package/src/internal/general.ts +24 -6
- package/src/internal/keyless.ts +1 -1
- package/src/internal/queries/getAccountAddressesForAuthKey.graphql +4 -1
- package/src/internal/queries/getAuthKeysForPublicKey.graphql +4 -1
- package/src/internal/queries/getCollectionData.graphql +0 -11
- package/src/internal/queries/getTableItemsData.graphql +1 -1
- package/src/internal/queries/getTableItemsMetadata.graphql +2 -2
- package/src/internal/transaction.ts +5 -7
- package/src/internal/transactionSubmission.ts +23 -0
- package/src/transactions/authenticator/account.ts +0 -4
- package/src/transactions/authenticator/transaction.ts +0 -2
- package/src/transactions/instances/multiAgentTransaction.ts +0 -2
- package/src/transactions/instances/rawTransaction.ts +0 -2
- package/src/transactions/instances/signedTransaction.ts +0 -2
- package/src/transactions/instances/simpleTransaction.ts +0 -2
- package/src/transactions/instances/transactionPayload.ts +5 -7
- package/src/transactions/management/accountSequenceNumber.ts +0 -4
- package/src/transactions/management/transactionWorker.ts +40 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +22 -8
- package/src/transactions/transactionBuilder/transactionBuilder.ts +14 -12
- package/src/transactions/typeTag/index.ts +0 -3
- package/src/transactions/typeTag/parser.ts +3 -5
- package/src/types/generated/operations.ts +0 -11
- package/src/types/generated/queries.ts +0 -11
- package/src/types/types.ts +26 -0
- package/src/utils/const.ts +17 -1
- package/src/utils/helpers.ts +47 -8
- package/src/utils/memoize.ts +177 -11
- package/src/version.ts +1 -1
- package/dist/common/chunk-4RHBBU7C.js +0 -4
- package/dist/common/chunk-4RHBBU7C.js.map +0 -1
- package/dist/esm/chunk-2DPQMXUG.mjs +0 -4
- package/dist/esm/chunk-2DPQMXUG.mjs.map +0 -1
- package/dist/esm/chunk-2LCPW76G.mjs +0 -2
- package/dist/esm/chunk-2LCPW76G.mjs.map +0 -1
- package/dist/esm/chunk-2PASUPUO.mjs +0 -2
- package/dist/esm/chunk-2PASUPUO.mjs.map +0 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +0 -1
- package/dist/esm/chunk-52PWWLJJ.mjs.map +0 -1
- package/dist/esm/chunk-54C2P534.mjs +0 -2
- package/dist/esm/chunk-54C2P534.mjs.map +0 -1
- package/dist/esm/chunk-BGZDJ5SM.mjs +0 -2
- package/dist/esm/chunk-BGZDJ5SM.mjs.map +0 -1
- package/dist/esm/chunk-C5UZZHA4.mjs +0 -2
- package/dist/esm/chunk-C5UZZHA4.mjs.map +0 -1
- package/dist/esm/chunk-F3NI6N7R.mjs.map +0 -1
- package/dist/esm/chunk-FW6UHAQV.mjs.map +0 -1
- package/dist/esm/chunk-G3HAIETV.mjs.map +0 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs.map +0 -1
- package/dist/esm/chunk-I42Z32Q2.mjs +0 -2
- package/dist/esm/chunk-I42Z32Q2.mjs.map +0 -1
- package/dist/esm/chunk-JN65XG2P.mjs +0 -2
- package/dist/esm/chunk-JN65XG2P.mjs.map +0 -1
- package/dist/esm/chunk-KUF4DKN5.mjs +0 -2
- package/dist/esm/chunk-LD3I4CYO.mjs +0 -2
- package/dist/esm/chunk-LS2HRAVW.mjs.map +0 -1
- package/dist/esm/chunk-MEG27LEV.mjs.map +0 -1
- package/dist/esm/chunk-NCKJ7X57.mjs +0 -2
- package/dist/esm/chunk-NCKJ7X57.mjs.map +0 -1
- package/dist/esm/chunk-NK3Y3PV3.mjs +0 -2
- package/dist/esm/chunk-NK3Y3PV3.mjs.map +0 -1
- package/dist/esm/chunk-OLILO7VD.mjs +0 -2
- package/dist/esm/chunk-OLILO7VD.mjs.map +0 -1
- package/dist/esm/chunk-PYVKCTUN.mjs +0 -2
- package/dist/esm/chunk-PYVKCTUN.mjs.map +0 -1
- package/dist/esm/chunk-QEHKRR3I.mjs +0 -2
- package/dist/esm/chunk-QEHKRR3I.mjs.map +0 -1
- package/dist/esm/chunk-RQN6LA7E.mjs +0 -2
- package/dist/esm/chunk-Y426VCPM.mjs +0 -2
- package/dist/esm/chunk-Y426VCPM.mjs.map +0 -1
- package/dist/esm/chunk-YOZBVVKL.mjs +0 -2
- package/dist/esm/chunk-YOZBVVKL.mjs.map +0 -1
- /package/dist/esm/{chunk-5FNZUL2Y.mjs.map → chunk-2VBY2V4Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-KUF4DKN5.mjs.map → chunk-5HHC2YG4.mjs.map} +0 -0
- /package/dist/esm/{chunk-DIFSO4N6.mjs.map → chunk-CD3EZCI5.mjs.map} +0 -0
- /package/dist/esm/{chunk-43LWUUXS.mjs.map → chunk-E3DHFXN4.mjs.map} +0 -0
- /package/dist/esm/{chunk-QDJDZ3ON.mjs.map → chunk-EIWPAECI.mjs.map} +0 -0
- /package/dist/esm/{chunk-LD3I4CYO.mjs.map → chunk-ITZN23GU.mjs.map} +0 -0
- /package/dist/esm/{chunk-X674XJNJ.mjs.map → chunk-KOVWYU53.mjs.map} +0 -0
- /package/dist/esm/{chunk-PXJEKGEG.mjs.map → chunk-LDK76MDN.mjs.map} +0 -0
- /package/dist/esm/{chunk-WZ6FL7CH.mjs.map → chunk-NWP2VEMB.mjs.map} +0 -0
- /package/dist/esm/{chunk-6IWGTO2J.mjs.map → chunk-POQ4FT4E.mjs.map} +0 -0
- /package/dist/esm/{chunk-76SVQZDX.mjs.map → chunk-Q4KYBAYN.mjs.map} +0 -0
- /package/dist/esm/{chunk-3P474TWM.mjs.map → chunk-R7PCBRRT.mjs.map} +0 -0
- /package/dist/esm/{chunk-RYOICF37.mjs.map → chunk-TSPG5VED.mjs.map} +0 -0
- /package/dist/esm/{chunk-56IXVVXX.mjs.map → chunk-UPHD2B4I.mjs.map} +0 -0
- /package/dist/esm/{chunk-CUXCVNES.mjs.map → chunk-X4IR6WX6.mjs.map} +0 -0
- /package/dist/esm/{chunk-NTLOKAPD.mjs.map → chunk-YTFJ5W7U.mjs.map} +0 -0
|
@@ -202,6 +202,11 @@ declare abstract class Serializable {
|
|
|
202
202
|
declare class Serializer {
|
|
203
203
|
private buffer;
|
|
204
204
|
private offset;
|
|
205
|
+
/**
|
|
206
|
+
* Reusable DataView instance to reduce allocations during serialization.
|
|
207
|
+
* Recreated when buffer is resized.
|
|
208
|
+
*/
|
|
209
|
+
private dataView;
|
|
205
210
|
/**
|
|
206
211
|
* Constructs a serializer with a buffer of size `length` bytes, 64 bytes by default.
|
|
207
212
|
* The `length` must be greater than 0.
|
|
@@ -213,7 +218,8 @@ declare class Serializer {
|
|
|
213
218
|
constructor(length?: number);
|
|
214
219
|
/**
|
|
215
220
|
* Ensures that the internal buffer can accommodate the specified number of bytes.
|
|
216
|
-
* This function dynamically resizes the buffer
|
|
221
|
+
* This function dynamically resizes the buffer using a growth factor of 1.5x with
|
|
222
|
+
* a minimum growth increment to balance memory usage and reallocation frequency.
|
|
217
223
|
*
|
|
218
224
|
* @param bytes - The number of bytes to ensure the buffer can handle.
|
|
219
225
|
* @group Implementation
|
|
@@ -230,6 +236,7 @@ declare class Serializer {
|
|
|
230
236
|
protected appendToBuffer(values: Uint8Array): void;
|
|
231
237
|
/**
|
|
232
238
|
* Serializes a value into the buffer using the provided function, ensuring the buffer can accommodate the size.
|
|
239
|
+
* Uses the cached DataView instance for better performance.
|
|
233
240
|
*
|
|
234
241
|
* @param fn - The function to serialize the value, which takes a byte offset, the value to serialize, and an optional little-endian flag.
|
|
235
242
|
* @param fn.byteOffset - The byte offset at which to write the value.
|
|
@@ -431,12 +438,40 @@ declare class Serializer {
|
|
|
431
438
|
* Returns the buffered bytes as a Uint8Array.
|
|
432
439
|
*
|
|
433
440
|
* This function allows you to retrieve the byte representation of the buffer up to the current offset.
|
|
441
|
+
* For better performance, returns a view when the buffer is exactly the right size, or copies
|
|
442
|
+
* only the used portion otherwise.
|
|
434
443
|
*
|
|
435
444
|
* @returns Uint8Array - The byte array representation of the buffer.
|
|
436
445
|
* @group Implementation
|
|
437
446
|
* @category BCS
|
|
438
447
|
*/
|
|
439
448
|
toUint8Array(): Uint8Array;
|
|
449
|
+
/**
|
|
450
|
+
* Resets the serializer to its initial state, allowing the buffer to be reused.
|
|
451
|
+
* This clears the buffer contents to prevent data leakage between uses.
|
|
452
|
+
*
|
|
453
|
+
* @group Implementation
|
|
454
|
+
* @category BCS
|
|
455
|
+
*/
|
|
456
|
+
reset(): void;
|
|
457
|
+
/**
|
|
458
|
+
* Returns the current number of bytes written to the serializer.
|
|
459
|
+
*
|
|
460
|
+
* @returns The number of bytes written.
|
|
461
|
+
* @group Implementation
|
|
462
|
+
* @category BCS
|
|
463
|
+
*/
|
|
464
|
+
getOffset(): number;
|
|
465
|
+
/**
|
|
466
|
+
* Returns a view of the serialized bytes without copying.
|
|
467
|
+
* WARNING: The returned view is only valid until the next write operation.
|
|
468
|
+
* Use toUint8Array() if you need a persistent copy.
|
|
469
|
+
*
|
|
470
|
+
* @returns A Uint8Array view of the buffer (not a copy).
|
|
471
|
+
* @group Implementation
|
|
472
|
+
* @category BCS
|
|
473
|
+
*/
|
|
474
|
+
toUint8ArrayView(): Uint8Array;
|
|
440
475
|
/**
|
|
441
476
|
* Serializes a `Serializable` value, facilitating composable serialization.
|
|
442
477
|
*
|
|
@@ -447,6 +482,29 @@ declare class Serializer {
|
|
|
447
482
|
* @category BCS
|
|
448
483
|
*/
|
|
449
484
|
serialize<T extends Serializable>(value: T): void;
|
|
485
|
+
/**
|
|
486
|
+
* Serializes a Serializable value as a byte array with a length prefix.
|
|
487
|
+
* This is the optimized pattern for entry function argument serialization.
|
|
488
|
+
*
|
|
489
|
+
* Instead of:
|
|
490
|
+
* ```typescript
|
|
491
|
+
* const bcsBytes = value.bcsToBytes(); // Creates new Serializer, copies bytes
|
|
492
|
+
* serializer.serializeBytes(bcsBytes);
|
|
493
|
+
* ```
|
|
494
|
+
*
|
|
495
|
+
* Use:
|
|
496
|
+
* ```typescript
|
|
497
|
+
* serializer.serializeAsBytes(value); // Uses pooled Serializer, avoids extra copy
|
|
498
|
+
* ```
|
|
499
|
+
*
|
|
500
|
+
* This method uses a pooled Serializer instance to reduce allocations and
|
|
501
|
+
* directly appends the serialized bytes with a length prefix.
|
|
502
|
+
*
|
|
503
|
+
* @param value - The Serializable value to serialize as bytes.
|
|
504
|
+
* @group Implementation
|
|
505
|
+
* @category BCS
|
|
506
|
+
*/
|
|
507
|
+
serializeAsBytes<T extends Serializable>(value: T): void;
|
|
450
508
|
/**
|
|
451
509
|
* Serializes an array of BCS Serializable values to a serializer instance.
|
|
452
510
|
* The bytes are added to the serializer instance's byte buffer.
|
|
@@ -769,6 +827,7 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
769
827
|
/**
|
|
770
828
|
* Serializes the current instance into a byte sequence suitable for entry functions.
|
|
771
829
|
* This allows for the proper encoding of data when interacting with entry functions in the blockchain.
|
|
830
|
+
* Uses the optimized serializeAsBytes method to reduce allocations.
|
|
772
831
|
*
|
|
773
832
|
* @param serializer - The serializer instance used to convert the data into bytes.
|
|
774
833
|
* @group Implementation
|
|
@@ -1243,7 +1302,12 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1243
1302
|
* @group Implementation
|
|
1244
1303
|
* @category Serialization
|
|
1245
1304
|
*/
|
|
1246
|
-
private
|
|
1305
|
+
private signingKey;
|
|
1306
|
+
/**
|
|
1307
|
+
* Whether the key has been cleared from memory
|
|
1308
|
+
* @private
|
|
1309
|
+
*/
|
|
1310
|
+
private cleared;
|
|
1247
1311
|
/**
|
|
1248
1312
|
* Create a new PrivateKey instance from a Uint8Array or String.
|
|
1249
1313
|
*
|
|
@@ -1289,10 +1353,35 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1289
1353
|
* @category Serialization
|
|
1290
1354
|
*/
|
|
1291
1355
|
private static fromDerivationPathInner;
|
|
1356
|
+
/**
|
|
1357
|
+
* Checks if the key has been cleared and throws an error if so.
|
|
1358
|
+
* @private
|
|
1359
|
+
*/
|
|
1360
|
+
private ensureNotCleared;
|
|
1361
|
+
/**
|
|
1362
|
+
* Clears the private key from memory by overwriting it with random bytes.
|
|
1363
|
+
* After calling this method, the private key can no longer be used for signing or deriving public keys.
|
|
1364
|
+
*
|
|
1365
|
+
* Note: Due to JavaScript's memory management, this cannot guarantee complete removal of
|
|
1366
|
+
* sensitive data from memory, but it significantly reduces the window of exposure.
|
|
1367
|
+
*
|
|
1368
|
+
* @group Implementation
|
|
1369
|
+
* @category Serialization
|
|
1370
|
+
*/
|
|
1371
|
+
clear(): void;
|
|
1372
|
+
/**
|
|
1373
|
+
* Returns whether the private key has been cleared from memory.
|
|
1374
|
+
*
|
|
1375
|
+
* @returns true if the key has been cleared, false otherwise
|
|
1376
|
+
* @group Implementation
|
|
1377
|
+
* @category Serialization
|
|
1378
|
+
*/
|
|
1379
|
+
isCleared(): boolean;
|
|
1292
1380
|
/**
|
|
1293
1381
|
* Derive the Ed25519PublicKey for this private key.
|
|
1294
1382
|
*
|
|
1295
1383
|
* @returns Ed25519PublicKey - The derived public key corresponding to the private key.
|
|
1384
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1296
1385
|
* @group Implementation
|
|
1297
1386
|
* @category Serialization
|
|
1298
1387
|
*/
|
|
@@ -1303,6 +1392,7 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1303
1392
|
*
|
|
1304
1393
|
* @param message - A message as a string or Uint8Array in HexInput format.
|
|
1305
1394
|
* @returns A digital signature for the provided message.
|
|
1395
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1306
1396
|
* @group Implementation
|
|
1307
1397
|
* @category Serialization
|
|
1308
1398
|
*/
|
|
@@ -1311,6 +1401,7 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1311
1401
|
* Get the private key in bytes (Uint8Array).
|
|
1312
1402
|
*
|
|
1313
1403
|
* @returns Uint8Array representation of the private key
|
|
1404
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1314
1405
|
* @group Implementation
|
|
1315
1406
|
* @category Serialization
|
|
1316
1407
|
*/
|
|
@@ -1319,6 +1410,7 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1319
1410
|
* Get the private key as a hex string with the 0x prefix.
|
|
1320
1411
|
*
|
|
1321
1412
|
* @returns string representation of the private key.
|
|
1413
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1322
1414
|
* @group Implementation
|
|
1323
1415
|
* @category Serialization
|
|
1324
1416
|
*/
|
|
@@ -1327,6 +1419,7 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1327
1419
|
* Get the private key as a hex string with the 0x prefix.
|
|
1328
1420
|
*
|
|
1329
1421
|
* @returns string representation of the private key.
|
|
1422
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1330
1423
|
*/
|
|
1331
1424
|
toHexString(): string;
|
|
1332
1425
|
/**
|
|
@@ -1335,6 +1428,7 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
1335
1428
|
* [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)
|
|
1336
1429
|
*
|
|
1337
1430
|
* @returns AIP-80 compliant string representation of the private key.
|
|
1431
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1338
1432
|
*/
|
|
1339
1433
|
toAIP80String(): string;
|
|
1340
1434
|
serialize(serializer: Serializer): void;
|
|
@@ -1711,7 +1805,12 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1711
1805
|
* @group Implementation
|
|
1712
1806
|
* @category Serialization
|
|
1713
1807
|
*/
|
|
1714
|
-
private
|
|
1808
|
+
private key;
|
|
1809
|
+
/**
|
|
1810
|
+
* Whether the key has been cleared from memory
|
|
1811
|
+
* @private
|
|
1812
|
+
*/
|
|
1813
|
+
private cleared;
|
|
1715
1814
|
/**
|
|
1716
1815
|
* Create a new PrivateKey instance from a Uint8Array or String.
|
|
1717
1816
|
*
|
|
@@ -1756,12 +1855,37 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1756
1855
|
* @category Serialization
|
|
1757
1856
|
*/
|
|
1758
1857
|
private static fromDerivationPathInner;
|
|
1858
|
+
/**
|
|
1859
|
+
* Checks if the key has been cleared and throws an error if so.
|
|
1860
|
+
* @private
|
|
1861
|
+
*/
|
|
1862
|
+
private ensureNotCleared;
|
|
1863
|
+
/**
|
|
1864
|
+
* Clears the private key from memory by overwriting it with random bytes.
|
|
1865
|
+
* After calling this method, the private key can no longer be used for signing or deriving public keys.
|
|
1866
|
+
*
|
|
1867
|
+
* Note: Due to JavaScript's memory management, this cannot guarantee complete removal of
|
|
1868
|
+
* sensitive data from memory, but it significantly reduces the window of exposure.
|
|
1869
|
+
*
|
|
1870
|
+
* @group Implementation
|
|
1871
|
+
* @category Serialization
|
|
1872
|
+
*/
|
|
1873
|
+
clear(): void;
|
|
1874
|
+
/**
|
|
1875
|
+
* Returns whether the private key has been cleared from memory.
|
|
1876
|
+
*
|
|
1877
|
+
* @returns true if the key has been cleared, false otherwise
|
|
1878
|
+
* @group Implementation
|
|
1879
|
+
* @category Serialization
|
|
1880
|
+
*/
|
|
1881
|
+
isCleared(): boolean;
|
|
1759
1882
|
/**
|
|
1760
1883
|
* Sign the given message with the private key.
|
|
1761
1884
|
* This function generates a cryptographic signature for the provided message, ensuring the signature is canonical and non-malleable.
|
|
1762
1885
|
*
|
|
1763
1886
|
* @param message - A message in HexInput format to be signed.
|
|
1764
1887
|
* @returns Signature - The generated signature for the provided message.
|
|
1888
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1765
1889
|
* @group Implementation
|
|
1766
1890
|
* @category Serialization
|
|
1767
1891
|
*/
|
|
@@ -1770,6 +1894,7 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1770
1894
|
* Derive the Secp256k1PublicKey from this private key.
|
|
1771
1895
|
*
|
|
1772
1896
|
* @returns Secp256k1PublicKey The derived public key.
|
|
1897
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1773
1898
|
* @group Implementation
|
|
1774
1899
|
* @category Serialization
|
|
1775
1900
|
*/
|
|
@@ -1777,7 +1902,8 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1777
1902
|
/**
|
|
1778
1903
|
* Get the private key in bytes (Uint8Array).
|
|
1779
1904
|
*
|
|
1780
|
-
* @returns
|
|
1905
|
+
* @returns Uint8Array representation of the private key
|
|
1906
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1781
1907
|
* @group Implementation
|
|
1782
1908
|
* @category Serialization
|
|
1783
1909
|
*/
|
|
@@ -1786,6 +1912,7 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1786
1912
|
* Get the private key as a string representation.
|
|
1787
1913
|
*
|
|
1788
1914
|
* @returns string representation of the private key
|
|
1915
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1789
1916
|
* @group Implementation
|
|
1790
1917
|
* @category Serialization
|
|
1791
1918
|
*/
|
|
@@ -1794,6 +1921,7 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1794
1921
|
* Get the private key as a hex string with the 0x prefix.
|
|
1795
1922
|
*
|
|
1796
1923
|
* @returns string representation of the private key.
|
|
1924
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1797
1925
|
*/
|
|
1798
1926
|
toHexString(): string;
|
|
1799
1927
|
/**
|
|
@@ -1802,6 +1930,7 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
|
|
|
1802
1930
|
* [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)
|
|
1803
1931
|
*
|
|
1804
1932
|
* @returns AIP-80 compliant string representation of the private key.
|
|
1933
|
+
* @throws Error if the private key has been cleared from memory.
|
|
1805
1934
|
*/
|
|
1806
1935
|
toAIP80String(): string;
|
|
1807
1936
|
serialize(serializer: Serializer): void;
|
|
@@ -3853,6 +3982,7 @@ declare class Bool extends Serializable implements TransactionArgument {
|
|
|
3853
3982
|
/**
|
|
3854
3983
|
* Serializes the current instance for use in an entry function by converting it to a byte sequence.
|
|
3855
3984
|
* This allows the instance to be properly formatted for serialization in transactions.
|
|
3985
|
+
* Uses the optimized serializeAsBytes method to reduce allocations.
|
|
3856
3986
|
*
|
|
3857
3987
|
* @param serializer - The serializer instance used to serialize the byte sequence.
|
|
3858
3988
|
* @group Implementation
|
|
@@ -4136,6 +4266,7 @@ declare class MoveVector<T extends Serializable & EntryFunctionArgument> extends
|
|
|
4136
4266
|
/**
|
|
4137
4267
|
* Serializes the current instance into a byte sequence suitable for entry functions.
|
|
4138
4268
|
* This allows the data to be properly formatted for transmission or storage.
|
|
4269
|
+
* Uses the optimized serializeAsBytes method to reduce allocations.
|
|
4139
4270
|
*
|
|
4140
4271
|
* @param serializer - The serializer instance used to serialize the byte sequence.
|
|
4141
4272
|
* @group Implementation
|
|
@@ -5315,7 +5446,12 @@ declare enum AnyPublicKeyVariant {
|
|
|
5315
5446
|
Secp256k1 = 1,
|
|
5316
5447
|
Secp256r1 = 2,
|
|
5317
5448
|
Keyless = 3,
|
|
5318
|
-
FederatedKeyless = 4
|
|
5449
|
+
FederatedKeyless = 4,
|
|
5450
|
+
/**
|
|
5451
|
+
* Post-quantum signature scheme (SLH-DSA-SHA2-128s).
|
|
5452
|
+
* Note: Full implementation not yet available in this SDK.
|
|
5453
|
+
*/
|
|
5454
|
+
SlhDsaSha2_128s = 5
|
|
5319
5455
|
}
|
|
5320
5456
|
declare function anyPublicKeyVariantToString(variant: AnyPublicKeyVariant): string;
|
|
5321
5457
|
/**
|
|
@@ -5325,7 +5461,12 @@ declare enum AnySignatureVariant {
|
|
|
5325
5461
|
Ed25519 = 0,
|
|
5326
5462
|
Secp256k1 = 1,
|
|
5327
5463
|
WebAuthn = 2,
|
|
5328
|
-
Keyless = 3
|
|
5464
|
+
Keyless = 3,
|
|
5465
|
+
/**
|
|
5466
|
+
* Post-quantum signature scheme (SLH-DSA-SHA2-128s).
|
|
5467
|
+
* Note: Full implementation not yet available in this SDK.
|
|
5468
|
+
*/
|
|
5469
|
+
SlhDsaSha2_128s = 4
|
|
5329
5470
|
}
|
|
5330
5471
|
/**
|
|
5331
5472
|
* Variants of ephemeral public keys used in cryptographic operations.
|
|
@@ -5458,6 +5599,20 @@ interface WhereArg<T extends {}> {
|
|
|
5458
5599
|
*/
|
|
5459
5600
|
/**
|
|
5460
5601
|
* A configuration object for requests to the server, including API key, extra headers, and cookie handling options.
|
|
5602
|
+
*
|
|
5603
|
+
* Security Note: Consider implementing client-side rate limiting in your application to prevent
|
|
5604
|
+
* accidental API abuse. You can use libraries like 'bottleneck' or 'p-queue' to limit request rates.
|
|
5605
|
+
*
|
|
5606
|
+
* @example
|
|
5607
|
+
* ```typescript
|
|
5608
|
+
* import Bottleneck from 'bottleneck';
|
|
5609
|
+
*
|
|
5610
|
+
* // Create a limiter that allows 10 requests per second
|
|
5611
|
+
* const limiter = new Bottleneck({ minTime: 100, maxConcurrent: 5 });
|
|
5612
|
+
*
|
|
5613
|
+
* // Wrap your Aptos calls with the limiter
|
|
5614
|
+
* const result = await limiter.schedule(() => aptos.getAccountInfo({ accountAddress }));
|
|
5615
|
+
* ```
|
|
5461
5616
|
*/
|
|
5462
5617
|
type ClientConfig = ClientHeadersType & {
|
|
5463
5618
|
WITH_CREDENTIALS?: boolean;
|
|
@@ -6701,6 +6856,12 @@ declare class Deserializer {
|
|
|
6701
6856
|
static fromHex(hex: HexInput): Deserializer;
|
|
6702
6857
|
/**
|
|
6703
6858
|
* Reads a specified number of bytes from the buffer and advances the offset.
|
|
6859
|
+
* Returns a view into the buffer rather than copying for better performance.
|
|
6860
|
+
*
|
|
6861
|
+
* SECURITY NOTE: This returns a view, not a copy. Callers that expose the result
|
|
6862
|
+
* externally MUST call .slice() to create a copy. Internal numeric deserializers
|
|
6863
|
+
* (deserializeU8, deserializeU16, etc.) only read values and don't expose the view.
|
|
6864
|
+
* deserializeBytes() and deserializeFixedBytes() call .slice() before returning.
|
|
6704
6865
|
*
|
|
6705
6866
|
* @param length - The number of bytes to read from the buffer.
|
|
6706
6867
|
* @throws Throws an error if the read operation exceeds the buffer's length.
|
|
@@ -6804,7 +6965,8 @@ declare class Deserializer {
|
|
|
6804
6965
|
* The BCS layout for "bytes" consists of a bytes_length followed by the bytes themselves, where bytes_length is a u32 integer
|
|
6805
6966
|
* encoded as a uleb128 integer, indicating the length of the bytes array.
|
|
6806
6967
|
*
|
|
6807
|
-
* @returns {Uint8Array} The deserialized array of bytes.
|
|
6968
|
+
* @returns {Uint8Array} The deserialized array of bytes (a copy, safe to modify).
|
|
6969
|
+
* @throws {Error} If the length exceeds the maximum allowed (10MB) to prevent memory exhaustion.
|
|
6808
6970
|
* @group Implementation
|
|
6809
6971
|
* @category BCS
|
|
6810
6972
|
*/
|
|
@@ -6813,6 +6975,7 @@ declare class Deserializer {
|
|
|
6813
6975
|
* Deserializes an array of bytes of a specified length.
|
|
6814
6976
|
*
|
|
6815
6977
|
* @param len - The number of bytes to read from the source.
|
|
6978
|
+
* @returns {Uint8Array} The deserialized array of bytes (a copy, safe to modify).
|
|
6816
6979
|
* @group Implementation
|
|
6817
6980
|
* @category BCS
|
|
6818
6981
|
*/
|
|
@@ -6957,6 +7120,7 @@ declare class Deserializer {
|
|
|
6957
7120
|
* This function is used for interpreting lengths of variable-length sequences and tags of enum values in BCS encoding.
|
|
6958
7121
|
*
|
|
6959
7122
|
* @throws {Error} Throws an error if the parsed value exceeds the maximum uint32 number.
|
|
7123
|
+
* @throws {Error} Throws an error if the uleb128 encoding is malformed (too many bytes).
|
|
6960
7124
|
* @returns {number} The deserialized uint32 value.
|
|
6961
7125
|
* @group Implementation
|
|
6962
7126
|
* @category BCS
|
|
@@ -7191,4 +7355,4 @@ declare class AccountAbstractionMessage extends Serializable {
|
|
|
7191
7355
|
static deserialize(deserializer: Deserializer): AccountAbstractionMessage;
|
|
7192
7356
|
}
|
|
7193
7357
|
|
|
7194
|
-
export {
|
|
7358
|
+
export { type EntryFunctionABI as $, AbstractMultiKey as A, type AptosSettings as B, AuthenticationKey as C, type AuthenticationKeyScheme as D, type Block as E, type BlockEndInfo as F, type BlockEpilogueTransactionResponse as G, type BlockMetadataTransactionResponse as H, Bool as I, ChainId as J, type Client as K, type ClientConfig as L, type ClientHeadersType as M, type ClientRequest as N, type ClientResponse as O, type CommittedTransactionResponse as P, type CursorPaginationArgs as Q, type DecodedTableData as R, type DeletedTableData as S, DeriveScheme as T, type Deserializable as U, Deserializer as V, type DirectWriteSet as W, Ed25519PrivateKey as X, Ed25519PublicKey as Y, Ed25519Signature as Z, EntryFunction as _, AccountAbstractionMessage as a, type LedgerInfo as a$, type EntryFunctionArgument as a0, type EntryFunctionArgumentTypes as a1, type EntryFunctionPayloadResponse as a2, EphemeralCertificateVariant as a3, EphemeralPublicKeyVariant as a4, EphemeralSignatureVariant as a5, type Event as a6, type EventGuid as a7, type FaucetConfig as a8, FeePayerRawTransaction as a9, type InputGenerateRawTransactionArgs as aA, type InputGenerateSequenceNumberTransactionOptions as aB, type InputGenerateSingleSignerRawTransactionArgs as aC, type InputGenerateSingleSignerRawTransactionData as aD, type InputGenerateTransactionData as aE, type InputGenerateTransactionOptions as aF, type InputGenerateTransactionPayloadData as aG, type InputGenerateTransactionPayloadDataWithABI as aH, type InputGenerateTransactionPayloadDataWithRemoteABI as aI, type InputMultiSigData as aJ, type InputMultiSigDataWithABI as aK, type InputMultiSigDataWithRemoteABI as aL, type InputScriptData as aM, type InputSimulateTransactionData as aN, type InputSimulateTransactionOptions as aO, type InputSubmitTransactionData as aP, type InputTransactionPluginData as aQ, type InputViewFunctionData as aR, type InputViewFunctionDataWithABI as aS, type InputViewFunctionDataWithRemoteABI as aT, type InputViewFunctionJsonData as aU, type Int128 as aV, type Int16 as aW, type Int256 as aX, type Int32 as aY, type Int64 as aZ, type Int8 as a_, FixedBytes as aa, type FullNodeConfig as ab, type FunctionABI as ac, type GasEstimation as ad, type GenerateAccount as ae, type GenerateAccountWithEd25519 as af, type GenerateAccountWithSingleSignerSecp256k1Key as ag, type GenesisPayload as ah, type GenesisTransactionResponse as ai, Hex as aj, type HexInput as ak, HexInvalidReason as al, I128 as am, I16 as an, I256 as ao, I32 as ap, I64 as aq, I8 as ar, Identifier as as, type IndexerConfig as at, type InputEntryFunctionData as au, type InputEntryFunctionDataWithABI as av, type InputEntryFunctionDataWithRemoteABI as aw, type InputGenerateMultiAgentRawTransactionArgs as ax, type InputGenerateMultiAgentRawTransactionData as ay, type InputGenerateOrderlessTransactionOptions as az, AccountAddress as b, type ScriptWriteSet as b$, type LedgerVersionArg as b0, MimeType as b1, ModuleId as b2, MoveAbility as b3, type MoveAddressType as b4, type MoveFunction as b5, type MoveFunctionGenericTypeParam as b6, type MoveFunctionId as b7, MoveFunctionVisibility as b8, type MoveInt128Type as b9, MoveVector as bA, MultiAgentRawTransaction as bB, MultiAgentTransaction as bC, MultiEd25519PublicKey as bD, MultiEd25519Signature as bE, MultiKey as bF, MultiKeySignature as bG, MultiSig as bH, MultiSigTransactionPayload as bI, type MultisigPayloadResponse as bJ, type OrderByArg as bK, type PaginationArgs as bL, type PendingTransactionResponse as bM, type PluginConfig as bN, type PluginSettings as bO, PrivateKey as bP, type PrivateKeyInput as bQ, PrivateKeyVariants as bR, PublicKey as bS, RawTransaction as bT, RawTransactionWithData as bU, RoleType as bV, Script as bW, type ScriptFunctionArgument as bX, type ScriptFunctionArgumentTypes as bY, type ScriptPayloadResponse as bZ, ScriptTransactionArgumentVariants as b_, type MoveInt16Type as ba, type MoveInt256Type as bb, type MoveInt32Type as bc, type MoveInt64Type as bd, type MoveInt8Type as be, type MoveModule as bf, type MoveModuleBytecode as bg, type MoveModuleId as bh, type MoveObjectType as bi, MoveOption as bj, type MoveOptionType as bk, type MoveResource as bl, type MoveScriptBytecode as bm, MoveString as bn, type MoveStruct as bo, type MoveStructField as bp, type MoveStructId as bq, type MoveStructType as br, type MoveType as bs, type MoveUint128Type as bt, type MoveUint16Type as bu, type MoveUint256Type as bv, type MoveUint32Type as bw, type MoveUint64Type as bx, type MoveUint8Type as by, type MoveValue as bz, type AccountAddressInput as c, TypeTagU32 as c$, Secp256k1PrivateKey as c0, Secp256k1PublicKey as c1, Secp256k1Signature as c2, Serializable as c3, Serialized as c4, Serializer as c5, Signature as c6, SigningScheme as c7, SigningSchemeInput as c8, type SimpleEntryFunctionArgumentTypes as c9, type TransactionPayloadResponse as cA, TransactionPayloadScript as cB, TransactionPayloadVariants as cC, type TransactionResponse as cD, TransactionResponseType as cE, type TransactionSecp256k1Signature as cF, type TransactionSignature as cG, type TransactionSingleSenderSignature as cH, type TransactionSubmitter as cI, TransactionVariants as cJ, type TypeArgument as cK, TypeTag as cL, TypeTagAddress as cM, TypeTagBool as cN, TypeTagGeneric as cO, TypeTagI128 as cP, TypeTagI16 as cQ, TypeTagI256 as cR, TypeTagI32 as cS, TypeTagI64 as cT, TypeTagI8 as cU, TypeTagReference as cV, TypeTagSigner as cW, TypeTagStruct as cX, TypeTagU128 as cY, TypeTagU16 as cZ, TypeTagU256 as c_, SimpleTransaction as ca, type StateCheckpointTransactionResponse as cb, StructTag as cc, type TableItemRequest as cd, type TokenStandardArg as ce, type TransactionArgument as cf, TransactionAuthenticatorVariant as cg, type TransactionEd25519Signature as ch, TransactionExecutable as ci, TransactionExecutableEmpty as cj, TransactionExecutableEntryFunction as ck, TransactionExecutableScript as cl, TransactionExecutableVariants as cm, TransactionExtraConfig as cn, TransactionExtraConfigV1 as co, TransactionExtraConfigVariants as cp, type TransactionFeePayerSignature as cq, type TransactionGenerationConfig as cr, TransactionInnerPayload as cs, TransactionInnerPayloadV1 as ct, TransactionInnerPayloadVariants as cu, type TransactionMultiAgentSignature as cv, type TransactionMultiEd25519Signature as cw, TransactionPayload as cx, TransactionPayloadEntryFunction as cy, TransactionPayloadMultiSig as cz, AccountAuthenticator as d, TypeTagU64 as d0, TypeTagU8 as d1, TypeTagVariants as d2, TypeTagVector as d3, U128 as d4, U16 as d5, U256 as d6, U32 as d7, U64 as d8, U8 as d9, deserializeFromScriptArgument as dA, ensureBoolean as dB, hexToAsciiString as dC, isBlockEpilogueTransactionResponse as dD, isBlockMetadataTransactionResponse as dE, isCanonicalEd25519Signature as dF, isEd25519Signature as dG, isFeePayerSignature as dH, isGenesisTransactionResponse as dI, isMultiAgentSignature as dJ, isMultiEd25519Signature as dK, isPendingTransactionResponse as dL, isSecp256k1Signature as dM, isSingleSenderSignature as dN, isStateCheckpointTransactionResponse as dO, isUserTransactionResponse as dP, isValidatorTransactionResponse as dQ, objectStructTag as dR, optionStructTag as dS, outOfRangeErrorMessage as dT, stringStructTag as dU, validateNumberInRange as dV, type Uint128 as da, type Uint16 as db, type Uint256 as dc, type Uint32 as dd, type Uint64 as de, type Uint8 as df, type UserTransactionResponse as dg, type ValidatorTransactionResponse as dh, type VerifySignatureArgs as di, type VerifySignatureAsyncArgs as dj, type ViewFunctionABI as dk, type ViewFunctionJsonPayload as dl, type WaitForTransactionOptions as dm, type WhereArg as dn, type WriteSet as dp, type WriteSetChange as dq, type WriteSetChangeDeleteModule as dr, type WriteSetChangeDeleteResource as ds, type WriteSetChangeDeleteTableItem as dt, type WriteSetChangeWriteModule as du, type WriteSetChangeWriteResource as dv, type WriteSetChangeWriteTableItem as dw, ZkpVariant as dx, anyPublicKeyVariantToString as dy, aptosCoinStructTag as dz, AccountAuthenticatorAbstraction as e, AccountAuthenticatorEd25519 as f, AccountAuthenticatorMultiEd25519 as g, AccountAuthenticatorMultiKey as h, AccountAuthenticatorNoAccountAuthenticator as i, AccountAuthenticatorSingleKey as j, AccountAuthenticatorVariant as k, type AccountData as l, AccountPublicKey as m, type AccountSignature as n, AddressInvalidReason as o, type AnyNumber as p, AnyPublicKey as q, AnyPublicKeyVariant as r, type AnyRawTransaction as s, type AnyRawTransactionInstance as t, AnySignature as u, AnySignatureVariant as v, type AnyTransactionPayloadInstance as w, AptosConfig as x, type AptosRequest as y, type AptosResponse as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as AptosConfig, c as AccountAddressInput, aF as InputGenerateTransactionOptions, ca as SimpleTransaction, b as AccountAddress } from '../../account-Dg0ejXHy.mjs';
|
|
2
2
|
import '../../types/indexer.mjs';
|
|
3
3
|
import '../../types/generated/operations.mjs';
|
|
4
4
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{fd as a}from"../../chunk-
|
|
1
|
+
import{fd as a}from"../../chunk-6CD6PDFJ.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-UPHD2B4I.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-POQ4FT4E.mjs";import"../../chunk-R7PCBRRT.mjs";import"../../chunk-YJVBGKWM.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YTFJ5W7U.mjs";import"../../chunk-F45HI7LU.mjs";import"../../chunk-F4LHBGG2.mjs";import"../../chunk-5HHC2YG4.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-QRW7MQDA.mjs";import"../../chunk-EIWPAECI.mjs";import"../../chunk-2VBY2V4Z.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-UVJW4DPP.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-LDK76MDN.mjs";import"../../chunk-X4IR6WX6.mjs";import"../../chunk-KOVWYU53.mjs";import"../../chunk-H2T2SU5O.mjs";import"../../chunk-T32P4APJ.mjs";import"../../chunk-G5OONGWS.mjs";import"../../chunk-ODNZJSOC.mjs";import"../../chunk-TSPG5VED.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-2VHA77EO.mjs";import"../../chunk-NWP2VEMB.mjs";import"../../chunk-UYG4XVVO.mjs";import"../../chunk-Q4KYBAYN.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-ITZN23GU.mjs";import"../../chunk-ASFFADWS.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-WFZFTRRS.mjs";import"../../chunk-BT742BFQ.mjs";import"../../chunk-E3DHFXN4.mjs";import"../../chunk-CD3EZCI5.mjs";import"../../chunk-M65PXVDO.mjs";import"../../chunk-5LMLIRGK.mjs";import"../../chunk-C2KVLMPH.mjs";import"../../chunk-FDHHQUS3.mjs";import"../../chunk-DE5K76I2.mjs";import"../../chunk-NP2IAUME.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-Q5ESW36C.mjs";import"../../chunk-66F7RP7K.mjs";import"../../chunk-TAHLOBRG.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AUGTNOKZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountAbstraction};
|
|
2
2
|
//# sourceMappingURL=abstraction.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountCoinsDataResponse, GetObjectDataQueryResponse } from '../types/indexer.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { x as AptosConfig, c as AccountAddressInput, l as AccountData, b0 as LedgerVersionArg, bg as MoveModuleBytecode, Q as CursorPaginationArgs, bL as PaginationArgs, cD as TransactionResponse, bl as MoveResource, bq as MoveStructId, p as AnyNumber, b as AccountAddress, ce as TokenStandardArg, bK as OrderByArg, dn as WhereArg, bQ as PrivateKeyInput } from '../account-Dg0ejXHy.mjs';
|
|
3
3
|
import { CurrentFungibleAssetBalancesBoolExp } from '../types/generated/types.mjs';
|
|
4
|
-
import { A as Account$1 } from '../Ed25519Account-
|
|
4
|
+
import { A as Account$1 } from '../Ed25519Account-BCt2cu_M.mjs';
|
|
5
5
|
import { BaseAccountPublicKey } from '../core/crypto/types.mjs';
|
|
6
6
|
import { AccountInfo } from '../internal/account.mjs';
|
|
7
7
|
import { AccountAbstraction } from './account/abstraction.mjs';
|
package/dist/esm/api/account.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{gd as a}from"../chunk-
|
|
1
|
+
import{gd as a}from"../chunk-6CD6PDFJ.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-YTFJ5W7U.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-LDK76MDN.mjs";import"../chunk-X4IR6WX6.mjs";import"../chunk-KOVWYU53.mjs";import"../chunk-H2T2SU5O.mjs";import"../chunk-T32P4APJ.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-2VHA77EO.mjs";import"../chunk-NWP2VEMB.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-Q4KYBAYN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AUGTNOKZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Account};
|
|
2
2
|
//# sourceMappingURL=account.mjs.map
|
package/dist/esm/api/ans.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as AptosConfig, b as AccountAddress, c as AccountAddressInput, aF as InputGenerateTransactionOptions, ca as SimpleTransaction, au as InputEntryFunctionData } from '../account-Dg0ejXHy.mjs';
|
|
2
2
|
import { AnsName } from '../types/ans.mjs';
|
|
3
3
|
import { RegisterNameParameters, GetAccountNamesArgs, GetAccountDomainsArgs, GetAccountSubdomainsArgs, GetDomainSubdomainsArgs } from '../internal/ans.mjs';
|
|
4
4
|
import '../types/indexer.mjs';
|
package/dist/esm/api/ans.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ke as a}from"../chunk-
|
|
1
|
+
import{ke as a}from"../chunk-6CD6PDFJ.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-YTFJ5W7U.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-LDK76MDN.mjs";import"../chunk-X4IR6WX6.mjs";import"../chunk-KOVWYU53.mjs";import"../chunk-H2T2SU5O.mjs";import"../chunk-T32P4APJ.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-2VHA77EO.mjs";import"../chunk-NWP2VEMB.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-Q4KYBAYN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AUGTNOKZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as ANS};
|
|
2
2
|
//# sourceMappingURL=ans.mjs.map
|
package/dist/esm/api/aptos.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Account } from './account.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { x as AptosConfig } from '../account-Dg0ejXHy.mjs';
|
|
3
3
|
import { Coin } from './coin.mjs';
|
|
4
4
|
import { DigitalAsset } from './digitalAsset.mjs';
|
|
5
5
|
import { Faucet } from './faucet.mjs';
|
|
@@ -14,7 +14,7 @@ import { AptosObject } from './object.mjs';
|
|
|
14
14
|
import '../types/indexer.mjs';
|
|
15
15
|
import '../types/generated/operations.mjs';
|
|
16
16
|
import '../types/generated/types.mjs';
|
|
17
|
-
import '../Ed25519Account-
|
|
17
|
+
import '../Ed25519Account-BCt2cu_M.mjs';
|
|
18
18
|
import '../core/crypto/types.mjs';
|
|
19
19
|
import '../utils/apiEndpoints.mjs';
|
|
20
20
|
import '../utils/const.mjs';
|
|
@@ -34,7 +34,7 @@ import 'eventemitter3';
|
|
|
34
34
|
import '../transactions/management/transactionWorker.mjs';
|
|
35
35
|
import '../transactions/management/accountSequenceNumber.mjs';
|
|
36
36
|
import '../transactions/management/asyncQueue.mjs';
|
|
37
|
-
import '../federatedKeyless-
|
|
37
|
+
import '../federatedKeyless-BYLu31Sa.mjs';
|
|
38
38
|
import '../core/crypto/ephemeral.mjs';
|
|
39
39
|
import '../core/crypto/proof.mjs';
|
|
40
40
|
import '../types/keyless.mjs';
|
package/dist/esm/api/aptos.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ge as a}from"../chunk-
|
|
1
|
+
import{Ge as a}from"../chunk-6CD6PDFJ.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-YTFJ5W7U.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-LDK76MDN.mjs";import"../chunk-X4IR6WX6.mjs";import"../chunk-KOVWYU53.mjs";import"../chunk-H2T2SU5O.mjs";import"../chunk-T32P4APJ.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-2VHA77EO.mjs";import"../chunk-NWP2VEMB.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-Q4KYBAYN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AUGTNOKZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Aptos};
|
|
2
2
|
//# sourceMappingURL=aptos.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-UYG4XVVO.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AptosConfig};
|
|
2
2
|
//# sourceMappingURL=aptosConfig.mjs.map
|
package/dist/esm/api/coin.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as AptosConfig, c as AccountAddressInput, p as AnyNumber, bq as MoveStructId, aF as InputGenerateTransactionOptions, ca as SimpleTransaction } from '../account-Dg0ejXHy.mjs';
|
|
2
2
|
import '../types/indexer.mjs';
|
|
3
3
|
import '../types/generated/operations.mjs';
|
|
4
4
|
import '../types/generated/types.mjs';
|
package/dist/esm/api/coin.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{id as a}from"../chunk-
|
|
1
|
+
import{id as a}from"../chunk-6CD6PDFJ.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-YTFJ5W7U.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-LDK76MDN.mjs";import"../chunk-X4IR6WX6.mjs";import"../chunk-KOVWYU53.mjs";import"../chunk-H2T2SU5O.mjs";import"../chunk-T32P4APJ.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-2VHA77EO.mjs";import"../chunk-NWP2VEMB.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-Q4KYBAYN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AUGTNOKZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Coin};
|
|
2
2
|
//# sourceMappingURL=coin.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetCollectionDataResponse, GetTokenDataResponse, GetCurrentTokenOwnershipResponse, GetOwnedTokensResponse, GetTokenActivityResponse } from '../types/indexer.mjs';
|
|
2
|
-
import {
|
|
3
|
-
import { A as Account } from '../Ed25519Account-
|
|
2
|
+
import { x as AptosConfig, c as AccountAddressInput, p as AnyNumber, ce as TokenStandardArg, bL as PaginationArgs, bK as OrderByArg, aF as InputGenerateTransactionOptions, ca as SimpleTransaction, b as AccountAddress, bq as MoveStructId } from '../account-Dg0ejXHy.mjs';
|
|
3
|
+
import { A as Account } from '../Ed25519Account-BCt2cu_M.mjs';
|
|
4
4
|
import { CreateCollectionOptions, PropertyType, PropertyValue } from '../internal/digitalAsset.mjs';
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../types/generated/types.mjs';
|