@aptos-labs/ts-sdk 1.27.1 → 1.28.0-zeta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/{accountAddress-LOYE4_sG.d.ts → accountAddress-0OnKb1b9.d.ts} +5 -3
- package/dist/common/chunk-HBPH2AD3.js +2 -0
- package/dist/common/chunk-HBPH2AD3.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +252 -41
- package/dist/common/index.js +28 -28
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-B1VMJOY2.d.mts → Ed25519Account-9zBaZEnp.d.mts} +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.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 +75 -0
- package/dist/esm/account/FederatedKeylessAccount.mjs +2 -0
- package/dist/esm/account/KeylessAccount.d.mts +13 -130
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccountCommon.d.mts +207 -0
- package/dist/esm/account/KeylessAccountCommon.mjs +2 -0
- package/dist/esm/account/MultiKeyAccount.d.mts +4 -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 +6 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/api/account.d.mts +4 -3
- 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 +5 -2
- package/dist/esm/api/aptos.mjs +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/event.mjs +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 +5 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +35 -21
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +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/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.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.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +10 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/chunk-23J256KA.mjs +2 -0
- package/dist/esm/chunk-23J256KA.mjs.map +1 -0
- package/dist/esm/{chunk-KEN2VRIM.mjs → chunk-2KLLSBBN.mjs} +2 -2
- package/dist/esm/{chunk-WFOYGJS5.mjs → chunk-2X3YDREK.mjs} +2 -2
- package/dist/esm/{chunk-PO33LVUF.mjs → chunk-35LCHJIH.mjs} +2 -2
- package/dist/esm/{chunk-G5MGSV7Y.mjs → chunk-3CE63FFN.mjs} +2 -2
- package/dist/esm/chunk-3TSO6PDV.mjs +2 -0
- package/dist/esm/{chunk-QE5OL6KN.mjs → chunk-3XXBKVEX.mjs} +2 -2
- package/dist/esm/{chunk-ZXYTLPP6.mjs → chunk-4I6IUAHQ.mjs} +2 -2
- package/dist/esm/chunk-4LHVEO7T.mjs +2 -0
- package/dist/esm/chunk-4LHVEO7T.mjs.map +1 -0
- package/dist/esm/{chunk-NCWD4NA3.mjs → chunk-4X4ODN6K.mjs} +2 -2
- package/dist/esm/{chunk-SUJLWCRN.mjs → chunk-5FPWLBZT.mjs} +2 -2
- package/dist/esm/chunk-5HI4R3A2.mjs +2 -0
- package/dist/esm/{chunk-AYX5JMB4.mjs → chunk-5HWJ3SN4.mjs} +2 -2
- package/dist/esm/{chunk-PY4TS34X.mjs → chunk-5MZJD6SA.mjs} +2 -2
- package/dist/esm/{chunk-3SPU4V2B.mjs → chunk-5RNKD3GW.mjs} +2 -2
- package/dist/esm/{chunk-SCHZ67F3.mjs → chunk-5VQK4F5X.mjs} +2 -2
- package/dist/esm/{chunk-SCHZ67F3.mjs.map → chunk-5VQK4F5X.mjs.map} +1 -1
- package/dist/esm/{chunk-F7NVDHR2.mjs → chunk-72S2NOM5.mjs} +2 -2
- package/dist/esm/chunk-72S2NOM5.mjs.map +1 -0
- package/dist/esm/{chunk-76HTG7Z7.mjs → chunk-7BPKOPP7.mjs} +2 -2
- package/dist/esm/chunk-7NQHLM3Y.mjs +2 -0
- package/dist/esm/chunk-7NQHLM3Y.mjs.map +1 -0
- package/dist/esm/{chunk-NRRADUK4.mjs → chunk-7T4PLPI7.mjs} +2 -2
- package/dist/esm/chunk-7T5CUI2H.mjs +2 -0
- package/dist/esm/{chunk-Q7MD4V7H.mjs.map → chunk-7T5CUI2H.mjs.map} +1 -1
- package/dist/esm/{chunk-UV7M72QD.mjs → chunk-AGFN3VVA.mjs} +2 -2
- package/dist/esm/{chunk-UO52TECC.mjs → chunk-AGTINH7K.mjs} +2 -2
- package/dist/esm/{chunk-BCUSI3N6.mjs → chunk-AOCNYMMX.mjs} +2 -2
- package/dist/esm/{chunk-GHKMF253.mjs → chunk-ASQ2YBOR.mjs} +2 -2
- package/dist/esm/chunk-ASQIKTEF.mjs +2 -0
- package/dist/esm/chunk-ASQIKTEF.mjs.map +1 -0
- package/dist/esm/{chunk-GNFEBKFV.mjs → chunk-AT2A7OZD.mjs} +2 -2
- package/dist/esm/{chunk-A4T373F3.mjs → chunk-AWQNX3RT.mjs} +2 -2
- package/dist/esm/{chunk-NWOMSL6K.mjs → chunk-AZ642ORV.mjs} +2 -2
- package/dist/esm/{chunk-52KPINA4.mjs → chunk-B5NYEWNM.mjs} +2 -2
- package/dist/esm/chunk-BC5BEOKM.mjs +2 -0
- package/dist/esm/{chunk-G7UNU5GI.mjs → chunk-BQPQLOIW.mjs} +2 -2
- package/dist/esm/chunk-CDIKSNSU.mjs +2 -0
- package/dist/esm/chunk-CUDIVR4U.mjs +2 -0
- package/dist/esm/chunk-CUDIVR4U.mjs.map +1 -0
- package/dist/esm/chunk-DAIOG6HU.mjs +2 -0
- package/dist/esm/chunk-DAIOG6HU.mjs.map +1 -0
- package/dist/esm/chunk-DFMC56WX.mjs +2 -0
- package/dist/esm/chunk-DFMC56WX.mjs.map +1 -0
- package/dist/esm/chunk-DYMN66K5.mjs +2 -0
- package/dist/esm/{chunk-4ZMI5G5L.mjs.map → chunk-DYMN66K5.mjs.map} +1 -1
- package/dist/esm/{chunk-3NRBTP3S.mjs → chunk-E2WOZVJX.mjs} +2 -2
- package/dist/esm/chunk-E7VSBBQM.mjs +2 -0
- package/dist/esm/{chunk-YPHH6CAO.mjs.map → chunk-E7VSBBQM.mjs.map} +1 -1
- package/dist/esm/{chunk-OHRL766V.mjs → chunk-EDVGFSB5.mjs} +2 -2
- package/dist/esm/{chunk-OHRL766V.mjs.map → chunk-EDVGFSB5.mjs.map} +1 -1
- package/dist/esm/chunk-EXP5STXZ.mjs +2 -0
- package/dist/esm/chunk-EXP5STXZ.mjs.map +1 -0
- package/dist/esm/chunk-FBPNHF54.mjs +2 -0
- package/dist/esm/{chunk-UWPO7WWS.mjs → chunk-FDD6WNN6.mjs} +2 -2
- package/dist/esm/{chunk-6ERHGCK2.mjs → chunk-FDTLBR6D.mjs} +2 -2
- package/dist/esm/{chunk-FOHGSNYZ.mjs → chunk-FLNLQ7K5.mjs} +2 -2
- package/dist/esm/chunk-FOLCONSQ.mjs +2 -0
- package/dist/esm/{chunk-5IUXBOS5.mjs → chunk-FTBXTZM2.mjs} +2 -2
- package/dist/esm/chunk-GAEAYY44.mjs +1 -0
- package/dist/esm/chunk-GAEAYY44.mjs.map +1 -0
- package/dist/esm/{chunk-ZXPBRVOA.mjs → chunk-GKRIMGKW.mjs} +2 -2
- package/dist/esm/{chunk-MEKXPGK7.mjs → chunk-GX2II7H4.mjs} +2 -2
- package/dist/esm/{chunk-I5XQKNOK.mjs → chunk-H3TJNBHX.mjs} +2 -2
- package/dist/esm/{chunk-MLL54PYO.mjs → chunk-HAT5S2XX.mjs} +2 -2
- package/dist/esm/{chunk-MLL54PYO.mjs.map → chunk-HAT5S2XX.mjs.map} +1 -1
- package/dist/esm/{chunk-ECKJI2TV.mjs → chunk-HOQCND6F.mjs} +2 -2
- package/dist/esm/chunk-IA4RELOH.mjs +1 -0
- package/dist/esm/chunk-IA4RELOH.mjs.map +1 -0
- package/dist/esm/chunk-IEH7ILF3.mjs +2 -0
- package/dist/esm/chunk-IEH7ILF3.mjs.map +1 -0
- package/dist/esm/{chunk-ORXEFE6X.mjs → chunk-ILI5TDXD.mjs} +2 -2
- package/dist/esm/{chunk-SONTIUAM.mjs → chunk-J45FMNYT.mjs} +2 -2
- package/dist/esm/{chunk-HHU7UCFI.mjs → chunk-K7ZPRL7C.mjs} +2 -2
- package/dist/esm/chunk-K7ZPRL7C.mjs.map +1 -0
- package/dist/esm/{chunk-7AIKM3UF.mjs → chunk-KRRHWHTG.mjs} +2 -2
- package/dist/esm/{chunk-USOIC4HO.mjs → chunk-LKN324IO.mjs} +2 -2
- package/dist/esm/chunk-MYF2VRVN.mjs +2 -0
- package/dist/esm/chunk-MYF2VRVN.mjs.map +1 -0
- package/dist/esm/chunk-N6EC72OZ.mjs +2 -0
- package/dist/esm/chunk-ND23H3AK.mjs +2 -0
- package/dist/esm/{chunk-JKNTGRSQ.mjs → chunk-NGIPNL7N.mjs} +2 -2
- package/dist/esm/{chunk-ZQFFRZJ4.mjs → chunk-NLV3PTOE.mjs} +2 -2
- package/dist/esm/{chunk-ZZRSKHWS.mjs → chunk-NOVJ2ROD.mjs} +2 -2
- package/dist/esm/{chunk-FNT3VLRD.mjs → chunk-NWTMTPPX.mjs} +2 -2
- package/dist/esm/chunk-OOVNFKA6.mjs +2 -0
- package/dist/esm/{chunk-CTJX4CUF.mjs → chunk-PDY3AFVI.mjs} +2 -2
- package/dist/esm/{chunk-T2NJUIOQ.mjs → chunk-QKVID52D.mjs} +2 -2
- package/dist/esm/{chunk-7Y3MRBG6.mjs → chunk-QOE5WJMC.mjs} +2 -2
- package/dist/esm/chunk-QP2A5ISX.mjs +2 -0
- package/dist/esm/{chunk-O4BBULNE.mjs → chunk-QTTDBQAJ.mjs} +2 -2
- package/dist/esm/{chunk-H33YIMTU.mjs → chunk-R2RMAWDH.mjs} +2 -2
- package/dist/esm/{chunk-5L3PLK3W.mjs → chunk-S3I4THN5.mjs} +2 -2
- package/dist/esm/{chunk-HRIYZBXY.mjs → chunk-S6TRBKP5.mjs} +2 -2
- package/dist/esm/{chunk-WRRQ7L5K.mjs → chunk-SHOPSMRK.mjs} +2 -2
- package/dist/esm/{chunk-YDZBU2DJ.mjs → chunk-SP4PT77Z.mjs} +2 -2
- package/dist/esm/chunk-SVO6PVAX.mjs +2 -0
- package/dist/esm/chunk-SVO6PVAX.mjs.map +1 -0
- package/dist/esm/chunk-TJDC5PWD.mjs +2 -0
- package/dist/esm/chunk-TKQEC2WD.mjs +2 -0
- package/dist/esm/chunk-TKQEC2WD.mjs.map +1 -0
- package/dist/esm/chunk-TVWAYKEP.mjs +2 -0
- package/dist/esm/chunk-UAL27G6B.mjs +2 -0
- package/dist/esm/chunk-UAL27G6B.mjs.map +1 -0
- package/dist/esm/chunk-UW5TIZFE.mjs +2 -0
- package/dist/esm/{chunk-2N2VEGT6.mjs → chunk-VNIBQXNX.mjs} +2 -2
- package/dist/esm/{chunk-NMD45OTM.mjs → chunk-VTEOS4PS.mjs} +2 -2
- package/dist/esm/{chunk-6BYVG7H4.mjs → chunk-VZKENIJR.mjs} +2 -2
- package/dist/esm/{chunk-OEOUZFHD.mjs → chunk-X26OHQZO.mjs} +2 -2
- package/dist/esm/{chunk-HKMG3LZX.mjs → chunk-YACGA3YS.mjs} +2 -2
- package/dist/esm/chunk-YELQZVBK.mjs +2 -0
- package/dist/esm/chunk-YELQZVBK.mjs.map +1 -0
- package/dist/esm/{chunk-2CC67KW5.mjs → chunk-YSVXROOO.mjs} +2 -2
- package/dist/esm/{chunk-74YFNJ7A.mjs → chunk-YTOQGCAM.mjs} +2 -2
- package/dist/esm/chunk-Z56T4OGM.mjs +2 -0
- package/dist/esm/chunk-Z56T4OGM.mjs.map +1 -0
- package/dist/esm/chunk-ZAHUEAGT.mjs +2 -0
- package/dist/esm/chunk-ZAHUEAGT.mjs.map +1 -0
- package/dist/esm/chunk-ZASN3QQQ.mjs +2 -0
- package/dist/esm/chunk-ZXVQ2OBJ.mjs +2 -0
- package/dist/esm/{chunk-ZEYOFDIO.mjs.map → chunk-ZXVQ2OBJ.mjs.map} +1 -1
- package/dist/esm/{chunk-A63SMUOU.mjs → chunk-ZZIMFLVT.mjs} +2 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/client/types.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/common.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 +97 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs +2 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs.map +1 -0
- package/dist/esm/core/crypto/index.d.mts +4 -3
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +1 -1
- 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/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/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/utils.mjs +1 -1
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -1
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/index.d.mts +9 -6
- package/dist/esm/index.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/event.mjs +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +25 -14
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- package/dist/esm/internal/transactionSubmission.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.mjs +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.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +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.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +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.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +3 -3
- package/dist/esm/types/index.d.mts +4 -2
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.d.mts +2 -1
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +41 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +2 -2
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/src/account/FederatedKeylessAccount.ts +115 -0
- package/src/account/KeylessAccount.ts +6 -291
- package/src/account/KeylessAccountCommon.ts +329 -0
- package/src/account/MultiKeyAccount.ts +4 -4
- package/src/account/index.ts +2 -0
- package/src/api/account.ts +31 -4
- package/src/api/keyless.ts +50 -4
- package/src/bcs/serializable/moveStructs.ts +41 -8
- package/src/cli/move.ts +1 -1
- package/src/core/crypto/federatedKeyless.ts +134 -0
- package/src/core/crypto/index.ts +1 -0
- package/src/core/crypto/singleKey.ts +6 -0
- package/src/internal/account.ts +6 -5
- package/src/internal/event.ts +10 -3
- package/src/internal/keyless.ts +82 -8
- package/src/internal/transactionSubmission.ts +2 -2
- package/src/transactions/instances/transactionPayload.ts +3 -1
- package/src/transactions/transactionBuilder/transactionBuilder.ts +25 -14
- package/src/transactions/types.ts +4 -2
- package/src/types/index.ts +2 -0
- package/src/utils/apiEndpoints.ts +2 -2
- package/src/utils/const.ts +1 -0
- package/src/utils/helpers.ts +70 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-J4IUXT5W.js +0 -2
- package/dist/common/chunk-J4IUXT5W.js.map +0 -1
- package/dist/esm/chunk-4SDUQ7AS.mjs +0 -2
- package/dist/esm/chunk-4SDUQ7AS.mjs.map +0 -1
- package/dist/esm/chunk-4ZMI5G5L.mjs +0 -2
- package/dist/esm/chunk-76OH2Z4Q.mjs +0 -2
- package/dist/esm/chunk-7Z6DYLCA.mjs +0 -1
- package/dist/esm/chunk-AQ4I7VVB.mjs +0 -1
- package/dist/esm/chunk-BOYYQAB4.mjs +0 -2
- package/dist/esm/chunk-EZIF26UH.mjs +0 -2
- package/dist/esm/chunk-EZIF26UH.mjs.map +0 -1
- package/dist/esm/chunk-F7EMGK4M.mjs +0 -2
- package/dist/esm/chunk-F7NVDHR2.mjs.map +0 -1
- package/dist/esm/chunk-GXTEJ7NO.mjs +0 -2
- package/dist/esm/chunk-H6YNXJNF.mjs +0 -2
- package/dist/esm/chunk-HHU7UCFI.mjs.map +0 -1
- package/dist/esm/chunk-KMJ6TF6Y.mjs +0 -2
- package/dist/esm/chunk-KMJ6TF6Y.mjs.map +0 -1
- package/dist/esm/chunk-L36ZHC7J.mjs +0 -2
- package/dist/esm/chunk-L36ZHC7J.mjs.map +0 -1
- package/dist/esm/chunk-LDTF3ABK.mjs +0 -2
- package/dist/esm/chunk-LDTF3ABK.mjs.map +0 -1
- package/dist/esm/chunk-LG7RJQ57.mjs +0 -2
- package/dist/esm/chunk-MLDQ2TY2.mjs +0 -2
- package/dist/esm/chunk-MQGW234H.mjs +0 -2
- package/dist/esm/chunk-NU55IEL4.mjs +0 -2
- package/dist/esm/chunk-NU55IEL4.mjs.map +0 -1
- package/dist/esm/chunk-P5V7OZNN.mjs +0 -2
- package/dist/esm/chunk-Q67DUNMI.mjs +0 -2
- package/dist/esm/chunk-Q7MD4V7H.mjs +0 -2
- package/dist/esm/chunk-QV6EZL2G.mjs +0 -2
- package/dist/esm/chunk-RA3YPQG2.mjs +0 -2
- package/dist/esm/chunk-RA3YPQG2.mjs.map +0 -1
- package/dist/esm/chunk-TDGQGILY.mjs +0 -2
- package/dist/esm/chunk-THRXIXIO.mjs +0 -2
- package/dist/esm/chunk-THRXIXIO.mjs.map +0 -1
- package/dist/esm/chunk-WABFFJGI.mjs +0 -2
- package/dist/esm/chunk-WABFFJGI.mjs.map +0 -1
- package/dist/esm/chunk-WHW4Z7TK.mjs +0 -2
- package/dist/esm/chunk-WHW4Z7TK.mjs.map +0 -1
- package/dist/esm/chunk-Y3HLYCF3.mjs +0 -2
- package/dist/esm/chunk-YPHH6CAO.mjs +0 -2
- package/dist/esm/chunk-YUNDX5I7.mjs +0 -2
- package/dist/esm/chunk-YXITAP46.mjs +0 -2
- package/dist/esm/chunk-YXITAP46.mjs.map +0 -1
- package/dist/esm/chunk-YY2XW5R4.mjs +0 -2
- package/dist/esm/chunk-YY2XW5R4.mjs.map +0 -1
- package/dist/esm/chunk-ZEYOFDIO.mjs +0 -2
- package/dist/esm/chunk-ZOMXBB6Z.mjs +0 -2
- package/dist/esm/chunk-ZOMXBB6Z.mjs.map +0 -1
- /package/dist/esm/{chunk-7Z6DYLCA.mjs.map → account/FederatedKeylessAccount.mjs.map} +0 -0
- /package/dist/esm/{chunk-AQ4I7VVB.mjs.map → account/KeylessAccountCommon.mjs.map} +0 -0
- /package/dist/esm/{chunk-KEN2VRIM.mjs.map → chunk-2KLLSBBN.mjs.map} +0 -0
- /package/dist/esm/{chunk-WFOYGJS5.mjs.map → chunk-2X3YDREK.mjs.map} +0 -0
- /package/dist/esm/{chunk-PO33LVUF.mjs.map → chunk-35LCHJIH.mjs.map} +0 -0
- /package/dist/esm/{chunk-G5MGSV7Y.mjs.map → chunk-3CE63FFN.mjs.map} +0 -0
- /package/dist/esm/{chunk-TDGQGILY.mjs.map → chunk-3TSO6PDV.mjs.map} +0 -0
- /package/dist/esm/{chunk-QE5OL6KN.mjs.map → chunk-3XXBKVEX.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZXYTLPP6.mjs.map → chunk-4I6IUAHQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-NCWD4NA3.mjs.map → chunk-4X4ODN6K.mjs.map} +0 -0
- /package/dist/esm/{chunk-SUJLWCRN.mjs.map → chunk-5FPWLBZT.mjs.map} +0 -0
- /package/dist/esm/{chunk-YUNDX5I7.mjs.map → chunk-5HI4R3A2.mjs.map} +0 -0
- /package/dist/esm/{chunk-AYX5JMB4.mjs.map → chunk-5HWJ3SN4.mjs.map} +0 -0
- /package/dist/esm/{chunk-PY4TS34X.mjs.map → chunk-5MZJD6SA.mjs.map} +0 -0
- /package/dist/esm/{chunk-3SPU4V2B.mjs.map → chunk-5RNKD3GW.mjs.map} +0 -0
- /package/dist/esm/{chunk-76HTG7Z7.mjs.map → chunk-7BPKOPP7.mjs.map} +0 -0
- /package/dist/esm/{chunk-NRRADUK4.mjs.map → chunk-7T4PLPI7.mjs.map} +0 -0
- /package/dist/esm/{chunk-UV7M72QD.mjs.map → chunk-AGFN3VVA.mjs.map} +0 -0
- /package/dist/esm/{chunk-UO52TECC.mjs.map → chunk-AGTINH7K.mjs.map} +0 -0
- /package/dist/esm/{chunk-BCUSI3N6.mjs.map → chunk-AOCNYMMX.mjs.map} +0 -0
- /package/dist/esm/{chunk-GHKMF253.mjs.map → chunk-ASQ2YBOR.mjs.map} +0 -0
- /package/dist/esm/{chunk-GNFEBKFV.mjs.map → chunk-AT2A7OZD.mjs.map} +0 -0
- /package/dist/esm/{chunk-A4T373F3.mjs.map → chunk-AWQNX3RT.mjs.map} +0 -0
- /package/dist/esm/{chunk-NWOMSL6K.mjs.map → chunk-AZ642ORV.mjs.map} +0 -0
- /package/dist/esm/{chunk-52KPINA4.mjs.map → chunk-B5NYEWNM.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q67DUNMI.mjs.map → chunk-BC5BEOKM.mjs.map} +0 -0
- /package/dist/esm/{chunk-G7UNU5GI.mjs.map → chunk-BQPQLOIW.mjs.map} +0 -0
- /package/dist/esm/{chunk-P5V7OZNN.mjs.map → chunk-CDIKSNSU.mjs.map} +0 -0
- /package/dist/esm/{chunk-3NRBTP3S.mjs.map → chunk-E2WOZVJX.mjs.map} +0 -0
- /package/dist/esm/{chunk-LG7RJQ57.mjs.map → chunk-FBPNHF54.mjs.map} +0 -0
- /package/dist/esm/{chunk-UWPO7WWS.mjs.map → chunk-FDD6WNN6.mjs.map} +0 -0
- /package/dist/esm/{chunk-6ERHGCK2.mjs.map → chunk-FDTLBR6D.mjs.map} +0 -0
- /package/dist/esm/{chunk-FOHGSNYZ.mjs.map → chunk-FLNLQ7K5.mjs.map} +0 -0
- /package/dist/esm/{chunk-76OH2Z4Q.mjs.map → chunk-FOLCONSQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-5IUXBOS5.mjs.map → chunk-FTBXTZM2.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZXPBRVOA.mjs.map → chunk-GKRIMGKW.mjs.map} +0 -0
- /package/dist/esm/{chunk-MEKXPGK7.mjs.map → chunk-GX2II7H4.mjs.map} +0 -0
- /package/dist/esm/{chunk-I5XQKNOK.mjs.map → chunk-H3TJNBHX.mjs.map} +0 -0
- /package/dist/esm/{chunk-ECKJI2TV.mjs.map → chunk-HOQCND6F.mjs.map} +0 -0
- /package/dist/esm/{chunk-ORXEFE6X.mjs.map → chunk-ILI5TDXD.mjs.map} +0 -0
- /package/dist/esm/{chunk-SONTIUAM.mjs.map → chunk-J45FMNYT.mjs.map} +0 -0
- /package/dist/esm/{chunk-7AIKM3UF.mjs.map → chunk-KRRHWHTG.mjs.map} +0 -0
- /package/dist/esm/{chunk-USOIC4HO.mjs.map → chunk-LKN324IO.mjs.map} +0 -0
- /package/dist/esm/{chunk-MQGW234H.mjs.map → chunk-N6EC72OZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-GXTEJ7NO.mjs.map → chunk-ND23H3AK.mjs.map} +0 -0
- /package/dist/esm/{chunk-JKNTGRSQ.mjs.map → chunk-NGIPNL7N.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZQFFRZJ4.mjs.map → chunk-NLV3PTOE.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZZRSKHWS.mjs.map → chunk-NOVJ2ROD.mjs.map} +0 -0
- /package/dist/esm/{chunk-FNT3VLRD.mjs.map → chunk-NWTMTPPX.mjs.map} +0 -0
- /package/dist/esm/{chunk-QV6EZL2G.mjs.map → chunk-OOVNFKA6.mjs.map} +0 -0
- /package/dist/esm/{chunk-CTJX4CUF.mjs.map → chunk-PDY3AFVI.mjs.map} +0 -0
- /package/dist/esm/{chunk-T2NJUIOQ.mjs.map → chunk-QKVID52D.mjs.map} +0 -0
- /package/dist/esm/{chunk-7Y3MRBG6.mjs.map → chunk-QOE5WJMC.mjs.map} +0 -0
- /package/dist/esm/{chunk-MLDQ2TY2.mjs.map → chunk-QP2A5ISX.mjs.map} +0 -0
- /package/dist/esm/{chunk-O4BBULNE.mjs.map → chunk-QTTDBQAJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-H33YIMTU.mjs.map → chunk-R2RMAWDH.mjs.map} +0 -0
- /package/dist/esm/{chunk-5L3PLK3W.mjs.map → chunk-S3I4THN5.mjs.map} +0 -0
- /package/dist/esm/{chunk-HRIYZBXY.mjs.map → chunk-S6TRBKP5.mjs.map} +0 -0
- /package/dist/esm/{chunk-WRRQ7L5K.mjs.map → chunk-SHOPSMRK.mjs.map} +0 -0
- /package/dist/esm/{chunk-YDZBU2DJ.mjs.map → chunk-SP4PT77Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-F7EMGK4M.mjs.map → chunk-TJDC5PWD.mjs.map} +0 -0
- /package/dist/esm/{chunk-H6YNXJNF.mjs.map → chunk-TVWAYKEP.mjs.map} +0 -0
- /package/dist/esm/{chunk-BOYYQAB4.mjs.map → chunk-UW5TIZFE.mjs.map} +0 -0
- /package/dist/esm/{chunk-2N2VEGT6.mjs.map → chunk-VNIBQXNX.mjs.map} +0 -0
- /package/dist/esm/{chunk-NMD45OTM.mjs.map → chunk-VTEOS4PS.mjs.map} +0 -0
- /package/dist/esm/{chunk-6BYVG7H4.mjs.map → chunk-VZKENIJR.mjs.map} +0 -0
- /package/dist/esm/{chunk-OEOUZFHD.mjs.map → chunk-X26OHQZO.mjs.map} +0 -0
- /package/dist/esm/{chunk-HKMG3LZX.mjs.map → chunk-YACGA3YS.mjs.map} +0 -0
- /package/dist/esm/{chunk-2CC67KW5.mjs.map → chunk-YSVXROOO.mjs.map} +0 -0
- /package/dist/esm/{chunk-74YFNJ7A.mjs.map → chunk-YTOQGCAM.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y3HLYCF3.mjs.map → chunk-ZASN3QQQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-A63SMUOU.mjs.map → chunk-ZZIMFLVT.mjs.map} +0 -0
- /package/dist/esm/{publicKey-B3XRNhHO.d.mts → publicKey-lq5djCIY.d.mts} +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg,
|
|
2
|
-
export { aA as AccountAuthenticatorVariant, bj as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aT as BlockEndInfo, aU as BlockEpilogueTransactionResponse, aQ as BlockMetadataTransactionResponse, aG as ClientHeadersType, b0 as DecodedTableData, b1 as DeletedTableData, bG as DeriveScheme, bm as DirectWriteSet, b3 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bo as Event, bn as EventGuid, bJ as GenerateAccount, bH as GenerateAccountWithEd25519, bI as GenerateAccountWithSingleSignerSecp256k1Key, b6 as GenesisPayload, aP as GenesisTransactionResponse, au as HexInvalidReason, bB as MoveAbility, bv as MoveAddressType, bA as MoveFunctionVisibility, bD as MoveModule, bw as MoveObjectType, bx as MoveOptionType, b7 as MoveScriptBytecode, bE as MoveStruct, bC as MoveStructField, by as MoveStructType, bz as MoveType, bt as MoveUint128Type, bq as MoveUint16Type, bu as MoveUint256Type, br as MoveUint32Type, bs as MoveUint64Type, bp as MoveUint8Type, b5 as MultisigPayloadResponse, bS as NetworkToChainId, bP as NetworkToFaucetAPI, bN as NetworkToIndexerAPI, bT as NetworkToNetworkName, bO as NetworkToNodeAPI, bQ as NetworkToPepperAPI, bR as NetworkToProverAPI, bK as OrderBy, bL as OrderByValue, as as ParsingError, at as ParsingResult, bF as RoleType, b4 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bl as ScriptWriteSet, aR as StateCheckpointTransactionResponse, bM as TokenStandard, az as TransactionAuthenticatorVariant, be as TransactionEd25519Signature, bi as TransactionFeePayerSignature, bh as TransactionMultiAgentSignature, bg as TransactionMultiEd25519Signature, b2 as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bf as TransactionSecp256k1Signature, b8 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aS as ValidatorTransactionResponse, bk as WriteSet, aV as WriteSetChange, aW as WriteSetChangeDeleteModule, aX as WriteSetChangeDeleteResource, aY as WriteSetChangeDeleteTableItem, aZ as WriteSetChangeWriteModule, a_ as WriteSetChangeWriteResource, a$ as WriteSetChangeWriteTableItem, ao as ensureBoolean, aO as isBlockEpilogueTransactionResponse, aL as isBlockMetadataTransactionResponse, b9 as isEd25519Signature, bc as isFeePayerSignature, aK as isGenesisTransactionResponse, bb as isMultiAgentSignature, bd as isMultiEd25519Signature, aI as isPendingTransactionResponse, ba as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-
|
|
1
|
+
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, n as AccountAddressInput, M as MoveModuleId, o as ScriptFunctionArgument, p as MoveFunctionId, q as MoveStructId, r as MoveValue, s as MoveFunctionGenericTypeParam, t as SigningSchemeInput, u as SigningScheme, v as AccountData, P as PaginationArgs, w as MoveModuleBytecode, x as TransactionResponse, y as MoveResource, z as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, B as GetAccountOwnedTokensFromCollectionResponse, J as GetAccountCollectionsWithOwnedTokenResponse, K as GetAccountCoinsDataResponse, W as WhereArg, Q as GetObjectDataQueryResponse, R as GetCollectionDataResponse, V as GetTokenDataResponse, X as GetCurrentTokenOwnershipResponse, Y as GetOwnedTokensResponse, _ as GetTokenActivityResponse, $ as GetEventsResponse, a0 as WaitForTransactionOptions, a1 as UserTransactionResponse, a2 as MoveFunction, a3 as GetFungibleAssetMetadataResponse, a4 as GetFungibleAssetActivitiesResponse, a5 as GetCurrentFungibleAssetBalancesResponse, a6 as LedgerInfo, a7 as Block, a8 as GetChainTopUserTransactionsResponse, a9 as GraphqlQuery, aa as GetProcessorStatusResponse, ab as GetANSNameResponse, ac as GetNumberOfDelegatorsResponse, ad as GetDelegatedStakingActivitiesResponse, ae as PendingTransactionResponse, af as CommittedTransactionResponse, ag as GasEstimation, ah as TableItemRequest, ai as GetTableItemsDataResponse, aj as GetTableItemsMetadataResponse, ak as AptosRequest, al as ClientRequest, am as ClientResponse, an as MimeType } from './accountAddress-0OnKb1b9.js';
|
|
2
|
+
export { aA as AccountAuthenticatorVariant, bj as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aT as BlockEndInfo, aU as BlockEpilogueTransactionResponse, aQ as BlockMetadataTransactionResponse, aG as ClientHeadersType, b0 as DecodedTableData, b1 as DeletedTableData, bG as DeriveScheme, bm as DirectWriteSet, b3 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bo as Event, bn as EventGuid, bJ as GenerateAccount, bH as GenerateAccountWithEd25519, bI as GenerateAccountWithSingleSignerSecp256k1Key, b6 as GenesisPayload, aP as GenesisTransactionResponse, au as HexInvalidReason, bB as MoveAbility, bv as MoveAddressType, bA as MoveFunctionVisibility, bD as MoveModule, bw as MoveObjectType, bx as MoveOptionType, b7 as MoveScriptBytecode, bE as MoveStruct, bC as MoveStructField, by as MoveStructType, bz as MoveType, bt as MoveUint128Type, bq as MoveUint16Type, bu as MoveUint256Type, br as MoveUint32Type, bs as MoveUint64Type, bp as MoveUint8Type, b5 as MultisigPayloadResponse, bS as NetworkToChainId, bP as NetworkToFaucetAPI, bN as NetworkToIndexerAPI, bT as NetworkToNetworkName, bO as NetworkToNodeAPI, bQ as NetworkToPepperAPI, bR as NetworkToProverAPI, bK as OrderBy, bL as OrderByValue, as as ParsingError, at as ParsingResult, bF as RoleType, b4 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bl as ScriptWriteSet, aR as StateCheckpointTransactionResponse, bM as TokenStandard, az as TransactionAuthenticatorVariant, be as TransactionEd25519Signature, bi as TransactionFeePayerSignature, bh as TransactionMultiAgentSignature, bg as TransactionMultiEd25519Signature, b2 as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bf as TransactionSecp256k1Signature, b8 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aS as ValidatorTransactionResponse, bk as WriteSet, aV as WriteSetChange, aW as WriteSetChangeDeleteModule, aX as WriteSetChangeDeleteResource, aY as WriteSetChangeDeleteTableItem, aZ as WriteSetChangeWriteModule, a_ as WriteSetChangeWriteResource, a$ as WriteSetChangeWriteTableItem, ao as ensureBoolean, aO as isBlockEpilogueTransactionResponse, aL as isBlockMetadataTransactionResponse, b9 as isEd25519Signature, bc as isFeePayerSignature, aK as isGenesisTransactionResponse, bb as isMultiAgentSignature, bd as isMultiEd25519Signature, aI as isPendingTransactionResponse, ba as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-0OnKb1b9.js';
|
|
3
3
|
import EventEmitter from 'eventemitter3';
|
|
4
4
|
|
|
5
5
|
type Maybe<T> = T | null;
|
|
@@ -612,6 +612,15 @@ declare class MoveVector<T extends Serializable & EntryFunctionArgument> extends
|
|
|
612
612
|
*/
|
|
613
613
|
static deserialize<T extends Serializable & EntryFunctionArgument>(deserializer: Deserializer, cls: Deserializable<T>): MoveVector<T>;
|
|
614
614
|
}
|
|
615
|
+
declare class Serialized extends Serializable implements TransactionArgument {
|
|
616
|
+
readonly value: Uint8Array;
|
|
617
|
+
constructor(value: HexInput);
|
|
618
|
+
serialize(serializer: Serializer): void;
|
|
619
|
+
serializeForEntryFunction(serializer: Serializer): void;
|
|
620
|
+
serializeForScriptFunction(serializer: Serializer): void;
|
|
621
|
+
static deserialize(deserializer: Deserializer): Serialized;
|
|
622
|
+
toMoveVector<T extends Serializable & EntryFunctionArgument>(cls: Deserializable<T>): MoveVector<T>;
|
|
623
|
+
}
|
|
615
624
|
declare class MoveString extends Serializable implements TransactionArgument {
|
|
616
625
|
value: string;
|
|
617
626
|
constructor(value: string);
|
|
@@ -1488,6 +1497,7 @@ declare const DEFAULT_TXN_TIMEOUT_SEC = 20;
|
|
|
1488
1497
|
* The default gas currency for the network.
|
|
1489
1498
|
*/
|
|
1490
1499
|
declare const APTOS_COIN = "0x1::aptos_coin::AptosCoin";
|
|
1500
|
+
declare const APTOS_FA = "0x000000000000000000000000000000000000000000000000000000000000000a";
|
|
1491
1501
|
declare const RAW_TRANSACTION_SALT = "APTOS::RawTransaction";
|
|
1492
1502
|
declare const RAW_TRANSACTION_WITH_DATA_SALT = "APTOS::RawTransactionWithData";
|
|
1493
1503
|
/**
|
|
@@ -1887,6 +1897,82 @@ declare function getKeylessConfig(args: {
|
|
|
1887
1897
|
options?: LedgerVersionArg;
|
|
1888
1898
|
}): Promise<KeylessConfiguration>;
|
|
1889
1899
|
|
|
1900
|
+
/**
|
|
1901
|
+
* Represents the FederatedKeylessPublicKey public key
|
|
1902
|
+
*
|
|
1903
|
+
* These keys use an onchain address as a source of truth for the JWK used to verify signatures.
|
|
1904
|
+
*
|
|
1905
|
+
* FederatedKeylessPublicKey authentication key is represented in the SDK as `AnyPublicKey`.
|
|
1906
|
+
*/
|
|
1907
|
+
declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
1908
|
+
/**
|
|
1909
|
+
* The address that contains the JWK set to be used for verification.
|
|
1910
|
+
*/
|
|
1911
|
+
readonly jwkAddress: AccountAddress;
|
|
1912
|
+
/**
|
|
1913
|
+
* The inner public key which contains the standard Keyless public key.
|
|
1914
|
+
*/
|
|
1915
|
+
readonly keylessPublicKey: KeylessPublicKey;
|
|
1916
|
+
constructor(jwkAddress: AccountAddressInput, keylessPublicKey: KeylessPublicKey);
|
|
1917
|
+
/**
|
|
1918
|
+
* Get the authentication key for the federated keyless public key
|
|
1919
|
+
*
|
|
1920
|
+
* @returns AuthenticationKey
|
|
1921
|
+
*/
|
|
1922
|
+
authKey(): AuthenticationKey;
|
|
1923
|
+
/**
|
|
1924
|
+
* Get the public key in bytes (Uint8Array).
|
|
1925
|
+
*
|
|
1926
|
+
* @returns Uint8Array representation of the public key
|
|
1927
|
+
*/
|
|
1928
|
+
toUint8Array(): Uint8Array;
|
|
1929
|
+
/**
|
|
1930
|
+
* Get the public key as a hex string with the 0x prefix.
|
|
1931
|
+
*
|
|
1932
|
+
* @returns string representation of the public key
|
|
1933
|
+
*/
|
|
1934
|
+
toString(): string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Verifies a signed data with a public key
|
|
1937
|
+
*
|
|
1938
|
+
* @param args.message message
|
|
1939
|
+
* @param args.signature The signature
|
|
1940
|
+
* @returns true if the signature is valid
|
|
1941
|
+
*/
|
|
1942
|
+
verifySignature(args: {
|
|
1943
|
+
message: HexInput;
|
|
1944
|
+
signature: KeylessSignature;
|
|
1945
|
+
}): boolean;
|
|
1946
|
+
serialize(serializer: Serializer): void;
|
|
1947
|
+
static deserialize(deserializer: Deserializer): FederatedKeylessPublicKey;
|
|
1948
|
+
static isPublicKey(publicKey: PublicKey): publicKey is FederatedKeylessPublicKey;
|
|
1949
|
+
/**
|
|
1950
|
+
* Creates a FederatedKeylessPublicKey from the JWT components plus pepper
|
|
1951
|
+
*
|
|
1952
|
+
* @param args.iss the iss of the identity
|
|
1953
|
+
* @param args.uidKey the key to use to get the uidVal in the JWT token
|
|
1954
|
+
* @param args.uidVal the value of the uidKey in the JWT token
|
|
1955
|
+
* @param args.aud the client ID of the application
|
|
1956
|
+
* @param args.pepper The pepper used to maintain privacy of the account
|
|
1957
|
+
* @returns FederatedKeylessPublicKey
|
|
1958
|
+
*/
|
|
1959
|
+
static create(args: {
|
|
1960
|
+
iss: string;
|
|
1961
|
+
uidKey: string;
|
|
1962
|
+
uidVal: string;
|
|
1963
|
+
aud: string;
|
|
1964
|
+
pepper: HexInput;
|
|
1965
|
+
jwkAddress: AccountAddressInput;
|
|
1966
|
+
}): FederatedKeylessPublicKey;
|
|
1967
|
+
static fromJwtAndPepper(args: {
|
|
1968
|
+
jwt: string;
|
|
1969
|
+
pepper: HexInput;
|
|
1970
|
+
jwkAddress: AccountAddressInput;
|
|
1971
|
+
uidKey?: string;
|
|
1972
|
+
}): FederatedKeylessPublicKey;
|
|
1973
|
+
static isInstance(publicKey: PublicKey): boolean;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1890
1976
|
/**
|
|
1891
1977
|
* Represents the Secp256k1 ecdsa public key
|
|
1892
1978
|
*
|
|
@@ -2727,7 +2813,7 @@ type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | Ac
|
|
|
2727
2813
|
/**
|
|
2728
2814
|
* Script function arguments to be used when building a raw transaction using BCS serialized arguments
|
|
2729
2815
|
*/
|
|
2730
|
-
type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<
|
|
2816
|
+
type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<ScriptFunctionArgumentTypes> | MoveString | FixedBytes | Serialized;
|
|
2731
2817
|
/**
|
|
2732
2818
|
* TypeArgument inputs for Entry functions, view functions, and scripts
|
|
2733
2819
|
*
|
|
@@ -3376,21 +3462,15 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3376
3462
|
}
|
|
3377
3463
|
|
|
3378
3464
|
/**
|
|
3379
|
-
* Account implementation for the Keyless authentication scheme.
|
|
3380
|
-
*
|
|
3381
|
-
* Used to represent a Keyless based account and sign transactions with it.
|
|
3382
|
-
*
|
|
3383
|
-
* Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
|
|
3384
|
-
*
|
|
3385
|
-
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3386
|
-
* EphemeralKeyPair, and corresponding proof.
|
|
3465
|
+
* Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts
|
|
3466
|
+
* and Federated Keyless Accounts.
|
|
3387
3467
|
*/
|
|
3388
|
-
declare class
|
|
3468
|
+
declare abstract class KeylessAccountCommon extends Serializable implements Account$1 {
|
|
3389
3469
|
static readonly PEPPER_LENGTH: number;
|
|
3390
3470
|
/**
|
|
3391
3471
|
* The KeylessPublicKey associated with the account
|
|
3392
3472
|
*/
|
|
3393
|
-
readonly publicKey: KeylessPublicKey;
|
|
3473
|
+
readonly publicKey: KeylessPublicKey | FederatedKeylessPublicKey;
|
|
3394
3474
|
/**
|
|
3395
3475
|
* The EphemeralKeyPair used to generate sign.
|
|
3396
3476
|
*/
|
|
@@ -3437,14 +3517,24 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3437
3517
|
* An event emitter used to assist in handling asycronous proof fetching.
|
|
3438
3518
|
*/
|
|
3439
3519
|
private readonly emitter;
|
|
3440
|
-
|
|
3520
|
+
constructor(args: {
|
|
3521
|
+
address?: AccountAddress;
|
|
3522
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3523
|
+
iss: string;
|
|
3524
|
+
uidKey: string;
|
|
3525
|
+
uidVal: string;
|
|
3526
|
+
aud: string;
|
|
3527
|
+
pepper: HexInput;
|
|
3528
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3529
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3530
|
+
jwt: string;
|
|
3531
|
+
});
|
|
3441
3532
|
/**
|
|
3442
3533
|
* This initializes the asyncronous proof fetch
|
|
3443
3534
|
* @return
|
|
3444
3535
|
*/
|
|
3445
3536
|
init(promise: Promise<ZeroKnowledgeSig>): Promise<void>;
|
|
3446
3537
|
serialize(serializer: Serializer): void;
|
|
3447
|
-
static deserialize(deserializer: Deserializer): KeylessAccount;
|
|
3448
3538
|
/**
|
|
3449
3539
|
* Checks if the proof is expired. If so the account must be rederived with a new EphemeralKeyPair
|
|
3450
3540
|
* and JWT token.
|
|
@@ -3496,16 +3586,32 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3496
3586
|
message: HexInput;
|
|
3497
3587
|
signature: KeylessSignature;
|
|
3498
3588
|
}): boolean;
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3589
|
+
}
|
|
3590
|
+
/**
|
|
3591
|
+
* A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create
|
|
3592
|
+
* the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.
|
|
3593
|
+
*/
|
|
3594
|
+
declare class TransactionAndProof extends Serializable {
|
|
3595
|
+
/**
|
|
3596
|
+
* The transaction to sign.
|
|
3597
|
+
*/
|
|
3598
|
+
transaction: AnyRawTransactionInstance;
|
|
3599
|
+
/**
|
|
3600
|
+
* The zero knowledge proof used in signing the transaction.
|
|
3601
|
+
*/
|
|
3602
|
+
proof?: ZkProof;
|
|
3603
|
+
/**
|
|
3604
|
+
* The domain separator prefix used when hashing.
|
|
3605
|
+
*/
|
|
3606
|
+
readonly domainSeparator = "APTOS::TransactionAndProof";
|
|
3607
|
+
constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof);
|
|
3608
|
+
serialize(serializer: Serializer): void;
|
|
3609
|
+
/**
|
|
3610
|
+
* Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.
|
|
3611
|
+
*
|
|
3612
|
+
* @returns Uint8Array
|
|
3613
|
+
*/
|
|
3614
|
+
hash(): Uint8Array;
|
|
3509
3615
|
}
|
|
3510
3616
|
type ProofFetchSuccess = {
|
|
3511
3617
|
status: "Success";
|
|
@@ -3520,6 +3626,64 @@ interface ProofFetchEvents {
|
|
|
3520
3626
|
proofFetchFinish: (status: ProofFetchStatus) => void;
|
|
3521
3627
|
}
|
|
3522
3628
|
|
|
3629
|
+
/**
|
|
3630
|
+
* Account implementation for the Keyless authentication scheme.
|
|
3631
|
+
*
|
|
3632
|
+
* Used to represent a Keyless based account and sign transactions with it.
|
|
3633
|
+
*
|
|
3634
|
+
* Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
|
|
3635
|
+
*
|
|
3636
|
+
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3637
|
+
* EphemeralKeyPair, and corresponding proof.
|
|
3638
|
+
*/
|
|
3639
|
+
declare class KeylessAccount extends KeylessAccountCommon {
|
|
3640
|
+
private constructor();
|
|
3641
|
+
serialize(serializer: Serializer): void;
|
|
3642
|
+
static deserialize(deserializer: Deserializer): KeylessAccount;
|
|
3643
|
+
static fromBytes(bytes: Uint8Array): KeylessAccount;
|
|
3644
|
+
static create(args: {
|
|
3645
|
+
address?: AccountAddress;
|
|
3646
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3647
|
+
jwt: string;
|
|
3648
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3649
|
+
pepper: HexInput;
|
|
3650
|
+
uidKey?: string;
|
|
3651
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3652
|
+
}): KeylessAccount;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
* Account implementation for the FederatedKeyless authentication scheme.
|
|
3657
|
+
*
|
|
3658
|
+
* Used to represent a FederatedKeyless based account and sign transactions with it.
|
|
3659
|
+
*
|
|
3660
|
+
* Use FederatedKeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof, EphemeralKeyPair and the
|
|
3661
|
+
* address the JWKs are installed that will be used to verify the JWT.
|
|
3662
|
+
*
|
|
3663
|
+
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3664
|
+
* EphemeralKeyPair, and corresponding proof.
|
|
3665
|
+
*/
|
|
3666
|
+
declare class FederatedKeylessAccount extends KeylessAccountCommon {
|
|
3667
|
+
/**
|
|
3668
|
+
* The FederatedKeylessPublicKey associated with the account
|
|
3669
|
+
*/
|
|
3670
|
+
readonly publicKey: FederatedKeylessPublicKey;
|
|
3671
|
+
private constructor();
|
|
3672
|
+
serialize(serializer: Serializer): void;
|
|
3673
|
+
static deserialize(deserializer: Deserializer): FederatedKeylessAccount;
|
|
3674
|
+
static fromBytes(bytes: Uint8Array): FederatedKeylessAccount;
|
|
3675
|
+
static create(args: {
|
|
3676
|
+
address?: AccountAddress;
|
|
3677
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3678
|
+
jwt: string;
|
|
3679
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3680
|
+
pepper: HexInput;
|
|
3681
|
+
jwkAddress: AccountAddressInput;
|
|
3682
|
+
uidKey?: string;
|
|
3683
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3684
|
+
}): FederatedKeylessAccount;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3523
3687
|
interface VerifyMultiKeySignatureArgs {
|
|
3524
3688
|
message: HexInput;
|
|
3525
3689
|
signature: MultiKeySignature;
|
|
@@ -3568,6 +3732,7 @@ declare class MultiKeyAccount implements Account$1 {
|
|
|
3568
3732
|
constructor(args: {
|
|
3569
3733
|
multiKey: MultiKey;
|
|
3570
3734
|
signers: Account$1[];
|
|
3735
|
+
address?: AccountAddressInput;
|
|
3571
3736
|
});
|
|
3572
3737
|
/**
|
|
3573
3738
|
* Static constructor for MultiKeyAccount
|
|
@@ -3914,7 +4079,8 @@ declare class Account {
|
|
|
3914
4079
|
* const accountCoinAmount = await aptos.getAccountCoinAmount({accountAddress:"0x123", coinType:"0x1::aptos_coin::AptosCoin"})
|
|
3915
4080
|
*
|
|
3916
4081
|
* @param args.accountAddress The account address we want to get the total count for
|
|
3917
|
-
* @param args.coinType The coin type to query
|
|
4082
|
+
* @param args.coinType The coin type to query.
|
|
4083
|
+
* Note: faMetadataAddress will automatically fill this in if not provided when migrated to fungible assets
|
|
3918
4084
|
* @param args.faMetadataAddress The fungible asset metadata address to query.
|
|
3919
4085
|
* Note: coinType will automatically fill this in if not provided when migrated to fungible assets
|
|
3920
4086
|
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
@@ -6333,20 +6499,6 @@ declare class Keyless {
|
|
|
6333
6499
|
pepper?: HexInput;
|
|
6334
6500
|
uidKey?: string;
|
|
6335
6501
|
}): Promise<ZeroKnowledgeSig>;
|
|
6336
|
-
/**
|
|
6337
|
-
* Derives the Keyless Account from the JWT token and corresponding EphemeralKeyPair. It will lookup the pepper from
|
|
6338
|
-
* the pepper service if not explicitly provided. It will compute the proof via the proving service. It will ch
|
|
6339
|
-
*
|
|
6340
|
-
* @param args.jwt JWT token
|
|
6341
|
-
* @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
|
|
6342
|
-
* @param args.uidKey a key in the JWT token to use to set the uidVal in the IdCommitment
|
|
6343
|
-
* @param args.pepper the pepper
|
|
6344
|
-
* @param args.proofFetchCallback a callback function that if set, the fetch of the proof will be done in the background. Once
|
|
6345
|
-
* fetching finishes the callback function will be called. This should be used to provide a more responsive user experience as now
|
|
6346
|
-
* they are not blocked on fetching the proof. Thus the function will return much more quickly.
|
|
6347
|
-
*
|
|
6348
|
-
* @returns A KeylessAccount that can be used to sign transactions
|
|
6349
|
-
*/
|
|
6350
6502
|
deriveKeylessAccount(args: {
|
|
6351
6503
|
jwt: string;
|
|
6352
6504
|
ephemeralKeyPair: EphemeralKeyPair;
|
|
@@ -6354,6 +6506,31 @@ declare class Keyless {
|
|
|
6354
6506
|
pepper?: HexInput;
|
|
6355
6507
|
proofFetchCallback?: ProofFetchCallback;
|
|
6356
6508
|
}): Promise<KeylessAccount>;
|
|
6509
|
+
deriveKeylessAccount(args: {
|
|
6510
|
+
jwt: string;
|
|
6511
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
6512
|
+
jwkAddress: AccountAddressInput;
|
|
6513
|
+
uidKey?: string;
|
|
6514
|
+
pepper?: HexInput;
|
|
6515
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
6516
|
+
}): Promise<FederatedKeylessAccount>;
|
|
6517
|
+
/**
|
|
6518
|
+
* This installs a set of FederatedJWKs at an address for a given iss.
|
|
6519
|
+
*
|
|
6520
|
+
* It will fetch the JWK set from the well-known endpoint and update the FederatedJWKs at the sender's address
|
|
6521
|
+
* to reflect it.
|
|
6522
|
+
*
|
|
6523
|
+
* @param args.sender The account that will install the JWKs
|
|
6524
|
+
* @param args.iss the iss claim of the federated OIDC provider.
|
|
6525
|
+
* @param args.jwksUrl the URL to find the corresponding JWKs. For supported IDP providers this parameter in not necessary.
|
|
6526
|
+
*
|
|
6527
|
+
* @returns The pending transaction that results from submission.
|
|
6528
|
+
*/
|
|
6529
|
+
updateFederatedKeylessJwkSetTransaction(args: {
|
|
6530
|
+
sender: Account$1;
|
|
6531
|
+
iss: string;
|
|
6532
|
+
jwksUrl?: string;
|
|
6533
|
+
}): Promise<SimpleTransaction>;
|
|
6357
6534
|
}
|
|
6358
6535
|
|
|
6359
6536
|
/**
|
|
@@ -6500,6 +6677,40 @@ declare const convertAmountFromHumanReadableToOnChain: (value: number, decimal:
|
|
|
6500
6677
|
* @returns The value is smallest units
|
|
6501
6678
|
*/
|
|
6502
6679
|
declare const convertAmountFromOnChainToHumanReadable: (value: number, decimal: number) => number;
|
|
6680
|
+
/**
|
|
6681
|
+
* Convert an encoded struct to a MoveStructId.
|
|
6682
|
+
*
|
|
6683
|
+
* @example
|
|
6684
|
+
* const structObj = {
|
|
6685
|
+
* account_address: "0x1",
|
|
6686
|
+
* module_name: "0x6170746f735f636f696e",
|
|
6687
|
+
* struct_name: "0x4170746f73436f696e",
|
|
6688
|
+
* };
|
|
6689
|
+
* // structId is "0x1::aptos_coin::AptosCoin"
|
|
6690
|
+
* const structId = parseEncodedStruct(structObj);
|
|
6691
|
+
*
|
|
6692
|
+
* @param structObj The struct with account_address, module_name, and struct_name properties
|
|
6693
|
+
* @returns The MoveStructId
|
|
6694
|
+
*/
|
|
6695
|
+
declare const parseEncodedStruct: (structObj: {
|
|
6696
|
+
account_address: string;
|
|
6697
|
+
module_name: string;
|
|
6698
|
+
struct_name: string;
|
|
6699
|
+
}) => MoveStructId;
|
|
6700
|
+
/**
|
|
6701
|
+
* Determines whether the given object is an encoded struct type with the following properties:
|
|
6702
|
+
* - account_address: string
|
|
6703
|
+
* - module_name: string
|
|
6704
|
+
* - struct_name: string
|
|
6705
|
+
*
|
|
6706
|
+
* @param structObj The object to check
|
|
6707
|
+
* @returns Whether the object is an encoded struct type
|
|
6708
|
+
*/
|
|
6709
|
+
declare const isEncodedStruct: (structObj: any) => structObj is {
|
|
6710
|
+
account_address: string;
|
|
6711
|
+
module_name: string;
|
|
6712
|
+
struct_name: string;
|
|
6713
|
+
};
|
|
6503
6714
|
|
|
6504
6715
|
/**
|
|
6505
6716
|
* Given a url and method, sends the request with axios and
|
|
@@ -6625,4 +6836,4 @@ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAp
|
|
|
6625
6836
|
declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6626
6837
|
declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6627
6838
|
|
|
6628
|
-
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, type InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, base64UrlDecode, buildTransaction, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, getKeylessConfig, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isLargeNumber, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|
|
6839
|
+
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_FA, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FederatedKeylessAccount, FederatedKeylessPublicKey, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, type InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessAccountCommon, KeylessConfiguration, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serialized, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, base64UrlDecode, buildTransaction, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, getKeylessConfig, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isLargeNumber, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, paginateWithCursor, parseEncodedStruct, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|