@aptos-labs/ts-sdk 1.33.1 → 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-BHsGaOsa.d.ts → accountAddress-Cf1amU98.d.ts} +279 -0
- 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 +47 -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 -306
- 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 +6 -1
- 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 +9 -2
- 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 +43 -1
- 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-4DP3PEYK.mjs → chunk-32WLD3F3.mjs} +2 -2
- package/dist/esm/chunk-32WLD3F3.mjs.map +1 -0
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- 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-IBZKCBN5.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-JMPHD4BP.mjs → chunk-4ZJJINCW.mjs} +2 -2
- package/dist/esm/chunk-4ZJJINCW.mjs.map +1 -0
- package/dist/esm/{chunk-ZXVN3HXB.mjs → chunk-66AQ2MJ6.mjs} +2 -2
- package/dist/esm/chunk-66AQ2MJ6.mjs.map +1 -0
- package/dist/esm/{chunk-4XB3BB5Z.mjs → chunk-67BUAZ6O.mjs} +2 -2
- package/dist/esm/chunk-67BUAZ6O.mjs.map +1 -0
- package/dist/esm/{chunk-333QBK32.mjs → chunk-67ZANQ3R.mjs} +2 -2
- package/dist/esm/chunk-67ZANQ3R.mjs.map +1 -0
- package/dist/esm/{chunk-UFPYCROT.mjs → chunk-6IIAGMDR.mjs} +2 -2
- package/dist/esm/chunk-6IIAGMDR.mjs.map +1 -0
- package/dist/esm/{chunk-F2WY2DEY.mjs → chunk-6IPM5P4L.mjs} +2 -2
- package/dist/esm/chunk-6IPM5P4L.mjs.map +1 -0
- package/dist/esm/{chunk-IK2NYNKG.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-2KSMV5KD.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-5PVZ4N42.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-YD2BMHH7.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-EGV3HFE3.mjs → chunk-CDYLZDD2.mjs} +2 -2
- package/dist/esm/chunk-CDYLZDD2.mjs.map +1 -0
- package/dist/esm/{chunk-LA5HJILW.mjs → chunk-CGTHWGSJ.mjs} +2 -2
- package/dist/esm/chunk-CGTHWGSJ.mjs.map +1 -0
- package/dist/esm/{chunk-VWGB5BHW.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-SK3LIS4Z.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-YEWZAR76.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-G4KAHJXB.mjs → chunk-EBS4BKER.mjs} +2 -2
- package/dist/esm/chunk-EBS4BKER.mjs.map +1 -0
- package/dist/esm/{chunk-S5SQJRAV.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-2ESU5N3V.mjs → chunk-FNXO3URE.mjs} +2 -2
- package/dist/esm/chunk-FNXO3URE.mjs.map +1 -0
- package/dist/esm/{chunk-7V35JAAF.mjs → chunk-FQECACH3.mjs} +2 -2
- package/dist/esm/chunk-FQECACH3.mjs.map +1 -0
- package/dist/esm/{chunk-2QGJDHME.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-7N7FEBZA.mjs → chunk-G5ZWH5T3.mjs} +2 -2
- package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
- package/dist/esm/{chunk-UGIHQFID.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-33CVOPIN.mjs → chunk-H3XZ3FZY.mjs} +2 -2
- package/dist/esm/{chunk-33CVOPIN.mjs.map → chunk-H3XZ3FZY.mjs.map} +1 -1
- package/dist/esm/{chunk-7T26VA2W.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-LPVGVTWT.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-SNYYEVJA.mjs → chunk-K2CSACQY.mjs} +2 -2
- package/dist/esm/chunk-K2CSACQY.mjs.map +1 -0
- package/dist/esm/{chunk-NZ7M6NG2.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-PXMNAP2Q.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-GVNK3UMT.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-ZMMLM6ZJ.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-HMMNQFVM.mjs → chunk-NDUIXMIA.mjs} +2 -2
- package/dist/esm/chunk-NDUIXMIA.mjs.map +1 -0
- package/dist/esm/{chunk-U3T4ZT7B.mjs → chunk-NW2WUKWV.mjs} +2 -2
- package/dist/esm/chunk-NW2WUKWV.mjs.map +1 -0
- package/dist/esm/{chunk-XZN344G4.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-4MTSP4S2.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-XOLU6UP3.mjs → chunk-PHJRCZQ3.mjs} +2 -2
- package/dist/esm/chunk-PHJRCZQ3.mjs.map +1 -0
- package/dist/esm/{chunk-VIZHWYI5.mjs → chunk-PNDCGNVH.mjs} +2 -2
- package/dist/esm/chunk-PNDCGNVH.mjs.map +1 -0
- package/dist/esm/{chunk-5LGKGWLX.mjs → chunk-PTS3BTOU.mjs} +2 -2
- package/dist/esm/chunk-PTS3BTOU.mjs.map +1 -0
- package/dist/esm/{chunk-NK67FECB.mjs → chunk-PUNTBVRJ.mjs} +2 -2
- package/dist/esm/chunk-PUNTBVRJ.mjs.map +1 -0
- package/dist/esm/{chunk-DBTKJMLV.mjs → chunk-Q2C6ZY5N.mjs} +2 -2
- package/dist/esm/chunk-Q2C6ZY5N.mjs.map +1 -0
- package/dist/esm/{chunk-UJSTWN32.mjs → chunk-Q3VS6AEN.mjs} +2 -2
- package/dist/esm/{chunk-UJSTWN32.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-BUAHUVAD.mjs → chunk-ROT6S6BM.mjs} +2 -2
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/{chunk-RCA73RVB.mjs → chunk-SOLQ5VON.mjs} +2 -2
- package/dist/esm/chunk-SOLQ5VON.mjs.map +1 -0
- package/dist/esm/{chunk-L4SWQLAJ.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-LKKI2KAP.mjs → chunk-SZRZ3HIL.mjs} +2 -2
- package/dist/esm/chunk-SZRZ3HIL.mjs.map +1 -0
- package/dist/esm/{chunk-KCWRCWNT.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-2MN7DW2J.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-ALNQK276.mjs → chunk-UONSJQUV.mjs} +2 -2
- package/dist/esm/chunk-UONSJQUV.mjs.map +1 -0
- package/dist/esm/{chunk-N62NUAHT.mjs → chunk-UQ7D5CSM.mjs} +2 -2
- package/dist/esm/chunk-UQ7D5CSM.mjs.map +1 -0
- package/dist/esm/{chunk-BAEIZAP7.mjs → chunk-UYONA6PP.mjs} +2 -2
- package/dist/esm/chunk-UYONA6PP.mjs.map +1 -0
- package/dist/esm/{chunk-YJVZFYBX.mjs → chunk-VCIJX6R4.mjs} +2 -2
- package/dist/esm/chunk-VCIJX6R4.mjs.map +1 -0
- package/dist/esm/{chunk-CX6KECGV.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-PMGK5IHB.mjs → chunk-X3SO2LDX.mjs} +2 -2
- package/dist/esm/chunk-X3SO2LDX.mjs.map +1 -0
- package/dist/esm/{chunk-H3C3VTHS.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-2C27NY4D.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-ZMS3AOEZ.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-U6OCK6T4.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-WFK3XRQX.mjs → chunk-YPGI5HAA.mjs} +2 -2
- package/dist/esm/chunk-YPGI5HAA.mjs.map +1 -0
- package/dist/esm/{chunk-QI7OREBM.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 +27 -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 +51 -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 +47 -1
- 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 +26 -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 +8 -0
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +49 -2
- 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-2C27NY4D.mjs.map +0 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2ESU5N3V.mjs.map +0 -1
- package/dist/esm/chunk-2KSMV5KD.mjs.map +0 -1
- package/dist/esm/chunk-2MN7DW2J.mjs.map +0 -1
- package/dist/esm/chunk-2QGJDHME.mjs.map +0 -1
- package/dist/esm/chunk-333QBK32.mjs.map +0 -1
- package/dist/esm/chunk-372SLYVR.mjs +0 -2
- package/dist/esm/chunk-372SLYVR.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-46O23AOD.mjs +0 -2
- package/dist/esm/chunk-46O23AOD.mjs.map +0 -1
- package/dist/esm/chunk-4DI5SPSK.mjs +0 -2
- package/dist/esm/chunk-4DI5SPSK.mjs.map +0 -1
- package/dist/esm/chunk-4DP3PEYK.mjs.map +0 -1
- package/dist/esm/chunk-4MTSP4S2.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-4OV2A6PJ.mjs +0 -2
- package/dist/esm/chunk-4OV2A6PJ.mjs.map +0 -1
- package/dist/esm/chunk-4XB3BB5Z.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-5LGKGWLX.mjs.map +0 -1
- package/dist/esm/chunk-5PVZ4N42.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-7N7FEBZA.mjs.map +0 -1
- package/dist/esm/chunk-7T26VA2W.mjs.map +0 -1
- package/dist/esm/chunk-7V35JAAF.mjs.map +0 -1
- package/dist/esm/chunk-ACVIE7IE.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-ALNQK276.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-BAEIZAP7.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BUAHUVAD.mjs.map +0 -1
- package/dist/esm/chunk-C2HCRGQU.mjs +0 -2
- package/dist/esm/chunk-C2HCRGQU.mjs.map +0 -1
- package/dist/esm/chunk-CDEYH77E.mjs +0 -2
- package/dist/esm/chunk-CDEYH77E.mjs.map +0 -1
- package/dist/esm/chunk-CX6KECGV.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-DBTKJMLV.mjs.map +0 -1
- package/dist/esm/chunk-DC2IESER.mjs +0 -2
- package/dist/esm/chunk-DC2IESER.mjs.map +0 -1
- package/dist/esm/chunk-EGV3HFE3.mjs.map +0 -1
- package/dist/esm/chunk-ELXJ5A4B.mjs +0 -2
- package/dist/esm/chunk-ELXJ5A4B.mjs.map +0 -1
- package/dist/esm/chunk-F2WY2DEY.mjs.map +0 -1
- package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
- package/dist/esm/chunk-FZDEGDUY.mjs.map +0 -1
- package/dist/esm/chunk-G4KAHJXB.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-GVNK3UMT.mjs.map +0 -1
- package/dist/esm/chunk-H3C3VTHS.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HMMNQFVM.mjs.map +0 -1
- package/dist/esm/chunk-I5OYNCZS.mjs +0 -1
- package/dist/esm/chunk-IBZKCBN5.mjs.map +0 -1
- package/dist/esm/chunk-ICMELYCL.mjs +0 -2
- package/dist/esm/chunk-ICMELYCL.mjs.map +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-IK2NYNKG.mjs.map +0 -1
- package/dist/esm/chunk-J3E4UMBB.mjs +0 -2
- package/dist/esm/chunk-J3E4UMBB.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JMPHD4BP.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-KCWRCWNT.mjs.map +0 -1
- package/dist/esm/chunk-L4SWQLAJ.mjs.map +0 -1
- package/dist/esm/chunk-LA5HJILW.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LKKI2KAP.mjs.map +0 -1
- package/dist/esm/chunk-LPVGVTWT.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-N62NUAHT.mjs.map +0 -1
- package/dist/esm/chunk-NK67FECB.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-P6KX7AS2.mjs +0 -2
- package/dist/esm/chunk-P6KX7AS2.mjs.map +0 -1
- package/dist/esm/chunk-PMGK5IHB.mjs.map +0 -1
- package/dist/esm/chunk-PXMNAP2Q.mjs.map +0 -1
- package/dist/esm/chunk-QI7OREBM.mjs.map +0 -1
- package/dist/esm/chunk-RCA73RVB.mjs.map +0 -1
- package/dist/esm/chunk-S5SQJRAV.mjs.map +0 -1
- package/dist/esm/chunk-SK3LIS4Z.mjs.map +0 -1
- package/dist/esm/chunk-SNYYEVJA.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-TCXYTPUR.mjs +0 -2
- package/dist/esm/chunk-TCXYTPUR.mjs.map +0 -1
- package/dist/esm/chunk-U3T4ZT7B.mjs.map +0 -1
- package/dist/esm/chunk-U6OCK6T4.mjs.map +0 -1
- package/dist/esm/chunk-UFPYCROT.mjs.map +0 -1
- package/dist/esm/chunk-UGIHQFID.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- 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-VIZHWYI5.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-VWGB5BHW.mjs.map +0 -1
- package/dist/esm/chunk-WFK3XRQX.mjs.map +0 -1
- package/dist/esm/chunk-XOLU6UP3.mjs.map +0 -1
- package/dist/esm/chunk-XZN344G4.mjs.map +0 -1
- package/dist/esm/chunk-YD2BMHH7.mjs +0 -2
- package/dist/esm/chunk-YEWZAR76.mjs.map +0 -1
- package/dist/esm/chunk-YJVZFYBX.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- package/dist/esm/chunk-ZMMLM6ZJ.mjs.map +0 -1
- package/dist/esm/chunk-ZMS3AOEZ.mjs.map +0 -1
- package/dist/esm/chunk-ZXVN3HXB.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-NZ7M6NG2.mjs.map → chunk-KFCLSJC3.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -2,30 +2,32 @@ import { SigningScheme, HexInput } from '../types/types.mjs';
|
|
|
2
2
|
import { AccountAddress } from '../core/accountAddress.mjs';
|
|
3
3
|
import { Deserializer } from '../bcs/deserializer.mjs';
|
|
4
4
|
import { Serializable, Serializer } from '../bcs/serializer.mjs';
|
|
5
|
+
import { AnyPublicKey } from '../core/crypto/singleKey.mjs';
|
|
5
6
|
import { FederatedKeylessPublicKey } from '../core/crypto/federatedKeyless.mjs';
|
|
6
7
|
import { KeylessPublicKey, ZeroKnowledgeSig, KeylessSignature, MoveJWK, ZkProof } from '../core/crypto/keyless.mjs';
|
|
7
8
|
import { EphemeralKeyPair } from './EphemeralKeyPair.mjs';
|
|
8
9
|
import { AccountAuthenticatorSingleKey } from '../transactions/authenticator/account.mjs';
|
|
9
10
|
import { AnyRawTransaction, AnyRawTransactionInstance } from '../transactions/types.mjs';
|
|
10
|
-
import { A as Account } from '../Ed25519Account-
|
|
11
|
+
import { A as Account, S as SingleKeySigner } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
11
12
|
import { AptosConfig } from '../api/aptosConfig.mjs';
|
|
12
13
|
import '../types/indexer.mjs';
|
|
13
14
|
import '../types/generated/operations.mjs';
|
|
14
15
|
import '../types/generated/types.mjs';
|
|
15
16
|
import '../utils/apiEndpoints.mjs';
|
|
17
|
+
import '@aptos-labs/script-composer-pack';
|
|
16
18
|
import '../core/common.mjs';
|
|
17
19
|
import '../transactions/instances/transactionArgument.mjs';
|
|
18
20
|
import '../core/hex.mjs';
|
|
19
|
-
import '../publicKey-
|
|
21
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
20
22
|
import '../core/crypto/signature.mjs';
|
|
23
|
+
import '../core/crypto/ed25519.mjs';
|
|
24
|
+
import '../core/crypto/privateKey.mjs';
|
|
25
|
+
import '../core/crypto/secp256k1.mjs';
|
|
21
26
|
import '../core/crypto/ephemeral.mjs';
|
|
22
27
|
import '../core/crypto/proof.mjs';
|
|
23
28
|
import '../types/keyless.mjs';
|
|
24
|
-
import '../core/crypto/privateKey.mjs';
|
|
25
|
-
import '../core/crypto/ed25519.mjs';
|
|
26
29
|
import '../core/crypto/multiEd25519.mjs';
|
|
27
30
|
import '../core/crypto/multiKey.mjs';
|
|
28
|
-
import '../core/crypto/singleKey.mjs';
|
|
29
31
|
import '../bcs/serializable/moveStructs.mjs';
|
|
30
32
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
31
33
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
@@ -49,53 +51,77 @@ declare function isKeylessSigner(obj: any): obj is KeylessSigner;
|
|
|
49
51
|
/**
|
|
50
52
|
* Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts
|
|
51
53
|
* and Federated Keyless Accounts.
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Account (On-Chain Model)
|
|
52
56
|
*/
|
|
53
|
-
declare abstract class AbstractKeylessAccount extends Serializable implements KeylessSigner {
|
|
57
|
+
declare abstract class AbstractKeylessAccount extends Serializable implements KeylessSigner, SingleKeySigner {
|
|
54
58
|
static readonly PEPPER_LENGTH: number;
|
|
55
59
|
/**
|
|
56
60
|
* The KeylessPublicKey associated with the account
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Account (On-Chain Model)
|
|
57
63
|
*/
|
|
58
64
|
readonly publicKey: KeylessPublicKey | FederatedKeylessPublicKey;
|
|
59
65
|
/**
|
|
60
66
|
* The EphemeralKeyPair used to generate sign.
|
|
67
|
+
* @group Implementation
|
|
68
|
+
* @category Account (On-Chain Model)
|
|
61
69
|
*/
|
|
62
70
|
readonly ephemeralKeyPair: EphemeralKeyPair;
|
|
63
71
|
/**
|
|
64
72
|
* The claim on the JWT to identify a user. This is typically 'sub' or 'email'.
|
|
73
|
+
* @group Implementation
|
|
74
|
+
* @category Account (On-Chain Model)
|
|
65
75
|
*/
|
|
66
76
|
readonly uidKey: string;
|
|
67
77
|
/**
|
|
68
78
|
* The value of the uidKey claim on the JWT. This intended to be a stable user identifier.
|
|
79
|
+
* @group Implementation
|
|
80
|
+
* @category Account (On-Chain Model)
|
|
69
81
|
*/
|
|
70
82
|
readonly uidVal: string;
|
|
71
83
|
/**
|
|
72
84
|
* The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's
|
|
73
85
|
* OIDC registration with the identity provider.
|
|
86
|
+
* @group Implementation
|
|
87
|
+
* @category Account (On-Chain Model)
|
|
74
88
|
*/
|
|
75
89
|
readonly aud: string;
|
|
76
90
|
/**
|
|
77
91
|
* A value contains 31 bytes of entropy that preserves privacy of the account. Typically fetched from a pepper provider.
|
|
92
|
+
* @group Implementation
|
|
93
|
+
* @category Account (On-Chain Model)
|
|
78
94
|
*/
|
|
79
95
|
readonly pepper: Uint8Array;
|
|
80
96
|
/**
|
|
81
97
|
* Account address associated with the account
|
|
98
|
+
* @group Implementation
|
|
99
|
+
* @category Account (On-Chain Model)
|
|
82
100
|
*/
|
|
83
101
|
readonly accountAddress: AccountAddress;
|
|
84
102
|
/**
|
|
85
103
|
* The zero knowledge signature (if ready) which contains the proof used to validate the EphemeralKeyPair.
|
|
104
|
+
* @group Implementation
|
|
105
|
+
* @category Account (On-Chain Model)
|
|
86
106
|
*/
|
|
87
107
|
proof: ZeroKnowledgeSig | undefined;
|
|
88
108
|
/**
|
|
89
109
|
* The proof of the EphemeralKeyPair or a promise that provides the proof. This is used to allow for awaiting on
|
|
90
110
|
* fetching the proof.
|
|
111
|
+
* @group Implementation
|
|
112
|
+
* @category Account (On-Chain Model)
|
|
91
113
|
*/
|
|
92
114
|
readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
93
115
|
/**
|
|
94
116
|
* Signing scheme used to sign transactions
|
|
117
|
+
* @group Implementation
|
|
118
|
+
* @category Account (On-Chain Model)
|
|
95
119
|
*/
|
|
96
120
|
readonly signingScheme: SigningScheme;
|
|
97
121
|
/**
|
|
98
122
|
* The JWT token used to derive the account
|
|
123
|
+
* @group Implementation
|
|
124
|
+
* @category Account (On-Chain Model)
|
|
99
125
|
*/
|
|
100
126
|
readonly jwt: string;
|
|
101
127
|
/**
|
|
@@ -105,6 +131,8 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
105
131
|
readonly verificationKeyHash?: Uint8Array;
|
|
106
132
|
/**
|
|
107
133
|
* An event emitter used to assist in handling asynchronous proof fetching.
|
|
134
|
+
* @group Implementation
|
|
135
|
+
* @category Account (On-Chain Model)
|
|
108
136
|
*/
|
|
109
137
|
private readonly emitter;
|
|
110
138
|
/**
|
|
@@ -140,9 +168,12 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
140
168
|
jwt: string;
|
|
141
169
|
verificationKeyHash?: HexInput;
|
|
142
170
|
});
|
|
171
|
+
getAnyPublicKey(): AnyPublicKey;
|
|
143
172
|
/**
|
|
144
|
-
* This initializes the asynchronous proof fetch
|
|
173
|
+
* This initializes the asynchronous proof fetch
|
|
145
174
|
* @return Emits whether the proof succeeds or fails, but has no return.
|
|
175
|
+
* @group Implementation
|
|
176
|
+
* @category Account (On-Chain Model)
|
|
146
177
|
*/
|
|
147
178
|
init(promise: Promise<ZeroKnowledgeSig>): Promise<void>;
|
|
148
179
|
/**
|
|
@@ -165,23 +196,31 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
165
196
|
* Checks if the proof is expired. If so the account must be re-derived with a new EphemeralKeyPair
|
|
166
197
|
* and JWT token.
|
|
167
198
|
* @return boolean
|
|
199
|
+
* @group Implementation
|
|
200
|
+
* @category Account (On-Chain Model)
|
|
168
201
|
*/
|
|
169
202
|
isExpired(): boolean;
|
|
170
203
|
/**
|
|
171
204
|
* Sign a message using Keyless.
|
|
172
205
|
* @param message the message to sign, as binary input
|
|
173
206
|
* @return the AccountAuthenticator containing the signature, together with the account's public key
|
|
207
|
+
* @group Implementation
|
|
208
|
+
* @category Account (On-Chain Model)
|
|
174
209
|
*/
|
|
175
210
|
signWithAuthenticator(message: HexInput): AccountAuthenticatorSingleKey;
|
|
176
211
|
/**
|
|
177
212
|
* Sign a transaction using Keyless.
|
|
178
213
|
* @param transaction the raw transaction
|
|
179
214
|
* @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key
|
|
215
|
+
* @group Implementation
|
|
216
|
+
* @category Account (On-Chain Model)
|
|
180
217
|
*/
|
|
181
218
|
signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorSingleKey;
|
|
182
219
|
/**
|
|
183
220
|
* Waits for asynchronous proof fetching to finish.
|
|
184
221
|
* @return
|
|
222
|
+
* @group Implementation
|
|
223
|
+
* @category Account (On-Chain Model)
|
|
185
224
|
*/
|
|
186
225
|
waitForProofFetch(): Promise<void>;
|
|
187
226
|
/**
|
|
@@ -193,6 +232,8 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
193
232
|
* Sign the given message using Keyless.
|
|
194
233
|
* @param message in HexInput format
|
|
195
234
|
* @returns Signature
|
|
235
|
+
* @group Implementation
|
|
236
|
+
* @category Account (On-Chain Model)
|
|
196
237
|
*/
|
|
197
238
|
sign(message: HexInput): KeylessSignature;
|
|
198
239
|
/**
|
|
@@ -200,6 +241,8 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
200
241
|
* Signs the transaction and proof to guard against proof malleability.
|
|
201
242
|
* @param transaction the transaction to be signed
|
|
202
243
|
* @returns KeylessSignature
|
|
244
|
+
* @group Implementation
|
|
245
|
+
* @category Account (On-Chain Model)
|
|
203
246
|
*/
|
|
204
247
|
signTransaction(transaction: AnyRawTransaction): KeylessSignature;
|
|
205
248
|
/**
|
|
@@ -212,6 +255,8 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
212
255
|
* @param args.message the message that was signed.
|
|
213
256
|
* @param args.signature the KeylessSignature to verify
|
|
214
257
|
* @returns boolean
|
|
258
|
+
* @group Implementation
|
|
259
|
+
* @category Account (On-Chain Model)
|
|
215
260
|
*/
|
|
216
261
|
verifySignature(args: {
|
|
217
262
|
message: HexInput;
|
|
@@ -234,18 +279,26 @@ declare abstract class AbstractKeylessAccount extends Serializable implements Ke
|
|
|
234
279
|
/**
|
|
235
280
|
* A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create
|
|
236
281
|
* the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.
|
|
282
|
+
* @group Implementation
|
|
283
|
+
* @category Account (On-Chain Model)
|
|
237
284
|
*/
|
|
238
285
|
declare class TransactionAndProof extends Serializable {
|
|
239
286
|
/**
|
|
240
287
|
* The transaction to sign.
|
|
288
|
+
* @group Implementation
|
|
289
|
+
* @category Account (On-Chain Model)
|
|
241
290
|
*/
|
|
242
291
|
transaction: AnyRawTransactionInstance;
|
|
243
292
|
/**
|
|
244
293
|
* The zero knowledge proof used in signing the transaction.
|
|
294
|
+
* @group Implementation
|
|
295
|
+
* @category Account (On-Chain Model)
|
|
245
296
|
*/
|
|
246
297
|
proof?: ZkProof;
|
|
247
298
|
/**
|
|
248
299
|
* The domain separator prefix used when hashing.
|
|
300
|
+
* @group Implementation
|
|
301
|
+
* @category Account (On-Chain Model)
|
|
249
302
|
*/
|
|
250
303
|
readonly domainSeparator = "APTOS::TransactionAndProof";
|
|
251
304
|
constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof);
|
|
@@ -260,18 +313,40 @@ declare class TransactionAndProof extends Serializable {
|
|
|
260
313
|
* Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.
|
|
261
314
|
*
|
|
262
315
|
* @returns Uint8Array
|
|
316
|
+
* @group Implementation
|
|
317
|
+
* @category Account (On-Chain Model)
|
|
263
318
|
*/
|
|
264
319
|
hash(): Uint8Array;
|
|
265
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* @group Implementation
|
|
323
|
+
* @category Account (On-Chain Model)
|
|
324
|
+
*/
|
|
266
325
|
type ProofFetchSuccess = {
|
|
267
326
|
status: "Success";
|
|
268
327
|
};
|
|
328
|
+
/**
|
|
329
|
+
* @group Implementation
|
|
330
|
+
* @category Account (On-Chain Model)
|
|
331
|
+
*/
|
|
269
332
|
type ProofFetchFailure = {
|
|
270
333
|
status: "Failed";
|
|
271
334
|
error: string;
|
|
272
335
|
};
|
|
336
|
+
/**
|
|
337
|
+
* @group Implementation
|
|
338
|
+
* @category Account (On-Chain Model)
|
|
339
|
+
*/
|
|
273
340
|
type ProofFetchStatus = ProofFetchSuccess | ProofFetchFailure;
|
|
341
|
+
/**
|
|
342
|
+
* @group Implementation
|
|
343
|
+
* @category Account (On-Chain Model)
|
|
344
|
+
*/
|
|
274
345
|
type ProofFetchCallback = (status: ProofFetchStatus) => Promise<void>;
|
|
346
|
+
/**
|
|
347
|
+
* @group Implementation
|
|
348
|
+
* @category Account (On-Chain Model)
|
|
349
|
+
*/
|
|
275
350
|
interface ProofFetchEvents {
|
|
276
351
|
proofFetchFinish: (status: ProofFetchStatus) => void;
|
|
277
352
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../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{b as AbstractKeylessAccount,c as TransactionAndProof,a as isKeylessSigner};
|
|
2
2
|
//# sourceMappingURL=AbstractKeylessAccount.mjs.map
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import '../transactions/authenticator/account.mjs';
|
|
2
2
|
import '../types/types.mjs';
|
|
3
3
|
import '../core/accountAddress.mjs';
|
|
4
|
-
import '../publicKey-
|
|
4
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
5
5
|
import '../core/crypto/ed25519.mjs';
|
|
6
6
|
import '../core/crypto/signature.mjs';
|
|
7
|
-
import '../core/crypto/
|
|
8
|
-
export { A as Account, e as CreateAccountFromPrivateKeyArgs, C as CreateEd25519AccountFromPrivateKeyArgs, c as CreateEd25519SingleKeyAccountFromPrivateKeyArgs, d as CreateSingleKeyAccountFromPrivateKeyArgs, h as GenerateAccountArgs, G as GenerateEd25519AccountArgs, f as GenerateEd25519SingleKeyAccountArgs, g as GenerateSingleKeyAccountArgs, P as PrivateKeyFromDerivationPathArgs } from '../Ed25519Account-
|
|
7
|
+
import '../core/crypto/singleKey.mjs';
|
|
8
|
+
export { A as Account, e as CreateAccountFromPrivateKeyArgs, C as CreateEd25519AccountFromPrivateKeyArgs, c as CreateEd25519SingleKeyAccountFromPrivateKeyArgs, d as CreateSingleKeyAccountFromPrivateKeyArgs, h as GenerateAccountArgs, G as GenerateEd25519AccountArgs, f as GenerateEd25519SingleKeyAccountArgs, g as GenerateSingleKeyAccountArgs, P as PrivateKeyFromDerivationPathArgs } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
9
9
|
import '../transactions/types.mjs';
|
|
10
10
|
import '../bcs/deserializer.mjs';
|
|
11
11
|
import '../types/indexer.mjs';
|
|
12
12
|
import '../types/generated/operations.mjs';
|
|
13
13
|
import '../types/generated/types.mjs';
|
|
14
14
|
import '../utils/apiEndpoints.mjs';
|
|
15
|
+
import '@aptos-labs/script-composer-pack';
|
|
15
16
|
import '../bcs/serializer.mjs';
|
|
16
17
|
import '../core/hex.mjs';
|
|
17
18
|
import '../core/common.mjs';
|
|
18
19
|
import '../core/crypto/multiEd25519.mjs';
|
|
19
20
|
import '../transactions/instances/transactionArgument.mjs';
|
|
21
|
+
import '../core/crypto/privateKey.mjs';
|
|
20
22
|
import '../core/crypto/multiKey.mjs';
|
|
21
|
-
import '../core/crypto/
|
|
23
|
+
import '../core/crypto/secp256k1.mjs';
|
|
22
24
|
import '../api/aptosConfig.mjs';
|
|
23
25
|
import '../utils/const.mjs';
|
|
24
26
|
import '../bcs/serializable/moveStructs.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-7HLNV3QL.mjs";import"../chunk-BFIXIXHO.mjs";import"../chunk-SQR3AIY7.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-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 Account};
|
|
2
2
|
//# sourceMappingURL=Account.mjs.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { A as Account, o as SingleKeyAccount, b as Ed25519Account } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
2
|
+
import './EphemeralKeyPair.mjs';
|
|
3
|
+
import { KeylessAccount } from './KeylessAccount.mjs';
|
|
4
|
+
import './AbstractKeylessAccount.mjs';
|
|
5
|
+
import { FederatedKeylessAccount } from './FederatedKeylessAccount.mjs';
|
|
6
|
+
import { MultiKeyAccount } from './MultiKeyAccount.mjs';
|
|
7
|
+
import { Deserializer } from '../bcs/deserializer.mjs';
|
|
8
|
+
import { HexInput } from '../types/types.mjs';
|
|
9
|
+
import '../transactions/authenticator/account.mjs';
|
|
10
|
+
import '../bcs/serializer.mjs';
|
|
11
|
+
import '../core/hex.mjs';
|
|
12
|
+
import '../core/common.mjs';
|
|
13
|
+
import '../types/indexer.mjs';
|
|
14
|
+
import '../types/generated/operations.mjs';
|
|
15
|
+
import '../types/generated/types.mjs';
|
|
16
|
+
import '../utils/apiEndpoints.mjs';
|
|
17
|
+
import '@aptos-labs/script-composer-pack';
|
|
18
|
+
import '../core/crypto/ed25519.mjs';
|
|
19
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
20
|
+
import '../core/accountAddress.mjs';
|
|
21
|
+
import '../transactions/instances/transactionArgument.mjs';
|
|
22
|
+
import '../core/crypto/signature.mjs';
|
|
23
|
+
import '../core/crypto/privateKey.mjs';
|
|
24
|
+
import '../core/crypto/multiEd25519.mjs';
|
|
25
|
+
import '../core/crypto/multiKey.mjs';
|
|
26
|
+
import '../core/crypto/singleKey.mjs';
|
|
27
|
+
import '../core/crypto/secp256k1.mjs';
|
|
28
|
+
import '../transactions/types.mjs';
|
|
29
|
+
import '../api/aptosConfig.mjs';
|
|
30
|
+
import '../utils/const.mjs';
|
|
31
|
+
import '../bcs/serializable/moveStructs.mjs';
|
|
32
|
+
import '../bcs/serializable/movePrimitives.mjs';
|
|
33
|
+
import '../bcs/serializable/fixedBytes.mjs';
|
|
34
|
+
import '../transactions/instances/rawTransaction.mjs';
|
|
35
|
+
import '../transactions/instances/chainId.mjs';
|
|
36
|
+
import '../transactions/instances/transactionPayload.mjs';
|
|
37
|
+
import '../transactions/instances/identifier.mjs';
|
|
38
|
+
import '../transactions/instances/moduleId.mjs';
|
|
39
|
+
import '../transactions/typeTag/index.mjs';
|
|
40
|
+
import '../transactions/instances/simpleTransaction.mjs';
|
|
41
|
+
import '../transactions/instances/multiAgentTransaction.mjs';
|
|
42
|
+
import '../core/crypto/ephemeral.mjs';
|
|
43
|
+
import '../core/crypto/keyless.mjs';
|
|
44
|
+
import '../core/crypto/proof.mjs';
|
|
45
|
+
import '../types/keyless.mjs';
|
|
46
|
+
import '../core/crypto/federatedKeyless.mjs';
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Utility functions for working with accounts.
|
|
50
|
+
*/
|
|
51
|
+
declare namespace AccountUtils {
|
|
52
|
+
function toBytes(account: Account): Uint8Array;
|
|
53
|
+
function toHexStringWithoutPrefix(account: Account): string;
|
|
54
|
+
function toHexString(account: Account): string;
|
|
55
|
+
function deserialize(deserializer: Deserializer): Account;
|
|
56
|
+
function keylessAccountFromHex(hex: HexInput): KeylessAccount;
|
|
57
|
+
function federatedKeylessAccountFromHex(hex: HexInput): FederatedKeylessAccount;
|
|
58
|
+
function multiKeyAccountFromHex(hex: HexInput): MultiKeyAccount;
|
|
59
|
+
function singleKeyAccountFromHex(hex: HexInput): SingleKeyAccount;
|
|
60
|
+
function ed25519AccountFromHex(hex: HexInput): Ed25519Account;
|
|
61
|
+
function fromHex(hex: HexInput): Account;
|
|
62
|
+
function fromBytes(bytes: Uint8Array): Account;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { AccountUtils };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../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 AccountUtils};
|
|
2
|
+
//# sourceMappingURL=AccountUtils.mjs.map
|
|
@@ -2,23 +2,25 @@ import '../transactions/authenticator/account.mjs';
|
|
|
2
2
|
import '../types/types.mjs';
|
|
3
3
|
import '../core/accountAddress.mjs';
|
|
4
4
|
import '../core/crypto/ed25519.mjs';
|
|
5
|
-
export { b as Ed25519Account, E as Ed25519SignerConstructorArgs, a as Ed25519SignerFromDerivationPathArgs, V as VerifyEd25519SignatureArgs } from '../Ed25519Account-
|
|
5
|
+
export { b as Ed25519Account, E as Ed25519SignerConstructorArgs, a as Ed25519SignerFromDerivationPathArgs, V as VerifyEd25519SignatureArgs } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
6
6
|
import '../transactions/types.mjs';
|
|
7
7
|
import '../bcs/deserializer.mjs';
|
|
8
8
|
import '../types/indexer.mjs';
|
|
9
9
|
import '../types/generated/operations.mjs';
|
|
10
10
|
import '../types/generated/types.mjs';
|
|
11
11
|
import '../utils/apiEndpoints.mjs';
|
|
12
|
+
import '@aptos-labs/script-composer-pack';
|
|
12
13
|
import '../bcs/serializer.mjs';
|
|
13
14
|
import '../core/hex.mjs';
|
|
14
15
|
import '../core/common.mjs';
|
|
15
16
|
import '../core/crypto/multiEd25519.mjs';
|
|
16
|
-
import '../publicKey-
|
|
17
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
17
18
|
import '../core/crypto/signature.mjs';
|
|
18
19
|
import '../transactions/instances/transactionArgument.mjs';
|
|
19
20
|
import '../core/crypto/privateKey.mjs';
|
|
20
21
|
import '../core/crypto/multiKey.mjs';
|
|
21
22
|
import '../core/crypto/singleKey.mjs';
|
|
23
|
+
import '../core/crypto/secp256k1.mjs';
|
|
22
24
|
import '../api/aptosConfig.mjs';
|
|
23
25
|
import '../utils/const.mjs';
|
|
24
26
|
import '../bcs/serializable/moveStructs.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-SQR3AIY7.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-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 Ed25519Account};
|
|
2
2
|
//# sourceMappingURL=Ed25519Account.mjs.map
|
|
@@ -9,7 +9,8 @@ import '../types/indexer.mjs';
|
|
|
9
9
|
import '../types/generated/operations.mjs';
|
|
10
10
|
import '../types/generated/types.mjs';
|
|
11
11
|
import '../utils/apiEndpoints.mjs';
|
|
12
|
-
import '
|
|
12
|
+
import '@aptos-labs/script-composer-pack';
|
|
13
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
13
14
|
import '../core/accountAddress.mjs';
|
|
14
15
|
import '../transactions/instances/transactionArgument.mjs';
|
|
15
16
|
import '../core/crypto/signature.mjs';
|
|
@@ -19,32 +20,44 @@ import '../core/crypto/signature.mjs';
|
|
|
19
20
|
* This key pair is temporary and includes an expiration time.
|
|
20
21
|
* For more details on how this class is used, refer to the documentation:
|
|
21
22
|
* https://aptos.dev/guides/keyless-accounts/#1-present-the-user-with-a-sign-in-with-idp-button-on-the-ui
|
|
23
|
+
* @group Implementation
|
|
24
|
+
* @category Account (On-Chain Model)
|
|
22
25
|
*/
|
|
23
26
|
declare class EphemeralKeyPair extends Serializable {
|
|
24
27
|
static readonly BLINDER_LENGTH: number;
|
|
25
28
|
/**
|
|
26
29
|
* A byte array of length BLINDER_LENGTH used to obfuscate the public key from the IdP.
|
|
27
30
|
* Used in calculating the nonce passed to the IdP and as a secret witness in proof generation.
|
|
31
|
+
* @group Implementation
|
|
32
|
+
* @category Account (On-Chain Model)
|
|
28
33
|
*/
|
|
29
34
|
readonly blinder: Uint8Array;
|
|
30
35
|
/**
|
|
31
36
|
* A timestamp in seconds indicating when the ephemeral key pair is expired. After expiry, a new
|
|
32
37
|
* EphemeralKeyPair must be generated and a new JWT needs to be created.
|
|
38
|
+
* @group Implementation
|
|
39
|
+
* @category Account (On-Chain Model)
|
|
33
40
|
*/
|
|
34
41
|
readonly expiryDateSecs: number;
|
|
35
42
|
/**
|
|
36
43
|
* The value passed to the IdP when the user authenticates. It consists of a hash of the
|
|
37
44
|
* ephemeral public key, expiry date, and blinder.
|
|
45
|
+
* @group Implementation
|
|
46
|
+
* @category Account (On-Chain Model)
|
|
38
47
|
*/
|
|
39
48
|
readonly nonce: string;
|
|
40
49
|
/**
|
|
41
50
|
* A private key used to sign transactions. This private key is not tied to any account on the chain as it
|
|
42
51
|
* is ephemeral (not permanent) in nature.
|
|
52
|
+
* @group Implementation
|
|
53
|
+
* @category Account (On-Chain Model)
|
|
43
54
|
*/
|
|
44
55
|
private privateKey;
|
|
45
56
|
/**
|
|
46
57
|
* A public key used to verify transactions. This public key is not tied to any account on the chain as it
|
|
47
58
|
* is ephemeral (not permanent) in nature.
|
|
59
|
+
* @group Implementation
|
|
60
|
+
* @category Account (On-Chain Model)
|
|
48
61
|
*/
|
|
49
62
|
private publicKey;
|
|
50
63
|
/**
|
|
@@ -56,6 +69,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
56
69
|
* @param args.privateKey - The private key used for creating the instance.
|
|
57
70
|
* @param args.expiryDateSecs - Optional expiry date in seconds from the current time. Defaults to two weeks from now.
|
|
58
71
|
* @param args.blinder - Optional blinder value. If not provided, a new blinder will be generated.
|
|
72
|
+
* @group Implementation
|
|
73
|
+
* @category Account (On-Chain Model)
|
|
59
74
|
*/
|
|
60
75
|
constructor(args: {
|
|
61
76
|
privateKey: PrivateKey;
|
|
@@ -65,11 +80,15 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
65
80
|
/**
|
|
66
81
|
* Returns the public key of the key pair.
|
|
67
82
|
* @return EphemeralPublicKey
|
|
83
|
+
* @group Implementation
|
|
84
|
+
* @category Account (On-Chain Model)
|
|
68
85
|
*/
|
|
69
86
|
getPublicKey(): EphemeralPublicKey;
|
|
70
87
|
/**
|
|
71
88
|
* Checks if the current time has surpassed the expiry date of the key pair.
|
|
72
89
|
* @return boolean - Returns true if the key pair is expired, otherwise false.
|
|
90
|
+
* @group Implementation
|
|
91
|
+
* @category Account (On-Chain Model)
|
|
73
92
|
*/
|
|
74
93
|
isExpired(): boolean;
|
|
75
94
|
/**
|
|
@@ -77,6 +96,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
77
96
|
* This function is essential for preparing the object data for serialization processes.
|
|
78
97
|
*
|
|
79
98
|
* @param serializer - The serializer instance used to serialize the object's properties.
|
|
99
|
+
* @group Implementation
|
|
100
|
+
* @category Account (On-Chain Model)
|
|
80
101
|
*/
|
|
81
102
|
serialize(serializer: Serializer): void;
|
|
82
103
|
/**
|
|
@@ -84,6 +105,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
84
105
|
* This function helps in reconstructing an ephemeral key pair, which is essential for cryptographic operations.
|
|
85
106
|
*
|
|
86
107
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
108
|
+
* @group Implementation
|
|
109
|
+
* @category Account (On-Chain Model)
|
|
87
110
|
*/
|
|
88
111
|
static deserialize(deserializer: Deserializer): EphemeralKeyPair;
|
|
89
112
|
/**
|
|
@@ -91,6 +114,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
91
114
|
* This function allows you to reconstruct an EphemeralKeyPair from its serialized byte representation.
|
|
92
115
|
*
|
|
93
116
|
* @param bytes - The byte array representing the serialized EphemeralKeyPair.
|
|
117
|
+
* @group Implementation
|
|
118
|
+
* @category Account (On-Chain Model)
|
|
94
119
|
*/
|
|
95
120
|
static fromBytes(bytes: Uint8Array): EphemeralKeyPair;
|
|
96
121
|
/**
|
|
@@ -101,6 +126,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
101
126
|
* @param args.scheme - The type of key pair to use for the EphemeralKeyPair. Only Ed25519 is supported for now.
|
|
102
127
|
* @param args.expiryDateSecs - The date of expiry for the key pair in seconds.
|
|
103
128
|
* @returns An instance of EphemeralKeyPair containing the generated private key and expiry date.
|
|
129
|
+
* @group Implementation
|
|
130
|
+
* @category Account (On-Chain Model)
|
|
104
131
|
*/
|
|
105
132
|
static generate(args?: {
|
|
106
133
|
scheme?: EphemeralPublicKeyVariant;
|
|
@@ -113,6 +140,8 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
113
140
|
* @param data - The data to be signed, provided in HexInput format.
|
|
114
141
|
* @returns EphemeralSignature - The resulting ephemeral signature.
|
|
115
142
|
* @throws Error - Throws an error if the EphemeralKeyPair has expired.
|
|
143
|
+
* @group Implementation
|
|
144
|
+
* @category Account (On-Chain Model)
|
|
116
145
|
*/
|
|
117
146
|
sign(data: HexInput): EphemeralSignature;
|
|
118
147
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../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 EphemeralKeyPair};
|
|
2
2
|
//# sourceMappingURL=EphemeralKeyPair.mjs.map
|