@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,6 +1,6 @@
|
|
|
1
1
|
import { Deserializer } from '../../bcs/deserializer.mjs';
|
|
2
2
|
import { Serializer } from '../../bcs/serializer.mjs';
|
|
3
|
-
import { a as AccountPublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-
|
|
3
|
+
import { a as AccountPublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
4
4
|
import { Ed25519PublicKey, Ed25519Signature } from './ed25519.mjs';
|
|
5
5
|
import { Signature } from './signature.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
@@ -8,6 +8,7 @@ import '../../types/indexer.mjs';
|
|
|
8
8
|
import '../../types/generated/operations.mjs';
|
|
9
9
|
import '../../types/generated/types.mjs';
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
|
+
import '@aptos-labs/script-composer-pack';
|
|
11
12
|
import '../hex.mjs';
|
|
12
13
|
import '../common.mjs';
|
|
13
14
|
import '../accountAddress.mjs';
|
|
@@ -22,26 +23,38 @@ import './privateKey.mjs';
|
|
|
22
23
|
* for valid signatures.
|
|
23
24
|
*
|
|
24
25
|
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/ | Creating a Signed Transaction}
|
|
26
|
+
* @group Implementation
|
|
27
|
+
* @category Serialization
|
|
25
28
|
*/
|
|
26
29
|
declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
27
30
|
/**
|
|
28
31
|
* Maximum number of public keys supported
|
|
32
|
+
* @group Implementation
|
|
33
|
+
* @category Serialization
|
|
29
34
|
*/
|
|
30
35
|
static readonly MAX_KEYS = 32;
|
|
31
36
|
/**
|
|
32
37
|
* Minimum number of public keys needed
|
|
38
|
+
* @group Implementation
|
|
39
|
+
* @category Serialization
|
|
33
40
|
*/
|
|
34
41
|
static readonly MIN_KEYS = 2;
|
|
35
42
|
/**
|
|
36
43
|
* Minimum threshold for the number of valid signatures required
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Serialization
|
|
37
46
|
*/
|
|
38
47
|
static readonly MIN_THRESHOLD = 1;
|
|
39
48
|
/**
|
|
40
49
|
* List of Ed25519 public keys for this LegacyMultiEd25519PublicKey
|
|
50
|
+
* @group Implementation
|
|
51
|
+
* @category Serialization
|
|
41
52
|
*/
|
|
42
53
|
readonly publicKeys: Ed25519PublicKey[];
|
|
43
54
|
/**
|
|
44
55
|
* The minimum number of valid signatures required, for the number of public keys specified
|
|
56
|
+
* @group Implementation
|
|
57
|
+
* @category Serialization
|
|
45
58
|
*/
|
|
46
59
|
readonly threshold: number;
|
|
47
60
|
/**
|
|
@@ -54,6 +67,8 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
54
67
|
* @param args - A wrapper to let you choose the param order.
|
|
55
68
|
* @param args.publicKeys A list of public keys
|
|
56
69
|
* @param args.threshold At least "threshold" signatures must be valid
|
|
70
|
+
* @group Implementation
|
|
71
|
+
* @category Serialization
|
|
57
72
|
*/
|
|
58
73
|
constructor(args: {
|
|
59
74
|
publicKeys: Ed25519PublicKey[];
|
|
@@ -68,6 +83,8 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
68
83
|
* @param args.signature - The multi-signature containing multiple signatures and a bitmap indicating which signatures are valid.
|
|
69
84
|
* @returns True if the signature is valid; otherwise, false.
|
|
70
85
|
* @throws Error if the bitmap and signatures length mismatch or if there are not enough valid signatures.
|
|
86
|
+
* @group Implementation
|
|
87
|
+
* @category Serialization
|
|
71
88
|
*/
|
|
72
89
|
verifySignature(args: VerifySignatureArgs): boolean;
|
|
73
90
|
/**
|
|
@@ -75,10 +92,14 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
75
92
|
* This function is essential for creating a secure authentication key that can be used for various cryptographic operations.
|
|
76
93
|
*
|
|
77
94
|
* @returns {AuthenticationKey} The generated authentication key.
|
|
95
|
+
* @group Implementation
|
|
96
|
+
* @category Serialization
|
|
78
97
|
*/
|
|
79
98
|
authKey(): AuthenticationKey;
|
|
80
99
|
/**
|
|
81
100
|
* Converts a PublicKeys into Uint8Array (bytes) with: bytes = p1_bytes | ... | pn_bytes | threshold
|
|
101
|
+
* @group Implementation
|
|
102
|
+
* @category Serialization
|
|
82
103
|
*/
|
|
83
104
|
toUint8Array(): Uint8Array;
|
|
84
105
|
/**
|
|
@@ -86,6 +107,8 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
86
107
|
* This allows for the conversion of the instance's data into a format suitable for transmission or storage.
|
|
87
108
|
*
|
|
88
109
|
* @param serializer - The serializer used to convert the instance into bytes.
|
|
110
|
+
* @group Implementation
|
|
111
|
+
* @category Serialization
|
|
89
112
|
*/
|
|
90
113
|
serialize(serializer: Serializer): void;
|
|
91
114
|
/**
|
|
@@ -93,6 +116,8 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
93
116
|
* This function helps in reconstructing a MultiEd25519Signature object from its serialized byte representation.
|
|
94
117
|
*
|
|
95
118
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
119
|
+
* @group Implementation
|
|
120
|
+
* @category Serialization
|
|
96
121
|
*/
|
|
97
122
|
static deserialize(deserializer: Deserializer): MultiEd25519PublicKey;
|
|
98
123
|
}
|
|
@@ -100,24 +125,34 @@ declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
|
100
125
|
* Represents the signature of a K-of-N Ed25519 multi-sig transaction.
|
|
101
126
|
*
|
|
102
127
|
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/#multisignature-transactions | Creating a Signed Transaction}
|
|
128
|
+
* @group Implementation
|
|
129
|
+
* @category Serialization
|
|
103
130
|
*/
|
|
104
131
|
declare class MultiEd25519Signature extends Signature {
|
|
105
132
|
/**
|
|
106
133
|
* Maximum number of Ed25519 signatures supported
|
|
134
|
+
* @group Implementation
|
|
135
|
+
* @category Serialization
|
|
107
136
|
*/
|
|
108
137
|
static MAX_SIGNATURES_SUPPORTED: number;
|
|
109
138
|
/**
|
|
110
139
|
* Number of bytes in the bitmap representing who signed the transaction (32-bits)
|
|
140
|
+
* @group Implementation
|
|
141
|
+
* @category Serialization
|
|
111
142
|
*/
|
|
112
143
|
static BITMAP_LEN: number;
|
|
113
144
|
/**
|
|
114
145
|
* The list of underlying Ed25519 signatures
|
|
146
|
+
* @group Implementation
|
|
147
|
+
* @category Serialization
|
|
115
148
|
*/
|
|
116
149
|
readonly signatures: Ed25519Signature[];
|
|
117
150
|
/**
|
|
118
151
|
* 32-bit Bitmap representing who signed the transaction
|
|
119
152
|
*
|
|
120
153
|
* This is represented where each public key can be masked to determine whether the message was signed by that key.
|
|
154
|
+
* @group Implementation
|
|
155
|
+
* @category Serialization
|
|
121
156
|
*/
|
|
122
157
|
readonly bitmap: Uint8Array;
|
|
123
158
|
/**
|
|
@@ -132,6 +167,8 @@ declare class MultiEd25519Signature extends Signature {
|
|
|
132
167
|
* Alternatively, you can specify an array of bitmap positions.
|
|
133
168
|
* Valid position should range between 0 and 31.
|
|
134
169
|
* @see MultiEd25519Signature.createBitmap
|
|
170
|
+
* @group Implementation
|
|
171
|
+
* @category Serialization
|
|
135
172
|
*/
|
|
136
173
|
constructor(args: {
|
|
137
174
|
signatures: Ed25519Signature[];
|
|
@@ -139,6 +176,8 @@ declare class MultiEd25519Signature extends Signature {
|
|
|
139
176
|
});
|
|
140
177
|
/**
|
|
141
178
|
* Converts a MultiSignature into Uint8Array (bytes) with `bytes = s1_bytes | ... | sn_bytes | bitmap`
|
|
179
|
+
* @group Implementation
|
|
180
|
+
* @category Serialization
|
|
142
181
|
*/
|
|
143
182
|
toUint8Array(): Uint8Array;
|
|
144
183
|
serialize(serializer: Serializer): void;
|
|
@@ -159,6 +198,8 @@ declare class MultiEd25519Signature extends Signature {
|
|
|
159
198
|
* The result bitmap should be 0b1010000000000000000000000000001
|
|
160
199
|
*
|
|
161
200
|
* @returns bitmap that is 32 bits long.
|
|
201
|
+
* @group Implementation
|
|
202
|
+
* @category Serialization
|
|
162
203
|
*/
|
|
163
204
|
static createBitmap(args: {
|
|
164
205
|
bits: number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-ODEDSSQL.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-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-KDMSOCZY.mjs";export{a as MultiEd25519PublicKey,b as MultiEd25519Signature};
|
|
2
2
|
//# sourceMappingURL=multiEd25519.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Deserializer } from '../../bcs/deserializer.mjs';
|
|
2
2
|
import { Serializer } from '../../bcs/serializer.mjs';
|
|
3
|
-
import { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-
|
|
3
|
+
import { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
4
4
|
import { Signature } from './signature.mjs';
|
|
5
5
|
import { AnyPublicKey, AnySignature } from './singleKey.mjs';
|
|
6
6
|
import '../../types/types.mjs';
|
|
@@ -8,10 +8,14 @@ import '../../types/indexer.mjs';
|
|
|
8
8
|
import '../../types/generated/operations.mjs';
|
|
9
9
|
import '../../types/generated/types.mjs';
|
|
10
10
|
import '../../utils/apiEndpoints.mjs';
|
|
11
|
+
import '@aptos-labs/script-composer-pack';
|
|
11
12
|
import '../hex.mjs';
|
|
12
13
|
import '../common.mjs';
|
|
13
14
|
import '../accountAddress.mjs';
|
|
14
15
|
import '../../transactions/instances/transactionArgument.mjs';
|
|
16
|
+
import './ed25519.mjs';
|
|
17
|
+
import './privateKey.mjs';
|
|
18
|
+
import './secp256k1.mjs';
|
|
15
19
|
|
|
16
20
|
/**
|
|
17
21
|
* Represents a multi-key authentication scheme for accounts, allowing multiple public keys
|
|
@@ -21,14 +25,20 @@ import '../../transactions/instances/transactionArgument.mjs';
|
|
|
21
25
|
* The public keys of each individual agent can be any type of public key supported by Aptos.
|
|
22
26
|
* Since [AIP-55](https://github.com/aptos-foundation/AIPs/pull/263), Aptos supports
|
|
23
27
|
* `Legacy` and `Unified` authentication keys.
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Serialization
|
|
24
30
|
*/
|
|
25
31
|
declare class MultiKey extends AccountPublicKey {
|
|
26
32
|
/**
|
|
27
33
|
* List of any public keys
|
|
34
|
+
* @group Implementation
|
|
35
|
+
* @category Serialization
|
|
28
36
|
*/
|
|
29
37
|
readonly publicKeys: AnyPublicKey[];
|
|
30
38
|
/**
|
|
31
39
|
* The minimum number of valid signatures required, for the number of public keys specified
|
|
40
|
+
* @group Implementation
|
|
41
|
+
* @category Serialization
|
|
32
42
|
*/
|
|
33
43
|
readonly signaturesRequired: number;
|
|
34
44
|
/**
|
|
@@ -42,6 +52,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
42
52
|
*
|
|
43
53
|
* @throws Error if the number of signatures exceeds the maximum supported, if the bitmap length is incorrect, or if the number
|
|
44
54
|
* of signatures does not match the bitmap.
|
|
55
|
+
* @group Implementation
|
|
56
|
+
* @category Serialization
|
|
45
57
|
*/
|
|
46
58
|
constructor(args: {
|
|
47
59
|
publicKeys: Array<PublicKey>;
|
|
@@ -54,6 +66,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
54
66
|
* @param args - The arguments for verifying the signature.
|
|
55
67
|
* @param args.message - The message that was signed.
|
|
56
68
|
* @param args.signature - The signature to verify.
|
|
69
|
+
* @group Implementation
|
|
70
|
+
* @category Serialization
|
|
57
71
|
*/
|
|
58
72
|
verifySignature(args: VerifySignatureArgs): boolean;
|
|
59
73
|
/**
|
|
@@ -61,6 +75,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
61
75
|
* This key can be used for secure authentication processes within the system.
|
|
62
76
|
*
|
|
63
77
|
* @returns {AuthenticationKey} The generated authentication key.
|
|
78
|
+
* @group Implementation
|
|
79
|
+
* @category Serialization
|
|
64
80
|
*/
|
|
65
81
|
authKey(): AuthenticationKey;
|
|
66
82
|
/**
|
|
@@ -68,6 +84,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
68
84
|
* This allows the object to be converted into a format suitable for transmission or storage.
|
|
69
85
|
*
|
|
70
86
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
87
|
+
* @group Implementation
|
|
88
|
+
* @category Serialization
|
|
71
89
|
*/
|
|
72
90
|
serialize(serializer: Serializer): void;
|
|
73
91
|
/**
|
|
@@ -75,6 +93,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
75
93
|
* This function retrieves the signatures and bitmap necessary for creating a MultiKeySignature object.
|
|
76
94
|
*
|
|
77
95
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
96
|
+
* @group Implementation
|
|
97
|
+
* @category Serialization
|
|
78
98
|
*/
|
|
79
99
|
static deserialize(deserializer: Deserializer): MultiKey;
|
|
80
100
|
/**
|
|
@@ -83,6 +103,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
83
103
|
*
|
|
84
104
|
* @param args.bits array of the index mapping to the matching public keys
|
|
85
105
|
* @returns Uint8array bit map
|
|
106
|
+
* @group Implementation
|
|
107
|
+
* @category Serialization
|
|
86
108
|
*/
|
|
87
109
|
createBitmap(args: {
|
|
88
110
|
bits: number[];
|
|
@@ -96,6 +118,8 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
96
118
|
* @param publicKey - The public key to find the index for.
|
|
97
119
|
* @returns The corresponding index of the public key, if it exists.
|
|
98
120
|
* @throws Error - If the public key is not found in the MultiKey.
|
|
121
|
+
* @group Implementation
|
|
122
|
+
* @category Serialization
|
|
99
123
|
*/
|
|
100
124
|
getIndex(publicKey: PublicKey): number;
|
|
101
125
|
static isInstance(value: PublicKey): value is MultiKey;
|
|
@@ -107,24 +131,34 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
107
131
|
*
|
|
108
132
|
* It includes functionality to validate the number of signatures against a bitmap,
|
|
109
133
|
* which indicates which public keys have signed the transaction.
|
|
134
|
+
* @group Implementation
|
|
135
|
+
* @category Serialization
|
|
110
136
|
*/
|
|
111
137
|
declare class MultiKeySignature extends Signature {
|
|
112
138
|
/**
|
|
113
139
|
* Number of bytes in the bitmap representing who signed the transaction (32-bits)
|
|
140
|
+
* @group Implementation
|
|
141
|
+
* @category Serialization
|
|
114
142
|
*/
|
|
115
143
|
static BITMAP_LEN: number;
|
|
116
144
|
/**
|
|
117
145
|
* Maximum number of Ed25519 signatures supported
|
|
146
|
+
* @group Implementation
|
|
147
|
+
* @category Serialization
|
|
118
148
|
*/
|
|
119
149
|
static MAX_SIGNATURES_SUPPORTED: number;
|
|
120
150
|
/**
|
|
121
151
|
* The list of underlying Ed25519 signatures
|
|
152
|
+
* @group Implementation
|
|
153
|
+
* @category Serialization
|
|
122
154
|
*/
|
|
123
155
|
readonly signatures: AnySignature[];
|
|
124
156
|
/**
|
|
125
157
|
* 32-bit Bitmap representing who signed the transaction
|
|
126
158
|
*
|
|
127
159
|
* This is represented where each public key can be masked to determine whether the message was signed by that key.
|
|
160
|
+
* @group Implementation
|
|
161
|
+
* @category Serialization
|
|
128
162
|
*/
|
|
129
163
|
readonly bitmap: Uint8Array;
|
|
130
164
|
/**
|
|
@@ -136,6 +170,8 @@ declare class MultiKeySignature extends Signature {
|
|
|
136
170
|
* @param args.signatures A list of signatures
|
|
137
171
|
* @param args.bitmap 4 bytes, at most 32 signatures are supported. If Nth bit value is `1`, the Nth
|
|
138
172
|
* signature should be provided in `signatures`. Bits are read from left to right
|
|
173
|
+
* @group Implementation
|
|
174
|
+
* @category Serialization
|
|
139
175
|
*/
|
|
140
176
|
constructor(args: {
|
|
141
177
|
signatures: Array<Signature | AnySignature>;
|
|
@@ -154,6 +190,8 @@ declare class MultiKeySignature extends Signature {
|
|
|
154
190
|
* The result bitmap should be 0b1010000000000000000000000000001
|
|
155
191
|
*
|
|
156
192
|
* @returns bitmap that is 32bit long
|
|
193
|
+
* @group Implementation
|
|
194
|
+
* @category Serialization
|
|
157
195
|
*/
|
|
158
196
|
static createBitmap(args: {
|
|
159
197
|
bits: number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../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 MultiKey,b as MultiKeySignature};
|
|
2
2
|
//# sourceMappingURL=multiKey.mjs.map
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* @param str - The string to be hashed.
|
|
6
6
|
* @param maxSizeBytes - The maximum size in bytes for the resulting hash.
|
|
7
7
|
* @returns bigint - The result of the hash.
|
|
8
|
+
* @group Implementation
|
|
9
|
+
* @category Serialization
|
|
8
10
|
*/
|
|
9
11
|
declare function hashStrToField(str: string, maxSizeBytes: number): bigint;
|
|
10
12
|
/**
|
|
@@ -16,6 +18,8 @@ declare function hashStrToField(str: string, maxSizeBytes: number): bigint;
|
|
|
16
18
|
* @param maxSizeBytes - The maximum allowed size for the byte array.
|
|
17
19
|
* @throws Error if the length of the input bytes exceeds the maximum size.
|
|
18
20
|
* @returns A new Uint8Array that contains the padded and packed bytes along with the length of the original byte array.
|
|
21
|
+
* @group Implementation
|
|
22
|
+
* @category Serialization
|
|
19
23
|
*/
|
|
20
24
|
declare function padAndPackBytesWithLen(bytes: Uint8Array, maxSizeBytes: number): bigint[];
|
|
21
25
|
/**
|
|
@@ -24,6 +28,8 @@ declare function padAndPackBytesWithLen(bytes: Uint8Array, maxSizeBytes: number)
|
|
|
24
28
|
*
|
|
25
29
|
* @param bytes - The byte array to convert.
|
|
26
30
|
* @returns The resulting BigInt representation of the byte array.
|
|
31
|
+
* @group Implementation
|
|
32
|
+
* @category Serialization
|
|
27
33
|
*/
|
|
28
34
|
declare function bytesToBigIntLE(bytes: Uint8Array): bigint;
|
|
29
35
|
/**
|
|
@@ -34,6 +40,8 @@ declare function bytesToBigIntLE(bytes: Uint8Array): bigint;
|
|
|
34
40
|
* @param value - The number to convert into bytes.
|
|
35
41
|
* @param length - The desired length of the resulting byte array.
|
|
36
42
|
* @returns A Uint8Array containing the little-endian representation of the bigint value.
|
|
43
|
+
* @group Implementation
|
|
44
|
+
* @category Serialization
|
|
37
45
|
*/
|
|
38
46
|
declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8Array;
|
|
39
47
|
/**
|
|
@@ -43,6 +51,8 @@ declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8A
|
|
|
43
51
|
* @param inputs - An array of elements to be hashed, which can be of type number, bigint, or string.
|
|
44
52
|
* @returns bigint - The result of the hash.
|
|
45
53
|
* @throws Error - Throws an error if the input length exceeds the maximum allowed.
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Serialization
|
|
46
56
|
*/
|
|
47
57
|
declare function poseidonHash(inputs: (number | bigint | string)[]): bigint;
|
|
48
58
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as bigIntToBytesLE,c as bytesToBigIntLE,a as hashStrToField,b as padAndPackBytesWithLen,e as poseidonHash};
|
|
2
2
|
//# sourceMappingURL=poseidon.mjs.map
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { HexInput, PrivateKeyVariants } from '../../types/types.mjs';
|
|
2
2
|
import { Hex } from '../hex.mjs';
|
|
3
|
-
import { P as PublicKey } from '../../publicKey-
|
|
3
|
+
import { P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
4
4
|
import { Signature } from './signature.mjs';
|
|
5
5
|
import '../../types/indexer.mjs';
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
|
+
import '@aptos-labs/script-composer-pack';
|
|
9
10
|
import '../common.mjs';
|
|
10
11
|
import '../../bcs/serializer.mjs';
|
|
11
12
|
import '../accountAddress.mjs';
|
|
@@ -14,20 +15,28 @@ import '../../transactions/instances/transactionArgument.mjs';
|
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Represents a private key used for signing messages and deriving the associated public key.
|
|
18
|
+
* @group Implementation
|
|
19
|
+
* @category Serialization
|
|
17
20
|
*/
|
|
18
21
|
interface PrivateKey {
|
|
19
22
|
/**
|
|
20
23
|
* Sign the given message with the private key to create a signature.
|
|
21
24
|
* @param message - The message to be signed, provided in HexInput format.
|
|
22
25
|
* @returns A Signature object representing the signed message.
|
|
26
|
+
* @group Implementation
|
|
27
|
+
* @category Serialization
|
|
23
28
|
*/
|
|
24
29
|
sign(message: HexInput): Signature;
|
|
25
30
|
/**
|
|
26
31
|
* Derive the public key associated with the private key.
|
|
32
|
+
* @group Implementation
|
|
33
|
+
* @category Serialization
|
|
27
34
|
*/
|
|
28
35
|
publicKey(): PublicKey;
|
|
29
36
|
/**
|
|
30
37
|
* Get the private key in bytes (Uint8Array).
|
|
38
|
+
* @group Implementation
|
|
39
|
+
* @category Serialization
|
|
31
40
|
*/
|
|
32
41
|
toUint8Array(): Uint8Array;
|
|
33
42
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-ROT6S6BM.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
|
|
2
2
|
//# sourceMappingURL=privateKey.mjs.map
|
|
@@ -6,10 +6,13 @@ import '../../types/indexer.mjs';
|
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
|
+
import '@aptos-labs/script-composer-pack';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* An abstract representation of a cryptographic proof associated with specific
|
|
12
13
|
* zero-knowledge proof schemes, such as Groth16 and PLONK.
|
|
14
|
+
* @group Implementation
|
|
15
|
+
* @category Serialization
|
|
13
16
|
*/
|
|
14
17
|
declare abstract class Proof extends Serializable {
|
|
15
18
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-XJJVJOX5.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-KDMSOCZY.mjs";export{a as Proof};
|
|
2
2
|
//# sourceMappingURL=proof.mjs.map
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import '../../types/types.mjs';
|
|
2
2
|
import '../../bcs/serializer.mjs';
|
|
3
|
-
export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-
|
|
3
|
+
export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BMtGNNLg.mjs';
|
|
4
4
|
import './signature.mjs';
|
|
5
5
|
import '../../types/indexer.mjs';
|
|
6
6
|
import '../../types/generated/operations.mjs';
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
|
+
import '@aptos-labs/script-composer-pack';
|
|
9
10
|
import '../hex.mjs';
|
|
10
11
|
import '../common.mjs';
|
|
11
12
|
import '../accountAddress.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-EMURYYVO.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-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
|
|
2
2
|
//# sourceMappingURL=publicKey.mjs.map
|