@aptos-labs/ts-sdk 5.1.1 → 5.1.3
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 +4 -4
- package/dist/common/{account-Dr4y1uZG.d.ts → account-nCfrFDHy.d.ts} +95 -1
- package/dist/common/chunk-PW6UQAB2.js +4 -0
- package/dist/common/chunk-PW6UQAB2.js.map +1 -0
- package/dist/common/cli/index.d.ts +3 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +14 -3
- package/dist/common/index.js +33 -33
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-CPwej6wB.d.mts → Ed25519Account-BgSyStyl.d.mts} +1 -1
- 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 +1 -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 +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-BortO8g2.d.mts → account-CAv0-Zs9.d.mts} +94 -1
- 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 +2 -2
- 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/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/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/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/fixedBytes.d.mts +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/{chunk-V74WPKSY.mjs → chunk-2XQKGWHQ.mjs} +2 -2
- package/dist/esm/{chunk-ADJMFL73.mjs → chunk-54WUP65H.mjs} +2 -2
- package/dist/esm/{chunk-DHCGYW3W.mjs → chunk-AGAAGA2X.mjs} +2 -2
- package/dist/esm/{chunk-3LJVXUPB.mjs → chunk-BCTM24ZZ.mjs} +2 -2
- package/dist/esm/{chunk-CZDNBI5K.mjs → chunk-C2ZO2L5W.mjs} +2 -2
- package/dist/esm/{chunk-TSEAIF34.mjs → chunk-DRBFLEZL.mjs} +2 -2
- package/dist/esm/chunk-DURSBMWP.mjs +2 -0
- package/dist/esm/chunk-DURSBMWP.mjs.map +1 -0
- package/dist/esm/{chunk-TT3MPSBB.mjs → chunk-EFQZGHAO.mjs} +2 -2
- package/dist/esm/chunk-EW45LLAP.mjs +2 -0
- package/dist/esm/{chunk-GUPVZIYS.mjs.map → chunk-EW45LLAP.mjs.map} +1 -1
- package/dist/esm/chunk-GQ3UIDPQ.mjs +2 -0
- package/dist/esm/chunk-GQ3UIDPQ.mjs.map +1 -0
- package/dist/esm/{chunk-57YZ7I7V.mjs → chunk-HX6SDBEX.mjs} +2 -2
- package/dist/esm/{chunk-7DQDJ2SA.mjs → chunk-LA56UDUK.mjs} +2 -2
- package/dist/esm/chunk-M3FCWYLI.mjs +4 -0
- package/dist/esm/chunk-M3FCWYLI.mjs.map +1 -0
- package/dist/esm/{chunk-7ZESTCBD.mjs → chunk-NCKJ7X57.mjs} +2 -2
- package/dist/esm/chunk-P5HCJN3A.mjs +2 -0
- package/dist/esm/chunk-P5HCJN3A.mjs.map +1 -0
- package/dist/esm/{chunk-O26BHE5H.mjs → chunk-YSP6JG5G.mjs} +2 -2
- package/dist/esm/{chunk-6WDVDEQZ.mjs → chunk-YZHAI55C.mjs} +2 -2
- package/dist/esm/{chunk-KB4XOTCR.mjs → chunk-ZABLJ2JJ.mjs} +2 -2
- package/dist/esm/chunk-ZYE7UTJZ.mjs +2 -0
- package/dist/esm/chunk-ZYE7UTJZ.mjs.map +1 -0
- package/dist/esm/cli/index.d.mts +1 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +2 -0
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +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 +2 -2
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +13 -2
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +2 -2
- 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/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 +3 -3
- 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-CTzDAQTu.d.mts → federatedKeyless-C8KXaSM1.d.mts} +1 -1
- package/dist/esm/index.d.mts +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +1 -1
- 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 +1 -1
- 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/identifier.d.mts +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 +2 -2
- 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 +1 -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/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/apiEndpoints.d.mts +1 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -1
- package/dist/esm/utils/index.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 +1 -2
- package/src/cli/localNode.ts +13 -2
- package/src/core/account/utils/address.ts +22 -0
- package/src/internal/ans.ts +1 -0
- package/src/transactions/typeTag/index.ts +173 -1
- package/src/transactions/typeTag/parser.ts +24 -0
- package/src/types/types.ts +6 -0
- package/src/utils/apiEndpoints.ts +9 -2
- package/src/version.ts +1 -1
- package/dist/common/chunk-A2XB7TVI.js +0 -4
- package/dist/common/chunk-A2XB7TVI.js.map +0 -1
- package/dist/esm/chunk-B563XRSZ.mjs +0 -2
- package/dist/esm/chunk-B563XRSZ.mjs.map +0 -1
- package/dist/esm/chunk-EMR3S3VO.mjs +0 -2
- package/dist/esm/chunk-EMR3S3VO.mjs.map +0 -1
- package/dist/esm/chunk-GUPVZIYS.mjs +0 -2
- package/dist/esm/chunk-HNBVYE3N.mjs +0 -2
- package/dist/esm/chunk-HNBVYE3N.mjs.map +0 -1
- package/dist/esm/chunk-MCFQE4GC.mjs +0 -2
- package/dist/esm/chunk-MCFQE4GC.mjs.map +0 -1
- package/dist/esm/chunk-PGUSBALH.mjs +0 -4
- package/dist/esm/chunk-PGUSBALH.mjs.map +0 -1
- /package/dist/esm/{chunk-V74WPKSY.mjs.map → chunk-2XQKGWHQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-ADJMFL73.mjs.map → chunk-54WUP65H.mjs.map} +0 -0
- /package/dist/esm/{chunk-DHCGYW3W.mjs.map → chunk-AGAAGA2X.mjs.map} +0 -0
- /package/dist/esm/{chunk-3LJVXUPB.mjs.map → chunk-BCTM24ZZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-CZDNBI5K.mjs.map → chunk-C2ZO2L5W.mjs.map} +0 -0
- /package/dist/esm/{chunk-TSEAIF34.mjs.map → chunk-DRBFLEZL.mjs.map} +0 -0
- /package/dist/esm/{chunk-TT3MPSBB.mjs.map → chunk-EFQZGHAO.mjs.map} +0 -0
- /package/dist/esm/{chunk-57YZ7I7V.mjs.map → chunk-HX6SDBEX.mjs.map} +0 -0
- /package/dist/esm/{chunk-7DQDJ2SA.mjs.map → chunk-LA56UDUK.mjs.map} +0 -0
- /package/dist/esm/{chunk-7ZESTCBD.mjs.map → chunk-NCKJ7X57.mjs.map} +0 -0
- /package/dist/esm/{chunk-O26BHE5H.mjs.map → chunk-YSP6JG5G.mjs.map} +0 -0
- /package/dist/esm/{chunk-6WDVDEQZ.mjs.map → chunk-YZHAI55C.mjs.map} +0 -0
- /package/dist/esm/{chunk-KB4XOTCR.mjs.map → chunk-ZABLJ2JJ.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bm as AnyRawTransaction, aY as AnyRawTransactionInstance, b0 as AnyTransactionPayloadInstance, bh as EntryFunctionABI, aV as EntryFunctionArgumentTypes, bg as FunctionABI, b3 as InputEntryFunctionData, b5 as InputEntryFunctionDataWithABI, b7 as InputEntryFunctionDataWithRemoteABI, bk as InputGenerateMultiAgentRawTransactionArgs, bq as InputGenerateMultiAgentRawTransactionData, a$ as InputGenerateOrderlessTransactionOptions, bl as InputGenerateRawTransactionArgs, a_ as InputGenerateSequenceNumberTransactionOptions, bj as InputGenerateSingleSignerRawTransactionArgs, bp as InputGenerateSingleSignerRawTransactionData, br as InputGenerateTransactionData, aZ as InputGenerateTransactionOptions, b1 as InputGenerateTransactionPayloadData, b4 as InputGenerateTransactionPayloadDataWithABI, b2 as InputGenerateTransactionPayloadDataWithRemoteABI, b8 as InputMultiSigData, b6 as InputMultiSigDataWithABI, b9 as InputMultiSigDataWithRemoteABI, ba as InputScriptData, bn as InputSimulateTransactionData, bo as InputSimulateTransactionOptions, bt as InputSubmitTransactionData, bs as InputTransactionPluginData, bb as InputViewFunctionData, bf as InputViewFunctionDataWithABI, be as InputViewFunctionDataWithRemoteABI, bc as InputViewFunctionJsonData, aW as ScriptFunctionArgumentTypes, aU as SimpleEntryFunctionArgumentTypes, aX as TypeArgument, bi as ViewFunctionABI, bd as ViewFunctionJsonPayload } from '../account-CAv0-Zs9.mjs';
|
|
2
2
|
import '../types/indexer.mjs';
|
|
3
3
|
import '../types/generated/operations.mjs';
|
|
4
4
|
import '../types/generated/types.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { GetANSNameResponse, GetAccountAddressesForAuthKeyResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard } from './indexer.mjs';
|
|
2
|
-
export {
|
|
2
|
+
export { bE as AccountAuthenticatorVariant, cf as AccountData, c$ as AccountSignature, bT as AnyNumber, bG as AnyPublicKeyVariant, bI as AnySignatureVariant, ca as AptosRequest, cb as AptosResponse, bU as AptosSettings, dw as AuthenticationKeyScheme, du as Block, cx as BlockEndInfo, cy as BlockEpilogueTransactionResponse, cu as BlockMetadataTransactionResponse, c9 as Client, b_ as ClientConfig, c3 as ClientHeadersType, c7 as ClientRequest, c8 as ClientResponse, cj as CommittedTransactionResponse, bW as CursorPaginationArgs, cG as DecodedTableData, cH as DeletedTableData, dz as DeriveScheme, d2 as DirectWriteSet, cJ as EntryFunctionPayloadResponse, bL as EphemeralCertificateVariant, bJ as EphemeralPublicKeyVariant, bK as EphemeralSignatureVariant, d4 as Event, d3 as EventGuid, c1 as FaucetConfig, b$ as FullNodeConfig, cd as GasEstimation, dD as GenerateAccount, dB as GenerateAccountWithEd25519, dC as GenerateAccountWithSingleSignerSecp256k1Key, cM as GenesisPayload, ct as GenesisTransactionResponse, bv as HexInput, c0 as IndexerConfig, dt as LedgerInfo, cc as LedgerVersionArg, bu as MimeType, dl as MoveAbility, db as MoveAddressType, dr as MoveFunction, dm as MoveFunctionGenericTypeParam, df as MoveFunctionId, dk as MoveFunctionVisibility, dp as MoveModule, cg as MoveModuleBytecode, dj as MoveModuleId, dc as MoveObjectType, dd as MoveOptionType, ce as MoveResource, cN as MoveScriptBytecode, dq as MoveStruct, dn as MoveStructField, de as MoveStructId, dg as MoveStructType, dh as MoveType, d9 as MoveUint128Type, d6 as MoveUint16Type, da as MoveUint256Type, d7 as MoveUint32Type, d8 as MoveUint64Type, d5 as MoveUint8Type, di as MoveValue, cL as MultisigPayloadResponse, bY as OrderByArg, bV as PaginationArgs, cr as PendingTransactionResponse, c4 as PluginConfig, c5 as PluginSettings, bF as PrivateKeyVariants, ds as RoleType, cK as ScriptPayloadResponse, bx as ScriptTransactionArgumentVariants, d1 as ScriptWriteSet, dx as SigningScheme, dy as SigningSchemeInput, cv as StateCheckpointTransactionResponse, dv as TableItemRequest, bX as TokenStandardArg, bD as TransactionAuthenticatorVariant, cV as TransactionEd25519Signature, bA as TransactionExecutableVariants, bB as TransactionExtraConfigVariants, c_ as TransactionFeePayerSignature, c2 as TransactionGenerationConfig, bz as TransactionInnerPayloadVariants, cZ as TransactionMultiAgentSignature, cY as TransactionMultiEd25519Signature, cI as TransactionPayloadResponse, by as TransactionPayloadVariants, ci as TransactionResponse, ch as TransactionResponseType, cW as TransactionSecp256k1Signature, cO as TransactionSignature, cX as TransactionSingleSenderSignature, c6 as TransactionSubmitter, bC as TransactionVariants, bw as TypeTagVariants, bR as Uint128, bO as Uint16, bS as Uint256, bP as Uint32, bQ as Uint64, bN as Uint8, cs as UserTransactionResponse, cw as ValidatorTransactionResponse, dA as WaitForTransactionOptions, bZ as WhereArg, d0 as WriteSet, cz as WriteSetChange, cA as WriteSetChangeDeleteModule, cB as WriteSetChangeDeleteResource, cC as WriteSetChangeDeleteTableItem, cD as WriteSetChangeWriteModule, cE as WriteSetChangeWriteResource, cF as WriteSetChangeWriteTableItem, bM as ZkpVariant, bH as anyPublicKeyVariantToString, cq as isBlockEpilogueTransactionResponse, cn as isBlockMetadataTransactionResponse, cP as isEd25519Signature, cS as isFeePayerSignature, cm as isGenesisTransactionResponse, cR as isMultiAgentSignature, cT as isMultiEd25519Signature, ck as isPendingTransactionResponse, cQ as isSecp256k1Signature, cU as isSingleSenderSignature, co as isStateCheckpointTransactionResponse, cl as isUserTransactionResponse, cp as isValidatorTransactionResponse } from '../account-CAv0-Zs9.mjs';
|
|
3
3
|
import './generated/operations.mjs';
|
|
4
4
|
import './generated/types.mjs';
|
|
5
5
|
import '../utils/apiEndpoints.mjs';
|
package/dist/esm/types/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import{A,B,C,D,E,F,G,H,I,J,K,L,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
1
|
+
import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import{A,B,C,D,E,F,G,H,I,J,K,L,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-DURSBMWP.mjs";import"../chunk-KDMSOCZY.mjs";export{j as AccountAuthenticatorVariant,l as AnyPublicKeyVariant,n as AnySignatureVariant,L as DeriveScheme,q as EphemeralCertificateVariant,o as EphemeralPublicKeyVariant,p as EphemeralSignatureVariant,a as MimeType,H as MoveAbility,G as MoveFunctionVisibility,k as PrivateKeyVariants,I as RoleType,c as ScriptTransactionArgumentVariants,J as SigningScheme,K as SigningSchemeInput,i as TransactionAuthenticatorVariant,f as TransactionExecutableVariants,g as TransactionExtraConfigVariants,e as TransactionInnerPayloadVariants,d as TransactionPayloadVariants,s as TransactionResponseType,h as TransactionVariants,b as TypeTagVariants,r as ZkpVariant,m as anyPublicKeyVariantToString,z as isBlockEpilogueTransactionResponse,w as isBlockMetadataTransactionResponse,A as isEd25519Signature,D as isFeePayerSignature,v as isGenesisTransactionResponse,C as isMultiAgentSignature,E as isMultiEd25519Signature,t as isPendingTransactionResponse,B as isSecp256k1Signature,F as isSingleSenderSignature,x as isStateCheckpointTransactionResponse,u as isUserTransactionResponse,y as isValidatorTransactionResponse};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './indexer.mjs';
|
|
2
|
-
export {
|
|
2
|
+
export { bE as AccountAuthenticatorVariant, cf as AccountData, c$ as AccountSignature, bT as AnyNumber, bG as AnyPublicKeyVariant, bI as AnySignatureVariant, ca as AptosRequest, cb as AptosResponse, bU as AptosSettings, dw as AuthenticationKeyScheme, du as Block, cx as BlockEndInfo, cy as BlockEpilogueTransactionResponse, cu as BlockMetadataTransactionResponse, c9 as Client, b_ as ClientConfig, c3 as ClientHeadersType, c7 as ClientRequest, c8 as ClientResponse, cj as CommittedTransactionResponse, bW as CursorPaginationArgs, cG as DecodedTableData, cH as DeletedTableData, dz as DeriveScheme, d2 as DirectWriteSet, cJ as EntryFunctionPayloadResponse, bL as EphemeralCertificateVariant, bJ as EphemeralPublicKeyVariant, bK as EphemeralSignatureVariant, d4 as Event, d3 as EventGuid, c1 as FaucetConfig, b$ as FullNodeConfig, cd as GasEstimation, dD as GenerateAccount, dB as GenerateAccountWithEd25519, dC as GenerateAccountWithSingleSignerSecp256k1Key, cM as GenesisPayload, ct as GenesisTransactionResponse, bv as HexInput, c0 as IndexerConfig, dt as LedgerInfo, cc as LedgerVersionArg, bu as MimeType, dl as MoveAbility, db as MoveAddressType, dr as MoveFunction, dm as MoveFunctionGenericTypeParam, df as MoveFunctionId, dk as MoveFunctionVisibility, dp as MoveModule, cg as MoveModuleBytecode, dj as MoveModuleId, dc as MoveObjectType, dd as MoveOptionType, ce as MoveResource, cN as MoveScriptBytecode, dq as MoveStruct, dn as MoveStructField, de as MoveStructId, dg as MoveStructType, dh as MoveType, d9 as MoveUint128Type, d6 as MoveUint16Type, da as MoveUint256Type, d7 as MoveUint32Type, d8 as MoveUint64Type, d5 as MoveUint8Type, di as MoveValue, cL as MultisigPayloadResponse, bY as OrderByArg, bV as PaginationArgs, cr as PendingTransactionResponse, c4 as PluginConfig, c5 as PluginSettings, bF as PrivateKeyVariants, ds as RoleType, cK as ScriptPayloadResponse, bx as ScriptTransactionArgumentVariants, d1 as ScriptWriteSet, dx as SigningScheme, dy as SigningSchemeInput, cv as StateCheckpointTransactionResponse, dv as TableItemRequest, bX as TokenStandardArg, bD as TransactionAuthenticatorVariant, cV as TransactionEd25519Signature, bA as TransactionExecutableVariants, bB as TransactionExtraConfigVariants, c_ as TransactionFeePayerSignature, c2 as TransactionGenerationConfig, bz as TransactionInnerPayloadVariants, cZ as TransactionMultiAgentSignature, cY as TransactionMultiEd25519Signature, cI as TransactionPayloadResponse, by as TransactionPayloadVariants, ci as TransactionResponse, ch as TransactionResponseType, cW as TransactionSecp256k1Signature, cO as TransactionSignature, cX as TransactionSingleSenderSignature, c6 as TransactionSubmitter, bC as TransactionVariants, bw as TypeTagVariants, bR as Uint128, bO as Uint16, bS as Uint256, bP as Uint32, bQ as Uint64, bN as Uint8, cs as UserTransactionResponse, cw as ValidatorTransactionResponse, dA as WaitForTransactionOptions, bZ as WhereArg, d0 as WriteSet, cz as WriteSetChange, cA as WriteSetChangeDeleteModule, cB as WriteSetChangeDeleteResource, cC as WriteSetChangeDeleteTableItem, cD as WriteSetChangeWriteModule, cE as WriteSetChangeWriteResource, cF as WriteSetChangeWriteTableItem, bM as ZkpVariant, bH as anyPublicKeyVariantToString, cq as isBlockEpilogueTransactionResponse, cn as isBlockMetadataTransactionResponse, cP as isEd25519Signature, cS as isFeePayerSignature, cm as isGenesisTransactionResponse, cR as isMultiAgentSignature, cT as isMultiEd25519Signature, ck as isPendingTransactionResponse, cQ as isSecp256k1Signature, cU as isSingleSenderSignature, co as isStateCheckpointTransactionResponse, cl as isUserTransactionResponse, cp as isValidatorTransactionResponse } from '../account-CAv0-Zs9.mjs';
|
|
3
3
|
import '../utils/apiEndpoints.mjs';
|
|
4
4
|
import './generated/operations.mjs';
|
|
5
5
|
import './generated/types.mjs';
|
package/dist/esm/types/types.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-DURSBMWP.mjs";import"../chunk-KDMSOCZY.mjs";export{j as AccountAuthenticatorVariant,l as AnyPublicKeyVariant,n as AnySignatureVariant,L as DeriveScheme,q as EphemeralCertificateVariant,o as EphemeralPublicKeyVariant,p as EphemeralSignatureVariant,a as MimeType,H as MoveAbility,G as MoveFunctionVisibility,k as PrivateKeyVariants,I as RoleType,c as ScriptTransactionArgumentVariants,J as SigningScheme,K as SigningSchemeInput,i as TransactionAuthenticatorVariant,f as TransactionExecutableVariants,g as TransactionExtraConfigVariants,e as TransactionInnerPayloadVariants,d as TransactionPayloadVariants,s as TransactionResponseType,h as TransactionVariants,b as TypeTagVariants,r as ZkpVariant,m as anyPublicKeyVariantToString,z as isBlockEpilogueTransactionResponse,w as isBlockMetadataTransactionResponse,A as isEd25519Signature,D as isFeePayerSignature,v as isGenesisTransactionResponse,C as isMultiAgentSignature,E as isMultiEd25519Signature,t as isPendingTransactionResponse,B as isSecp256k1Signature,F as isSingleSenderSignature,x as isStateCheckpointTransactionResponse,u as isUserTransactionResponse,y as isValidatorTransactionResponse};
|
|
2
2
|
//# sourceMappingURL=types.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h}from"../chunk-P5HCJN3A.mjs";import"../chunk-KDMSOCZY.mjs";export{f as Network,g as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,h as NetworkToNetworkName,b as NetworkToNodeAPI,d as NetworkToPepperAPI,e as NetworkToProverAPI};
|
|
2
2
|
//# sourceMappingURL=apiEndpoints.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de as MoveStructId, df as MoveFunctionId, n as AccountAddress } from '../account-CAv0-Zs9.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{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{e as base64UrlDecode,f as base64UrlToBytes,g as convertAmountFromHumanReadableToOnChain,h as convertAmountFromOnChainToHumanReadable,d as floorToWholeHour,b as getErrorMessage,k as getFunctionParts,j as isEncodedStruct,l as isValidFunctionInfo,c as nowInSeconds,n as pairedFaMetadataAddress,i as parseEncodedStruct,a as sleep,m as truncateAddress};
|
|
2
2
|
//# sourceMappingURL=helpers.mjs.map
|
|
@@ -2,7 +2,7 @@ export { Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, Net
|
|
|
2
2
|
export { ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, APTOS_COIN, APTOS_FA, AptosApiType, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, FIREBASE_AUTH_ISS_PATTERN, ProcessorType, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT } from './const.mjs';
|
|
3
3
|
export { DeserializableClass, normalizeBundle } from './normalizeBundle.mjs';
|
|
4
4
|
export { base64UrlDecode, base64UrlToBytes, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, floorToWholeHour, getErrorMessage, getFunctionParts, isEncodedStruct, isValidFunctionInfo, nowInSeconds, pairedFaMetadataAddress, parseEncodedStruct, sleep, truncateAddress } from './helpers.mjs';
|
|
5
|
-
import '../account-
|
|
5
|
+
import '../account-CAv0-Zs9.mjs';
|
|
6
6
|
import '../types/indexer.mjs';
|
|
7
7
|
import '../types/generated/operations.mjs';
|
|
8
8
|
import '../types/generated/types.mjs';
|
package/dist/esm/utils/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-HGLO5LDS.mjs";import{a as t}from"../chunk-CW35YAMN.mjs";import"../chunk-
|
|
1
|
+
import"../chunk-HGLO5LDS.mjs";import{a as t}from"../chunk-CW35YAMN.mjs";import{a,b,c,d,e,f,g,h}from"../chunk-P5HCJN3A.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o,h as p,i as q,j as r,k as s}from"../chunk-OLILO7VD.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A,h as B,i as C,j as D,k as E,l as F,m as G,n as H}from"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{q as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT,m as APTOS_COIN,n as APTOS_FA,i as AptosApiType,j as DEFAULT_MAX_GAS_AMOUNT,k as DEFAULT_TXN_EXP_SEC_FROM_NOW,l as DEFAULT_TXN_TIMEOUT_SEC,s as FIREBASE_AUTH_ISS_PATTERN,f as Network,g as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,h as NetworkToNetworkName,b as NetworkToNodeAPI,d as NetworkToPepperAPI,e as NetworkToProverAPI,r as ProcessorType,o as RAW_TRANSACTION_SALT,p as RAW_TRANSACTION_WITH_DATA_SALT,y as base64UrlDecode,z as base64UrlToBytes,A as convertAmountFromHumanReadableToOnChain,B as convertAmountFromOnChainToHumanReadable,x as floorToWholeHour,v as getErrorMessage,E as getFunctionParts,D as isEncodedStruct,F as isValidFunctionInfo,t as normalizeBundle,w as nowInSeconds,H as pairedFaMetadataAddress,C as parseEncodedStruct,u as sleep,G as truncateAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Serializable, a as Deserializer } from '../account-
|
|
1
|
+
import { S as Serializable, a as Deserializer } from '../account-CAv0-Zs9.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{a}from"../chunk-CW35YAMN.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-CW35YAMN.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as normalizeBundle};
|
|
2
2
|
//# sourceMappingURL=normalizeBundle.mjs.map
|
package/dist/esm/version.d.mts
CHANGED
package/dist/esm/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-EW45LLAP.mjs";import"./chunk-KDMSOCZY.mjs";export{a as VERSION};
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/package.json
CHANGED
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"@scure/bip32": "^1.4.0",
|
|
58
58
|
"@scure/bip39": "^1.3.0",
|
|
59
59
|
"eventemitter3": "^5.0.1",
|
|
60
|
-
"form-data": "^4.0.4",
|
|
61
60
|
"js-base64": "^3.7.7",
|
|
62
61
|
"jwt-decode": "^4.0.0",
|
|
63
62
|
"poseidon-lite": "^0.2.0"
|
|
@@ -96,5 +95,5 @@
|
|
|
96
95
|
"typedoc-plugin-missing-exports": "^4.1.0",
|
|
97
96
|
"typescript": "^5.8.3"
|
|
98
97
|
},
|
|
99
|
-
"version": "5.1.
|
|
98
|
+
"version": "5.1.3"
|
|
100
99
|
}
|
package/src/cli/localNode.ts
CHANGED
|
@@ -22,8 +22,11 @@ export class LocalNode {
|
|
|
22
22
|
|
|
23
23
|
process: ChildProcessWithoutNullStreams | null = null;
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
extraArgs: string[] = [];
|
|
26
|
+
|
|
27
|
+
constructor(args?: { showStdout?: boolean; extraArgs?: string[] }) {
|
|
26
28
|
this.showStdout = args?.showStdout ?? true;
|
|
29
|
+
this.extraArgs = args?.extraArgs ?? [];
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
/**
|
|
@@ -86,7 +89,15 @@ export class LocalNode {
|
|
|
86
89
|
*/
|
|
87
90
|
start(): void {
|
|
88
91
|
const cliCommand = "npx";
|
|
89
|
-
const cliArgs = [
|
|
92
|
+
const cliArgs = [
|
|
93
|
+
"aptos",
|
|
94
|
+
"node",
|
|
95
|
+
"run-localnet",
|
|
96
|
+
"--force-restart",
|
|
97
|
+
"--assume-yes",
|
|
98
|
+
"--with-indexer-api",
|
|
99
|
+
...this.extraArgs,
|
|
100
|
+
];
|
|
90
101
|
|
|
91
102
|
const currentPlatform = platform();
|
|
92
103
|
const spawnConfig = {
|
|
@@ -42,6 +42,28 @@ export const createResourceAddress = (creatorAddress: AccountAddress, seed: Uint
|
|
|
42
42
|
return new AccountAddress(sha3_256(bytes));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* Creates a user derived object address from source address and derive_from address
|
|
47
|
+
*
|
|
48
|
+
* @param sourceAddress The source account address
|
|
49
|
+
* @param deriveFromAddress The address to derive from
|
|
50
|
+
*
|
|
51
|
+
* @returns The user derived object address
|
|
52
|
+
* @group Implementation
|
|
53
|
+
* @category Account (On-Chain Model)
|
|
54
|
+
*/
|
|
55
|
+
export const createUserDerivedObjectAddress = (
|
|
56
|
+
sourceAddress: AccountAddress,
|
|
57
|
+
deriveFromAddress: AccountAddress,
|
|
58
|
+
): AccountAddress => {
|
|
59
|
+
const sourceBytes = sourceAddress.bcsToBytes();
|
|
60
|
+
const deriveFromBytes = deriveFromAddress.bcsToBytes();
|
|
61
|
+
|
|
62
|
+
const bytes = new Uint8Array([...sourceBytes, ...deriveFromBytes, DeriveScheme.DeriveObjectAddressFromObject]);
|
|
63
|
+
|
|
64
|
+
return new AccountAddress(sha3_256(bytes));
|
|
65
|
+
};
|
|
66
|
+
|
|
45
67
|
/**
|
|
46
68
|
* Creates a token object address from creator address, collection name and token name
|
|
47
69
|
*
|
package/src/internal/ans.ts
CHANGED
|
@@ -63,6 +63,18 @@ export abstract class TypeTag extends Serializable {
|
|
|
63
63
|
return TypeTagU32.load(deserializer);
|
|
64
64
|
case TypeTagVariants.U256:
|
|
65
65
|
return TypeTagU256.load(deserializer);
|
|
66
|
+
case TypeTagVariants.I8:
|
|
67
|
+
return TypeTagI8.load(deserializer);
|
|
68
|
+
case TypeTagVariants.I16:
|
|
69
|
+
return TypeTagI16.load(deserializer);
|
|
70
|
+
case TypeTagVariants.I32:
|
|
71
|
+
return TypeTagI32.load(deserializer);
|
|
72
|
+
case TypeTagVariants.I64:
|
|
73
|
+
return TypeTagI64.load(deserializer);
|
|
74
|
+
case TypeTagVariants.I128:
|
|
75
|
+
return TypeTagI128.load(deserializer);
|
|
76
|
+
case TypeTagVariants.I256:
|
|
77
|
+
return TypeTagI256.load(deserializer);
|
|
66
78
|
case TypeTagVariants.Generic:
|
|
67
79
|
// This is only used for ABI representation, and cannot actually be used as a type.
|
|
68
80
|
return TypeTagGeneric.load(deserializer);
|
|
@@ -206,6 +218,26 @@ export abstract class TypeTag extends Serializable {
|
|
|
206
218
|
return this instanceof TypeTagU256;
|
|
207
219
|
}
|
|
208
220
|
|
|
221
|
+
/** Signed integer helpers */
|
|
222
|
+
isI8(): this is TypeTagI8 {
|
|
223
|
+
return this instanceof TypeTagI8;
|
|
224
|
+
}
|
|
225
|
+
isI16(): this is TypeTagI16 {
|
|
226
|
+
return this instanceof TypeTagI16;
|
|
227
|
+
}
|
|
228
|
+
isI32(): this is TypeTagI32 {
|
|
229
|
+
return this instanceof TypeTagI32;
|
|
230
|
+
}
|
|
231
|
+
isI64(): this is TypeTagI64 {
|
|
232
|
+
return this instanceof TypeTagI64;
|
|
233
|
+
}
|
|
234
|
+
isI128(): this is TypeTagI128 {
|
|
235
|
+
return this instanceof TypeTagI128;
|
|
236
|
+
}
|
|
237
|
+
isI256(): this is TypeTagI256 {
|
|
238
|
+
return this instanceof TypeTagI256;
|
|
239
|
+
}
|
|
240
|
+
|
|
209
241
|
isPrimitive(): boolean {
|
|
210
242
|
return (
|
|
211
243
|
this instanceof TypeTagSigner ||
|
|
@@ -216,7 +248,13 @@ export abstract class TypeTag extends Serializable {
|
|
|
216
248
|
this instanceof TypeTagU32 ||
|
|
217
249
|
this instanceof TypeTagU64 ||
|
|
218
250
|
this instanceof TypeTagU128 ||
|
|
219
|
-
this instanceof TypeTagU256
|
|
251
|
+
this instanceof TypeTagU256 ||
|
|
252
|
+
this instanceof TypeTagI8 ||
|
|
253
|
+
this instanceof TypeTagI16 ||
|
|
254
|
+
this instanceof TypeTagI32 ||
|
|
255
|
+
this instanceof TypeTagI64 ||
|
|
256
|
+
this instanceof TypeTagI128 ||
|
|
257
|
+
this instanceof TypeTagI256
|
|
220
258
|
);
|
|
221
259
|
}
|
|
222
260
|
}
|
|
@@ -290,6 +328,29 @@ export class TypeTagU8 extends TypeTag {
|
|
|
290
328
|
}
|
|
291
329
|
}
|
|
292
330
|
|
|
331
|
+
/**
|
|
332
|
+
* Represents a type tag for an 8-bit signed integer (i8).
|
|
333
|
+
* This class extends the base TypeTag class and provides methods
|
|
334
|
+
* for serialization and deserialization specific to the i8 type.
|
|
335
|
+
*
|
|
336
|
+
* @extends TypeTag
|
|
337
|
+
* @group Implementation
|
|
338
|
+
* @category Transactions
|
|
339
|
+
*/
|
|
340
|
+
export class TypeTagI8 extends TypeTag {
|
|
341
|
+
toString(): string {
|
|
342
|
+
return "i8";
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
serialize(serializer: Serializer): void {
|
|
346
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I8);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
static load(_deserializer: Deserializer): TypeTagI8 {
|
|
350
|
+
return new TypeTagI8();
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
293
354
|
/**
|
|
294
355
|
* Represents a type tag for unsigned 16-bit integers (u16).
|
|
295
356
|
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
@@ -312,6 +373,28 @@ export class TypeTagU16 extends TypeTag {
|
|
|
312
373
|
}
|
|
313
374
|
}
|
|
314
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Represents a type tag for signed 16-bit integers (i16).
|
|
378
|
+
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
379
|
+
*
|
|
380
|
+
* @extends TypeTag
|
|
381
|
+
* @group Implementation
|
|
382
|
+
* @category Transactions
|
|
383
|
+
*/
|
|
384
|
+
export class TypeTagI16 extends TypeTag {
|
|
385
|
+
toString(): string {
|
|
386
|
+
return "i16";
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
serialize(serializer: Serializer): void {
|
|
390
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I16);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
static load(_deserializer: Deserializer): TypeTagI16 {
|
|
394
|
+
return new TypeTagI16();
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
315
398
|
/**
|
|
316
399
|
* Represents a type tag for a 32-bit unsigned integer (u32).
|
|
317
400
|
* This class extends the base TypeTag class and provides methods for serialization
|
|
@@ -335,6 +418,29 @@ export class TypeTagU32 extends TypeTag {
|
|
|
335
418
|
}
|
|
336
419
|
}
|
|
337
420
|
|
|
421
|
+
/**
|
|
422
|
+
* Represents a type tag for a 32-bit signed integer (i32).
|
|
423
|
+
* This class extends the base TypeTag class and provides methods for serialization
|
|
424
|
+
* and deserialization specific to the i32 type.
|
|
425
|
+
*
|
|
426
|
+
* @extends TypeTag
|
|
427
|
+
* @group Implementation
|
|
428
|
+
* @category Transactions
|
|
429
|
+
*/
|
|
430
|
+
export class TypeTagI32 extends TypeTag {
|
|
431
|
+
toString(): string {
|
|
432
|
+
return "i32";
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
serialize(serializer: Serializer): void {
|
|
436
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I32);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
static load(_deserializer: Deserializer): TypeTagI32 {
|
|
440
|
+
return new TypeTagI32();
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
338
444
|
/**
|
|
339
445
|
* Represents a type tag for 64-bit unsigned integers (u64).
|
|
340
446
|
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
@@ -357,6 +463,28 @@ export class TypeTagU64 extends TypeTag {
|
|
|
357
463
|
}
|
|
358
464
|
}
|
|
359
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Represents a type tag for 64-bit signed integers (i64).
|
|
468
|
+
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
469
|
+
*
|
|
470
|
+
* @extends TypeTag
|
|
471
|
+
* @group Implementation
|
|
472
|
+
* @category Transactions
|
|
473
|
+
*/
|
|
474
|
+
export class TypeTagI64 extends TypeTag {
|
|
475
|
+
toString(): string {
|
|
476
|
+
return "i64";
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
serialize(serializer: Serializer): void {
|
|
480
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I64);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
static load(_deserializer: Deserializer): TypeTagI64 {
|
|
484
|
+
return new TypeTagI64();
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
360
488
|
/**
|
|
361
489
|
* Represents a type tag for the u128 data type.
|
|
362
490
|
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
@@ -379,6 +507,28 @@ export class TypeTagU128 extends TypeTag {
|
|
|
379
507
|
}
|
|
380
508
|
}
|
|
381
509
|
|
|
510
|
+
/**
|
|
511
|
+
* Represents a type tag for the i128 data type.
|
|
512
|
+
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
513
|
+
*
|
|
514
|
+
* @extends TypeTag
|
|
515
|
+
* @group Implementation
|
|
516
|
+
* @category Transactions
|
|
517
|
+
*/
|
|
518
|
+
export class TypeTagI128 extends TypeTag {
|
|
519
|
+
toString(): string {
|
|
520
|
+
return "i128";
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
serialize(serializer: Serializer): void {
|
|
524
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I128);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
static load(_deserializer: Deserializer): TypeTagI128 {
|
|
528
|
+
return new TypeTagI128();
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
382
532
|
/**
|
|
383
533
|
* Represents a type tag for the U256 data type.
|
|
384
534
|
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
@@ -401,6 +551,28 @@ export class TypeTagU256 extends TypeTag {
|
|
|
401
551
|
}
|
|
402
552
|
}
|
|
403
553
|
|
|
554
|
+
/**
|
|
555
|
+
* Represents a type tag for the I256 data type.
|
|
556
|
+
* This class extends the base TypeTag class and provides methods for serialization and deserialization.
|
|
557
|
+
*
|
|
558
|
+
* @extends TypeTag
|
|
559
|
+
* @group Implementation
|
|
560
|
+
* @category Transactions
|
|
561
|
+
*/
|
|
562
|
+
export class TypeTagI256 extends TypeTag {
|
|
563
|
+
toString(): string {
|
|
564
|
+
return "i256";
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
serialize(serializer: Serializer): void {
|
|
568
|
+
serializer.serializeU32AsUleb128(TypeTagVariants.I256);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
static load(_deserializer: Deserializer): TypeTagI256 {
|
|
572
|
+
return new TypeTagI256();
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
404
576
|
/**
|
|
405
577
|
* Represents a type tag for an address in the system.
|
|
406
578
|
* This class extends the TypeTag class and provides functionality
|
|
@@ -16,6 +16,12 @@ import {
|
|
|
16
16
|
TypeTagU32,
|
|
17
17
|
TypeTagU64,
|
|
18
18
|
TypeTagU8,
|
|
19
|
+
TypeTagI8,
|
|
20
|
+
TypeTagI16,
|
|
21
|
+
TypeTagI32,
|
|
22
|
+
TypeTagI64,
|
|
23
|
+
TypeTagI128,
|
|
24
|
+
TypeTagI256,
|
|
19
25
|
TypeTagVector,
|
|
20
26
|
} from ".";
|
|
21
27
|
import { AccountAddress } from "../../core";
|
|
@@ -79,6 +85,12 @@ function isPrimitive(str: string) {
|
|
|
79
85
|
case "u64":
|
|
80
86
|
case "u128":
|
|
81
87
|
case "u256":
|
|
88
|
+
case "i8":
|
|
89
|
+
case "i16":
|
|
90
|
+
case "i32":
|
|
91
|
+
case "i64":
|
|
92
|
+
case "i128":
|
|
93
|
+
case "i256":
|
|
82
94
|
return true;
|
|
83
95
|
default:
|
|
84
96
|
return false;
|
|
@@ -354,6 +366,18 @@ function parseTypeTagInner(str: string, types: Array<TypeTag>, allowGenerics: bo
|
|
|
354
366
|
return new TypeTagU128();
|
|
355
367
|
case "u256":
|
|
356
368
|
return new TypeTagU256();
|
|
369
|
+
case "i8":
|
|
370
|
+
return new TypeTagI8();
|
|
371
|
+
case "i16":
|
|
372
|
+
return new TypeTagI16();
|
|
373
|
+
case "i32":
|
|
374
|
+
return new TypeTagI32();
|
|
375
|
+
case "i64":
|
|
376
|
+
return new TypeTagI64();
|
|
377
|
+
case "i128":
|
|
378
|
+
return new TypeTagI128();
|
|
379
|
+
case "i256":
|
|
380
|
+
return new TypeTagI256();
|
|
357
381
|
case "vector":
|
|
358
382
|
if (types.length !== 1) {
|
|
359
383
|
throw new TypeTagParserError(str, TypeTagParserErrorType.UnexpectedVectorTypeArgumentCount);
|
package/src/types/types.ts
CHANGED
|
@@ -46,6 +46,12 @@ export enum TypeTagVariants {
|
|
|
46
46
|
U16 = 8,
|
|
47
47
|
U32 = 9,
|
|
48
48
|
U256 = 10,
|
|
49
|
+
I8 = 11,
|
|
50
|
+
I16 = 12,
|
|
51
|
+
I32 = 13,
|
|
52
|
+
I64 = 14,
|
|
53
|
+
I128 = 15,
|
|
54
|
+
I256 = 16,
|
|
49
55
|
Reference = 254, // This is specifically a placeholder and does not represent a real type
|
|
50
56
|
Generic = 255, // This is specifically a placeholder and does not represent a real type
|
|
51
57
|
}
|
|
@@ -10,6 +10,7 @@ export const NetworkToIndexerAPI: Record<string, string> = {
|
|
|
10
10
|
testnet: "https://api.testnet.aptoslabs.com/v1/graphql",
|
|
11
11
|
devnet: "https://api.devnet.aptoslabs.com/v1/graphql",
|
|
12
12
|
shelbynet: "https://api.shelbynet.shelby.xyz/v1/graphql",
|
|
13
|
+
netna: "https://api.netna.staging.aptoslabs.com/v1/graphql",
|
|
13
14
|
local: "http://127.0.0.1:8090/v1/graphql",
|
|
14
15
|
};
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ export const NetworkToNodeAPI: Record<string, string> = {
|
|
|
22
23
|
testnet: "https://api.testnet.aptoslabs.com/v1",
|
|
23
24
|
devnet: "https://api.devnet.aptoslabs.com/v1",
|
|
24
25
|
shelbynet: "https://api.shelbynet.shelby.xyz/v1",
|
|
26
|
+
netna: "https://api.netna.staging.aptoslabs.com/v1",
|
|
25
27
|
local: "http://127.0.0.1:8080/v1",
|
|
26
28
|
};
|
|
27
29
|
|
|
@@ -32,6 +34,7 @@ export const NetworkToNodeAPI: Record<string, string> = {
|
|
|
32
34
|
export const NetworkToFaucetAPI: Record<string, string> = {
|
|
33
35
|
devnet: "https://faucet.devnet.aptoslabs.com",
|
|
34
36
|
shelbynet: "https://faucet.shelbynet.shelby.xyz",
|
|
37
|
+
netna: "https://faucet-dev-netna-us-central1-410192433417.us-central1.run.app",
|
|
35
38
|
local: "http://127.0.0.1:8081",
|
|
36
39
|
};
|
|
37
40
|
|
|
@@ -43,7 +46,8 @@ export const NetworkToPepperAPI: Record<string, string> = {
|
|
|
43
46
|
mainnet: "https://api.mainnet.aptoslabs.com/keyless/pepper/v0",
|
|
44
47
|
testnet: "https://api.testnet.aptoslabs.com/keyless/pepper/v0",
|
|
45
48
|
devnet: "https://api.devnet.aptoslabs.com/keyless/pepper/v0",
|
|
46
|
-
shelbynet: "https://api.
|
|
49
|
+
shelbynet: "https://api.shelbynet.aptoslabs.com/keyless/pepper/v0",
|
|
50
|
+
netna: "https://api.devnet.aptoslabs.com/keyless/pepper/v0",
|
|
47
51
|
// Use the devnet service for local environment
|
|
48
52
|
local: "https://api.devnet.aptoslabs.com/keyless/pepper/v0",
|
|
49
53
|
};
|
|
@@ -56,7 +60,8 @@ export const NetworkToProverAPI: Record<string, string> = {
|
|
|
56
60
|
mainnet: "https://api.mainnet.aptoslabs.com/keyless/prover/v0",
|
|
57
61
|
testnet: "https://api.testnet.aptoslabs.com/keyless/prover/v0",
|
|
58
62
|
devnet: "https://api.devnet.aptoslabs.com/keyless/prover/v0",
|
|
59
|
-
shelbynet: "https://api.
|
|
63
|
+
shelbynet: "https://api.shelbynet.aptoslabs.com/keyless/prover/v0",
|
|
64
|
+
netna: "https://api.devnet.aptoslabs.com/keyless/prover/v0",
|
|
60
65
|
// Use the devnet service for local environment
|
|
61
66
|
local: "https://api.devnet.aptoslabs.com/keyless/prover/v0",
|
|
62
67
|
};
|
|
@@ -71,6 +76,7 @@ export enum Network {
|
|
|
71
76
|
TESTNET = "testnet",
|
|
72
77
|
DEVNET = "devnet",
|
|
73
78
|
SHELBYNET = "shelbynet",
|
|
79
|
+
NETNA = "netna",
|
|
74
80
|
LOCAL = "local",
|
|
75
81
|
CUSTOM = "custom",
|
|
76
82
|
}
|
|
@@ -94,6 +100,7 @@ export const NetworkToNetworkName: Record<string, Network> = {
|
|
|
94
100
|
testnet: Network.TESTNET,
|
|
95
101
|
devnet: Network.DEVNET,
|
|
96
102
|
shelbynet: Network.SHELBYNET,
|
|
103
|
+
netna: Network.NETNA,
|
|
97
104
|
local: Network.LOCAL,
|
|
98
105
|
custom: Network.CUSTOM,
|
|
99
106
|
};
|
package/src/version.ts
CHANGED