@aptos-labs/ts-sdk 1.29.1 → 1.30.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 +2 -2
- package/dist/common/{accountAddress-DUCC2ffJ.d.ts → accountAddress-DnSqjhSl.d.ts} +700 -245
- package/dist/common/{chunk-HBPH2AD3.js → chunk-7IYTZDXV.js} +1 -1
- package/dist/common/chunk-7IYTZDXV.js.map +1 -0
- package/dist/common/cli/index.d.ts +123 -126
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +5916 -1627
- package/dist/common/index.js +8 -8
- package/dist/common/index.js.map +1 -1
- package/dist/esm/Ed25519Account-DpH9qAcg.d.mts +470 -0
- package/dist/esm/account/AbstractKeylessAccount.d.mts +5 -5
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +49 -14
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +37 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +54 -34
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +2 -2
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/api/account.d.mts +445 -160
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +369 -122
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +40 -7
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +102 -14
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +50 -13
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +708 -298
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +128 -25
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +44 -7
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +151 -48
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +169 -53
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +2 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +81 -10
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +49 -5
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +84 -15
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +117 -37
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +440 -109
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +99 -13
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +79 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +111 -12
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +97 -3
- 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 +140 -15
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +104 -13
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +26 -3
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.mjs +1 -1
- package/dist/esm/bcs/deserializer.d.mts +82 -32
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +25 -6
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +51 -21
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +79 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +119 -32
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +111 -76
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-U6Z4FNB7.mjs → chunk-2CJC43CV.mjs} +1 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +1 -0
- package/dist/esm/{chunk-WWZ3METZ.mjs → chunk-2I56E4T2.mjs} +2 -2
- package/dist/esm/chunk-2I56E4T2.mjs.map +1 -0
- package/dist/esm/{chunk-HSPBA2TZ.mjs → chunk-2QRWGJJA.mjs} +2 -2
- package/dist/esm/chunk-2QRWGJJA.mjs.map +1 -0
- package/dist/esm/chunk-37UZKMJI.mjs +2 -0
- package/dist/esm/chunk-37UZKMJI.mjs.map +1 -0
- package/dist/esm/chunk-4CDDWSKZ.mjs +2 -0
- package/dist/esm/chunk-4CDDWSKZ.mjs.map +1 -0
- package/dist/esm/chunk-4OV7QU2U.mjs +2 -0
- package/dist/esm/chunk-4OV7QU2U.mjs.map +1 -0
- package/dist/esm/{chunk-RNTXQYJQ.mjs → chunk-5AAFF2PV.mjs} +2 -2
- package/dist/esm/chunk-5AAFF2PV.mjs.map +1 -0
- package/dist/esm/chunk-5CCHECTE.mjs +2 -0
- package/dist/esm/chunk-5CCHECTE.mjs.map +1 -0
- package/dist/esm/{chunk-CPPBQDHB.mjs → chunk-5XXIIWG7.mjs} +2 -2
- package/dist/esm/chunk-5XXIIWG7.mjs.map +1 -0
- package/dist/esm/{chunk-K2O24YLZ.mjs → chunk-5ZBHIUWG.mjs} +2 -2
- package/dist/esm/chunk-5ZBHIUWG.mjs.map +1 -0
- package/dist/esm/chunk-6AGTDRNM.mjs +2 -0
- package/dist/esm/chunk-6AGTDRNM.mjs.map +1 -0
- package/dist/esm/chunk-6FLHGOKP.mjs +2 -0
- package/dist/esm/chunk-6FLHGOKP.mjs.map +1 -0
- package/dist/esm/{chunk-LG7RJQ57.mjs → chunk-6Q2O5G3J.mjs} +1 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +1 -0
- package/dist/esm/chunk-7D3RY73L.mjs +2 -0
- package/dist/esm/chunk-7D3RY73L.mjs.map +1 -0
- package/dist/esm/{chunk-5655UVIK.mjs → chunk-7PVIWKGT.mjs} +2 -2
- package/dist/esm/chunk-7PVIWKGT.mjs.map +1 -0
- package/dist/esm/chunk-7V6RL27I.mjs +2 -0
- package/dist/esm/chunk-7V6RL27I.mjs.map +1 -0
- package/dist/esm/{chunk-44GYWUSH.mjs → chunk-7XS45O6M.mjs} +1 -1
- package/dist/esm/chunk-7XS45O6M.mjs.map +1 -0
- package/dist/esm/{chunk-E37YRKWK.mjs → chunk-AGBA3Y7A.mjs} +2 -2
- package/dist/esm/chunk-AGBA3Y7A.mjs.map +1 -0
- package/dist/esm/{chunk-ECWOLU5T.mjs → chunk-BQXVHY7J.mjs} +2 -2
- package/dist/esm/chunk-BQXVHY7J.mjs.map +1 -0
- package/dist/esm/{chunk-PUZ25PTD.mjs → chunk-CRL4WGOH.mjs} +2 -2
- package/dist/esm/chunk-CRL4WGOH.mjs.map +1 -0
- package/dist/esm/{chunk-SWHLSREF.mjs → chunk-D3KBNFZR.mjs} +2 -2
- package/dist/esm/chunk-D3KBNFZR.mjs.map +1 -0
- package/dist/esm/{chunk-SCHZ67F3.mjs → chunk-D3OEQLUE.mjs} +1 -1
- package/dist/esm/{chunk-SCHZ67F3.mjs.map → chunk-D3OEQLUE.mjs.map} +1 -1
- package/dist/esm/{chunk-MO4IZXLK.mjs → chunk-DCUVV3VY.mjs} +2 -2
- package/dist/esm/chunk-DCUVV3VY.mjs.map +1 -0
- package/dist/esm/{chunk-AFOPNDOJ.mjs → chunk-DXQT55L3.mjs} +2 -2
- package/dist/esm/chunk-DXQT55L3.mjs.map +1 -0
- package/dist/esm/chunk-DZJXOL64.mjs +2 -0
- package/dist/esm/chunk-DZJXOL64.mjs.map +1 -0
- package/dist/esm/{chunk-QCUFTD7K.mjs → chunk-EF2PUPUH.mjs} +2 -2
- package/dist/esm/chunk-EF2PUPUH.mjs.map +1 -0
- package/dist/esm/{chunk-XXHW3ZT3.mjs → chunk-EKZQ3EYX.mjs} +2 -2
- package/dist/esm/chunk-EKZQ3EYX.mjs.map +1 -0
- package/dist/esm/{chunk-XH7YKEYR.mjs → chunk-EN2HDNFE.mjs} +2 -2
- package/dist/esm/chunk-EN2HDNFE.mjs.map +1 -0
- package/dist/esm/{chunk-TL7DR54X.mjs → chunk-FO4F3OJJ.mjs} +2 -2
- package/dist/esm/chunk-FO4F3OJJ.mjs.map +1 -0
- package/dist/esm/{chunk-7ZLBJUVZ.mjs → chunk-FPF4KZ5M.mjs} +2 -2
- package/dist/esm/chunk-FPF4KZ5M.mjs.map +1 -0
- package/dist/esm/{chunk-Y7F2V3R6.mjs → chunk-FY7TSOUU.mjs} +2 -2
- package/dist/esm/chunk-FY7TSOUU.mjs.map +1 -0
- package/dist/esm/{chunk-XK3JFCP3.mjs → chunk-GIQQF2PD.mjs} +2 -2
- package/dist/esm/chunk-GIQQF2PD.mjs.map +1 -0
- package/dist/esm/{chunk-SRPI2FFA.mjs → chunk-GMKKHGXK.mjs} +1 -1
- package/dist/esm/chunk-GMKKHGXK.mjs.map +1 -0
- package/dist/esm/chunk-GPZRGLU2.mjs +2 -0
- package/dist/esm/chunk-GPZRGLU2.mjs.map +1 -0
- package/dist/esm/{chunk-TDGQGILY.mjs → chunk-GQABU3RQ.mjs} +1 -1
- package/dist/esm/chunk-GQABU3RQ.mjs.map +1 -0
- package/dist/esm/{chunk-BRFHAO2Y.mjs → chunk-HAMXSLWF.mjs} +2 -2
- package/dist/esm/chunk-HAMXSLWF.mjs.map +1 -0
- package/dist/esm/{chunk-AH44UPM4.mjs → chunk-HBIDHQ2M.mjs} +1 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +1 -0
- package/dist/esm/{chunk-FRGXKOU5.mjs → chunk-HCV3NGLS.mjs} +2 -2
- package/dist/esm/chunk-HCV3NGLS.mjs.map +1 -0
- package/dist/esm/{chunk-GFGX3QDP.mjs → chunk-HDTKBFRX.mjs} +2 -2
- package/dist/esm/chunk-HDTKBFRX.mjs.map +1 -0
- package/dist/esm/chunk-HGVZ7ULA.mjs +2 -0
- package/dist/esm/chunk-HGVZ7ULA.mjs.map +1 -0
- package/dist/esm/{chunk-6EMN3BOV.mjs → chunk-I2NMCLNW.mjs} +1 -1
- package/dist/esm/chunk-I2NMCLNW.mjs.map +1 -0
- package/dist/esm/chunk-IBLZ6MZU.mjs +2 -0
- package/dist/esm/chunk-IBLZ6MZU.mjs.map +1 -0
- package/dist/esm/chunk-IECDO22V.mjs +2 -0
- package/dist/esm/chunk-IECDO22V.mjs.map +1 -0
- package/dist/esm/{chunk-TMW2HIXC.mjs → chunk-IFHQSZLK.mjs} +2 -2
- package/dist/esm/chunk-IFHQSZLK.mjs.map +1 -0
- package/dist/esm/{chunk-EXP5STXZ.mjs → chunk-J245N3XF.mjs} +1 -1
- package/dist/esm/chunk-J245N3XF.mjs.map +1 -0
- package/dist/esm/{chunk-2TQIU7CG.mjs → chunk-JDYASF3E.mjs} +2 -2
- package/dist/esm/chunk-JDYASF3E.mjs.map +1 -0
- package/dist/esm/{chunk-MS4MRLGA.mjs → chunk-JGNMNCQB.mjs} +2 -2
- package/dist/esm/chunk-JGNMNCQB.mjs.map +1 -0
- package/dist/esm/{chunk-TS3PYRAT.mjs → chunk-JNHFQTFC.mjs} +2 -2
- package/dist/esm/chunk-JNHFQTFC.mjs.map +1 -0
- package/dist/esm/{chunk-CVDR5SJR.mjs → chunk-JY3JJ55D.mjs} +2 -2
- package/dist/esm/chunk-JY3JJ55D.mjs.map +1 -0
- package/dist/esm/{chunk-KYSDF3CA.mjs → chunk-K6MZXKVV.mjs} +2 -2
- package/dist/esm/chunk-K6MZXKVV.mjs.map +1 -0
- package/dist/esm/{chunk-FVA2OPG4.mjs → chunk-KDMSOCZY.mjs} +1 -1
- package/dist/esm/{chunk-BCUSI3N6.mjs → chunk-KFNDDPOW.mjs} +2 -2
- package/dist/esm/chunk-KFNDDPOW.mjs.map +1 -0
- package/dist/esm/{chunk-DF4WKSTK.mjs → chunk-KFSVKIFO.mjs} +2 -2
- package/dist/esm/chunk-KFSVKIFO.mjs.map +1 -0
- package/dist/esm/chunk-KIW54KWR.mjs +2 -0
- package/dist/esm/{chunk-QPP6BX53.mjs → chunk-KM6UXNC7.mjs} +2 -2
- package/dist/esm/chunk-KM6UXNC7.mjs.map +1 -0
- package/dist/esm/{chunk-PKXEB7XP.mjs → chunk-KRVLR3L4.mjs} +2 -2
- package/dist/esm/chunk-KRVLR3L4.mjs.map +1 -0
- package/dist/esm/{chunk-B6M7QBUO.mjs → chunk-KSKQVOBA.mjs} +2 -2
- package/dist/esm/chunk-KSKQVOBA.mjs.map +1 -0
- package/dist/esm/{chunk-G7MWTE2J.mjs → chunk-KSUZS6EL.mjs} +2 -2
- package/dist/esm/{chunk-YHAPZP5A.mjs → chunk-L5I7F3NZ.mjs} +2 -2
- package/dist/esm/chunk-L5I7F3NZ.mjs.map +1 -0
- package/dist/esm/{chunk-XONG5JZ4.mjs → chunk-LD5MUWGW.mjs} +2 -2
- package/dist/esm/chunk-LD5MUWGW.mjs.map +1 -0
- package/dist/esm/{chunk-UAL27G6B.mjs → chunk-LEKBJ2EG.mjs} +1 -1
- package/dist/esm/chunk-LEKBJ2EG.mjs.map +1 -0
- package/dist/esm/{chunk-6RZZIOGH.mjs → chunk-LZS7BQ2B.mjs} +2 -2
- package/dist/esm/chunk-LZS7BQ2B.mjs.map +1 -0
- package/dist/esm/{chunk-3YKAGVHZ.mjs → chunk-N3OYD6VZ.mjs} +2 -2
- package/dist/esm/chunk-N3OYD6VZ.mjs.map +1 -0
- package/dist/esm/{chunk-KEYAPEAX.mjs → chunk-N47FTRYO.mjs} +1 -1
- package/dist/esm/chunk-N47FTRYO.mjs.map +1 -0
- package/dist/esm/{chunk-QIW56MUH.mjs → chunk-NODYW7DM.mjs} +2 -2
- package/dist/esm/chunk-NODYW7DM.mjs.map +1 -0
- package/dist/esm/{chunk-25TIHDS6.mjs → chunk-NV6DHDM3.mjs} +2 -2
- package/dist/esm/chunk-NV6DHDM3.mjs.map +1 -0
- package/dist/esm/{chunk-EV2USF7B.mjs → chunk-OLPI7QAH.mjs} +2 -2
- package/dist/esm/chunk-OLPI7QAH.mjs.map +1 -0
- package/dist/esm/chunk-ONBFUPEC.mjs +2 -0
- package/dist/esm/chunk-ONBFUPEC.mjs.map +1 -0
- package/dist/esm/{chunk-N5JNKD5F.mjs → chunk-OS2EG6AE.mjs} +2 -2
- package/dist/esm/chunk-OS2EG6AE.mjs.map +1 -0
- package/dist/esm/chunk-OTY3NO7Q.mjs +2 -0
- package/dist/esm/chunk-OTY3NO7Q.mjs.map +1 -0
- package/dist/esm/{chunk-25NSCK4Q.mjs → chunk-OV5UQ75K.mjs} +2 -2
- package/dist/esm/chunk-OV5UQ75K.mjs.map +1 -0
- package/dist/esm/{chunk-YJCZU6PR.mjs → chunk-OZN3OOJV.mjs} +2 -2
- package/dist/esm/chunk-OZN3OOJV.mjs.map +1 -0
- package/dist/esm/{chunk-WP7WF54Q.mjs → chunk-PCLU4KLY.mjs} +2 -2
- package/dist/esm/chunk-PCLU4KLY.mjs.map +1 -0
- package/dist/esm/{chunk-SR24OGHJ.mjs → chunk-PGZWRY7A.mjs} +2 -2
- package/dist/esm/chunk-PGZWRY7A.mjs.map +1 -0
- package/dist/esm/{chunk-SAPUZZEU.mjs → chunk-PHG2IWZW.mjs} +2 -2
- package/dist/esm/chunk-PHG2IWZW.mjs.map +1 -0
- package/dist/esm/{chunk-LR65XHSF.mjs → chunk-PHP47DI4.mjs} +2 -2
- package/dist/esm/chunk-PHP47DI4.mjs.map +1 -0
- package/dist/esm/chunk-PRZ7AIGA.mjs +2 -0
- package/dist/esm/chunk-PRZ7AIGA.mjs.map +1 -0
- package/dist/esm/{chunk-OY2IX7HW.mjs → chunk-QBP4XJT5.mjs} +2 -2
- package/dist/esm/chunk-QBP4XJT5.mjs.map +1 -0
- package/dist/esm/{chunk-ZGO2SK6F.mjs → chunk-QBWGWHJK.mjs} +2 -2
- package/dist/esm/chunk-QBWGWHJK.mjs.map +1 -0
- package/dist/esm/chunk-QQIVWB6G.mjs +2 -0
- package/dist/esm/chunk-QQIVWB6G.mjs.map +1 -0
- package/dist/esm/{chunk-IYQISVDX.mjs → chunk-QRTZYRH2.mjs} +2 -2
- package/dist/esm/chunk-QRTZYRH2.mjs.map +1 -0
- package/dist/esm/{chunk-NH2S6SB2.mjs → chunk-R3Y6WH2U.mjs} +2 -2
- package/dist/esm/chunk-R3Y6WH2U.mjs.map +1 -0
- package/dist/esm/{chunk-X4KEZTUQ.mjs → chunk-RAXP3STS.mjs} +2 -2
- package/dist/esm/chunk-RAXP3STS.mjs.map +1 -0
- package/dist/esm/{chunk-TVFIUUVY.mjs → chunk-RNAKZVRN.mjs} +2 -2
- package/dist/esm/chunk-RNAKZVRN.mjs.map +1 -0
- package/dist/esm/{chunk-NNRAQP36.mjs → chunk-RUDS7RSB.mjs} +2 -2
- package/dist/esm/chunk-RUDS7RSB.mjs.map +1 -0
- package/dist/esm/{chunk-U67PFBTL.mjs → chunk-S3FVA55H.mjs} +2 -2
- package/dist/esm/chunk-S3FVA55H.mjs.map +1 -0
- package/dist/esm/{chunk-LDFTE4MM.mjs → chunk-TIZL5YVP.mjs} +2 -2
- package/dist/esm/chunk-TIZL5YVP.mjs.map +1 -0
- package/dist/esm/{chunk-EWZ2M5BW.mjs → chunk-TRU3EK64.mjs} +2 -2
- package/dist/esm/chunk-TRU3EK64.mjs.map +1 -0
- package/dist/esm/chunk-UI3AKMZX.mjs +2 -0
- package/dist/esm/{chunk-555I4YHP.mjs.map → chunk-UI3AKMZX.mjs.map} +1 -1
- package/dist/esm/{chunk-B2CXRZL5.mjs → chunk-UKAXCARD.mjs} +2 -2
- package/dist/esm/chunk-UKAXCARD.mjs.map +1 -0
- package/dist/esm/{chunk-NMD45OTM.mjs → chunk-V5NDNR36.mjs} +2 -2
- package/dist/esm/chunk-V5NDNR36.mjs.map +1 -0
- package/dist/esm/{chunk-KXBIA4KR.mjs → chunk-VQTEGTUQ.mjs} +2 -2
- package/dist/esm/chunk-VQTEGTUQ.mjs.map +1 -0
- package/dist/esm/{chunk-BD6BJETG.mjs → chunk-WIXNX7HY.mjs} +2 -2
- package/dist/esm/chunk-WIXNX7HY.mjs.map +1 -0
- package/dist/esm/{chunk-7V6DEA7G.mjs → chunk-WOOH5MMX.mjs} +2 -2
- package/dist/esm/chunk-WOOH5MMX.mjs.map +1 -0
- package/dist/esm/{chunk-DAJOX4PL.mjs → chunk-WSVOJSAC.mjs} +2 -2
- package/dist/esm/chunk-WSVOJSAC.mjs.map +1 -0
- package/dist/esm/{chunk-L5NY7TMI.mjs → chunk-WUCPTRXU.mjs} +2 -2
- package/dist/esm/chunk-WUCPTRXU.mjs.map +1 -0
- package/dist/esm/chunk-XHCALZ7X.mjs +2 -0
- package/dist/esm/chunk-XHCALZ7X.mjs.map +1 -0
- package/dist/esm/{chunk-DAXKRXRK.mjs → chunk-XIY2VORC.mjs} +2 -2
- package/dist/esm/chunk-XIY2VORC.mjs.map +1 -0
- package/dist/esm/chunk-XOCRDV2V.mjs +2 -0
- package/dist/esm/chunk-XOCRDV2V.mjs.map +1 -0
- package/dist/esm/{chunk-STGYDB5E.mjs → chunk-Z36WHOZV.mjs} +2 -2
- package/dist/esm/chunk-Z36WHOZV.mjs.map +1 -0
- package/dist/esm/{chunk-LXLISEQ4.mjs → chunk-ZINOJTLU.mjs} +2 -2
- package/dist/esm/chunk-ZINOJTLU.mjs.map +1 -0
- package/dist/esm/{chunk-46D5QX3G.mjs → chunk-ZS3EWM5A.mjs} +2 -2
- package/dist/esm/chunk-ZS3EWM5A.mjs.map +1 -0
- package/dist/esm/{chunk-QLN2URFX.mjs → chunk-ZUTOMGB7.mjs} +2 -2
- package/dist/esm/chunk-ZUTOMGB7.mjs.map +1 -0
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +26 -10
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +104 -123
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +21 -6
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +34 -6
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +63 -6
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/client/types.d.mts +21 -8
- package/dist/esm/client/types.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +63 -48
- 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 +6 -0
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +77 -26
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +36 -14
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -14
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.d.mts +9 -6
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +1 -1
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +126 -45
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +45 -6
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +58 -7
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.d.mts +35 -5
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +10 -6
- package/dist/esm/core/crypto/proof.d.mts +2 -6
- 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 +72 -27
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +5 -4
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +63 -5
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +27 -28
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +1 -1
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +191 -12
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +206 -14
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +13 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +330 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +39 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +14 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +48 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +46 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +38 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +21 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +26 -0
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +33 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +107 -5
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +72 -29
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/publicKey-_tPa99ea.d.mts +151 -0
- package/dist/esm/transactions/authenticator/account.d.mts +66 -17
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +53 -20
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +20 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +21 -3
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +22 -8
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +24 -8
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +31 -4
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +25 -3
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +29 -7
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +23 -8
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +23 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +72 -26
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +37 -11
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/asyncQueue.d.mts +22 -19
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +67 -36
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +74 -4
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +45 -23
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +20 -15
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +101 -30
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +244 -3
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +31 -2
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +82 -34
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/index.d.mts +320 -59
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +65 -2
- package/dist/esm/types/keyless.d.mts +18 -0
- package/dist/esm/utils/apiEndpoints.d.mts +3 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.d.mts +2 -4
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +25 -10
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/memoize.d.mts +12 -10
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +11 -5
- 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 +3 -2
- package/src/account/AbstractKeylessAccount.ts +4 -3
- package/src/account/Account.ts +88 -54
- package/src/account/Ed25519Account.ts +56 -21
- package/src/account/EphemeralKeyPair.ts +50 -15
- package/src/account/FederatedKeylessAccount.ts +1 -1
- package/src/account/KeylessAccount.ts +37 -1
- package/src/account/MultiKeyAccount.ts +56 -35
- package/src/account/SingleKeyAccount.ts +60 -28
- package/src/api/account.ts +443 -159
- package/src/api/ans.ts +367 -120
- package/src/api/aptos.ts +38 -5
- package/src/api/aptosConfig.ts +102 -14
- package/src/api/coin.ts +49 -12
- package/src/api/digitalAsset.ts +707 -296
- package/src/api/event.ts +128 -25
- package/src/api/faucet.ts +44 -7
- package/src/api/fungibleAsset.ts +149 -46
- package/src/api/general.ts +168 -52
- package/src/api/keyless.ts +117 -21
- package/src/api/object.ts +49 -5
- package/src/api/staking.ts +84 -15
- package/src/api/table.ts +117 -37
- package/src/api/transaction.ts +438 -107
- package/src/api/transactionSubmission/build.ts +98 -12
- package/src/api/transactionSubmission/helpers.ts +79 -0
- package/src/api/transactionSubmission/management.ts +110 -10
- package/src/api/transactionSubmission/sign.ts +96 -2
- package/src/api/transactionSubmission/simulate.ts +139 -14
- package/src/api/transactionSubmission/submit.ts +103 -12
- package/src/api/utils.ts +26 -3
- package/src/bcs/deserializer.ts +82 -32
- package/src/bcs/serializable/entryFunctionBytes.ts +27 -6
- package/src/bcs/serializable/fixedBytes.ts +55 -25
- package/src/bcs/serializable/movePrimitives.ts +91 -0
- package/src/bcs/serializable/moveStructs.ts +123 -35
- package/src/bcs/serializer.ts +131 -84
- package/src/cli/localNode.ts +46 -17
- package/src/cli/move.ts +119 -136
- package/src/client/core.ts +22 -7
- package/src/client/get.ts +34 -6
- package/src/client/post.ts +63 -6
- package/src/client/types.ts +40 -13
- package/src/core/account/utils/address.ts +1 -1
- package/src/core/accountAddress.ts +63 -50
- package/src/core/authenticationKey.ts +47 -20
- package/src/core/common.ts +6 -0
- package/src/core/crypto/ed25519.ts +76 -25
- package/src/core/crypto/ephemeral.ts +37 -21
- package/src/core/crypto/federatedKeyless.ts +1 -20
- package/src/core/crypto/hdKey.ts +10 -7
- package/src/core/crypto/keyless.ts +140 -63
- package/src/core/crypto/multiEd25519.ts +44 -5
- package/src/core/crypto/multiKey.ts +66 -19
- package/src/core/crypto/poseidon.ts +72 -5
- package/src/core/crypto/privateKey.ts +9 -5
- package/src/core/crypto/proof.ts +3 -12
- package/src/core/crypto/publicKey.ts +15 -5
- package/src/core/crypto/secp256k1.ts +76 -26
- package/src/core/crypto/signature.ts +7 -4
- package/src/core/crypto/singleKey.ts +62 -5
- package/src/core/hex.ts +27 -28
- package/src/internal/account.ts +248 -12
- package/src/internal/ans.ts +219 -15
- package/src/internal/coin.ts +12 -0
- package/src/internal/digitalAsset.ts +344 -3
- package/src/internal/event.ts +51 -0
- package/src/internal/faucet.ts +14 -0
- package/src/internal/fungibleAsset.ts +46 -0
- package/src/internal/general.ts +46 -0
- package/src/internal/keyless.ts +37 -1
- package/src/internal/object.ts +21 -0
- package/src/internal/queries/getTableItemsData.graphql +1 -1
- package/src/internal/queries/getTableItemsMetadata.graphql +1 -1
- package/src/internal/staking.ts +27 -1
- package/src/internal/table.ts +32 -0
- package/src/internal/transaction.ts +120 -7
- package/src/internal/transactionSubmission.ts +86 -30
- package/src/transactions/authenticator/account.ts +65 -16
- package/src/transactions/authenticator/transaction.ts +52 -19
- package/src/transactions/instances/chainId.ts +20 -1
- package/src/transactions/instances/identifier.ts +21 -3
- package/src/transactions/instances/moduleId.ts +22 -8
- package/src/transactions/instances/multiAgentTransaction.ts +26 -10
- package/src/transactions/instances/rawTransaction.ts +31 -4
- package/src/transactions/instances/rotationProofChallenge.ts +24 -2
- package/src/transactions/instances/signedTransaction.ts +28 -6
- package/src/transactions/instances/simpleTransaction.ts +26 -11
- package/src/transactions/instances/transactionArgument.ts +26 -0
- package/src/transactions/instances/transactionPayload.ts +73 -26
- package/src/transactions/management/accountSequenceNumber.ts +38 -11
- package/src/transactions/management/asyncQueue.ts +22 -19
- package/src/transactions/management/transactionWorker.ts +66 -40
- package/src/transactions/transactionBuilder/helpers.ts +130 -3
- package/src/transactions/transactionBuilder/remoteAbi.ts +71 -30
- package/src/transactions/transactionBuilder/signingMessage.ts +19 -14
- package/src/transactions/transactionBuilder/transactionBuilder.ts +153 -40
- package/src/transactions/typeTag/index.ts +264 -3
- package/src/transactions/typeTag/parser.ts +54 -20
- package/src/transactions/types.ts +81 -33
- package/src/types/index.ts +338 -61
- package/src/types/indexer.ts +82 -2
- package/src/types/keyless.ts +21 -0
- package/src/utils/apiEndpoints.ts +3 -0
- package/src/utils/const.ts +2 -4
- package/src/utils/helpers.ts +25 -10
- package/src/utils/memoize.ts +12 -10
- package/src/utils/normalizeBundle.ts +11 -5
- package/src/version.ts +1 -1
- package/dist/common/chunk-HBPH2AD3.js.map +0 -1
- package/dist/esm/Ed25519Account-B1VMJOY2.d.mts +0 -361
- package/dist/esm/chunk-25NSCK4Q.mjs.map +0 -1
- package/dist/esm/chunk-25TIHDS6.mjs.map +0 -1
- package/dist/esm/chunk-2TQIU7CG.mjs.map +0 -1
- package/dist/esm/chunk-3MCYLML2.mjs +0 -2
- package/dist/esm/chunk-3MCYLML2.mjs.map +0 -1
- package/dist/esm/chunk-3YKAGVHZ.mjs.map +0 -1
- package/dist/esm/chunk-44GYWUSH.mjs.map +0 -1
- package/dist/esm/chunk-46D5QX3G.mjs.map +0 -1
- package/dist/esm/chunk-555I4YHP.mjs +0 -2
- package/dist/esm/chunk-5655UVIK.mjs.map +0 -1
- package/dist/esm/chunk-6EMN3BOV.mjs.map +0 -1
- package/dist/esm/chunk-6QGVRNV6.mjs +0 -2
- package/dist/esm/chunk-6QGVRNV6.mjs.map +0 -1
- package/dist/esm/chunk-6RZZIOGH.mjs.map +0 -1
- package/dist/esm/chunk-7V6DEA7G.mjs.map +0 -1
- package/dist/esm/chunk-7ZLBJUVZ.mjs.map +0 -1
- package/dist/esm/chunk-AFOPNDOJ.mjs.map +0 -1
- package/dist/esm/chunk-AH44UPM4.mjs.map +0 -1
- package/dist/esm/chunk-B2CXRZL5.mjs.map +0 -1
- package/dist/esm/chunk-B5NYEWNM.mjs +0 -2
- package/dist/esm/chunk-B5NYEWNM.mjs.map +0 -1
- package/dist/esm/chunk-B6M7QBUO.mjs.map +0 -1
- package/dist/esm/chunk-BCUSI3N6.mjs.map +0 -1
- package/dist/esm/chunk-BD6BJETG.mjs.map +0 -1
- package/dist/esm/chunk-BF4ZE37Q.mjs +0 -2
- package/dist/esm/chunk-BF4ZE37Q.mjs.map +0 -1
- package/dist/esm/chunk-BKEJMQQ6.mjs +0 -2
- package/dist/esm/chunk-BKEJMQQ6.mjs.map +0 -1
- package/dist/esm/chunk-BRFHAO2Y.mjs.map +0 -1
- package/dist/esm/chunk-BSUYPXRD.mjs +0 -2
- package/dist/esm/chunk-BSUYPXRD.mjs.map +0 -1
- package/dist/esm/chunk-CCMHWJ3Q.mjs +0 -2
- package/dist/esm/chunk-CCMHWJ3Q.mjs.map +0 -1
- package/dist/esm/chunk-CPPBQDHB.mjs.map +0 -1
- package/dist/esm/chunk-CVDR5SJR.mjs.map +0 -1
- package/dist/esm/chunk-DAJOX4PL.mjs.map +0 -1
- package/dist/esm/chunk-DAXKRXRK.mjs.map +0 -1
- package/dist/esm/chunk-DF4WKSTK.mjs.map +0 -1
- package/dist/esm/chunk-E37YRKWK.mjs.map +0 -1
- package/dist/esm/chunk-ECWOLU5T.mjs.map +0 -1
- package/dist/esm/chunk-EV2USF7B.mjs.map +0 -1
- package/dist/esm/chunk-EWZ2M5BW.mjs.map +0 -1
- package/dist/esm/chunk-EXP5STXZ.mjs.map +0 -1
- package/dist/esm/chunk-FRGXKOU5.mjs.map +0 -1
- package/dist/esm/chunk-GFGX3QDP.mjs.map +0 -1
- package/dist/esm/chunk-GGR3P2TG.mjs +0 -2
- package/dist/esm/chunk-GGR3P2TG.mjs.map +0 -1
- package/dist/esm/chunk-HAT5S2XX.mjs +0 -2
- package/dist/esm/chunk-HAT5S2XX.mjs.map +0 -1
- package/dist/esm/chunk-HPZ2S4FE.mjs +0 -2
- package/dist/esm/chunk-HPZ2S4FE.mjs.map +0 -1
- package/dist/esm/chunk-HSPBA2TZ.mjs.map +0 -1
- package/dist/esm/chunk-IMGLHDIA.mjs +0 -2
- package/dist/esm/chunk-IMGLHDIA.mjs.map +0 -1
- package/dist/esm/chunk-IYQISVDX.mjs.map +0 -1
- package/dist/esm/chunk-K2O24YLZ.mjs.map +0 -1
- package/dist/esm/chunk-KA6FZNWP.mjs +0 -2
- package/dist/esm/chunk-KA6FZNWP.mjs.map +0 -1
- package/dist/esm/chunk-KEYAPEAX.mjs.map +0 -1
- package/dist/esm/chunk-KXBIA4KR.mjs.map +0 -1
- package/dist/esm/chunk-KYSDF3CA.mjs.map +0 -1
- package/dist/esm/chunk-L5NY7TMI.mjs.map +0 -1
- package/dist/esm/chunk-LDFTE4MM.mjs.map +0 -1
- package/dist/esm/chunk-LG3DAAPD.mjs +0 -2
- package/dist/esm/chunk-LG3DAAPD.mjs.map +0 -1
- package/dist/esm/chunk-LG7RJQ57.mjs.map +0 -1
- package/dist/esm/chunk-LGD5KU56.mjs +0 -2
- package/dist/esm/chunk-LGD5KU56.mjs.map +0 -1
- package/dist/esm/chunk-LR65XHSF.mjs.map +0 -1
- package/dist/esm/chunk-LXLISEQ4.mjs.map +0 -1
- package/dist/esm/chunk-M2QV232A.mjs +0 -2
- package/dist/esm/chunk-M2QV232A.mjs.map +0 -1
- package/dist/esm/chunk-MEWFJJJN.mjs +0 -2
- package/dist/esm/chunk-MEWFJJJN.mjs.map +0 -1
- package/dist/esm/chunk-MO4IZXLK.mjs.map +0 -1
- package/dist/esm/chunk-MS4MRLGA.mjs.map +0 -1
- package/dist/esm/chunk-N5JNKD5F.mjs.map +0 -1
- package/dist/esm/chunk-NH2S6SB2.mjs.map +0 -1
- package/dist/esm/chunk-NMD45OTM.mjs.map +0 -1
- package/dist/esm/chunk-NNRAQP36.mjs.map +0 -1
- package/dist/esm/chunk-OY2IX7HW.mjs.map +0 -1
- package/dist/esm/chunk-PKXEB7XP.mjs.map +0 -1
- package/dist/esm/chunk-PNXUYOYI.mjs +0 -2
- package/dist/esm/chunk-PNXUYOYI.mjs.map +0 -1
- package/dist/esm/chunk-PUZ25PTD.mjs.map +0 -1
- package/dist/esm/chunk-Q4XR6QOZ.mjs +0 -2
- package/dist/esm/chunk-QCUFTD7K.mjs.map +0 -1
- package/dist/esm/chunk-QDIKOQRK.mjs +0 -2
- package/dist/esm/chunk-QDIKOQRK.mjs.map +0 -1
- package/dist/esm/chunk-QIW56MUH.mjs.map +0 -1
- package/dist/esm/chunk-QLN2URFX.mjs.map +0 -1
- package/dist/esm/chunk-QPP6BX53.mjs.map +0 -1
- package/dist/esm/chunk-RNTXQYJQ.mjs.map +0 -1
- package/dist/esm/chunk-SAPUZZEU.mjs.map +0 -1
- package/dist/esm/chunk-SR24OGHJ.mjs.map +0 -1
- package/dist/esm/chunk-SRPI2FFA.mjs.map +0 -1
- package/dist/esm/chunk-STGYDB5E.mjs.map +0 -1
- package/dist/esm/chunk-SWHLSREF.mjs.map +0 -1
- package/dist/esm/chunk-TDGQGILY.mjs.map +0 -1
- package/dist/esm/chunk-TL7DR54X.mjs.map +0 -1
- package/dist/esm/chunk-TMW2HIXC.mjs.map +0 -1
- package/dist/esm/chunk-TS3PYRAT.mjs.map +0 -1
- package/dist/esm/chunk-TVFIUUVY.mjs.map +0 -1
- package/dist/esm/chunk-U67PFBTL.mjs.map +0 -1
- package/dist/esm/chunk-U6Z4FNB7.mjs.map +0 -1
- package/dist/esm/chunk-UAL27G6B.mjs.map +0 -1
- package/dist/esm/chunk-WP7WF54Q.mjs.map +0 -1
- package/dist/esm/chunk-WS4RPKL6.mjs +0 -2
- package/dist/esm/chunk-WS4RPKL6.mjs.map +0 -1
- package/dist/esm/chunk-WWZ3METZ.mjs.map +0 -1
- package/dist/esm/chunk-X4KEZTUQ.mjs.map +0 -1
- package/dist/esm/chunk-XH7YKEYR.mjs.map +0 -1
- package/dist/esm/chunk-XK3JFCP3.mjs.map +0 -1
- package/dist/esm/chunk-XONG5JZ4.mjs.map +0 -1
- package/dist/esm/chunk-XXHW3ZT3.mjs.map +0 -1
- package/dist/esm/chunk-Y7F2V3R6.mjs.map +0 -1
- package/dist/esm/chunk-YHAPZP5A.mjs.map +0 -1
- package/dist/esm/chunk-YJCZU6PR.mjs.map +0 -1
- package/dist/esm/chunk-ZGO2SK6F.mjs.map +0 -1
- package/dist/esm/publicKey-B3XRNhHO.d.mts +0 -113
- /package/dist/esm/{chunk-FVA2OPG4.mjs.map → chunk-KDMSOCZY.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q4XR6QOZ.mjs.map → chunk-KIW54KWR.mjs.map} +0 -0
- /package/dist/esm/{chunk-G7MWTE2J.mjs.map → chunk-KSUZS6EL.mjs.map} +0 -0
|
@@ -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-DpH9qAcg.mjs';
|
|
3
3
|
import '../../types/index.mjs';
|
|
4
4
|
import '../../utils/apiEndpoints.mjs';
|
|
5
5
|
import '../../types/indexer.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-_tPa99ea.mjs';
|
|
16
16
|
import '../../core/accountAddress.mjs';
|
|
17
17
|
import '../instances/transactionArgument.mjs';
|
|
18
18
|
import '../../core/crypto/signature.mjs';
|
|
@@ -58,6 +58,17 @@ import '../instances/multiAgentTransaction.mjs';
|
|
|
58
58
|
* If a transaction fails, you should call synchronize and wait for timeouts.
|
|
59
59
|
*/
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Represents an account's sequence number management for transaction handling on the Aptos blockchain.
|
|
63
|
+
* This class provides methods to retrieve the next available sequence number, synchronize with the on-chain sequence number,
|
|
64
|
+
* and manage local sequence numbers while ensuring thread safety.
|
|
65
|
+
*
|
|
66
|
+
* @param aptosConfig - The configuration settings for Aptos.
|
|
67
|
+
* @param account - The account associated with the sequence number.
|
|
68
|
+
* @param maxWaitTime - The maximum time to wait for a transaction to commit.
|
|
69
|
+
* @param maximumInFlight - The maximum number of transactions that can be in flight at once.
|
|
70
|
+
* @param sleepTime - The time to wait before retrying to get the sequence number.
|
|
71
|
+
*/
|
|
61
72
|
declare class AccountSequenceNumber {
|
|
62
73
|
readonly aptosConfig: AptosConfig;
|
|
63
74
|
readonly account: Account;
|
|
@@ -70,7 +81,7 @@ declare class AccountSequenceNumber {
|
|
|
70
81
|
* which can result in race conditions and data inconsistency.
|
|
71
82
|
* This code actually doesn't do it though, since we aren't giving out a slot, it is still somewhat a race condition.
|
|
72
83
|
*
|
|
73
|
-
* The ideal solution is likely that each thread grabs the next number from
|
|
84
|
+
* The ideal solution is likely that each thread grabs the next number from an incremental integer.
|
|
74
85
|
* When they complete, they increment that number and that entity is able to enter the `lock`.
|
|
75
86
|
* That would guarantee ordering.
|
|
76
87
|
*/
|
|
@@ -78,28 +89,43 @@ declare class AccountSequenceNumber {
|
|
|
78
89
|
maxWaitTime: number;
|
|
79
90
|
maximumInFlight: number;
|
|
80
91
|
sleepTime: number;
|
|
92
|
+
/**
|
|
93
|
+
* Creates an instance of the class with the specified configuration and account details.
|
|
94
|
+
* This constructor initializes the necessary parameters for managing Aptos transactions.
|
|
95
|
+
*
|
|
96
|
+
* @param aptosConfig - The configuration settings for Aptos.
|
|
97
|
+
* @param account - The account associated with the Aptos transactions.
|
|
98
|
+
* @param maxWaitTime - The maximum time to wait for a transaction to be processed, in milliseconds.
|
|
99
|
+
* @param maximumInFlight - The maximum number of transactions that can be in flight at the same time.
|
|
100
|
+
* @param sleepTime - The time to sleep between transaction checks, in milliseconds.
|
|
101
|
+
*/
|
|
81
102
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime: number, maximumInFlight: number, sleepTime: number);
|
|
82
103
|
/**
|
|
83
|
-
* Returns the next available sequence number for this account
|
|
104
|
+
* Returns the next available sequence number for this account.
|
|
105
|
+
* This function ensures that the sequence number is updated and synchronized, handling potential delays in transaction commits.
|
|
84
106
|
*
|
|
85
|
-
* @returns next available sequence number
|
|
107
|
+
* @returns {BigInt} The next available sequence number.
|
|
86
108
|
*/
|
|
87
109
|
nextSequenceNumber(): Promise<bigint | null>;
|
|
88
110
|
/**
|
|
89
|
-
* Initializes this account with the sequence number on chain
|
|
111
|
+
* Initializes this account with the sequence number on chain.
|
|
112
|
+
*
|
|
113
|
+
* @returns {Promise<void>} A promise that resolves when the account has been initialized.
|
|
114
|
+
*
|
|
115
|
+
* @throws {Error} Throws an error if the account information cannot be retrieved.
|
|
90
116
|
*/
|
|
91
117
|
initialize(): Promise<void>;
|
|
92
118
|
/**
|
|
93
|
-
* Updates this account sequence number with the one on-chain
|
|
119
|
+
* Updates this account's sequence number with the one on-chain.
|
|
94
120
|
*
|
|
95
|
-
* @returns on-chain sequence number for this account
|
|
121
|
+
* @returns The on-chain sequence number for this account.
|
|
96
122
|
*/
|
|
97
123
|
update(): Promise<bigint>;
|
|
98
124
|
/**
|
|
99
|
-
* Synchronizes local sequence number with the
|
|
125
|
+
* Synchronizes the local sequence number with the sequence number on-chain for the specified account.
|
|
126
|
+
* This function polls the network until all submitted transactions have either been committed or until the maximum wait time has elapsed.
|
|
100
127
|
*
|
|
101
|
-
*
|
|
102
|
-
* the maximum wait time has elapsed
|
|
128
|
+
* @throws {Error} Throws an error if there is an issue synchronizing the account sequence number with the one on-chain.
|
|
103
129
|
*/
|
|
104
130
|
synchronize(): Promise<void>;
|
|
105
131
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-7V6RL27I.mjs";import"../../chunk-7D3RY73L.mjs";import"../../chunk-GAEAYY44.mjs";import"../../chunk-L5I7F3NZ.mjs";import"../../chunk-ZS3EWM5A.mjs";import"../../chunk-HCV3NGLS.mjs";import"../../chunk-KSKQVOBA.mjs";import"../../chunk-K6MZXKVV.mjs";import"../../chunk-LZS7BQ2B.mjs";import"../../chunk-5ZBHIUWG.mjs";import"../../chunk-VQTEGTUQ.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-LD5MUWGW.mjs";import"../../chunk-5AAFF2PV.mjs";import"../../chunk-JY3JJ55D.mjs";import"../../chunk-FO4F3OJJ.mjs";import"../../chunk-7PVIWKGT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-JDYASF3E.mjs";import"../../chunk-OTY3NO7Q.mjs";import"../../chunk-OS2EG6AE.mjs";import"../../chunk-IFHQSZLK.mjs";import"../../chunk-ZINOJTLU.mjs";import"../../chunk-NODYW7DM.mjs";import"../../chunk-AGBA3Y7A.mjs";import"../../chunk-UKAXCARD.mjs";import"../../chunk-Z36WHOZV.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-PCLU4KLY.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-WIXNX7HY.mjs";import"../../chunk-6AGTDRNM.mjs";import"../../chunk-S3FVA55H.mjs";import"../../chunk-DZJXOL64.mjs";import"../../chunk-37UZKMJI.mjs";import"../../chunk-5CCHECTE.mjs";import"../../chunk-ONBFUPEC.mjs";import"../../chunk-XHCALZ7X.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-WSVOJSAC.mjs";import"../../chunk-4OV7QU2U.mjs";import"../../chunk-IBLZ6MZU.mjs";import"../../chunk-KIW54KWR.mjs";import"../../chunk-PHP47DI4.mjs";import"../../chunk-PRZ7AIGA.mjs";import"../../chunk-HDTKBFRX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-OLPI7QAH.mjs";import"../../chunk-WOOH5MMX.mjs";import"../../chunk-CRL4WGOH.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4CDDWSKZ.mjs";import"../../chunk-LEKBJ2EG.mjs";import"../../chunk-GQABU3RQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-IECDO22V.mjs";import"../../chunk-OZN3OOJV.mjs";import"../../chunk-JGNMNCQB.mjs";import"../../chunk-6FLHGOKP.mjs";import"../../chunk-N47FTRYO.mjs";import"../../chunk-KM6UXNC7.mjs";import"../../chunk-7XS45O6M.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-QQIVWB6G.mjs";import"../../chunk-KFNDDPOW.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-UI3AKMZX.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountSequenceNumber};
|
|
2
2
|
//# sourceMappingURL=accountSequenceNumber.mjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The AsyncQueue class is an async-aware data structure that provides a queue-like
|
|
3
3
|
* behavior for managing asynchronous tasks or operations.
|
|
4
4
|
* It allows to enqueue items and dequeue them asynchronously.
|
|
5
|
-
* This is not thread-safe but it is async concurrency safe and
|
|
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
7
|
*/
|
|
8
8
|
declare class AsyncQueue<T> {
|
|
@@ -10,48 +10,51 @@ declare class AsyncQueue<T> {
|
|
|
10
10
|
private pendingDequeue;
|
|
11
11
|
private cancelled;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* Otherwise, it adds the item to the queue.
|
|
13
|
+
* Adds an item to the queue. If there are pending dequeued promises, it resolves the oldest promise with the enqueued item
|
|
14
|
+
* immediately; otherwise, it adds the item to the queue.
|
|
16
15
|
*
|
|
17
|
-
* @param item
|
|
16
|
+
* @param item - The item to be added to the queue.
|
|
18
17
|
*/
|
|
19
18
|
enqueue(item: T): void;
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
22
|
-
* If the queue is
|
|
23
|
-
* Otherwise, it creates a new promise. The promise's resolve function is stored
|
|
24
|
-
* in the pendingDequeue with a unique counter value as the key.
|
|
25
|
-
* The newly created promise is then returned, and it will be resolved later when an item is enqueued.
|
|
20
|
+
* Dequeues the next item from the queue and returns a promise that resolves to it.
|
|
21
|
+
* If the queue is empty, it creates a new promise that will be resolved when an item is enqueued.
|
|
26
22
|
*
|
|
27
23
|
* @returns Promise<T>
|
|
28
24
|
*/
|
|
29
25
|
dequeue(): Promise<T>;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* Determine whether the queue is empty.
|
|
32
28
|
*
|
|
33
|
-
* @returns boolean
|
|
29
|
+
* @returns boolean - Returns true if the queue has no elements, otherwise false.
|
|
34
30
|
*/
|
|
35
31
|
isEmpty(): boolean;
|
|
36
32
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
33
|
+
* Cancels all pending promises in the queue and rejects them with an AsyncQueueCancelledError.
|
|
34
|
+
* This ensures that any awaiting code can handle the cancellation appropriately.
|
|
35
|
+
*
|
|
36
|
+
* @returns {void}
|
|
40
37
|
*/
|
|
41
38
|
cancel(): void;
|
|
42
39
|
/**
|
|
43
|
-
*
|
|
40
|
+
* Determine whether the queue has been cancelled.
|
|
44
41
|
*
|
|
45
|
-
* @returns boolean
|
|
42
|
+
* @returns boolean - Returns true if the queue is cancelled, otherwise false.
|
|
46
43
|
*/
|
|
47
44
|
isCancelled(): boolean;
|
|
48
45
|
/**
|
|
49
|
-
*
|
|
46
|
+
* Retrieve the length of the pending dequeue.
|
|
50
47
|
*
|
|
51
|
-
* @returns number
|
|
48
|
+
* @returns number - The number of items currently in the pending dequeue.
|
|
52
49
|
*/
|
|
53
50
|
pendingDequeueLength(): number;
|
|
54
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Represents an error that occurs when an asynchronous queue operation is cancelled.
|
|
54
|
+
* This error extends the built-in Error class to provide additional context for cancellation events.
|
|
55
|
+
*
|
|
56
|
+
* @extends Error
|
|
57
|
+
*/
|
|
55
58
|
declare class AsyncQueueCancelledError extends Error {
|
|
56
59
|
}
|
|
57
60
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-2CJC43CV.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AsyncQueue,b as AsyncQueueCancelledError};
|
|
2
2
|
//# sourceMappingURL=asyncQueue.mjs.map
|
|
@@ -7,14 +7,14 @@ import '../../types/indexer.mjs';
|
|
|
7
7
|
import '../../types/generated/operations.mjs';
|
|
8
8
|
import '../../types/generated/types.mjs';
|
|
9
9
|
import '../../utils/const.mjs';
|
|
10
|
-
import '../../Ed25519Account-
|
|
10
|
+
import '../../Ed25519Account-DpH9qAcg.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-_tPa99ea.mjs';
|
|
18
18
|
import '../../core/accountAddress.mjs';
|
|
19
19
|
import '../instances/transactionArgument.mjs';
|
|
20
20
|
import '../../core/crypto/signature.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-WUCPTRXU.mjs";import"../../chunk-2CJC43CV.mjs";import{a}from"../../chunk-7V6RL27I.mjs";import"../../chunk-2I56E4T2.mjs";import"../../chunk-I5OYNCZS.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-HGVZ7ULA.mjs";import"../../chunk-RUDS7RSB.mjs";import"../../chunk-KRVLR3L4.mjs";import"../../chunk-N3OYD6VZ.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-7D3RY73L.mjs";import"../../chunk-GAEAYY44.mjs";import"../../chunk-L5I7F3NZ.mjs";import"../../chunk-ZS3EWM5A.mjs";import"../../chunk-HCV3NGLS.mjs";import"../../chunk-KSKQVOBA.mjs";import"../../chunk-K6MZXKVV.mjs";import"../../chunk-LZS7BQ2B.mjs";import"../../chunk-5ZBHIUWG.mjs";import"../../chunk-VQTEGTUQ.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-LD5MUWGW.mjs";import"../../chunk-5AAFF2PV.mjs";import"../../chunk-JY3JJ55D.mjs";import"../../chunk-FO4F3OJJ.mjs";import"../../chunk-7PVIWKGT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-JDYASF3E.mjs";import"../../chunk-OTY3NO7Q.mjs";import"../../chunk-OS2EG6AE.mjs";import"../../chunk-IFHQSZLK.mjs";import"../../chunk-ZINOJTLU.mjs";import"../../chunk-NODYW7DM.mjs";import"../../chunk-AGBA3Y7A.mjs";import"../../chunk-UKAXCARD.mjs";import"../../chunk-Z36WHOZV.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-PCLU4KLY.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-WIXNX7HY.mjs";import"../../chunk-6AGTDRNM.mjs";import"../../chunk-S3FVA55H.mjs";import"../../chunk-DZJXOL64.mjs";import"../../chunk-37UZKMJI.mjs";import"../../chunk-5CCHECTE.mjs";import"../../chunk-ONBFUPEC.mjs";import"../../chunk-XHCALZ7X.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-WSVOJSAC.mjs";import"../../chunk-4OV7QU2U.mjs";import"../../chunk-IBLZ6MZU.mjs";import"../../chunk-KIW54KWR.mjs";import"../../chunk-PHP47DI4.mjs";import"../../chunk-PRZ7AIGA.mjs";import"../../chunk-DCUVV3VY.mjs";import"../../chunk-HDTKBFRX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-OLPI7QAH.mjs";import"../../chunk-WOOH5MMX.mjs";import"../../chunk-CRL4WGOH.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4CDDWSKZ.mjs";import"../../chunk-LEKBJ2EG.mjs";import"../../chunk-GQABU3RQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-IECDO22V.mjs";import"../../chunk-OZN3OOJV.mjs";import"../../chunk-JGNMNCQB.mjs";import"../../chunk-6FLHGOKP.mjs";import"../../chunk-N47FTRYO.mjs";import"../../chunk-KM6UXNC7.mjs";import"../../chunk-7XS45O6M.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-QQIVWB6G.mjs";import"../../chunk-KFNDDPOW.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-UI3AKMZX.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.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/index.mjs';
|
|
5
|
-
import { A as Account } from '../../Ed25519Account-
|
|
5
|
+
import { A as Account } from '../../Ed25519Account-DpH9qAcg.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-_tPa99ea.mjs';
|
|
21
21
|
import '../../core/accountAddress.mjs';
|
|
22
22
|
import '../instances/transactionArgument.mjs';
|
|
23
23
|
import '../../core/crypto/signature.mjs';
|
|
@@ -37,6 +37,9 @@ import '../typeTag/index.mjs';
|
|
|
37
37
|
import '../instances/multiAgentTransaction.mjs';
|
|
38
38
|
|
|
39
39
|
declare const promiseFulfilledStatus = "fulfilled";
|
|
40
|
+
/**
|
|
41
|
+
* Events emitted by the transaction worker during its operation, allowing the dapp to respond to various transaction states.
|
|
42
|
+
*/
|
|
40
43
|
declare enum TransactionWorkerEventsEnum {
|
|
41
44
|
TransactionSent = "transactionSent",
|
|
42
45
|
TransactionSendFailed = "transactionSendFailed",
|
|
@@ -44,6 +47,14 @@ declare enum TransactionWorkerEventsEnum {
|
|
|
44
47
|
TransactionExecutionFailed = "transactionExecutionFailed",
|
|
45
48
|
ExecutionFinish = "executionFinish"
|
|
46
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Defines the events emitted by the transaction worker during various stages of transaction processing. *
|
|
52
|
+
* @event transactionSent - Emitted when a transaction is successfully sent.
|
|
53
|
+
* @event transactionSendFailed - Emitted when sending a transaction fails.
|
|
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.
|
|
57
|
+
*/
|
|
47
58
|
interface TransactionWorkerEvents {
|
|
48
59
|
transactionSent: (data: SuccessEventData) => void;
|
|
49
60
|
transactionSendFailed: (data: FailureEventData) => void;
|
|
@@ -51,13 +62,22 @@ interface TransactionWorkerEvents {
|
|
|
51
62
|
transactionExecutionFailed: (data: FailureEventData) => void;
|
|
52
63
|
executionFinish: (data: ExecutionFinishEventData) => void;
|
|
53
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* The payload for when the worker has finished its job.
|
|
67
|
+
*/
|
|
54
68
|
type ExecutionFinishEventData = {
|
|
55
69
|
message: string;
|
|
56
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* The payload for a success event.
|
|
73
|
+
*/
|
|
57
74
|
type SuccessEventData = {
|
|
58
75
|
message: string;
|
|
59
76
|
transactionHash: string;
|
|
60
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* The payload for a failure event.
|
|
80
|
+
*/
|
|
61
81
|
type FailureEventData = {
|
|
62
82
|
message: string;
|
|
63
83
|
error: string;
|
|
@@ -99,68 +119,79 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
99
119
|
*/
|
|
100
120
|
executedTransactions: Array<[string, bigint, any]>;
|
|
101
121
|
/**
|
|
102
|
-
*
|
|
122
|
+
* Initializes a new instance of the class, providing a framework for receiving payloads to be processed.
|
|
103
123
|
*
|
|
104
|
-
* @param aptosConfig -
|
|
105
|
-
* @param
|
|
106
|
-
* @param maxWaitTime -
|
|
107
|
-
*
|
|
108
|
-
* @param maximumInFlight -
|
|
109
|
-
*
|
|
110
|
-
*
|
|
124
|
+
* @param aptosConfig - A configuration object for Aptos.
|
|
125
|
+
* @param account - The account that will be used for sending transactions.
|
|
126
|
+
* @param maxWaitTime - The maximum wait time to wait before re-syncing the sequence number to the current on-chain state,
|
|
127
|
+
* default is 30 seconds.
|
|
128
|
+
* @param maximumInFlight - The maximum number of transactions that can be submitted per account, default is 100.
|
|
129
|
+
* @param sleepTime - The time to wait in seconds before re-evaluating if the maximum number of transactions are in flight,
|
|
130
|
+
* default is 10 seconds.
|
|
111
131
|
*/
|
|
112
132
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime?: number, maximumInFlight?: number, sleepTime?: number);
|
|
113
133
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
134
|
+
* Submits the next transaction for the account by generating it with the current sequence number
|
|
135
|
+
* and adding it to the outstanding transaction queue for processing.
|
|
136
|
+
* This function continues to submit transactions until there are no more to process.
|
|
137
|
+
*
|
|
138
|
+
* @throws {Error} Throws an error if the transaction submission fails.
|
|
118
139
|
*/
|
|
119
140
|
submitNextTransaction(): Promise<void>;
|
|
120
141
|
/**
|
|
121
|
-
* Reads the outstanding transaction queue and submits the
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* transactions queue and fires a transactionsFulfilled event.
|
|
142
|
+
* Reads the outstanding transaction queue and submits the transactions to the chain.
|
|
143
|
+
* This function processes each transaction, checking their status and emitting events based on whether they were successfully
|
|
144
|
+
* sent or failed.
|
|
125
145
|
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
146
|
+
* @throws {Error} Throws an error if the process execution fails.
|
|
147
|
+
* @event TransactionWorkerEventsEnum.TransactionSent - Emitted when a transaction has been successfully committed to the chain.
|
|
148
|
+
* @event TransactionWorkerEventsEnum.TransactionSendFailed - Emitted when a transaction fails to commit, along with the error
|
|
149
|
+
* reason.
|
|
150
|
+
* @event TransactionWorkerEventsEnum.ExecutionFinish - Emitted when the execution of transactions is complete.
|
|
128
151
|
*/
|
|
129
152
|
processTransactions(): Promise<void>;
|
|
130
153
|
/**
|
|
131
|
-
* Once transaction has been sent to chain,
|
|
132
|
-
* @param sentTransaction
|
|
133
|
-
* @param sequenceNumber
|
|
154
|
+
* Once a transaction has been sent to the chain, this function checks for its execution status.
|
|
155
|
+
* @param sentTransaction - The transaction that was sent to the chain and is now waiting to be executed.
|
|
156
|
+
* @param sequenceNumber - The account's sequence number that was sent with the transaction.
|
|
134
157
|
*/
|
|
135
158
|
checkTransaction(sentTransaction: PromiseFulfilledResult<PendingTransactionResponse>, sequenceNumber: bigint): Promise<void>;
|
|
136
159
|
/**
|
|
137
|
-
*
|
|
160
|
+
* Pushes a transaction to the transactions queue for processing.
|
|
138
161
|
*
|
|
139
|
-
* @param transactionData
|
|
140
|
-
* @param transactionData.abi For all entry function payloads, the ABI to skip remote ABI lookups
|
|
141
|
-
* @param options
|
|
142
|
-
* @param options.
|
|
143
|
-
* @param options.
|
|
144
|
-
* @param options.
|
|
162
|
+
* @param transactionData - The transaction payload containing necessary details.
|
|
163
|
+
* @param transactionData.abi - For all entry function payloads, the ABI to skip remote ABI lookups.
|
|
164
|
+
* @param options - Optional parameters for transaction configuration.
|
|
165
|
+
* @param options.maxGasAmount - Maximum gas amount for the transaction.
|
|
166
|
+
* @param options.gasUnitPrice - Gas unit price for the transaction.
|
|
167
|
+
* @param options.expireTimestamp - Expiration timestamp on the transaction.
|
|
168
|
+
* @param options.accountSequenceNumber - The sequence number for the transaction.
|
|
145
169
|
*/
|
|
146
170
|
push(transactionData: InputGenerateTransactionPayloadData, options?: InputGenerateTransactionOptions): Promise<void>;
|
|
147
171
|
/**
|
|
148
|
-
* Generates a signed transaction that can be submitted to chain
|
|
149
|
-
*
|
|
150
|
-
* @param
|
|
151
|
-
* @
|
|
172
|
+
* Generates a signed transaction that can be submitted to the chain.
|
|
173
|
+
*
|
|
174
|
+
* @param account - An Aptos account used as the sender of the transaction.
|
|
175
|
+
* @param sequenceNumber - A sequence number the transaction will be generated with.
|
|
176
|
+
* @returns A signed transaction object or undefined if the transaction queue is empty.
|
|
152
177
|
*/
|
|
153
178
|
generateNextTransaction(account: Account, sequenceNumber: bigint): Promise<SimpleTransaction | undefined>;
|
|
154
179
|
/**
|
|
155
|
-
* Starts transaction submission and
|
|
180
|
+
* Starts transaction submission and processing by executing tasks from the queue until it is cancelled.
|
|
181
|
+
*
|
|
182
|
+
* @throws {Error} Throws an error if unable to start transaction batching.
|
|
156
183
|
*/
|
|
157
184
|
run(): Promise<void>;
|
|
158
185
|
/**
|
|
159
186
|
* Starts the transaction management process.
|
|
187
|
+
*
|
|
188
|
+
* @throws {Error} Throws an error if the worker has already started.
|
|
160
189
|
*/
|
|
161
190
|
start(): void;
|
|
162
191
|
/**
|
|
163
|
-
* Stops the
|
|
192
|
+
* Stops the transaction management process.
|
|
193
|
+
*
|
|
194
|
+
* @throws {Error} Throws an error if the worker has already stopped.
|
|
164
195
|
*/
|
|
165
196
|
stop(): void;
|
|
166
197
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-WUCPTRXU.mjs";import"../../chunk-2CJC43CV.mjs";import"../../chunk-7V6RL27I.mjs";import"../../chunk-2I56E4T2.mjs";import"../../chunk-I5OYNCZS.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-HGVZ7ULA.mjs";import"../../chunk-RUDS7RSB.mjs";import"../../chunk-KRVLR3L4.mjs";import"../../chunk-N3OYD6VZ.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-7D3RY73L.mjs";import"../../chunk-GAEAYY44.mjs";import"../../chunk-L5I7F3NZ.mjs";import"../../chunk-ZS3EWM5A.mjs";import"../../chunk-HCV3NGLS.mjs";import"../../chunk-KSKQVOBA.mjs";import"../../chunk-K6MZXKVV.mjs";import"../../chunk-LZS7BQ2B.mjs";import"../../chunk-5ZBHIUWG.mjs";import"../../chunk-VQTEGTUQ.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-LD5MUWGW.mjs";import"../../chunk-5AAFF2PV.mjs";import"../../chunk-JY3JJ55D.mjs";import"../../chunk-FO4F3OJJ.mjs";import"../../chunk-7PVIWKGT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-JDYASF3E.mjs";import"../../chunk-OTY3NO7Q.mjs";import"../../chunk-OS2EG6AE.mjs";import"../../chunk-IFHQSZLK.mjs";import"../../chunk-ZINOJTLU.mjs";import"../../chunk-NODYW7DM.mjs";import"../../chunk-AGBA3Y7A.mjs";import"../../chunk-UKAXCARD.mjs";import"../../chunk-Z36WHOZV.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-PCLU4KLY.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-WIXNX7HY.mjs";import"../../chunk-6AGTDRNM.mjs";import"../../chunk-S3FVA55H.mjs";import"../../chunk-DZJXOL64.mjs";import"../../chunk-37UZKMJI.mjs";import"../../chunk-5CCHECTE.mjs";import"../../chunk-ONBFUPEC.mjs";import"../../chunk-XHCALZ7X.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-WSVOJSAC.mjs";import"../../chunk-4OV7QU2U.mjs";import"../../chunk-IBLZ6MZU.mjs";import"../../chunk-KIW54KWR.mjs";import"../../chunk-PHP47DI4.mjs";import"../../chunk-PRZ7AIGA.mjs";import"../../chunk-DCUVV3VY.mjs";import"../../chunk-HDTKBFRX.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-OLPI7QAH.mjs";import"../../chunk-WOOH5MMX.mjs";import"../../chunk-CRL4WGOH.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4CDDWSKZ.mjs";import"../../chunk-LEKBJ2EG.mjs";import"../../chunk-GQABU3RQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-IECDO22V.mjs";import"../../chunk-OZN3OOJV.mjs";import"../../chunk-JGNMNCQB.mjs";import"../../chunk-6FLHGOKP.mjs";import"../../chunk-N47FTRYO.mjs";import"../../chunk-KM6UXNC7.mjs";import"../../chunk-7XS45O6M.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-QQIVWB6G.mjs";import"../../chunk-KFNDDPOW.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-UI3AKMZX.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as TransactionWorker,b as TransactionWorkerEventsEnum,a as promiseFulfilledStatus};
|
|
2
2
|
//# sourceMappingURL=transactionWorker.mjs.map
|
|
@@ -10,7 +10,7 @@ import '../../utils/const.mjs';
|
|
|
10
10
|
import '../../types/indexer.mjs';
|
|
11
11
|
import '../../types/generated/operations.mjs';
|
|
12
12
|
import '../../types/generated/types.mjs';
|
|
13
|
-
import '../../publicKey-
|
|
13
|
+
import '../../publicKey-_tPa99ea.mjs';
|
|
14
14
|
import '../../bcs/serializer.mjs';
|
|
15
15
|
import '../../core/hex.mjs';
|
|
16
16
|
import '../../core/common.mjs';
|
|
@@ -32,12 +32,56 @@ import '../../core/crypto/singleKey.mjs';
|
|
|
32
32
|
import '../instances/simpleTransaction.mjs';
|
|
33
33
|
import '../instances/multiAgentTransaction.mjs';
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Determines if the provided argument is of type boolean.
|
|
37
|
+
* This can help in validating input types before processing them further.
|
|
38
|
+
*
|
|
39
|
+
* @param arg - The argument to check, which can be of various types.
|
|
40
|
+
* @returns A boolean indicating whether the argument is a boolean.
|
|
41
|
+
*/
|
|
35
42
|
declare function isBool(arg: SimpleEntryFunctionArgumentTypes): arg is boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Checks if the provided argument is of type string.
|
|
45
|
+
*
|
|
46
|
+
* @param arg - The value to be checked for string type.
|
|
47
|
+
* @returns A boolean indicating whether the argument is a string.
|
|
48
|
+
*/
|
|
36
49
|
declare function isString(arg: any): arg is string;
|
|
50
|
+
/**
|
|
51
|
+
* Determines if the provided argument is of type number.
|
|
52
|
+
*
|
|
53
|
+
* @param arg - The argument to check, which can be of various types.
|
|
54
|
+
* @returns A boolean indicating whether the argument is a number.
|
|
55
|
+
*/
|
|
37
56
|
declare function isNumber(arg: SimpleEntryFunctionArgumentTypes): arg is number;
|
|
57
|
+
/**
|
|
58
|
+
* Converts a number or a string representation of a number into a number type.
|
|
59
|
+
* This function is useful for ensuring that the input is in a consistent numeric format,
|
|
60
|
+
* which can help prevent type mismatches in further processing.
|
|
61
|
+
*
|
|
62
|
+
* @param arg - The input value to be converted. This can be a number, a string representing a number, or any other type.
|
|
63
|
+
* @returns Returns the converted number if the input is valid; otherwise, it returns undefined.
|
|
64
|
+
*/
|
|
38
65
|
declare function convertNumber(arg: SimpleEntryFunctionArgumentTypes): number | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Determines if the provided argument is a large number, which can be a number, bigint, or string representation of a number.
|
|
68
|
+
*
|
|
69
|
+
* @param arg - The argument to check, which can be of type number, bigint, or string.
|
|
70
|
+
*/
|
|
39
71
|
declare function isLargeNumber(arg: SimpleEntryFunctionArgumentTypes): arg is number | bigint | string;
|
|
72
|
+
/**
|
|
73
|
+
* Checks if the provided argument is empty, meaning it is either null or undefined.
|
|
74
|
+
*
|
|
75
|
+
* @param arg - The argument to check for emptiness.
|
|
76
|
+
* @returns A boolean indicating whether the argument is empty.
|
|
77
|
+
*/
|
|
40
78
|
declare function isEmptyOption(arg: SimpleEntryFunctionArgumentTypes): arg is null | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Determines if the provided argument is a valid encoded entry function argument type.
|
|
81
|
+
* This function helps validate that the argument conforms to the expected types for entry function parameters.
|
|
82
|
+
*
|
|
83
|
+
* @param arg - The argument to check, which can be of type EntryFunctionArgumentTypes or SimpleEntryFunctionArgumentTypes.
|
|
84
|
+
*/
|
|
41
85
|
declare function isEncodedEntryFunctionArgument(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is EntryFunctionArgumentTypes;
|
|
42
86
|
declare function isBcsBool(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is Bool;
|
|
43
87
|
declare function isBcsAddress(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is AccountAddress;
|
|
@@ -49,16 +93,42 @@ declare function isBcsU32(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionA
|
|
|
49
93
|
declare function isBcsU64(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is U64;
|
|
50
94
|
declare function isBcsU128(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is U128;
|
|
51
95
|
declare function isBcsU256(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is U256;
|
|
96
|
+
/**
|
|
97
|
+
* Determines if the provided argument contains script data input by checking for the presence of bytecode.
|
|
98
|
+
*
|
|
99
|
+
* @param arg - The input data to be checked, which can either be a payload with remote ABI or a standard payload.
|
|
100
|
+
* @param arg.bytecode - The bytecode of the script, present if the input is script data.
|
|
101
|
+
* @param arg.function - The function associated with the transaction, which is relevant for standard payloads.
|
|
102
|
+
* @param arg.args - The arguments for the function, applicable in the context of standard payloads.
|
|
103
|
+
*/
|
|
52
104
|
declare function isScriptDataInput(arg: InputGenerateTransactionPayloadDataWithRemoteABI | InputGenerateTransactionPayloadData): arg is InputScriptData;
|
|
105
|
+
/**
|
|
106
|
+
* Throws an error indicating a type mismatch for a specified argument position.
|
|
107
|
+
* This function helps in debugging by providing clear feedback on expected types.
|
|
108
|
+
*
|
|
109
|
+
* @param expectedType - The type that was expected for the argument.
|
|
110
|
+
* @param position - The position of the argument that caused the type mismatch.
|
|
111
|
+
*/
|
|
53
112
|
declare function throwTypeMismatch(expectedType: string, position: number): void;
|
|
54
113
|
/**
|
|
55
|
-
* Finds first non-signer
|
|
114
|
+
* Finds the index of the first non-signer argument in the function ABI parameters.
|
|
56
115
|
*
|
|
57
116
|
* A function is often defined with a `signer` or `&signer` arguments at the start, which are filled in
|
|
58
|
-
* by signatures
|
|
59
|
-
*
|
|
117
|
+
* by signatures and not by the caller. This function helps identify the position of the first argument that
|
|
118
|
+
* can be provided by the caller, allowing for easier handling of function parameters.
|
|
119
|
+
*
|
|
120
|
+
* @param functionAbi - The ABI of the function to analyze.
|
|
121
|
+
* @returns The index of the first non-signer argument, or the length of the parameters array if none are found.
|
|
60
122
|
*/
|
|
61
123
|
declare function findFirstNonSignerArg(functionAbi: MoveFunction): number;
|
|
124
|
+
/**
|
|
125
|
+
* Splits a function identifier into its constituent parts: module address, module name, and function name.
|
|
126
|
+
* This function helps in validating and extracting details from a function identifier string.
|
|
127
|
+
*
|
|
128
|
+
* @param functionArg - The function identifier string in the format "moduleAddress::moduleName::functionName".
|
|
129
|
+
* @returns An object containing the module address, module name, and function name.
|
|
130
|
+
* @throws Error if the function identifier does not contain exactly three parts.
|
|
131
|
+
*/
|
|
62
132
|
declare function getFunctionParts(functionArg: MoveFunctionId): {
|
|
63
133
|
moduleAddress: string;
|
|
64
134
|
moduleName: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-N3OYD6VZ.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-PCLU4KLY.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-WIXNX7HY.mjs";import"../../chunk-6AGTDRNM.mjs";import"../../chunk-S3FVA55H.mjs";import"../../chunk-DZJXOL64.mjs";import"../../chunk-37UZKMJI.mjs";import"../../chunk-5CCHECTE.mjs";import"../../chunk-ONBFUPEC.mjs";import"../../chunk-XHCALZ7X.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-WSVOJSAC.mjs";import"../../chunk-4OV7QU2U.mjs";import"../../chunk-IBLZ6MZU.mjs";import"../../chunk-KIW54KWR.mjs";import"../../chunk-PHP47DI4.mjs";import"../../chunk-PRZ7AIGA.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-OLPI7QAH.mjs";import"../../chunk-WOOH5MMX.mjs";import"../../chunk-CRL4WGOH.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4CDDWSKZ.mjs";import"../../chunk-LEKBJ2EG.mjs";import"../../chunk-GQABU3RQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-IECDO22V.mjs";import"../../chunk-OZN3OOJV.mjs";import"../../chunk-JGNMNCQB.mjs";import"../../chunk-6FLHGOKP.mjs";import"../../chunk-N47FTRYO.mjs";import"../../chunk-KM6UXNC7.mjs";import"../../chunk-7XS45O6M.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-QQIVWB6G.mjs";import"../../chunk-KFNDDPOW.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-UI3AKMZX.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as convertNumber,t as findFirstNonSignerArg,u as getFunctionParts,i as isBcsAddress,h as isBcsBool,k as isBcsFixedBytes,j as isBcsString,p as isBcsU128,m as isBcsU16,q as isBcsU256,n as isBcsU32,o as isBcsU64,l as isBcsU8,a as isBool,f as isEmptyOption,g as isEncodedEntryFunctionArgument,e as isLargeNumber,c as isNumber,r as isScriptDataInput,b as isString,s as throwTypeMismatch};
|
|
2
2
|
//# sourceMappingURL=helpers.mjs.map
|
|
@@ -19,7 +19,7 @@ import '../../core/common.mjs';
|
|
|
19
19
|
import '../instances/transactionArgument.mjs';
|
|
20
20
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
21
21
|
import '../../core/accountAddress.mjs';
|
|
22
|
-
import '../../publicKey-
|
|
22
|
+
import '../../publicKey-_tPa99ea.mjs';
|
|
23
23
|
import '../../core/crypto/signature.mjs';
|
|
24
24
|
import '../instances/rawTransaction.mjs';
|
|
25
25
|
import '../instances/chainId.mjs';
|