@aptos-labs/ts-sdk 1.33.0 → 1.33.2-sc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -6
- package/dist/common/{accountAddress-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
- package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
- package/dist/common/chunk-IHUCZKG2.js.map +1 -0
- package/dist/common/cli/index.d.ts +56 -9
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +2126 -305
- package/dist/common/index.js +33 -33
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-B3xHXAQe.d.mts → Ed25519Account-D4j3_WIS.d.mts} +122 -12
- package/dist/esm/account/AbstractKeylessAccount.d.mts +82 -7
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +6 -4
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +65 -0
- package/dist/esm/account/AccountUtils.mjs +2 -0
- package/dist/esm/account/Ed25519Account.d.mts +4 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +30 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +26 -5
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +31 -5
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +41 -5
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +5 -3
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +5 -2
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +19 -0
- package/dist/esm/account/utils.mjs +2 -0
- package/dist/esm/api/account.d.mts +26 -4
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +19 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +7 -2
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +17 -0
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +8 -3
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +30 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +7 -0
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +12 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +12 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +15 -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 +10 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +4 -0
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +6 -0
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +6 -0
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +25 -6
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +72 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +2 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +9 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +8 -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 +7 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +7 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +2 -0
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -0
- package/dist/esm/bcs/deserializer.d.mts +57 -2
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +1 -0
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +11 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +13 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +25 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +57 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +61 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-XVPWTWPY.mjs → chunk-32WLD3F3.mjs} +2 -2
- package/dist/esm/chunk-32WLD3F3.mjs.map +1 -0
- package/dist/esm/chunk-35DKMW7Q.mjs +2 -0
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/chunk-3OLFJ65O.mjs +2 -0
- package/dist/esm/chunk-3OLFJ65O.mjs.map +1 -0
- package/dist/esm/chunk-3XH3NNSR.mjs +2 -0
- package/dist/esm/chunk-3XH3NNSR.mjs.map +1 -0
- package/dist/esm/chunk-4RXKALLC.mjs +2 -0
- package/dist/esm/chunk-4RXKALLC.mjs.map +1 -0
- package/dist/esm/{chunk-64IZ5PQR.mjs → chunk-4UYVRG5Z.mjs} +2 -2
- package/dist/esm/chunk-4UYVRG5Z.mjs.map +1 -0
- package/dist/esm/chunk-4YLUM62M.mjs +2 -0
- package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
- package/dist/esm/{chunk-KKLF7DQV.mjs → chunk-4ZJJINCW.mjs} +2 -2
- package/dist/esm/chunk-4ZJJINCW.mjs.map +1 -0
- package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-66AQ2MJ6.mjs} +2 -2
- package/dist/esm/chunk-66AQ2MJ6.mjs.map +1 -0
- package/dist/esm/{chunk-LZ5PSDOS.mjs → chunk-67BUAZ6O.mjs} +2 -2
- package/dist/esm/chunk-67BUAZ6O.mjs.map +1 -0
- package/dist/esm/{chunk-A3USS2NC.mjs → chunk-67ZANQ3R.mjs} +2 -2
- package/dist/esm/chunk-67ZANQ3R.mjs.map +1 -0
- package/dist/esm/{chunk-JUQBFGUD.mjs → chunk-6IIAGMDR.mjs} +2 -2
- package/dist/esm/chunk-6IIAGMDR.mjs.map +1 -0
- package/dist/esm/{chunk-BWV6OYLG.mjs → chunk-6IPM5P4L.mjs} +2 -2
- package/dist/esm/chunk-6IPM5P4L.mjs.map +1 -0
- package/dist/esm/{chunk-WXLSHECY.mjs → chunk-6XHBRRS6.mjs} +2 -2
- package/dist/esm/chunk-6XHBRRS6.mjs.map +1 -0
- package/dist/esm/chunk-7HLNV3QL.mjs +2 -0
- package/dist/esm/chunk-7HLNV3QL.mjs.map +1 -0
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-A3NEASNH.mjs} +2 -2
- package/dist/esm/chunk-A3NEASNH.mjs.map +1 -0
- package/dist/esm/{chunk-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
- package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
- package/dist/esm/{chunk-P74XXLE4.mjs → chunk-AD3A7DTH.mjs} +2 -2
- package/dist/esm/chunk-AD3A7DTH.mjs.map +1 -0
- package/dist/esm/chunk-AIABPCUF.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-AIABPCUF.mjs.map} +1 -1
- package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
- package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
- package/dist/esm/chunk-BFIXIXHO.mjs +2 -0
- package/dist/esm/chunk-BFIXIXHO.mjs.map +1 -0
- package/dist/esm/{chunk-6ZOVTYLJ.mjs → chunk-BI3BTSUB.mjs} +2 -2
- package/dist/esm/chunk-BI3BTSUB.mjs.map +1 -0
- package/dist/esm/{chunk-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
- package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
- package/dist/esm/{chunk-KPPM2BSC.mjs → chunk-CDYLZDD2.mjs} +2 -2
- package/dist/esm/chunk-CDYLZDD2.mjs.map +1 -0
- package/dist/esm/{chunk-5XLZACVT.mjs → chunk-CGTHWGSJ.mjs} +2 -2
- package/dist/esm/chunk-CGTHWGSJ.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-CNCRJ56P.mjs} +2 -2
- package/dist/esm/chunk-CNCRJ56P.mjs.map +1 -0
- package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
- package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
- package/dist/esm/chunk-CWRANLXZ.mjs +2 -0
- package/dist/esm/chunk-CWRANLXZ.mjs.map +1 -0
- package/dist/esm/{chunk-476F5NJ6.mjs → chunk-CYMVZJHC.mjs} +2 -2
- package/dist/esm/chunk-CYMVZJHC.mjs.map +1 -0
- package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
- package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
- package/dist/esm/{chunk-HKVZ7CAG.mjs → chunk-DW3ETAZB.mjs} +2 -2
- package/dist/esm/chunk-DW3ETAZB.mjs.map +1 -0
- package/dist/esm/{chunk-AJ5JHBAE.mjs → chunk-EBMEXURY.mjs} +2 -2
- package/dist/esm/chunk-EBMEXURY.mjs.map +1 -0
- package/dist/esm/{chunk-4IQZOAN7.mjs → chunk-EBS4BKER.mjs} +2 -2
- package/dist/esm/chunk-EBS4BKER.mjs.map +1 -0
- package/dist/esm/{chunk-VAKNMHOA.mjs → chunk-ECZYQTNN.mjs} +2 -2
- package/dist/esm/chunk-ECZYQTNN.mjs.map +1 -0
- package/dist/esm/chunk-EMURYYVO.mjs +2 -0
- package/dist/esm/chunk-EMURYYVO.mjs.map +1 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs +2 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
- package/dist/esm/chunk-FC2IYWI7.mjs +2 -0
- package/dist/esm/chunk-FC2IYWI7.mjs.map +1 -0
- package/dist/esm/chunk-FKJ3GCBI.mjs +2 -0
- package/dist/esm/chunk-FKJ3GCBI.mjs.map +1 -0
- package/dist/esm/{chunk-AKIO3OIT.mjs → chunk-FN4C3CKC.mjs} +2 -2
- package/dist/esm/chunk-FN4C3CKC.mjs.map +1 -0
- package/dist/esm/{chunk-6AEXQEO2.mjs → chunk-FNXO3URE.mjs} +2 -2
- package/dist/esm/chunk-FNXO3URE.mjs.map +1 -0
- package/dist/esm/{chunk-FH27D7S3.mjs → chunk-FQECACH3.mjs} +2 -2
- package/dist/esm/chunk-FQECACH3.mjs.map +1 -0
- package/dist/esm/{chunk-LK67PZX3.mjs → chunk-FQXEX2HN.mjs} +2 -2
- package/dist/esm/chunk-FQXEX2HN.mjs.map +1 -0
- package/dist/esm/{chunk-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
- package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
- package/dist/esm/{chunk-HULCIESG.mjs → chunk-GL4OJVYH.mjs} +2 -2
- package/dist/esm/chunk-GL4OJVYH.mjs.map +1 -0
- package/dist/esm/{chunk-GMKKHGXK.mjs → chunk-GOXRBEIJ.mjs} +1 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
- package/dist/esm/chunk-GP4TLDVZ.mjs +1 -0
- package/dist/esm/{chunk-ALOYOMRE.mjs → chunk-H3XZ3FZY.mjs} +2 -2
- package/dist/esm/{chunk-ALOYOMRE.mjs.map → chunk-H3XZ3FZY.mjs.map} +1 -1
- package/dist/esm/{chunk-O4MRRWRI.mjs → chunk-I7JGKVOC.mjs} +2 -2
- package/dist/esm/chunk-I7JGKVOC.mjs.map +1 -0
- package/dist/esm/{chunk-6Q2O5G3J.mjs → chunk-IF4UU2MT.mjs} +1 -1
- package/dist/esm/chunk-IF4UU2MT.mjs.map +1 -0
- package/dist/esm/{chunk-QN7AK5PU.mjs → chunk-IJ2QKE4W.mjs} +2 -2
- package/dist/esm/chunk-IJ2QKE4W.mjs.map +1 -0
- package/dist/esm/chunk-JJM6ELMS.mjs +2 -0
- package/dist/esm/chunk-JJM6ELMS.mjs.map +1 -0
- package/dist/esm/{chunk-TQA6HY6A.mjs → chunk-K2CSACQY.mjs} +2 -2
- package/dist/esm/chunk-K2CSACQY.mjs.map +1 -0
- package/dist/esm/{chunk-2D7OMWVL.mjs → chunk-KFCLSJC3.mjs} +2 -2
- package/dist/esm/chunk-KFGXOZ77.mjs +2 -0
- package/dist/esm/chunk-KFGXOZ77.mjs.map +1 -0
- package/dist/esm/{chunk-B5BXB2BB.mjs → chunk-KG23XFU2.mjs} +2 -2
- package/dist/esm/chunk-KG23XFU2.mjs.map +1 -0
- package/dist/esm/chunk-KNTAED2Z.mjs +2 -0
- package/dist/esm/chunk-KNTAED2Z.mjs.map +1 -0
- package/dist/esm/{chunk-4ZNSNWQL.mjs → chunk-KPLWOVKG.mjs} +2 -2
- package/dist/esm/chunk-KPLWOVKG.mjs.map +1 -0
- package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
- package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
- package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
- package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
- package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-N4VVDQA5.mjs} +2 -2
- package/dist/esm/chunk-N4VVDQA5.mjs.map +1 -0
- package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
- package/dist/esm/{chunk-OEM75TVE.mjs → chunk-NDUIXMIA.mjs} +2 -2
- package/dist/esm/chunk-NDUIXMIA.mjs.map +1 -0
- package/dist/esm/{chunk-FUC7SLH7.mjs → chunk-NW2WUKWV.mjs} +2 -2
- package/dist/esm/chunk-NW2WUKWV.mjs.map +1 -0
- package/dist/esm/{chunk-I3452DF5.mjs → chunk-ODEDSSQL.mjs} +2 -2
- package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
- package/dist/esm/{chunk-42H7WETG.mjs → chunk-ORMOQWWH.mjs} +2 -2
- package/dist/esm/chunk-ORMOQWWH.mjs.map +1 -0
- package/dist/esm/{chunk-JKA22FG5.mjs → chunk-P4VF7BN4.mjs} +2 -2
- package/dist/esm/chunk-P4VF7BN4.mjs.map +1 -0
- package/dist/esm/chunk-P54RNN4V.mjs +2 -0
- package/dist/esm/chunk-P54RNN4V.mjs.map +1 -0
- package/dist/esm/{chunk-D54FD6XE.mjs → chunk-PHJRCZQ3.mjs} +2 -2
- package/dist/esm/chunk-PHJRCZQ3.mjs.map +1 -0
- package/dist/esm/{chunk-YITOC4Z6.mjs → chunk-PNDCGNVH.mjs} +2 -2
- package/dist/esm/chunk-PNDCGNVH.mjs.map +1 -0
- package/dist/esm/{chunk-Y5HLXDYG.mjs → chunk-PTS3BTOU.mjs} +2 -2
- package/dist/esm/chunk-PTS3BTOU.mjs.map +1 -0
- package/dist/esm/{chunk-737YW3CY.mjs → chunk-PUNTBVRJ.mjs} +2 -2
- package/dist/esm/chunk-PUNTBVRJ.mjs.map +1 -0
- package/dist/esm/{chunk-MWNYODWU.mjs → chunk-Q2C6ZY5N.mjs} +2 -2
- package/dist/esm/chunk-Q2C6ZY5N.mjs.map +1 -0
- package/dist/esm/{chunk-R2YT2IM5.mjs → chunk-Q3VS6AEN.mjs} +2 -2
- package/dist/esm/{chunk-R2YT2IM5.mjs.map → chunk-Q3VS6AEN.mjs.map} +1 -1
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/chunk-R7QOPBWA.mjs +2 -0
- package/dist/esm/chunk-R7QOPBWA.mjs.map +1 -0
- package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
- package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
- package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/{chunk-OGBU52BQ.mjs → chunk-SOLQ5VON.mjs} +2 -2
- package/dist/esm/chunk-SOLQ5VON.mjs.map +1 -0
- package/dist/esm/{chunk-L3J2QVIY.mjs → chunk-SQR3AIY7.mjs} +2 -2
- package/dist/esm/chunk-SQR3AIY7.mjs.map +1 -0
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
- package/dist/esm/{chunk-YT3IP57B.mjs → chunk-SZRZ3HIL.mjs} +2 -2
- package/dist/esm/chunk-SZRZ3HIL.mjs.map +1 -0
- package/dist/esm/{chunk-QZT2M7UA.mjs → chunk-T6NQDM7D.mjs} +2 -2
- package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
- package/dist/esm/{chunk-ZMBXHMVQ.mjs → chunk-TOBQ5UE6.mjs} +2 -2
- package/dist/esm/chunk-TOBQ5UE6.mjs.map +1 -0
- package/dist/esm/{chunk-4ULPBQ3M.mjs → chunk-UF6SI2QE.mjs} +2 -2
- package/dist/esm/chunk-UF6SI2QE.mjs.map +1 -0
- package/dist/esm/chunk-UIRAXHDH.mjs +1 -0
- package/dist/esm/chunk-UIRAXHDH.mjs.map +1 -0
- package/dist/esm/{chunk-S3YVCCYI.mjs → chunk-UONSJQUV.mjs} +2 -2
- package/dist/esm/chunk-UONSJQUV.mjs.map +1 -0
- package/dist/esm/{chunk-S22QVNK7.mjs → chunk-UQ7D5CSM.mjs} +2 -2
- package/dist/esm/chunk-UQ7D5CSM.mjs.map +1 -0
- package/dist/esm/{chunk-5O3RHPER.mjs → chunk-UYONA6PP.mjs} +2 -2
- package/dist/esm/chunk-UYONA6PP.mjs.map +1 -0
- package/dist/esm/{chunk-A7TJF3BX.mjs → chunk-VCIJX6R4.mjs} +2 -2
- package/dist/esm/chunk-VCIJX6R4.mjs.map +1 -0
- package/dist/esm/{chunk-FSBEKFEF.mjs → chunk-VVAKGJDN.mjs} +2 -2
- package/dist/esm/chunk-VVAKGJDN.mjs.map +1 -0
- package/dist/esm/chunk-VZELORLW.mjs +2 -0
- package/dist/esm/chunk-VZELORLW.mjs.map +1 -0
- package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
- package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
- package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
- package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
- package/dist/esm/{chunk-XOOYRVFK.mjs → chunk-X3SO2LDX.mjs} +2 -2
- package/dist/esm/chunk-X3SO2LDX.mjs.map +1 -0
- package/dist/esm/{chunk-TTERI67T.mjs → chunk-XGF7UNEW.mjs} +2 -2
- package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
- package/dist/esm/chunk-XHPWHA6B.mjs +2 -0
- package/dist/esm/chunk-XHPWHA6B.mjs.map +1 -0
- package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-XIFIACCB.mjs} +2 -2
- package/dist/esm/chunk-XIFIACCB.mjs.map +1 -0
- package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
- package/dist/esm/{chunk-UGTIALNW.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
- package/dist/esm/{chunk-OPO5EYF7.mjs → chunk-XKUIMGKU.mjs} +2 -2
- package/dist/esm/chunk-XKUIMGKU.mjs.map +1 -0
- package/dist/esm/{chunk-7ZVXQAG4.mjs → chunk-XLFX2YQA.mjs} +2 -2
- package/dist/esm/chunk-XLFX2YQA.mjs.map +1 -0
- package/dist/esm/chunk-XTOIL6MB.mjs +2 -0
- package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
- package/dist/esm/{chunk-RV7PNWDY.mjs → chunk-Y6QTKAQO.mjs} +2 -2
- package/dist/esm/chunk-Y6QTKAQO.mjs.map +1 -0
- package/dist/esm/{chunk-HBIDHQ2M.mjs → chunk-YOZBVVKL.mjs} +1 -1
- package/dist/esm/chunk-YOZBVVKL.mjs.map +1 -0
- package/dist/esm/{chunk-QK32EQSF.mjs → chunk-YPGI5HAA.mjs} +2 -2
- package/dist/esm/chunk-YPGI5HAA.mjs.map +1 -0
- package/dist/esm/{chunk-GT7QFXER.mjs → chunk-ZJNPBHEI.mjs} +2 -2
- package/dist/esm/chunk-ZJNPBHEI.mjs.map +1 -0
- package/dist/esm/cli/index.d.mts +1 -0
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +20 -8
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +36 -0
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +5 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +34 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +2 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +38 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +1 -0
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +7 -0
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +1 -0
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +47 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +2 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/common.d.mts +14 -0
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +58 -5
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +24 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +14 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.d.mts +28 -0
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +3 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +132 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +42 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +39 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.d.mts +10 -0
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +10 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +3 -0
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +2 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +52 -3
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +7 -0
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +37 -2
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +3 -0
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +21 -0
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +3 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +1 -0
- package/dist/esm/errors/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 +25 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +28 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +4 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +32 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +6 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +6 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +9 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +8 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +7 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +3 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +6 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +4 -0
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +15 -0
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +17 -5
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +3 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/{publicKey-BVXX1nVl.d.mts → publicKey-BMtGNNLg.d.mts} +36 -0
- package/dist/esm/transactions/authenticator/account.d.mts +29 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +3 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +24 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +6 -3
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +9 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +9 -0
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +3 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +11 -0
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +9 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +31 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +8 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +11 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +9 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +17 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +49 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +20 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/asyncQueue.d.mts +16 -0
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +4 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +46 -7
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/scriptComposer/index.d.mts +47 -0
- package/dist/esm/transactions/scriptComposer/index.mjs +2 -0
- package/dist/esm/transactions/scriptComposer/index.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +65 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +4 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +37 -3
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +11 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +43 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +83 -0
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +9 -0
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +90 -2
- package/dist/esm/types/index.d.mts +1 -0
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +52 -0
- package/dist/esm/types/keyless.d.mts +12 -0
- package/dist/esm/types/types.d.mts +1 -0
- package/dist/esm/utils/apiEndpoints.d.mts +30 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.d.mts +24 -0
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +21 -0
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -0
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/memoize.d.mts +4 -0
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +9 -0
- 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 +10 -4
- package/src/account/AbstractKeylessAccount.ts +80 -9
- package/src/account/Account.ts +51 -6
- package/src/account/AccountUtils.ts +216 -0
- package/src/account/Ed25519Account.ts +26 -0
- package/src/account/EphemeralKeyPair.ts +30 -0
- package/src/account/FederatedKeylessAccount.ts +10 -3
- package/src/account/KeylessAccount.ts +13 -1
- package/src/account/MultiKeyAccount.ts +75 -12
- package/src/account/SingleKeyAccount.ts +63 -6
- package/src/account/index.ts +1 -0
- package/src/account/utils.ts +16 -0
- package/src/api/account.ts +22 -2
- package/src/api/ans.ts +15 -0
- package/src/api/aptos.ts +3 -0
- package/src/api/aptosConfig.ts +24 -0
- package/src/api/coin.ts +3 -0
- package/src/api/digitalAsset.ts +26 -0
- package/src/api/event.ts +6 -0
- package/src/api/faucet.ts +11 -2
- package/src/api/fungibleAsset.ts +8 -0
- package/src/api/general.ts +12 -0
- package/src/api/keyless.ts +6 -0
- package/src/api/object.ts +3 -0
- package/src/api/staking.ts +5 -0
- package/src/api/table.ts +5 -0
- package/src/api/transaction.ts +19 -3
- package/src/api/transactionSubmission/build.ts +89 -2
- package/src/api/transactionSubmission/helpers.ts +2 -0
- package/src/api/transactionSubmission/management.ts +5 -0
- package/src/api/transactionSubmission/sign.ts +4 -0
- package/src/api/transactionSubmission/simulate.ts +4 -0
- package/src/api/transactionSubmission/submit.ts +4 -0
- package/src/api/utils.ts +1 -0
- package/src/bcs/deserializer.ts +64 -2
- package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
- package/src/bcs/serializable/fixedBytes.ts +12 -0
- package/src/bcs/serializable/movePrimitives.ts +26 -0
- package/src/bcs/serializable/moveStructs.ts +56 -0
- package/src/bcs/serializer.ts +64 -1
- package/src/cli/localNode.ts +22 -8
- package/src/cli/move.ts +42 -0
- package/src/client/core.ts +4 -0
- package/src/client/get.ts +75 -1
- package/src/client/post.ts +37 -0
- package/src/core/account/utils/address.ts +6 -0
- package/src/core/accountAddress.ts +46 -0
- package/src/core/authenticationKey.ts +22 -0
- package/src/core/common.ts +14 -0
- package/src/core/crypto/ed25519.ts +58 -4
- package/src/core/crypto/ephemeral.ts +22 -0
- package/src/core/crypto/federatedKeyless.ts +12 -0
- package/src/core/crypto/hdKey.ts +29 -0
- package/src/core/crypto/keyless.ts +134 -0
- package/src/core/crypto/multiEd25519.ts +40 -0
- package/src/core/crypto/multiKey.ts +37 -1
- package/src/core/crypto/poseidon.ts +20 -0
- package/src/core/crypto/privateKey.ts +17 -8
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +62 -5
- package/src/core/crypto/signature.ts +8 -0
- package/src/core/crypto/singleKey.ts +34 -2
- package/src/core/crypto/utils.ts +2 -0
- package/src/core/hex.ts +20 -0
- package/src/internal/account.ts +27 -7
- package/src/internal/ans.ts +27 -0
- package/src/internal/coin.ts +1 -0
- package/src/internal/digitalAsset.ts +30 -0
- package/src/internal/event.ts +6 -0
- package/src/internal/faucet.ts +5 -0
- package/src/internal/fungibleAsset.ts +5 -0
- package/src/internal/general.ts +7 -0
- package/src/internal/keyless.ts +4 -0
- package/src/internal/object.ts +2 -0
- package/src/internal/staking.ts +5 -1
- package/src/internal/table.ts +3 -0
- package/src/internal/transaction.ts +16 -0
- package/src/internal/transactionSubmission.ts +15 -2
- package/src/transactions/authenticator/account.ts +26 -0
- package/src/transactions/authenticator/transaction.ts +20 -0
- package/src/transactions/index.ts +1 -0
- package/src/transactions/instances/chainId.ts +8 -0
- package/src/transactions/instances/identifier.ts +8 -0
- package/src/transactions/instances/moduleId.ts +10 -0
- package/src/transactions/instances/multiAgentTransaction.ts +8 -0
- package/src/transactions/instances/rawTransaction.ts +30 -0
- package/src/transactions/instances/rotationProofChallenge.ts +6 -0
- package/src/transactions/instances/signedTransaction.ts +8 -0
- package/src/transactions/instances/simpleTransaction.ts +8 -0
- package/src/transactions/instances/transactionArgument.ts +16 -0
- package/src/transactions/instances/transactionPayload.ts +50 -0
- package/src/transactions/management/accountSequenceNumber.ts +16 -0
- package/src/transactions/management/asyncQueue.ts +16 -0
- package/src/transactions/management/transactionWorker.ts +42 -5
- package/src/transactions/scriptComposer/index.ts +86 -0
- package/src/transactions/transactionBuilder/helpers.ts +82 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +75 -1
- package/src/transactions/transactionBuilder/signingMessage.ts +10 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +58 -0
- package/src/transactions/typeTag/index.ts +82 -0
- package/src/transactions/typeTag/parser.ts +24 -0
- package/src/transactions/types.ts +89 -0
- package/src/types/index.ts +1 -0
- package/src/types/indexer.ts +52 -0
- package/src/types/keyless.ts +12 -0
- package/src/utils/apiEndpoints.ts +30 -2
- package/src/utils/const.ts +24 -1
- package/src/utils/helpers.ts +22 -0
- package/src/utils/memoize.ts +6 -0
- package/src/utils/normalizeBundle.ts +8 -1
- package/src/version.ts +1 -1
- package/dist/common/chunk-F43XVDYJ.js.map +0 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-476F5NJ6.mjs.map +0 -1
- package/dist/esm/chunk-4IQZOAN7.mjs.map +0 -1
- package/dist/esm/chunk-4O5XDQDO.mjs +0 -2
- package/dist/esm/chunk-4O5XDQDO.mjs.map +0 -1
- package/dist/esm/chunk-4ULPBQ3M.mjs.map +0 -1
- package/dist/esm/chunk-4ZNSNWQL.mjs.map +0 -1
- package/dist/esm/chunk-5B3SMBXQ.mjs +0 -2
- package/dist/esm/chunk-5B3SMBXQ.mjs.map +0 -1
- package/dist/esm/chunk-5O3RHPER.mjs.map +0 -1
- package/dist/esm/chunk-5XLZACVT.mjs.map +0 -1
- package/dist/esm/chunk-64IZ5PQR.mjs.map +0 -1
- package/dist/esm/chunk-6AEXQEO2.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-737YW3CY.mjs.map +0 -1
- package/dist/esm/chunk-7ZA434Z3.mjs +0 -2
- package/dist/esm/chunk-7ZA434Z3.mjs.map +0 -1
- package/dist/esm/chunk-7ZVXQAG4.mjs.map +0 -1
- package/dist/esm/chunk-A3USS2NC.mjs.map +0 -1
- package/dist/esm/chunk-A7TJF3BX.mjs.map +0 -1
- package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
- package/dist/esm/chunk-AITN3DO4.mjs +0 -2
- package/dist/esm/chunk-AITN3DO4.mjs.map +0 -1
- package/dist/esm/chunk-AJ5JHBAE.mjs.map +0 -1
- package/dist/esm/chunk-AKIO3OIT.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
- package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
- package/dist/esm/chunk-B5BXB2BB.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BWV6OYLG.mjs.map +0 -1
- package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
- package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
- package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
- package/dist/esm/chunk-D52UKPQF.mjs +0 -2
- package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
- package/dist/esm/chunk-D54FD6XE.mjs.map +0 -1
- package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
- package/dist/esm/chunk-FH27D7S3.mjs.map +0 -1
- package/dist/esm/chunk-FSBEKFEF.mjs.map +0 -1
- package/dist/esm/chunk-FUC7SLH7.mjs.map +0 -1
- package/dist/esm/chunk-GAEAYY44.mjs +0 -1
- package/dist/esm/chunk-GMKKHGXK.mjs.map +0 -1
- package/dist/esm/chunk-GT7QFXER.mjs.map +0 -1
- package/dist/esm/chunk-H7PDLUNP.mjs +0 -2
- package/dist/esm/chunk-H7PDLUNP.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HKVZ7CAG.mjs.map +0 -1
- package/dist/esm/chunk-HULCIESG.mjs.map +0 -1
- package/dist/esm/chunk-I3452DF5.mjs.map +0 -1
- package/dist/esm/chunk-I5OYNCZS.mjs +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JKA22FG5.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-JUQBFGUD.mjs.map +0 -1
- package/dist/esm/chunk-JYGAG754.mjs +0 -2
- package/dist/esm/chunk-JYGAG754.mjs.map +0 -1
- package/dist/esm/chunk-KKLF7DQV.mjs.map +0 -1
- package/dist/esm/chunk-KPPM2BSC.mjs.map +0 -1
- package/dist/esm/chunk-L3J2QVIY.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LK67PZX3.mjs.map +0 -1
- package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
- package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
- package/dist/esm/chunk-LWXBEIFO.mjs +0 -2
- package/dist/esm/chunk-LWXBEIFO.mjs.map +0 -1
- package/dist/esm/chunk-LZ5PSDOS.mjs.map +0 -1
- package/dist/esm/chunk-MCWOKFVH.mjs +0 -2
- package/dist/esm/chunk-MCWOKFVH.mjs.map +0 -1
- package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
- package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
- package/dist/esm/chunk-MV5PGWJQ.mjs +0 -2
- package/dist/esm/chunk-MV5PGWJQ.mjs.map +0 -1
- package/dist/esm/chunk-MWNYODWU.mjs.map +0 -1
- package/dist/esm/chunk-O4MRRWRI.mjs.map +0 -1
- package/dist/esm/chunk-OEM75TVE.mjs.map +0 -1
- package/dist/esm/chunk-OGBU52BQ.mjs.map +0 -1
- package/dist/esm/chunk-OIOGOW6I.mjs.map +0 -1
- package/dist/esm/chunk-OPO5EYF7.mjs.map +0 -1
- package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
- package/dist/esm/chunk-P74XXLE4.mjs.map +0 -1
- package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
- package/dist/esm/chunk-QK32EQSF.mjs.map +0 -1
- package/dist/esm/chunk-QLC7SSLJ.mjs +0 -2
- package/dist/esm/chunk-QLC7SSLJ.mjs.map +0 -1
- package/dist/esm/chunk-QN7AK5PU.mjs.map +0 -1
- package/dist/esm/chunk-QZT2M7UA.mjs.map +0 -1
- package/dist/esm/chunk-RV7PNWDY.mjs.map +0 -1
- package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
- package/dist/esm/chunk-S3YVCCYI.mjs.map +0 -1
- package/dist/esm/chunk-SMFTISPN.mjs +0 -2
- package/dist/esm/chunk-SMFTISPN.mjs.map +0 -1
- package/dist/esm/chunk-SPRNSFUV.mjs.map +0 -1
- package/dist/esm/chunk-T6ADNZE5.mjs.map +0 -1
- package/dist/esm/chunk-TQA6HY6A.mjs.map +0 -1
- package/dist/esm/chunk-TTERI67T.mjs.map +0 -1
- package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
- package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
- package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
- package/dist/esm/chunk-V5NDNR36.mjs +0 -2
- package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
- package/dist/esm/chunk-VAKNMHOA.mjs.map +0 -1
- package/dist/esm/chunk-VELQA2Y3.mjs +0 -2
- package/dist/esm/chunk-VELQA2Y3.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-WTWWJWKC.mjs +0 -2
- package/dist/esm/chunk-WTWWJWKC.mjs.map +0 -1
- package/dist/esm/chunk-WXLSHECY.mjs.map +0 -1
- package/dist/esm/chunk-XOOYRVFK.mjs.map +0 -1
- package/dist/esm/chunk-XVPWTWPY.mjs.map +0 -1
- package/dist/esm/chunk-Y5HLXDYG.mjs.map +0 -1
- package/dist/esm/chunk-YITOC4Z6.mjs.map +0 -1
- package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
- package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- /package/dist/esm/{chunk-FD6FGKYY.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/utils.mjs.map} +0 -0
- /package/dist/esm/{chunk-I5OYNCZS.mjs.map → chunk-GP4TLDVZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-2D7OMWVL.mjs.map → chunk-KFCLSJC3.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-CDYLZDD2.mjs";import"../chunk-CYMVZJHC.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CWRANLXZ.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-IJ2QKE4W.mjs";import"../chunk-XHPWHA6B.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-UYONA6PP.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-P54RNN4V.mjs";import"../chunk-UQ7D5CSM.mjs";import"../chunk-YPGI5HAA.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-7HLNV3QL.mjs";import"../chunk-VZELORLW.mjs";import"../chunk-AD3A7DTH.mjs";import"../chunk-R7QOPBWA.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-BFIXIXHO.mjs";import"../chunk-SQR3AIY7.mjs";import"../chunk-KFGXOZ77.mjs";import"../chunk-FC2IYWI7.mjs";import"../chunk-K2CSACQY.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-XIFIACCB.mjs";import"../chunk-6IPM5P4L.mjs";import"../chunk-I7JGKVOC.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-6XHBRRS6.mjs";import"../chunk-NDUIXMIA.mjs";import"../chunk-EBS4BKER.mjs";import"../chunk-PHJRCZQ3.mjs";import"../chunk-67ZANQ3R.mjs";import"../chunk-G4O6FXCF.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N4DM5FYH.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-67BUAZ6O.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-3XH3NNSR.mjs";import"../chunk-4ZJJINCW.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-NW2WUKWV.mjs";import"../chunk-KG23XFU2.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{c as deriveKeylessAccount,a as getPepper,b as getProof,d as updateFederatedKeylessJwkSetTransaction};
|
|
2
2
|
//# sourceMappingURL=keyless.mjs.map
|
|
@@ -6,6 +6,7 @@ import { CurrentObjectsBoolExp } from '../types/generated/types.mjs';
|
|
|
6
6
|
import '../utils/apiEndpoints.mjs';
|
|
7
7
|
import '../utils/const.mjs';
|
|
8
8
|
import '../types/generated/operations.mjs';
|
|
9
|
+
import '@aptos-labs/script-composer-pack';
|
|
9
10
|
import '../bcs/serializer.mjs';
|
|
10
11
|
import '../core/hex.mjs';
|
|
11
12
|
import '../core/common.mjs';
|
|
@@ -23,6 +24,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
23
24
|
* @param [args.options.orderBy] - The criteria for ordering the results.
|
|
24
25
|
* @param [args.options.where] - The conditions to filter the results.
|
|
25
26
|
* @returns The current objects that match the specified criteria.
|
|
27
|
+
* @group Implementation
|
|
26
28
|
*/
|
|
27
29
|
declare function getObjectData(args: {
|
|
28
30
|
aptosConfig: AptosConfig;
|
|
@@ -36,6 +38,7 @@ declare function getObjectData(args: {
|
|
|
36
38
|
* @param args.aptosConfig - The configuration for connecting to the Aptos blockchain.
|
|
37
39
|
* @param args.objectAddress - The address of the object whose data is being retrieved.
|
|
38
40
|
* @param args.options - Optional parameters for pagination and ordering of the results.
|
|
41
|
+
* @group Implementation
|
|
39
42
|
*/
|
|
40
43
|
declare function getObjectDataByObjectAddress(args: {
|
|
41
44
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-KPLWOVKG.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-3XH3NNSR.mjs";import"../chunk-4ZJJINCW.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-NW2WUKWV.mjs";import"../chunk-KG23XFU2.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{a as getObjectData,b as getObjectDataByObjectAddress};
|
|
2
2
|
//# sourceMappingURL=object.mjs.map
|
|
@@ -6,6 +6,7 @@ import '../utils/apiEndpoints.mjs';
|
|
|
6
6
|
import '../utils/const.mjs';
|
|
7
7
|
import '../types/generated/operations.mjs';
|
|
8
8
|
import '../types/generated/types.mjs';
|
|
9
|
+
import '@aptos-labs/script-composer-pack';
|
|
9
10
|
import '../bcs/serializer.mjs';
|
|
10
11
|
import '../core/hex.mjs';
|
|
11
12
|
import '../core/common.mjs';
|
|
@@ -16,7 +17,8 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
16
17
|
* This file contains the underlying implementations for exposed API surface in
|
|
17
18
|
* the {@link api/staking}. By moving the methods out into a separate file,
|
|
18
19
|
* other namespaces and processes can access these methods without depending on the entire
|
|
19
|
-
*
|
|
20
|
+
* staking namespace and without having a dependency cycle error.
|
|
21
|
+
* @group Implementation
|
|
20
22
|
*/
|
|
21
23
|
|
|
22
24
|
/**
|
|
@@ -26,6 +28,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
26
28
|
* @param args.aptosConfig - The configuration object for Aptos.
|
|
27
29
|
* @param args.poolAddress - The address of the pool for which to retrieve the number of delegators.
|
|
28
30
|
* @returns The number of active delegators for the specified pool address.
|
|
31
|
+
* @group Implementation
|
|
29
32
|
*/
|
|
30
33
|
declare function getNumberOfDelegators(args: {
|
|
31
34
|
aptosConfig: AptosConfig;
|
|
@@ -39,6 +42,7 @@ declare function getNumberOfDelegators(args: {
|
|
|
39
42
|
* @param [args.options] - Optional parameters for ordering the results.
|
|
40
43
|
* @param args.options.orderBy - Specifies the order in which to return the results.
|
|
41
44
|
* @returns The number of active delegators per pool.
|
|
45
|
+
* @group Implementation
|
|
42
46
|
*/
|
|
43
47
|
declare function getNumberOfDelegatorsForAllPools(args: {
|
|
44
48
|
aptosConfig: AptosConfig;
|
|
@@ -52,6 +56,7 @@ declare function getNumberOfDelegatorsForAllPools(args: {
|
|
|
52
56
|
* @param args.delegatorAddress - The address of the delegator whose activities are being queried.
|
|
53
57
|
* @param args.poolAddress - The address of the pool associated with the delegated staking activities.
|
|
54
58
|
* @returns The delegated staking activities for the specified delegator and pool.
|
|
59
|
+
* @group Implementation
|
|
55
60
|
*/
|
|
56
61
|
declare function getDelegatedStakingActivities(args: {
|
|
57
62
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-CGTHWGSJ.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-3XH3NNSR.mjs";import"../chunk-4ZJJINCW.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-NW2WUKWV.mjs";import"../chunk-KG23XFU2.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{c as getDelegatedStakingActivities,a as getNumberOfDelegators,b as getNumberOfDelegatorsForAllPools};
|
|
2
2
|
//# sourceMappingURL=staking.mjs.map
|
|
@@ -5,6 +5,7 @@ import { TableItemsBoolExp, TableMetadatasBoolExp } from '../types/generated/typ
|
|
|
5
5
|
import '../utils/apiEndpoints.mjs';
|
|
6
6
|
import '../utils/const.mjs';
|
|
7
7
|
import '../types/generated/operations.mjs';
|
|
8
|
+
import '@aptos-labs/script-composer-pack';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Retrieves a specific item from a table in the Aptos blockchain.
|
|
@@ -14,6 +15,7 @@ import '../types/generated/operations.mjs';
|
|
|
14
15
|
* @param args.handle - The identifier for the table from which to retrieve the item.
|
|
15
16
|
* @param args.data - The request data for the table item.
|
|
16
17
|
* @param args.options - Optional parameters for the request, including ledger version.
|
|
18
|
+
* @group Implementation
|
|
17
19
|
*/
|
|
18
20
|
declare function getTableItem<T>(args: {
|
|
19
21
|
aptosConfig: AptosConfig;
|
|
@@ -31,6 +33,7 @@ declare function getTableItem<T>(args: {
|
|
|
31
33
|
* @param args.options.limit - The maximum number of items to return.
|
|
32
34
|
* @param args.options.where - Conditions to filter the table items.
|
|
33
35
|
* @param args.options.orderBy - The criteria to sort the results.
|
|
36
|
+
* @group Implementation
|
|
34
37
|
*/
|
|
35
38
|
declare function getTableItemsData(args: {
|
|
36
39
|
aptosConfig: AptosConfig;
|
|
@@ -54,6 +57,7 @@ declare function getTableItemsData(args: {
|
|
|
54
57
|
* @param args.options.where - Conditions to filter the results.
|
|
55
58
|
* @param args.options.orderBy - The order in which to return the results.
|
|
56
59
|
* @returns A promise that resolves to an array of table metadata.
|
|
60
|
+
* @group Implementation
|
|
57
61
|
*/
|
|
58
62
|
declare function getTableItemsMetadata(args: {
|
|
59
63
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-UQ7D5CSM.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{a as getTableItem,b as getTableItemsData,c as getTableItemsMetadata};
|
|
2
2
|
//# sourceMappingURL=table.mjs.map
|
|
@@ -5,12 +5,14 @@ import '../utils/apiEndpoints.mjs';
|
|
|
5
5
|
import '../types/indexer.mjs';
|
|
6
6
|
import '../types/generated/operations.mjs';
|
|
7
7
|
import '../types/generated/types.mjs';
|
|
8
|
+
import '@aptos-labs/script-composer-pack';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* This file contains the underlying implementations for exposed API surface in
|
|
11
12
|
* the {@link api/transaction}. By moving the methods out into a separate file,
|
|
12
13
|
* other namespaces and processes can access these methods without depending on the entire
|
|
13
14
|
* transaction namespace and without having a dependency cycle error.
|
|
15
|
+
* @group Implementation
|
|
14
16
|
*/
|
|
15
17
|
|
|
16
18
|
/**
|
|
@@ -21,6 +23,7 @@ import '../types/generated/types.mjs';
|
|
|
21
23
|
* @param {Object} args.options - The options for pagination.
|
|
22
24
|
* @param {number} args.options.offset - The number of transactions to skip before starting to collect the result set.
|
|
23
25
|
* @param {number} args.options.limit - The maximum number of transactions to return.
|
|
26
|
+
* @group Implementation
|
|
24
27
|
*/
|
|
25
28
|
declare function getTransactions(args: {
|
|
26
29
|
aptosConfig: AptosConfig;
|
|
@@ -32,6 +35,7 @@ declare function getTransactions(args: {
|
|
|
32
35
|
*
|
|
33
36
|
* @param args - The configuration parameters for the Aptos network.
|
|
34
37
|
* @param args.aptosConfig - The configuration object containing network details.
|
|
38
|
+
* @group Implementation
|
|
35
39
|
*/
|
|
36
40
|
declare function getGasPriceEstimation(args: {
|
|
37
41
|
aptosConfig: AptosConfig;
|
|
@@ -43,6 +47,7 @@ declare function getGasPriceEstimation(args: {
|
|
|
43
47
|
* @param args.aptosConfig - The configuration settings for the Aptos client.
|
|
44
48
|
* @param args.ledgerVersion - The ledger version for which to retrieve the transaction.
|
|
45
49
|
* @returns The transaction details for the specified ledger version.
|
|
50
|
+
* @group Implementation
|
|
46
51
|
*/
|
|
47
52
|
declare function getTransactionByVersion(args: {
|
|
48
53
|
aptosConfig: AptosConfig;
|
|
@@ -55,6 +60,7 @@ declare function getTransactionByVersion(args: {
|
|
|
55
60
|
* @param args.aptosConfig - The configuration settings for the Aptos client.
|
|
56
61
|
* @param args.transactionHash - The hash of the transaction to retrieve.
|
|
57
62
|
* @returns A promise that resolves to the transaction details.
|
|
63
|
+
* @group Implementation
|
|
58
64
|
*/
|
|
59
65
|
declare function getTransactionByHash(args: {
|
|
60
66
|
aptosConfig: AptosConfig;
|
|
@@ -69,6 +75,7 @@ declare function getTransactionByHash(args: {
|
|
|
69
75
|
* @param args.transactionHash - The hash of the transaction to check.
|
|
70
76
|
* @returns A boolean indicating whether the transaction is pending.
|
|
71
77
|
* @throws An error if the transaction cannot be retrieved due to reasons other than a 404 status.
|
|
78
|
+
* @group Implementation
|
|
72
79
|
*/
|
|
73
80
|
declare function isTransactionPending(args: {
|
|
74
81
|
aptosConfig: AptosConfig;
|
|
@@ -81,6 +88,7 @@ declare function isTransactionPending(args: {
|
|
|
81
88
|
* @param args - The arguments for the function.
|
|
82
89
|
* @param args.aptosConfig - The configuration settings for the Aptos client.
|
|
83
90
|
* @param args.transactionHash - The hash of the transaction to wait for.
|
|
91
|
+
* @group Implementation
|
|
84
92
|
*/
|
|
85
93
|
declare function longWaitForTransaction(args: {
|
|
86
94
|
aptosConfig: AptosConfig;
|
|
@@ -99,6 +107,7 @@ declare function longWaitForTransaction(args: {
|
|
|
99
107
|
* @returns A promise that resolves to the transaction response once the transaction is confirmed.
|
|
100
108
|
* @throws WaitForTransactionError if the transaction times out or remains pending.
|
|
101
109
|
* @throws FailedTransactionError if the transaction fails.
|
|
110
|
+
* @group Implementation
|
|
102
111
|
*/
|
|
103
112
|
declare function waitForTransaction(args: {
|
|
104
113
|
aptosConfig: AptosConfig;
|
|
@@ -112,6 +121,7 @@ declare function waitForTransaction(args: {
|
|
|
112
121
|
* @param args.aptosConfig - The configuration object for Aptos.
|
|
113
122
|
* @param args.minimumLedgerVersion - The minimum ledger version that the indexer should sync to.
|
|
114
123
|
* @param args.processorType - (Optional) The type of processor to check the last success version from.
|
|
124
|
+
* @group Implementation
|
|
115
125
|
*/
|
|
116
126
|
declare function waitForIndexer(args: {
|
|
117
127
|
aptosConfig: AptosConfig;
|
|
@@ -125,6 +135,7 @@ declare function waitForIndexer(args: {
|
|
|
125
135
|
*
|
|
126
136
|
* @param message - A descriptive message for the error.
|
|
127
137
|
* @param lastSubmittedTransaction - The last submitted transaction response, if available.
|
|
138
|
+
* @group Implementation
|
|
128
139
|
*/
|
|
129
140
|
declare class WaitForTransactionError extends Error {
|
|
130
141
|
readonly lastSubmittedTransaction: TransactionResponse | undefined;
|
|
@@ -133,6 +144,7 @@ declare class WaitForTransactionError extends Error {
|
|
|
133
144
|
*
|
|
134
145
|
* @param message - The message associated with the transaction.
|
|
135
146
|
* @param lastSubmittedTransaction - The transaction response object containing details about the transaction.
|
|
147
|
+
* @group Implementation
|
|
136
148
|
*/
|
|
137
149
|
constructor(message: string, lastSubmittedTransaction: TransactionResponse | undefined);
|
|
138
150
|
}
|
|
@@ -142,6 +154,7 @@ declare class WaitForTransactionError extends Error {
|
|
|
142
154
|
*
|
|
143
155
|
* @param message - A description of the error.
|
|
144
156
|
* @param transaction - The transaction response associated with the failure.
|
|
157
|
+
* @group Implementation
|
|
145
158
|
*/
|
|
146
159
|
declare class FailedTransactionError extends Error {
|
|
147
160
|
readonly transaction: TransactionResponse;
|
|
@@ -156,6 +169,7 @@ declare class FailedTransactionError extends Error {
|
|
|
156
169
|
* @param args.ledgerVersion - The ledger version of the block to retrieve.
|
|
157
170
|
* @param args.options - Optional parameters for the request.
|
|
158
171
|
* @param args.options.withTransactions - Indicates whether to include transactions in the block data.
|
|
172
|
+
* @group Implementation
|
|
159
173
|
*/
|
|
160
174
|
declare function getBlockByVersion(args: {
|
|
161
175
|
aptosConfig: AptosConfig;
|
|
@@ -173,6 +187,7 @@ declare function getBlockByVersion(args: {
|
|
|
173
187
|
* @param args.options - Optional parameters for the request.
|
|
174
188
|
* @param args.options.withTransactions - Indicates whether to include transactions in the block data.
|
|
175
189
|
* @returns A promise that resolves to the block data, potentially including its transactions.
|
|
190
|
+
* @group Implementation
|
|
176
191
|
*/
|
|
177
192
|
declare function getBlockByHeight(args: {
|
|
178
193
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-YPGI5HAA.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{j as FailedTransactionError,i as WaitForTransactionError,l as getBlockByHeight,k as getBlockByVersion,b as getGasPriceEstimation,d as getTransactionByHash,c as getTransactionByVersion,a as getTransactions,e as isTransactionPending,f as longWaitForTransaction,h as waitForIndexer,g as waitForTransaction};
|
|
2
2
|
//# sourceMappingURL=transaction.mjs.map
|
|
@@ -2,8 +2,8 @@ import { AptosConfig } from '../api/aptosConfig.mjs';
|
|
|
2
2
|
import { AccountAuthenticator } from '../transactions/authenticator/account.mjs';
|
|
3
3
|
import { UserTransactionResponse, PendingTransactionResponse, HexInput, TransactionResponse } from '../types/types.mjs';
|
|
4
4
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
5
|
-
import {
|
|
6
|
-
import { A as Account } from '../Ed25519Account-
|
|
5
|
+
import { PrivateKeyInput } from '../core/crypto/singleKey.mjs';
|
|
6
|
+
import { A as Account } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
7
7
|
import { InputGenerateSingleSignerRawTransactionData, InputGenerateMultiAgentRawTransactionData, InputGenerateTransactionData, AnyTransactionPayloadInstance, AnyRawTransaction, InputSimulateTransactionData, InputSubmitTransactionData, InputGenerateTransactionOptions } from '../transactions/types.mjs';
|
|
8
8
|
import { SimpleTransaction } from '../transactions/instances/simpleTransaction.mjs';
|
|
9
9
|
import { MultiAgentTransaction } from '../transactions/instances/multiAgentTransaction.mjs';
|
|
@@ -12,17 +12,19 @@ import '../utils/const.mjs';
|
|
|
12
12
|
import '../types/indexer.mjs';
|
|
13
13
|
import '../types/generated/operations.mjs';
|
|
14
14
|
import '../types/generated/types.mjs';
|
|
15
|
+
import '@aptos-labs/script-composer-pack';
|
|
15
16
|
import '../bcs/deserializer.mjs';
|
|
16
17
|
import '../bcs/serializer.mjs';
|
|
17
18
|
import '../core/hex.mjs';
|
|
18
19
|
import '../core/common.mjs';
|
|
19
20
|
import '../core/crypto/ed25519.mjs';
|
|
20
|
-
import '../publicKey-
|
|
21
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
21
22
|
import '../core/crypto/signature.mjs';
|
|
23
|
+
import '../core/crypto/privateKey.mjs';
|
|
22
24
|
import '../transactions/instances/transactionArgument.mjs';
|
|
23
25
|
import '../core/crypto/multiEd25519.mjs';
|
|
24
26
|
import '../core/crypto/multiKey.mjs';
|
|
25
|
-
import '../core/crypto/
|
|
27
|
+
import '../core/crypto/secp256k1.mjs';
|
|
26
28
|
import '../bcs/serializable/moveStructs.mjs';
|
|
27
29
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
28
30
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
@@ -38,6 +40,7 @@ import '../transactions/typeTag/index.mjs';
|
|
|
38
40
|
* the {@link api/transaction}. By moving the methods out into a separate file,
|
|
39
41
|
* other namespaces and processes can access these methods without depending on the entire
|
|
40
42
|
* transaction namespace and without having a dependency cycle error.
|
|
43
|
+
* @group Implementation
|
|
41
44
|
*/
|
|
42
45
|
|
|
43
46
|
/**
|
|
@@ -45,6 +48,7 @@ import '../transactions/typeTag/index.mjs';
|
|
|
45
48
|
* These are the possible function signature for `generateTransaction` function.
|
|
46
49
|
* When we call `generateTransaction` function with the relevant type properties,
|
|
47
50
|
* Typescript can infer the return type based on the appropriate function overload.
|
|
51
|
+
* @group Implementation
|
|
48
52
|
*/
|
|
49
53
|
declare function generateTransaction(args: {
|
|
50
54
|
aptosConfig: AptosConfig;
|
|
@@ -61,6 +65,7 @@ declare function generateTransaction(args: {
|
|
|
61
65
|
* @param args.data - Input data required to generate the transaction payload, which may include bytecode, multisig address,
|
|
62
66
|
* function name, function arguments, type arguments, and ABI.
|
|
63
67
|
* @returns A promise that resolves to the generated transaction payload instance.
|
|
68
|
+
* @group Implementation
|
|
64
69
|
*/
|
|
65
70
|
declare function buildTransactionPayload(args: {
|
|
66
71
|
aptosConfig: AptosConfig;
|
|
@@ -74,6 +79,7 @@ declare function buildTransactionPayload(args: {
|
|
|
74
79
|
* @param args.sender - The address of the sender of the transaction.
|
|
75
80
|
* @param args.options - Additional options for the transaction.
|
|
76
81
|
* @param payload - The payload of the transaction, which defines the action to be performed.
|
|
82
|
+
* @group Implementation
|
|
77
83
|
*/
|
|
78
84
|
declare function buildRawTransaction(args: {
|
|
79
85
|
aptosConfig: AptosConfig;
|
|
@@ -87,6 +93,7 @@ declare function buildRawTransaction(args: {
|
|
|
87
93
|
* @param args.transaction - AnyRawTransaction, as generated by `generateTransaction()`.
|
|
88
94
|
*
|
|
89
95
|
* @returns The message to be signed.
|
|
96
|
+
* @group Implementation
|
|
90
97
|
*/
|
|
91
98
|
declare function getSigningMessage(args: {
|
|
92
99
|
transaction: AnyRawTransaction;
|
|
@@ -99,6 +106,7 @@ declare function getSigningMessage(args: {
|
|
|
99
106
|
* @param args.transaction An instance of a RawTransaction, plus optional secondary/fee payer addresses.
|
|
100
107
|
*
|
|
101
108
|
* @return The signer AccountAuthenticator.
|
|
109
|
+
* @group Implementation
|
|
102
110
|
*/
|
|
103
111
|
declare function signTransaction(args: {
|
|
104
112
|
signer: Account;
|
|
@@ -121,6 +129,7 @@ declare function signAsFeePayer(args: {
|
|
|
121
129
|
* @param args.options.estimateGasUnitPrice Optional. Indicates whether to estimate the gas unit price.
|
|
122
130
|
* @param args.options.estimateMaxGasAmount Optional. Indicates whether to estimate the maximum gas amount.
|
|
123
131
|
* @param args.options.estimatePrioritizedGasUnitPrice Optional. Indicates whether to estimate the prioritized gas unit price.
|
|
132
|
+
* @group Implementation
|
|
124
133
|
*/
|
|
125
134
|
declare function simulateTransaction(args: {
|
|
126
135
|
aptosConfig: AptosConfig;
|
|
@@ -135,6 +144,7 @@ declare function simulateTransaction(args: {
|
|
|
135
144
|
* @param args.secondarySignerAuthenticators - Optional. Authenticators for additional signers in a multi-signer transaction.
|
|
136
145
|
*
|
|
137
146
|
* @returns PendingTransactionResponse - The response containing the status of the submitted transaction.
|
|
147
|
+
* @group Implementation
|
|
138
148
|
*/
|
|
139
149
|
declare function submitTransaction(args: {
|
|
140
150
|
aptosConfig: AptosConfig;
|
|
@@ -170,6 +180,7 @@ declare function signAndSubmitAsFeePayer(args: {
|
|
|
170
180
|
* @param args.metadataBytes - The metadata associated with the package, represented as hexadecimal input.
|
|
171
181
|
* @param args.moduleBytecode - An array of module bytecode, each represented as hexadecimal input.
|
|
172
182
|
* @param args.options - Optional parameters for generating the transaction.
|
|
183
|
+
* @group Implementation
|
|
173
184
|
*/
|
|
174
185
|
declare function publicPackageTransaction(args: {
|
|
175
186
|
aptosConfig: AptosConfig;
|
|
@@ -190,11 +201,12 @@ declare function publicPackageTransaction(args: {
|
|
|
190
201
|
* This function requires the current authentication key and the new private key to sign a challenge that validates the rotation.
|
|
191
202
|
*
|
|
192
203
|
* TODO: Need to refactor and move this function out of transactionSubmission.
|
|
204
|
+
* @group Implementation
|
|
193
205
|
*/
|
|
194
206
|
declare function rotateAuthKey(args: {
|
|
195
207
|
aptosConfig: AptosConfig;
|
|
196
208
|
fromAccount: Account;
|
|
197
|
-
toNewPrivateKey:
|
|
209
|
+
toNewPrivateKey: PrivateKeyInput;
|
|
198
210
|
}): Promise<TransactionResponse>;
|
|
199
211
|
|
|
200
212
|
export { type FeePayerOrFeePayerAuthenticatorOrNeither, buildRawTransaction, buildTransactionPayload, generateTransaction, getSigningMessage, publicPackageTransaction, rotateAuthKey, signAndSubmitAsFeePayer, signAndSubmitTransaction, signAsFeePayer, signTransaction, simulateTransaction, submitTransaction };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-CYMVZJHC.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CWRANLXZ.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-IJ2QKE4W.mjs";import"../chunk-XHPWHA6B.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-UYONA6PP.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-P54RNN4V.mjs";import"../chunk-UQ7D5CSM.mjs";import"../chunk-YPGI5HAA.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-7HLNV3QL.mjs";import"../chunk-VZELORLW.mjs";import"../chunk-AD3A7DTH.mjs";import"../chunk-R7QOPBWA.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-BFIXIXHO.mjs";import"../chunk-SQR3AIY7.mjs";import"../chunk-KFGXOZ77.mjs";import"../chunk-FC2IYWI7.mjs";import"../chunk-K2CSACQY.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-XIFIACCB.mjs";import"../chunk-6IPM5P4L.mjs";import"../chunk-I7JGKVOC.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-6XHBRRS6.mjs";import"../chunk-NDUIXMIA.mjs";import"../chunk-EBS4BKER.mjs";import"../chunk-PHJRCZQ3.mjs";import"../chunk-67ZANQ3R.mjs";import"../chunk-G4O6FXCF.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N4DM5FYH.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-67BUAZ6O.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-3XH3NNSR.mjs";import"../chunk-4ZJJINCW.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-NW2WUKWV.mjs";import"../chunk-KG23XFU2.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{c as buildRawTransaction,b as buildTransactionPayload,a as generateTransaction,d as getSigningMessage,k as publicPackageTransaction,l as rotateAuthKey,j as signAndSubmitAsFeePayer,i as signAndSubmitTransaction,f as signAsFeePayer,e as signTransaction,g as simulateTransaction,h as submitTransaction};
|
|
2
2
|
//# sourceMappingURL=transactionSubmission.mjs.map
|
|
@@ -5,6 +5,7 @@ import '../types/indexer.mjs';
|
|
|
5
5
|
import '../types/generated/operations.mjs';
|
|
6
6
|
import '../types/generated/types.mjs';
|
|
7
7
|
import '../utils/apiEndpoints.mjs';
|
|
8
|
+
import '@aptos-labs/script-composer-pack';
|
|
8
9
|
import '../utils/const.mjs';
|
|
9
10
|
import '../bcs/serializable/moveStructs.mjs';
|
|
10
11
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
@@ -15,7 +16,7 @@ import '../core/common.mjs';
|
|
|
15
16
|
import '../transactions/instances/transactionArgument.mjs';
|
|
16
17
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
17
18
|
import '../core/accountAddress.mjs';
|
|
18
|
-
import '../publicKey-
|
|
19
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
19
20
|
import '../core/crypto/signature.mjs';
|
|
20
21
|
import '../transactions/instances/rawTransaction.mjs';
|
|
21
22
|
import '../transactions/instances/chainId.mjs';
|
|
@@ -29,6 +30,7 @@ import '../core/crypto/privateKey.mjs';
|
|
|
29
30
|
import '../core/crypto/multiEd25519.mjs';
|
|
30
31
|
import '../core/crypto/multiKey.mjs';
|
|
31
32
|
import '../core/crypto/singleKey.mjs';
|
|
33
|
+
import '../core/crypto/secp256k1.mjs';
|
|
32
34
|
import '../transactions/instances/simpleTransaction.mjs';
|
|
33
35
|
import '../transactions/instances/multiAgentTransaction.mjs';
|
|
34
36
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-KFCLSJC3.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CWRANLXZ.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-IJ2QKE4W.mjs";import"../chunk-XHPWHA6B.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-UYONA6PP.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-P54RNN4V.mjs";import"../chunk-UQ7D5CSM.mjs";import"../chunk-YPGI5HAA.mjs";import"../chunk-A3NEASNH.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-7HLNV3QL.mjs";import"../chunk-VZELORLW.mjs";import"../chunk-AD3A7DTH.mjs";import"../chunk-R7QOPBWA.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-BFIXIXHO.mjs";import"../chunk-SQR3AIY7.mjs";import"../chunk-KFGXOZ77.mjs";import"../chunk-FC2IYWI7.mjs";import"../chunk-K2CSACQY.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-XIFIACCB.mjs";import"../chunk-6IPM5P4L.mjs";import"../chunk-I7JGKVOC.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-6XHBRRS6.mjs";import"../chunk-NDUIXMIA.mjs";import"../chunk-EBS4BKER.mjs";import"../chunk-PHJRCZQ3.mjs";import"../chunk-67ZANQ3R.mjs";import"../chunk-G4O6FXCF.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N4DM5FYH.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-67BUAZ6O.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-3XH3NNSR.mjs";import"../chunk-4ZJJINCW.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-NW2WUKWV.mjs";import"../chunk-KG23XFU2.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SZRZ3HIL.mjs";import"../chunk-FKJ3GCBI.mjs";import"../chunk-CNCRJ56P.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-N4VVDQA5.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-AIABPCUF.mjs";import"../chunk-KDMSOCZY.mjs";export{a as view,b as viewJson};
|
|
2
2
|
//# sourceMappingURL=view.mjs.map
|
|
@@ -13,16 +13,22 @@ import { Signature } from './core/crypto/signature.mjs';
|
|
|
13
13
|
* @see {@link https://aptos.dev/concepts/accounts | Account Basics}
|
|
14
14
|
*
|
|
15
15
|
* Account addresses can be derived from the AuthenticationKey.
|
|
16
|
+
* @group Implementation
|
|
17
|
+
* @category Serialization
|
|
16
18
|
*/
|
|
17
19
|
declare class AuthenticationKey extends Serializable {
|
|
18
20
|
/**
|
|
19
21
|
* An authentication key is always a SHA3-256 hash of data, and is always 32 bytes.
|
|
20
22
|
*
|
|
21
23
|
* The data to hash depends on the underlying public key type and the derivation scheme.
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Serialization
|
|
22
26
|
*/
|
|
23
27
|
static readonly LENGTH: number;
|
|
24
28
|
/**
|
|
25
29
|
* The raw bytes of the authentication key.
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Serialization
|
|
26
32
|
*/
|
|
27
33
|
readonly data: Hex;
|
|
28
34
|
/**
|
|
@@ -33,6 +39,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
33
39
|
* @param args.data - The hex input data to be used for the Authentication Key.
|
|
34
40
|
* @throws {Error} Throws an error if the length of the provided hex input is not equal to the required Authentication Key
|
|
35
41
|
* length.
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Serialization
|
|
36
44
|
*/
|
|
37
45
|
constructor(args: {
|
|
38
46
|
data: HexInput;
|
|
@@ -41,12 +49,16 @@ declare class AuthenticationKey extends Serializable {
|
|
|
41
49
|
* Serializes the fixed bytes data into a format suitable for transmission or storage.
|
|
42
50
|
*
|
|
43
51
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
52
|
+
* @group Implementation
|
|
53
|
+
* @category Serialization
|
|
44
54
|
*/
|
|
45
55
|
serialize(serializer: Serializer): void;
|
|
46
56
|
/**
|
|
47
57
|
* Deserialize an AuthenticationKey from the byte buffer in a Deserializer instance.
|
|
48
58
|
* @param deserializer - The deserializer to deserialize the AuthenticationKey from.
|
|
49
59
|
* @returns An instance of AuthenticationKey.
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Serialization
|
|
50
62
|
*/
|
|
51
63
|
static deserialize(deserializer: Deserializer): AuthenticationKey;
|
|
52
64
|
/**
|
|
@@ -55,6 +67,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
55
67
|
* This function is useful for obtaining a byte representation of the data, which can be utilized for serialization or transmission.
|
|
56
68
|
*
|
|
57
69
|
* @returns Uint8Array representation of the internal data.
|
|
70
|
+
* @group Implementation
|
|
71
|
+
* @category Serialization
|
|
58
72
|
*/
|
|
59
73
|
toUint8Array(): Uint8Array;
|
|
60
74
|
/**
|
|
@@ -65,6 +79,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
65
79
|
* @param args.scheme - The authentication key scheme to use.
|
|
66
80
|
* @param args.input - The input data in hexadecimal format to derive the key.
|
|
67
81
|
* @returns An instance of AuthenticationKey containing the generated key data.
|
|
82
|
+
* @group Implementation
|
|
83
|
+
* @category Serialization
|
|
68
84
|
*/
|
|
69
85
|
static fromSchemeAndBytes(args: {
|
|
70
86
|
scheme: AuthenticationKeyScheme;
|
|
@@ -77,6 +93,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
77
93
|
* @param args - The arguments for deriving the authentication key.
|
|
78
94
|
* @param args.publicKey - The public key used for the derivation.
|
|
79
95
|
* @param args.scheme - The scheme to use for deriving the authentication key.
|
|
96
|
+
* @group Implementation
|
|
97
|
+
* @category Serialization
|
|
80
98
|
*/
|
|
81
99
|
static fromPublicKeyAndScheme(args: {
|
|
82
100
|
publicKey: AccountPublicKey;
|
|
@@ -88,6 +106,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
88
106
|
* @param args - The arguments for the function.
|
|
89
107
|
* @param args.publicKey - The PublicKey to be converted.
|
|
90
108
|
* @returns AuthenticationKey - The derived AuthenticationKey.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Serialization
|
|
91
111
|
*/
|
|
92
112
|
static fromPublicKey(args: {
|
|
93
113
|
publicKey: AccountPublicKey;
|
|
@@ -96,6 +116,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
96
116
|
* Derives an account address from an AuthenticationKey by translating the AuthenticationKey bytes directly to an AccountAddress.
|
|
97
117
|
*
|
|
98
118
|
* @returns AccountAddress - The derived account address.
|
|
119
|
+
* @group Implementation
|
|
120
|
+
* @category Serialization
|
|
99
121
|
*/
|
|
100
122
|
derivedAddress(): AccountAddress;
|
|
101
123
|
}
|
|
@@ -105,6 +127,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
105
127
|
*
|
|
106
128
|
* @param message - The original message that was signed.
|
|
107
129
|
* @param signature - The signature to be verified against the message.
|
|
130
|
+
* @group Implementation
|
|
131
|
+
* @category Serialization
|
|
108
132
|
*/
|
|
109
133
|
interface VerifySignatureArgs {
|
|
110
134
|
message: HexInput;
|
|
@@ -115,22 +139,30 @@ interface VerifySignatureArgs {
|
|
|
115
139
|
*
|
|
116
140
|
* This class provides a common interface for verifying signatures associated with the public key.
|
|
117
141
|
* It allows for the retrieval of the raw public key bytes and the public key in a hexadecimal string format.
|
|
142
|
+
* @group Implementation
|
|
143
|
+
* @category Serialization
|
|
118
144
|
*/
|
|
119
145
|
declare abstract class PublicKey extends Serializable {
|
|
120
146
|
/**
|
|
121
147
|
* Verifies that the private key associated with this public key signed the message with the given signature.
|
|
122
148
|
* @param args.message The message that was signed
|
|
123
149
|
* @param args.signature The signature to verify
|
|
150
|
+
* @group Implementation
|
|
151
|
+
* @category Serialization
|
|
124
152
|
*/
|
|
125
153
|
abstract verifySignature(args: VerifySignatureArgs): boolean;
|
|
126
154
|
/**
|
|
127
155
|
* Get the raw public key bytes
|
|
156
|
+
* @group Implementation
|
|
157
|
+
* @category Serialization
|
|
128
158
|
*/
|
|
129
159
|
toUint8Array(): Uint8Array;
|
|
130
160
|
/**
|
|
131
161
|
* Get the public key as a hex string with a 0x prefix.
|
|
132
162
|
*
|
|
133
163
|
* @returns The public key in hex format.
|
|
164
|
+
* @group Implementation
|
|
165
|
+
* @category Serialization
|
|
134
166
|
*/
|
|
135
167
|
toString(): string;
|
|
136
168
|
}
|
|
@@ -140,10 +172,14 @@ declare abstract class PublicKey extends Serializable {
|
|
|
140
172
|
* Provides a common interface for deriving an authentication key.
|
|
141
173
|
*
|
|
142
174
|
* @abstract
|
|
175
|
+
* @group Implementation
|
|
176
|
+
* @category Serialization
|
|
143
177
|
*/
|
|
144
178
|
declare abstract class AccountPublicKey extends PublicKey {
|
|
145
179
|
/**
|
|
146
180
|
* Get the authentication key associated with this public key
|
|
181
|
+
* @group Implementation
|
|
182
|
+
* @category Serialization
|
|
147
183
|
*/
|
|
148
184
|
abstract authKey(): AuthenticationKey;
|
|
149
185
|
}
|