@aptos-labs/ts-sdk 1.33.1 → 1.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -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 +1941 -225
- 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 +81 -7
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +5 -4
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +64 -0
- package/dist/esm/account/AccountUtils.mjs +2 -0
- package/dist/esm/account/Ed25519Account.d.mts +3 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +29 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +25 -5
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +30 -5
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +40 -5
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +4 -3
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +4 -2
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +18 -0
- package/dist/esm/account/utils.mjs +2 -0
- package/dist/esm/account/utils.mjs.map +1 -0
- package/dist/esm/api/account.d.mts +25 -4
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +18 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +5 -2
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +16 -0
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +5 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +29 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +6 -0
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +11 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +11 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +14 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +3 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +8 -2
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +3 -0
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +5 -0
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +5 -0
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +23 -6
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +6 -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 +8 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +7 -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 +6 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +6 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -0
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/deserializer.d.mts +42 -1
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +10 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +12 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +24 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +56 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +60 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-PMGK5IHB.mjs → chunk-2FBJWTJD.mjs} +2 -2
- package/dist/esm/chunk-2FBJWTJD.mjs.map +1 -0
- package/dist/esm/{chunk-L4SWQLAJ.mjs → chunk-2N5KYALM.mjs} +2 -2
- package/dist/esm/chunk-2N5KYALM.mjs.map +1 -0
- package/dist/esm/{chunk-7V35JAAF.mjs → chunk-2TJ6OTVD.mjs} +2 -2
- package/dist/esm/chunk-2TJ6OTVD.mjs.map +1 -0
- package/dist/esm/{chunk-GVNK3UMT.mjs → chunk-2UXW3EB7.mjs} +2 -2
- package/dist/esm/chunk-2UXW3EB7.mjs.map +1 -0
- package/dist/esm/{chunk-UJSTWN32.mjs → chunk-2WCATZVL.mjs} +2 -2
- package/dist/esm/{chunk-UJSTWN32.mjs.map → chunk-2WCATZVL.mjs.map} +1 -1
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/{chunk-WFK3XRQX.mjs → chunk-3RCAJICY.mjs} +2 -2
- package/dist/esm/chunk-3RCAJICY.mjs.map +1 -0
- package/dist/esm/{chunk-KCWRCWNT.mjs → chunk-43GCGE6C.mjs} +2 -2
- package/dist/esm/chunk-43GCGE6C.mjs.map +1 -0
- package/dist/esm/{chunk-4DP3PEYK.mjs → chunk-4EUS4E6S.mjs} +2 -2
- package/dist/esm/chunk-4EUS4E6S.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-4YLUM62M.mjs +2 -0
- package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
- package/dist/esm/{chunk-SNYYEVJA.mjs → chunk-4ZYPDCSP.mjs} +2 -2
- package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
- package/dist/esm/{chunk-F2WY2DEY.mjs → chunk-5EBUWO2M.mjs} +2 -2
- package/dist/esm/chunk-5EBUWO2M.mjs.map +1 -0
- package/dist/esm/{chunk-5LGKGWLX.mjs → chunk-5EYTHMRZ.mjs} +2 -2
- package/dist/esm/chunk-5EYTHMRZ.mjs.map +1 -0
- package/dist/esm/{chunk-DBTKJMLV.mjs → chunk-5PXDPMF2.mjs} +2 -2
- package/dist/esm/chunk-5PXDPMF2.mjs.map +1 -0
- package/dist/esm/chunk-5VMAJTTV.mjs +2 -0
- package/dist/esm/chunk-5VMAJTTV.mjs.map +1 -0
- package/dist/esm/{chunk-YEWZAR76.mjs → chunk-5YWH3XPN.mjs} +2 -2
- package/dist/esm/chunk-5YWH3XPN.mjs.map +1 -0
- package/dist/esm/{chunk-QI7OREBM.mjs → chunk-67ZVDKJF.mjs} +2 -2
- package/dist/esm/chunk-67ZVDKJF.mjs.map +1 -0
- package/dist/esm/{chunk-U6OCK6T4.mjs → chunk-6CXMDJQR.mjs} +2 -2
- package/dist/esm/chunk-6CXMDJQR.mjs.map +1 -0
- package/dist/esm/chunk-6IEZPA4H.mjs +2 -0
- package/dist/esm/chunk-6IEZPA4H.mjs.map +1 -0
- package/dist/esm/{chunk-N62NUAHT.mjs → chunk-6YHDZLRN.mjs} +2 -2
- package/dist/esm/chunk-6YHDZLRN.mjs.map +1 -0
- package/dist/esm/chunk-6YWYAVFS.mjs +2 -0
- package/dist/esm/chunk-6YWYAVFS.mjs.map +1 -0
- package/dist/esm/chunk-77AEKF7K.mjs +2 -0
- package/dist/esm/{chunk-YD2BMHH7.mjs.map → chunk-77AEKF7K.mjs.map} +1 -1
- package/dist/esm/{chunk-XOLU6UP3.mjs → chunk-7IY3DTEF.mjs} +2 -2
- package/dist/esm/chunk-7IY3DTEF.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-ICMELYCL.mjs → chunk-AFEHO5PP.mjs} +2 -2
- package/dist/esm/chunk-AFEHO5PP.mjs.map +1 -0
- package/dist/esm/{chunk-NK67FECB.mjs → chunk-AXYARCYT.mjs} +2 -2
- package/dist/esm/chunk-AXYARCYT.mjs.map +1 -0
- package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
- package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
- package/dist/esm/{chunk-U3T4ZT7B.mjs → chunk-BGSEBFFC.mjs} +2 -2
- package/dist/esm/chunk-BGSEBFFC.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-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
- package/dist/esm/chunk-CWKNJZB6.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-IBZKCBN5.mjs → chunk-DOQV5BSA.mjs} +2 -2
- package/dist/esm/chunk-DOQV5BSA.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-IK2NYNKG.mjs → chunk-DYATTONT.mjs} +2 -2
- package/dist/esm/chunk-DYATTONT.mjs.map +1 -0
- package/dist/esm/{chunk-ALNQK276.mjs → chunk-E5HGSOG2.mjs} +2 -2
- package/dist/esm/chunk-E5HGSOG2.mjs.map +1 -0
- package/dist/esm/{chunk-2MN7DW2J.mjs → chunk-E7JDVKFY.mjs} +2 -2
- package/dist/esm/chunk-E7JDVKFY.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-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-UGIHQFID.mjs → chunk-FIEMUPXF.mjs} +2 -2
- package/dist/esm/chunk-FIEMUPXF.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-H3C3VTHS.mjs → chunk-FZD5RWSZ.mjs} +2 -2
- package/dist/esm/chunk-FZD5RWSZ.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-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-GP4TLDVZ.mjs.map +1 -0
- package/dist/esm/{chunk-BAEIZAP7.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-ZMMLM6ZJ.mjs → chunk-IDTLNF4M.mjs} +2 -2
- package/dist/esm/chunk-IDTLNF4M.mjs.map +1 -0
- package/dist/esm/{chunk-PXMNAP2Q.mjs → chunk-IEUEMBFD.mjs} +2 -2
- package/dist/esm/chunk-IEUEMBFD.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-JBEUUULP.mjs} +2 -2
- package/dist/esm/chunk-JBEUUULP.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-2ESU5N3V.mjs → chunk-KOORZTHC.mjs} +2 -2
- package/dist/esm/chunk-KOORZTHC.mjs.map +1 -0
- package/dist/esm/{chunk-2QGJDHME.mjs → chunk-KVM2SGSF.mjs} +2 -2
- package/dist/esm/chunk-KVM2SGSF.mjs.map +1 -0
- package/dist/esm/{chunk-5PVZ4N42.mjs → chunk-M77M6NSB.mjs} +2 -2
- package/dist/esm/chunk-M77M6NSB.mjs.map +1 -0
- package/dist/esm/{chunk-G4KAHJXB.mjs → chunk-MCLYDS3O.mjs} +2 -2
- package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
- package/dist/esm/{chunk-46O23AOD.mjs → chunk-MLSAZJZK.mjs} +2 -2
- package/dist/esm/chunk-MLSAZJZK.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-MWBRD43V.mjs +2 -0
- package/dist/esm/chunk-MWBRD43V.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-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
- package/dist/esm/{chunk-7N7FEBZA.mjs → chunk-NBNZ53ZV.mjs} +2 -2
- package/dist/esm/chunk-NBNZ53ZV.mjs.map +1 -0
- package/dist/esm/{chunk-CX6KECGV.mjs → chunk-NWLJ6RW7.mjs} +2 -2
- package/dist/esm/chunk-NWLJ6RW7.mjs.map +1 -0
- package/dist/esm/{chunk-VIZHWYI5.mjs → chunk-NYETBDSR.mjs} +2 -2
- package/dist/esm/chunk-NYETBDSR.mjs.map +1 -0
- package/dist/esm/{chunk-SK3LIS4Z.mjs → chunk-OEQ2U7GK.mjs} +2 -2
- package/dist/esm/chunk-OEQ2U7GK.mjs.map +1 -0
- package/dist/esm/{chunk-2C27NY4D.mjs → chunk-OHZURQPY.mjs} +2 -2
- package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
- package/dist/esm/{chunk-333QBK32.mjs → chunk-ONTWK5FU.mjs} +2 -2
- package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
- package/dist/esm/chunk-OR6GFWLG.mjs +2 -0
- package/dist/esm/chunk-OR6GFWLG.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-S5SQJRAV.mjs → chunk-OROPNHRY.mjs} +2 -2
- package/dist/esm/chunk-OROPNHRY.mjs.map +1 -0
- package/dist/esm/{chunk-VWGB5BHW.mjs → chunk-OSBRPVVI.mjs} +2 -2
- package/dist/esm/chunk-OSBRPVVI.mjs.map +1 -0
- package/dist/esm/{chunk-NZ7M6NG2.mjs → chunk-P7A5RILV.mjs} +2 -2
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-HMMNQFVM.mjs → chunk-QHC5DKVZ.mjs} +2 -2
- package/dist/esm/chunk-QHC5DKVZ.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/chunk-QQEK7WVP.mjs +2 -0
- package/dist/esm/chunk-QQEK7WVP.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-LKKI2KAP.mjs → chunk-S4LZMY2L.mjs} +2 -2
- package/dist/esm/chunk-S4LZMY2L.mjs.map +1 -0
- package/dist/esm/{chunk-33CVOPIN.mjs → chunk-S7RZGC56.mjs} +2 -2
- package/dist/esm/{chunk-33CVOPIN.mjs.map → chunk-S7RZGC56.mjs.map} +1 -1
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.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-7T26VA2W.mjs → chunk-UC23V7PU.mjs} +2 -2
- package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
- package/dist/esm/{chunk-4MTSP4S2.mjs → chunk-V6VPMNWJ.mjs} +2 -2
- package/dist/esm/chunk-V6VPMNWJ.mjs.map +1 -0
- package/dist/esm/{chunk-JMPHD4BP.mjs → chunk-VUIHJIMX.mjs} +2 -2
- package/dist/esm/chunk-VUIHJIMX.mjs.map +1 -0
- package/dist/esm/{chunk-2KSMV5KD.mjs → chunk-VV4HCOJQ.mjs} +2 -2
- package/dist/esm/chunk-VV4HCOJQ.mjs.map +1 -0
- package/dist/esm/{chunk-XZN344G4.mjs → chunk-VVXBVJXD.mjs} +2 -2
- package/dist/esm/chunk-VVXBVJXD.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-UFPYCROT.mjs → chunk-WQRGDSPD.mjs} +2 -2
- package/dist/esm/chunk-WQRGDSPD.mjs.map +1 -0
- package/dist/esm/chunk-WUWPN7XV.mjs +2 -0
- package/dist/esm/chunk-WUWPN7XV.mjs.map +1 -0
- package/dist/esm/{chunk-LA5HJILW.mjs → chunk-X6UNY6YM.mjs} +2 -2
- package/dist/esm/chunk-X6UNY6YM.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-XTJOA5QN.mjs +2 -0
- package/dist/esm/chunk-XTJOA5QN.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-ZMS3AOEZ.mjs → chunk-XY43TPRH.mjs} +2 -2
- package/dist/esm/chunk-XY43TPRH.mjs.map +1 -0
- package/dist/esm/{chunk-EGV3HFE3.mjs → chunk-XYB6KYKW.mjs} +2 -2
- package/dist/esm/chunk-XYB6KYKW.mjs.map +1 -0
- package/dist/esm/{chunk-RCA73RVB.mjs → chunk-XZ4JRYCE.mjs} +2 -2
- package/dist/esm/chunk-XZ4JRYCE.mjs.map +1 -0
- package/dist/esm/{chunk-4XB3BB5Z.mjs → chunk-YCQUYDZI.mjs} +2 -2
- package/dist/esm/chunk-YCQUYDZI.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-ZAIVZDOL.mjs +2 -0
- package/dist/esm/chunk-ZAIVZDOL.mjs.map +1 -0
- package/dist/esm/{chunk-ZXVN3HXB.mjs → chunk-ZGVNZE7J.mjs} +2 -2
- package/dist/esm/chunk-ZGVNZE7J.mjs.map +1 -0
- package/dist/esm/{chunk-YJVZFYBX.mjs → chunk-ZPV7HPA4.mjs} +2 -2
- package/dist/esm/chunk-ZPV7HPA4.mjs.map +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 +26 -0
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +4 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +33 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +37 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +6 -0
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +46 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/common.d.mts +14 -0
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +57 -5
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +23 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -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 +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +131 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +41 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +38 -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 +9 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +2 -0
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +50 -3
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +6 -0
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +36 -2
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +2 -0
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +20 -0
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +5 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +24 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +27 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +3 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +31 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +5 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +5 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +8 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +7 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +6 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +2 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +5 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +3 -0
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +14 -0
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +16 -5
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +2 -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 +28 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +2 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +23 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +2 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +8 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +8 -0
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +2 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +10 -0
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +30 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +7 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +10 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +16 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +48 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +19 -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 +3 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +45 -7
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +64 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +14 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +10 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +42 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +82 -0
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +8 -0
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +80 -1
- 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/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 +20 -0
- package/dist/esm/utils/helpers.mjs +1 -1
- 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 +8 -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 +19 -20
- 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 +4 -0
- 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/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/transactionBuilder/helpers.ts +82 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +20 -0
- 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 +78 -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.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-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-IBZKCBN5.mjs.map +0 -1
- 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-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-NZ7M6NG2.mjs.map → chunk-P7A5RILV.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -20,6 +20,8 @@ import '../../core/common.mjs';
|
|
|
20
20
|
* @param deserializer - The deserializer used to read the script transaction argument.
|
|
21
21
|
* @returns The deserialized script transaction argument.
|
|
22
22
|
* @throws Error if the variant index is unknown.
|
|
23
|
+
* @group Implementation
|
|
24
|
+
* @category Transactions
|
|
23
25
|
*/
|
|
24
26
|
declare function deserializeFromScriptArgument(deserializer: Deserializer): TransactionArgument;
|
|
25
27
|
/**
|
|
@@ -28,20 +30,28 @@ declare function deserializeFromScriptArgument(deserializer: Deserializer): Tran
|
|
|
28
30
|
* This class serves as a base for different types of transaction payloads, allowing for
|
|
29
31
|
* their serialization into a format suitable for transmission and deserialization back
|
|
30
32
|
* into their original form.
|
|
33
|
+
* @group Implementation
|
|
34
|
+
* @category Transactions
|
|
31
35
|
*/
|
|
32
36
|
declare abstract class TransactionPayload extends Serializable {
|
|
33
37
|
/**
|
|
34
38
|
* Serialize a Transaction Payload
|
|
39
|
+
* @group Implementation
|
|
40
|
+
* @category Transactions
|
|
35
41
|
*/
|
|
36
42
|
abstract serialize(serializer: Serializer): void;
|
|
37
43
|
/**
|
|
38
44
|
* Deserialize a Transaction Payload
|
|
45
|
+
* @group Implementation
|
|
46
|
+
* @category Transactions
|
|
39
47
|
*/
|
|
40
48
|
/**
|
|
41
49
|
* Deserializes a multisig transaction payload from the provided deserializer.
|
|
42
50
|
* This function enables the reconstruction of a MultiSigTransactionPayload object from its serialized form.
|
|
43
51
|
*
|
|
44
52
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Transactions
|
|
45
55
|
*/
|
|
46
56
|
static deserialize(deserializer: Deserializer): TransactionPayload;
|
|
47
57
|
}
|
|
@@ -51,6 +61,8 @@ declare abstract class TransactionPayload extends Serializable {
|
|
|
51
61
|
* This class encapsulates a script that defines the logic for a transaction payload.
|
|
52
62
|
*
|
|
53
63
|
* @extends TransactionPayload
|
|
64
|
+
* @group Implementation
|
|
65
|
+
* @category Transactions
|
|
54
66
|
*/
|
|
55
67
|
declare class TransactionPayloadScript extends TransactionPayload {
|
|
56
68
|
readonly script: Script;
|
|
@@ -59,12 +71,16 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
59
71
|
*
|
|
60
72
|
* @param script - The payload of the multi-sig transaction. This can only be an EntryFunction for now, but Script might be
|
|
61
73
|
* supported in the future.
|
|
74
|
+
* @group Implementation
|
|
75
|
+
* @category Transactions
|
|
62
76
|
*/
|
|
63
77
|
constructor(script: Script);
|
|
64
78
|
/**
|
|
65
79
|
* Serializes the transaction payload, enabling future support for multiple types of inner transaction payloads.
|
|
66
80
|
*
|
|
67
81
|
* @param serializer - The serializer instance used to serialize the transaction data.
|
|
82
|
+
* @group Implementation
|
|
83
|
+
* @category Transactions
|
|
68
84
|
*/
|
|
69
85
|
serialize(serializer: Serializer): void;
|
|
70
86
|
/**
|
|
@@ -72,6 +88,8 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
72
88
|
* This function helps in reconstructing a MultiSig transaction payload from its serialized form.
|
|
73
89
|
*
|
|
74
90
|
* @param deserializer - The deserializer used to read the serialized data.
|
|
91
|
+
* @group Implementation
|
|
92
|
+
* @category Transactions
|
|
75
93
|
*/
|
|
76
94
|
static load(deserializer: Deserializer): TransactionPayloadScript;
|
|
77
95
|
}
|
|
@@ -79,6 +97,8 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
79
97
|
* Represents a transaction payload entry function that can be serialized and deserialized.
|
|
80
98
|
*
|
|
81
99
|
* @extends TransactionPayload
|
|
100
|
+
* @group Implementation
|
|
101
|
+
* @category Transactions
|
|
82
102
|
*/
|
|
83
103
|
declare class TransactionPayloadEntryFunction extends TransactionPayload {
|
|
84
104
|
readonly entryFunction: EntryFunction;
|
|
@@ -88,6 +108,8 @@ declare class TransactionPayloadEntryFunction extends TransactionPayload {
|
|
|
88
108
|
}
|
|
89
109
|
/**
|
|
90
110
|
* Represents a multi-signature transaction payload that can be serialized and deserialized.
|
|
111
|
+
* @group Implementation
|
|
112
|
+
* @category Transactions
|
|
91
113
|
*/
|
|
92
114
|
declare class TransactionPayloadMultiSig extends TransactionPayload {
|
|
93
115
|
readonly multiSig: MultiSig;
|
|
@@ -104,6 +126,8 @@ declare class TransactionPayloadMultiSig extends TransactionPayload {
|
|
|
104
126
|
* @param function_name - The name of the function (e.g., "transfer").
|
|
105
127
|
* @param type_args - Type arguments required by the Move function.
|
|
106
128
|
* @param args - Arguments to the Move function.
|
|
129
|
+
* @group Implementation
|
|
130
|
+
* @category Transactions
|
|
107
131
|
*/
|
|
108
132
|
declare class EntryFunction {
|
|
109
133
|
readonly module_name: ModuleId;
|
|
@@ -128,6 +152,8 @@ declare class EntryFunction {
|
|
|
128
152
|
* ```
|
|
129
153
|
* public entry fun transfer<CoinType>(from: &signer, to: address, amount: u64)
|
|
130
154
|
* ```
|
|
155
|
+
* @group Implementation
|
|
156
|
+
* @category Transactions
|
|
131
157
|
*/
|
|
132
158
|
constructor(module_name: ModuleId, function_name: Identifier, type_args: Array<TypeTag>, args: Array<EntryFunctionArgument>);
|
|
133
159
|
/**
|
|
@@ -150,6 +176,8 @@ declare class EntryFunction {
|
|
|
150
176
|
* ```
|
|
151
177
|
*
|
|
152
178
|
* @returns EntryFunction
|
|
179
|
+
* @group Implementation
|
|
180
|
+
* @category Transactions
|
|
153
181
|
*/
|
|
154
182
|
static build(module_id: MoveModuleId, function_name: string, type_args: Array<TypeTag>, args: Array<EntryFunctionArgument>): EntryFunction;
|
|
155
183
|
serialize(serializer: Serializer): void;
|
|
@@ -170,24 +198,34 @@ declare class EntryFunction {
|
|
|
170
198
|
* @param deserializer
|
|
171
199
|
* @returns A deserialized EntryFunction payload for a transaction.
|
|
172
200
|
*
|
|
201
|
+
* @group Implementation
|
|
202
|
+
* @category Transactions
|
|
173
203
|
*/
|
|
174
204
|
static deserialize(deserializer: Deserializer): EntryFunction;
|
|
175
205
|
}
|
|
176
206
|
/**
|
|
177
207
|
* Represents a Script that can be serialized and deserialized.
|
|
178
208
|
* Scripts contain the Move bytecode payload that can be submitted to the Aptos chain for execution.
|
|
209
|
+
* @group Implementation
|
|
210
|
+
* @category Transactions
|
|
179
211
|
*/
|
|
180
212
|
declare class Script {
|
|
181
213
|
/**
|
|
182
214
|
* The move module bytecode
|
|
215
|
+
* @group Implementation
|
|
216
|
+
* @category Transactions
|
|
183
217
|
*/
|
|
184
218
|
readonly bytecode: Uint8Array;
|
|
185
219
|
/**
|
|
186
220
|
* The type arguments that the bytecode function requires.
|
|
221
|
+
* @group Implementation
|
|
222
|
+
* @category Transactions
|
|
187
223
|
*/
|
|
188
224
|
readonly type_args: Array<TypeTag>;
|
|
189
225
|
/**
|
|
190
226
|
* The arguments that the bytecode function requires.
|
|
227
|
+
* @group Implementation
|
|
228
|
+
* @category Transactions
|
|
191
229
|
*/
|
|
192
230
|
readonly args: Array<ScriptFunctionArgument>;
|
|
193
231
|
/**
|
|
@@ -208,6 +246,8 @@ declare class Script {
|
|
|
208
246
|
* ```
|
|
209
247
|
* public(script) fun transfer<CoinType>(from: &signer, to: address, amount: u64)
|
|
210
248
|
* ```
|
|
249
|
+
* @group Implementation
|
|
250
|
+
* @category Transactions
|
|
211
251
|
*/
|
|
212
252
|
constructor(bytecode: Uint8Array, type_args: Array<TypeTag>, args: Array<ScriptFunctionArgument>);
|
|
213
253
|
serialize(serializer: Serializer): void;
|
|
@@ -218,6 +258,8 @@ declare class Script {
|
|
|
218
258
|
*
|
|
219
259
|
* This class encapsulates the functionality to manage multi-signature transactions, including the address of the
|
|
220
260
|
* multi-sig account and the associated transaction payload.
|
|
261
|
+
* @group Implementation
|
|
262
|
+
* @category Transactions
|
|
221
263
|
*/
|
|
222
264
|
declare class MultiSig {
|
|
223
265
|
readonly multisig_address: AccountAddress;
|
|
@@ -229,6 +271,8 @@ declare class MultiSig {
|
|
|
229
271
|
*
|
|
230
272
|
* @param transaction_payload The payload of the multi-sig transaction. This is optional when executing a multi-sig
|
|
231
273
|
* transaction whose payload is already stored on chain.
|
|
274
|
+
* @group Implementation
|
|
275
|
+
* @category Transactions
|
|
232
276
|
*/
|
|
233
277
|
constructor(multisig_address: AccountAddress, transaction_payload?: MultiSigTransactionPayload);
|
|
234
278
|
serialize(serializer: Serializer): void;
|
|
@@ -239,6 +283,8 @@ declare class MultiSig {
|
|
|
239
283
|
* This class is designed to encapsulate the transaction payload for multi-sig account transactions
|
|
240
284
|
* as defined in the `multisig_account.move` module. Future enhancements may allow support for script
|
|
241
285
|
* payloads as the `multisig_account.move` module evolves.
|
|
286
|
+
* @group Implementation
|
|
287
|
+
* @category Transactions
|
|
242
288
|
*/
|
|
243
289
|
declare class MultiSigTransactionPayload extends Serializable {
|
|
244
290
|
readonly transaction_payload: EntryFunction;
|
|
@@ -248,6 +294,8 @@ declare class MultiSigTransactionPayload extends Serializable {
|
|
|
248
294
|
* @param transaction_payload The payload of the multi-sig transaction.
|
|
249
295
|
* This can only be EntryFunction for now but,
|
|
250
296
|
* Script might be supported in the future.
|
|
297
|
+
* @group Implementation
|
|
298
|
+
* @category Transactions
|
|
251
299
|
*/
|
|
252
300
|
constructor(transaction_payload: EntryFunction);
|
|
253
301
|
serialize(serializer: Serializer): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i}from"../../chunk-ONTWK5FU.mjs";import"../../chunk-G4O6FXCF.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-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{f as EntryFunction,h as MultiSig,i as MultiSigTransactionPayload,g as Script,b as TransactionPayload,d as TransactionPayloadEntryFunction,e as TransactionPayloadMultiSig,c as TransactionPayloadScript,a as deserializeFromScriptArgument};
|
|
2
2
|
//# sourceMappingURL=transactionPayload.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AptosConfig } from '../../api/aptosConfig.mjs';
|
|
2
|
-
import { A as Account } from '../../Ed25519Account-
|
|
2
|
+
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
3
3
|
import '../../types/types.mjs';
|
|
4
4
|
import '../../types/indexer.mjs';
|
|
5
5
|
import '../../types/generated/operations.mjs';
|
|
@@ -12,7 +12,7 @@ import '../../bcs/serializer.mjs';
|
|
|
12
12
|
import '../../core/hex.mjs';
|
|
13
13
|
import '../../core/common.mjs';
|
|
14
14
|
import '../../core/crypto/ed25519.mjs';
|
|
15
|
-
import '../../publicKey-
|
|
15
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
16
16
|
import '../../core/accountAddress.mjs';
|
|
17
17
|
import '../instances/transactionArgument.mjs';
|
|
18
18
|
import '../../core/crypto/signature.mjs';
|
|
@@ -20,6 +20,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
20
20
|
import '../../core/crypto/multiEd25519.mjs';
|
|
21
21
|
import '../../core/crypto/multiKey.mjs';
|
|
22
22
|
import '../../core/crypto/singleKey.mjs';
|
|
23
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
23
24
|
import '../types.mjs';
|
|
24
25
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
25
26
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
@@ -56,6 +57,8 @@ import '../instances/multiAgentTransaction.mjs';
|
|
|
56
57
|
* This only manages the distribution of sequence numbers it does not help handle transaction
|
|
57
58
|
* failures.
|
|
58
59
|
* If a transaction fails, you should call synchronize and wait for timeouts.
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Transactions
|
|
59
62
|
*/
|
|
60
63
|
|
|
61
64
|
/**
|
|
@@ -68,6 +71,8 @@ import '../instances/multiAgentTransaction.mjs';
|
|
|
68
71
|
* @param maxWaitTime - The maximum time to wait for a transaction to commit.
|
|
69
72
|
* @param maximumInFlight - The maximum number of transactions that can be in flight at once.
|
|
70
73
|
* @param sleepTime - The time to wait before retrying to get the sequence number.
|
|
74
|
+
* @group Implementation
|
|
75
|
+
* @category Transactions
|
|
71
76
|
*/
|
|
72
77
|
declare class AccountSequenceNumber {
|
|
73
78
|
readonly aptosConfig: AptosConfig;
|
|
@@ -84,6 +89,8 @@ declare class AccountSequenceNumber {
|
|
|
84
89
|
* The ideal solution is likely that each thread grabs the next number from an incremental integer.
|
|
85
90
|
* When they complete, they increment that number and that entity is able to enter the `lock`.
|
|
86
91
|
* That would guarantee ordering.
|
|
92
|
+
* @group Implementation
|
|
93
|
+
* @category Transactions
|
|
87
94
|
*/
|
|
88
95
|
lock: boolean;
|
|
89
96
|
maxWaitTime: number;
|
|
@@ -98,6 +105,8 @@ declare class AccountSequenceNumber {
|
|
|
98
105
|
* @param maxWaitTime - The maximum time to wait for a transaction to be processed, in milliseconds.
|
|
99
106
|
* @param maximumInFlight - The maximum number of transactions that can be in flight at the same time.
|
|
100
107
|
* @param sleepTime - The time to sleep between transaction checks, in milliseconds.
|
|
108
|
+
* @group Implementation
|
|
109
|
+
* @category Transactions
|
|
101
110
|
*/
|
|
102
111
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime: number, maximumInFlight: number, sleepTime: number);
|
|
103
112
|
/**
|
|
@@ -105,6 +114,8 @@ declare class AccountSequenceNumber {
|
|
|
105
114
|
* This function ensures that the sequence number is updated and synchronized, handling potential delays in transaction commits.
|
|
106
115
|
*
|
|
107
116
|
* @returns {BigInt} The next available sequence number.
|
|
117
|
+
* @group Implementation
|
|
118
|
+
* @category Transactions
|
|
108
119
|
*/
|
|
109
120
|
nextSequenceNumber(): Promise<bigint | null>;
|
|
110
121
|
/**
|
|
@@ -113,12 +124,16 @@ declare class AccountSequenceNumber {
|
|
|
113
124
|
* @returns {Promise<void>} A promise that resolves when the account has been initialized.
|
|
114
125
|
*
|
|
115
126
|
* @throws {Error} Throws an error if the account information cannot be retrieved.
|
|
127
|
+
* @group Implementation
|
|
128
|
+
* @category Transactions
|
|
116
129
|
*/
|
|
117
130
|
initialize(): Promise<void>;
|
|
118
131
|
/**
|
|
119
132
|
* Updates this account's sequence number with the one on-chain.
|
|
120
133
|
*
|
|
121
134
|
* @returns The on-chain sequence number for this account.
|
|
135
|
+
* @group Implementation
|
|
136
|
+
* @category Transactions
|
|
122
137
|
*/
|
|
123
138
|
update(): Promise<bigint>;
|
|
124
139
|
/**
|
|
@@ -126,6 +141,8 @@ declare class AccountSequenceNumber {
|
|
|
126
141
|
* This function polls the network until all submitted transactions have either been committed or until the maximum wait time has elapsed.
|
|
127
142
|
*
|
|
128
143
|
* @throws {Error} Throws an error if there is an issue synchronizing the account sequence number with the one on-chain.
|
|
144
|
+
* @group Implementation
|
|
145
|
+
* @category Transactions
|
|
129
146
|
*/
|
|
130
147
|
synchronize(): Promise<void>;
|
|
131
148
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-V6VPMNWJ.mjs";import"../../chunk-WUWPN7XV.mjs";import"../../chunk-6YHDZLRN.mjs";import"../../chunk-VV4HCOJQ.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GP4TLDVZ.mjs";import"../../chunk-XTJOA5QN.mjs";import"../../chunk-OR6GFWLG.mjs";import"../../chunk-M77M6NSB.mjs";import"../../chunk-MWBRD43V.mjs";import"../../chunk-JJM6ELMS.mjs";import"../../chunk-5VMAJTTV.mjs";import"../../chunk-2N5KYALM.mjs";import"../../chunk-ZAIVZDOL.mjs";import"../../chunk-QQEK7WVP.mjs";import"../../chunk-4ZYPDCSP.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-MCLYDS3O.mjs";import"../../chunk-OHZURQPY.mjs";import"../../chunk-5EBUWO2M.mjs";import"../../chunk-DYATTONT.mjs";import"../../chunk-QHC5DKVZ.mjs";import"../../chunk-UC23V7PU.mjs";import"../../chunk-7IY3DTEF.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-ONTWK5FU.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-YCQUYDZI.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountSequenceNumber};
|
|
2
2
|
//# sourceMappingURL=accountSequenceNumber.mjs.map
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* It allows to enqueue items and dequeue them asynchronously.
|
|
5
5
|
* This is not thread-safe, but it is async concurrency safe, and
|
|
6
6
|
* it does not guarantee ordering for those that call into and await on enqueue.
|
|
7
|
+
* @group Implementation
|
|
8
|
+
* @category Transactions
|
|
7
9
|
*/
|
|
8
10
|
declare class AsyncQueue<T> {
|
|
9
11
|
readonly queue: T[];
|
|
@@ -14,6 +16,8 @@ declare class AsyncQueue<T> {
|
|
|
14
16
|
* immediately; otherwise, it adds the item to the queue.
|
|
15
17
|
*
|
|
16
18
|
* @param item - The item to be added to the queue.
|
|
19
|
+
* @group Implementation
|
|
20
|
+
* @category Transactions
|
|
17
21
|
*/
|
|
18
22
|
enqueue(item: T): void;
|
|
19
23
|
/**
|
|
@@ -21,12 +25,16 @@ declare class AsyncQueue<T> {
|
|
|
21
25
|
* If the queue is empty, it creates a new promise that will be resolved when an item is enqueued.
|
|
22
26
|
*
|
|
23
27
|
* @returns Promise<T>
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Transactions
|
|
24
30
|
*/
|
|
25
31
|
dequeue(): Promise<T>;
|
|
26
32
|
/**
|
|
27
33
|
* Determine whether the queue is empty.
|
|
28
34
|
*
|
|
29
35
|
* @returns boolean - Returns true if the queue has no elements, otherwise false.
|
|
36
|
+
* @group Implementation
|
|
37
|
+
* @category Transactions
|
|
30
38
|
*/
|
|
31
39
|
isEmpty(): boolean;
|
|
32
40
|
/**
|
|
@@ -34,18 +42,24 @@ declare class AsyncQueue<T> {
|
|
|
34
42
|
* This ensures that any awaiting code can handle the cancellation appropriately.
|
|
35
43
|
*
|
|
36
44
|
* @returns {void}
|
|
45
|
+
* @group Implementation
|
|
46
|
+
* @category Transactions
|
|
37
47
|
*/
|
|
38
48
|
cancel(): void;
|
|
39
49
|
/**
|
|
40
50
|
* Determine whether the queue has been cancelled.
|
|
41
51
|
*
|
|
42
52
|
* @returns boolean - Returns true if the queue is cancelled, otherwise false.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Transactions
|
|
43
55
|
*/
|
|
44
56
|
isCancelled(): boolean;
|
|
45
57
|
/**
|
|
46
58
|
* Retrieve the length of the pending dequeue.
|
|
47
59
|
*
|
|
48
60
|
* @returns number - The number of items currently in the pending dequeue.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Transactions
|
|
49
63
|
*/
|
|
50
64
|
pendingDequeueLength(): number;
|
|
51
65
|
}
|
|
@@ -54,6 +68,8 @@ declare class AsyncQueue<T> {
|
|
|
54
68
|
* This error extends the built-in Error class to provide additional context for cancellation events.
|
|
55
69
|
*
|
|
56
70
|
* @extends Error
|
|
71
|
+
* @group Implementation
|
|
72
|
+
* @category Transactions
|
|
57
73
|
*/
|
|
58
74
|
declare class AsyncQueueCancelledError extends Error {
|
|
59
75
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-A5L76YP7.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AsyncQueue,b as AsyncQueueCancelledError};
|
|
2
2
|
//# sourceMappingURL=asyncQueue.mjs.map
|
|
@@ -7,14 +7,14 @@ import '../../types/generated/operations.mjs';
|
|
|
7
7
|
import '../../types/generated/types.mjs';
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
9
|
import '../../utils/const.mjs';
|
|
10
|
-
import '../../Ed25519Account-
|
|
10
|
+
import '../../Ed25519Account-D4j3_WIS.mjs';
|
|
11
11
|
import '../authenticator/account.mjs';
|
|
12
12
|
import '../../bcs/deserializer.mjs';
|
|
13
13
|
import '../../bcs/serializer.mjs';
|
|
14
14
|
import '../../core/hex.mjs';
|
|
15
15
|
import '../../core/common.mjs';
|
|
16
16
|
import '../../core/crypto/ed25519.mjs';
|
|
17
|
-
import '../../publicKey-
|
|
17
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
18
18
|
import '../../core/accountAddress.mjs';
|
|
19
19
|
import '../instances/transactionArgument.mjs';
|
|
20
20
|
import '../../core/crypto/signature.mjs';
|
|
@@ -22,6 +22,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
22
22
|
import '../../core/crypto/multiEd25519.mjs';
|
|
23
23
|
import '../../core/crypto/multiKey.mjs';
|
|
24
24
|
import '../../core/crypto/singleKey.mjs';
|
|
25
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
25
26
|
import '../types.mjs';
|
|
26
27
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
27
28
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-IHYTP2EW.mjs";import{a as b,b as c,c as d}from"../../chunk-
|
|
1
|
+
import"../../chunk-IHYTP2EW.mjs";import{a as b,b as c,c as d}from"../../chunk-XZ4JRYCE.mjs";import{a}from"../../chunk-V6VPMNWJ.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-OEQ2U7GK.mjs";import"../../chunk-I5OYNCZS.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-JBEUUULP.mjs";import"../../chunk-MLSAZJZK.mjs";import"../../chunk-AZWVCBK2.mjs";import"../../chunk-HBH2NQKU.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-WUWPN7XV.mjs";import"../../chunk-6YHDZLRN.mjs";import"../../chunk-3RCAJICY.mjs";import"../../chunk-VV4HCOJQ.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GP4TLDVZ.mjs";import"../../chunk-XTJOA5QN.mjs";import"../../chunk-OR6GFWLG.mjs";import"../../chunk-M77M6NSB.mjs";import"../../chunk-MWBRD43V.mjs";import"../../chunk-JJM6ELMS.mjs";import"../../chunk-5VMAJTTV.mjs";import"../../chunk-2N5KYALM.mjs";import"../../chunk-ZAIVZDOL.mjs";import"../../chunk-QQEK7WVP.mjs";import"../../chunk-4ZYPDCSP.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-MCLYDS3O.mjs";import"../../chunk-OHZURQPY.mjs";import"../../chunk-5EBUWO2M.mjs";import"../../chunk-DYATTONT.mjs";import"../../chunk-QHC5DKVZ.mjs";import"../../chunk-UC23V7PU.mjs";import"../../chunk-7IY3DTEF.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-ONTWK5FU.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-YCQUYDZI.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountSequenceNumber,d as TransactionWorker,c as TransactionWorkerEventsEnum,b as promiseFulfilledStatus};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,7 +2,7 @@ import { AccountSequenceNumber } from './accountSequenceNumber.mjs';
|
|
|
2
2
|
import EventEmitter from 'eventemitter3';
|
|
3
3
|
import { AptosConfig } from '../../api/aptosConfig.mjs';
|
|
4
4
|
import { PendingTransactionResponse } from '../../types/types.mjs';
|
|
5
|
-
import { A as Account } from '../../Ed25519Account-
|
|
5
|
+
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
6
6
|
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../types.mjs';
|
|
7
7
|
import { AsyncQueue } from './asyncQueue.mjs';
|
|
8
8
|
import { SimpleTransaction } from '../instances/simpleTransaction.mjs';
|
|
@@ -17,7 +17,7 @@ import '../../bcs/serializer.mjs';
|
|
|
17
17
|
import '../../core/hex.mjs';
|
|
18
18
|
import '../../core/common.mjs';
|
|
19
19
|
import '../../core/crypto/ed25519.mjs';
|
|
20
|
-
import '../../publicKey-
|
|
20
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
21
21
|
import '../../core/accountAddress.mjs';
|
|
22
22
|
import '../instances/transactionArgument.mjs';
|
|
23
23
|
import '../../core/crypto/signature.mjs';
|
|
@@ -25,6 +25,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
25
25
|
import '../../core/crypto/multiEd25519.mjs';
|
|
26
26
|
import '../../core/crypto/multiKey.mjs';
|
|
27
27
|
import '../../core/crypto/singleKey.mjs';
|
|
28
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
28
29
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
29
30
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
30
31
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
@@ -36,9 +37,15 @@ import '../instances/moduleId.mjs';
|
|
|
36
37
|
import '../typeTag/index.mjs';
|
|
37
38
|
import '../instances/multiAgentTransaction.mjs';
|
|
38
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @group Implementation
|
|
42
|
+
* @category Transactions
|
|
43
|
+
*/
|
|
39
44
|
declare const promiseFulfilledStatus = "fulfilled";
|
|
40
45
|
/**
|
|
41
46
|
* Events emitted by the transaction worker during its operation, allowing the dapp to respond to various transaction states.
|
|
47
|
+
* @group Implementation
|
|
48
|
+
* @category Transactions
|
|
42
49
|
*/
|
|
43
50
|
declare enum TransactionWorkerEventsEnum {
|
|
44
51
|
TransactionSent = "transactionSent",
|
|
@@ -49,11 +56,8 @@ declare enum TransactionWorkerEventsEnum {
|
|
|
49
56
|
}
|
|
50
57
|
/**
|
|
51
58
|
* Defines the events emitted by the transaction worker during various stages of transaction processing. *
|
|
52
|
-
* @
|
|
53
|
-
* @
|
|
54
|
-
* @event transactionExecuted - Emitted when a transaction is successfully executed.
|
|
55
|
-
* @event transactionExecutionFailed - Emitted when executing a transaction fails.
|
|
56
|
-
* @event executionFinish - Emitted when the execution process is finished.
|
|
59
|
+
* @group Implementation
|
|
60
|
+
* @category Transactions
|
|
57
61
|
*/
|
|
58
62
|
interface TransactionWorkerEvents {
|
|
59
63
|
transactionSent: (data: SuccessEventData) => void;
|
|
@@ -64,12 +68,16 @@ interface TransactionWorkerEvents {
|
|
|
64
68
|
}
|
|
65
69
|
/**
|
|
66
70
|
* The payload for when the worker has finished its job.
|
|
71
|
+
* @group Implementation
|
|
72
|
+
* @category Transactions
|
|
67
73
|
*/
|
|
68
74
|
type ExecutionFinishEventData = {
|
|
69
75
|
message: string;
|
|
70
76
|
};
|
|
71
77
|
/**
|
|
72
78
|
* The payload for a success event.
|
|
79
|
+
* @group Implementation
|
|
80
|
+
* @category Transactions
|
|
73
81
|
*/
|
|
74
82
|
type SuccessEventData = {
|
|
75
83
|
message: string;
|
|
@@ -77,6 +85,8 @@ type SuccessEventData = {
|
|
|
77
85
|
};
|
|
78
86
|
/**
|
|
79
87
|
* The payload for a failure event.
|
|
88
|
+
* @group Implementation
|
|
89
|
+
* @category Transactions
|
|
80
90
|
*/
|
|
81
91
|
type FailureEventData = {
|
|
82
92
|
message: string;
|
|
@@ -93,6 +103,8 @@ type FailureEventData = {
|
|
|
93
103
|
* 1) waits for resolution of the submission process or get pre-execution validation error
|
|
94
104
|
* and 2) waits for the resolution of the execution process or get an execution error.
|
|
95
105
|
* The worker fires events for any submission and/or execution success and/or failure.
|
|
106
|
+
* @group Implementation
|
|
107
|
+
* @category Transactions
|
|
96
108
|
*/
|
|
97
109
|
declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
98
110
|
readonly aptosConfig: AptosConfig;
|
|
@@ -104,18 +116,26 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
104
116
|
* transactions payloads waiting to be generated and signed
|
|
105
117
|
*
|
|
106
118
|
* TODO support entry function payload from ABI builder
|
|
119
|
+
* @group Implementation
|
|
120
|
+
* @category Transactions
|
|
107
121
|
*/
|
|
108
122
|
transactionsQueue: AsyncQueue<[InputGenerateTransactionPayloadData, InputGenerateTransactionOptions | undefined]>;
|
|
109
123
|
/**
|
|
110
124
|
* signed transactions waiting to be submitted
|
|
125
|
+
* @group Implementation
|
|
126
|
+
* @category Transactions
|
|
111
127
|
*/
|
|
112
128
|
outstandingTransactions: AsyncQueue<[Promise<PendingTransactionResponse>, bigint]>;
|
|
113
129
|
/**
|
|
114
130
|
* transactions that have been submitted to chain
|
|
131
|
+
* @group Implementation
|
|
132
|
+
* @category Transactions
|
|
115
133
|
*/
|
|
116
134
|
sentTransactions: Array<[string, bigint, any]>;
|
|
117
135
|
/**
|
|
118
136
|
* transactions that have been committed to chain
|
|
137
|
+
* @group Implementation
|
|
138
|
+
* @category Transactions
|
|
119
139
|
*/
|
|
120
140
|
executedTransactions: Array<[string, bigint, any]>;
|
|
121
141
|
/**
|
|
@@ -128,6 +148,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
128
148
|
* @param maximumInFlight - The maximum number of transactions that can be submitted per account, default is 100.
|
|
129
149
|
* @param sleepTime - The time to wait in seconds before re-evaluating if the maximum number of transactions are in flight,
|
|
130
150
|
* default is 10 seconds.
|
|
151
|
+
* @group Implementation
|
|
152
|
+
* @category Transactions
|
|
131
153
|
*/
|
|
132
154
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime?: number, maximumInFlight?: number, sleepTime?: number);
|
|
133
155
|
/**
|
|
@@ -136,6 +158,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
136
158
|
* This function continues to submit transactions until there are no more to process.
|
|
137
159
|
*
|
|
138
160
|
* @throws {Error} Throws an error if the transaction submission fails.
|
|
161
|
+
* @group Implementation
|
|
162
|
+
* @category Transactions
|
|
139
163
|
*/
|
|
140
164
|
submitNextTransaction(): Promise<void>;
|
|
141
165
|
/**
|
|
@@ -148,12 +172,16 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
148
172
|
* @event TransactionWorkerEventsEnum.TransactionSendFailed - Emitted when a transaction fails to commit, along with the error
|
|
149
173
|
* reason.
|
|
150
174
|
* @event TransactionWorkerEventsEnum.ExecutionFinish - Emitted when the execution of transactions is complete.
|
|
175
|
+
* @group Implementation
|
|
176
|
+
* @category Transactions
|
|
151
177
|
*/
|
|
152
178
|
processTransactions(): Promise<void>;
|
|
153
179
|
/**
|
|
154
180
|
* Once a transaction has been sent to the chain, this function checks for its execution status.
|
|
155
181
|
* @param sentTransaction - The transaction that was sent to the chain and is now waiting to be executed.
|
|
156
182
|
* @param sequenceNumber - The account's sequence number that was sent with the transaction.
|
|
183
|
+
* @group Implementation
|
|
184
|
+
* @category Transactions
|
|
157
185
|
*/
|
|
158
186
|
checkTransaction(sentTransaction: PromiseFulfilledResult<PendingTransactionResponse>, sequenceNumber: bigint): Promise<void>;
|
|
159
187
|
/**
|
|
@@ -166,6 +194,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
166
194
|
* @param options.gasUnitPrice - Gas unit price for the transaction.
|
|
167
195
|
* @param options.expireTimestamp - Expiration timestamp on the transaction.
|
|
168
196
|
* @param options.accountSequenceNumber - The sequence number for the transaction.
|
|
197
|
+
* @group Implementation
|
|
198
|
+
* @category Transactions
|
|
169
199
|
*/
|
|
170
200
|
push(transactionData: InputGenerateTransactionPayloadData, options?: InputGenerateTransactionOptions): Promise<void>;
|
|
171
201
|
/**
|
|
@@ -174,24 +204,32 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
174
204
|
* @param account - An Aptos account used as the sender of the transaction.
|
|
175
205
|
* @param sequenceNumber - A sequence number the transaction will be generated with.
|
|
176
206
|
* @returns A signed transaction object or undefined if the transaction queue is empty.
|
|
207
|
+
* @group Implementation
|
|
208
|
+
* @category Transactions
|
|
177
209
|
*/
|
|
178
210
|
generateNextTransaction(account: Account, sequenceNumber: bigint): Promise<SimpleTransaction | undefined>;
|
|
179
211
|
/**
|
|
180
212
|
* Starts transaction submission and processing by executing tasks from the queue until it is cancelled.
|
|
181
213
|
*
|
|
182
214
|
* @throws {Error} Throws an error if unable to start transaction batching.
|
|
215
|
+
* @group Implementation
|
|
216
|
+
* @category Transactions
|
|
183
217
|
*/
|
|
184
218
|
run(): Promise<void>;
|
|
185
219
|
/**
|
|
186
220
|
* Starts the transaction management process.
|
|
187
221
|
*
|
|
188
222
|
* @throws {Error} Throws an error if the worker has already started.
|
|
223
|
+
* @group Implementation
|
|
224
|
+
* @category Transactions
|
|
189
225
|
*/
|
|
190
226
|
start(): void;
|
|
191
227
|
/**
|
|
192
228
|
* Stops the transaction management process.
|
|
193
229
|
*
|
|
194
230
|
* @throws {Error} Throws an error if the worker has already stopped.
|
|
231
|
+
* @group Implementation
|
|
232
|
+
* @category Transactions
|
|
195
233
|
*/
|
|
196
234
|
stop(): void;
|
|
197
235
|
}
|