@aptos-labs/ts-sdk 1.33.0-sc.1 → 1.33.0-sc.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-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
- package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
- package/dist/common/chunk-IHUCZKG2.js.map +1 -0
- package/dist/common/cli/index.d.ts +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 +1945 -226
- 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 +65 -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 +19 -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 +7 -2
- 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 +56 -2
- 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-4JX6OQEE.mjs → chunk-2E7ZURV4.mjs} +2 -2
- package/dist/esm/chunk-2E7ZURV4.mjs.map +1 -0
- package/dist/esm/{chunk-3TOPGQJA.mjs → chunk-2N7W6DEV.mjs} +2 -2
- package/dist/esm/chunk-2N7W6DEV.mjs.map +1 -0
- package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-2TKNO5VP.mjs} +2 -2
- package/dist/esm/chunk-2TKNO5VP.mjs.map +1 -0
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-3MZNK25Y.mjs} +2 -2
- package/dist/esm/chunk-3MZNK25Y.mjs.map +1 -0
- package/dist/esm/{chunk-YT3IP57B.mjs → chunk-463TSKJJ.mjs} +2 -2
- package/dist/esm/chunk-463TSKJJ.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-B2OF42B3.mjs → chunk-4ZYPDCSP.mjs} +2 -2
- package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
- package/dist/esm/{chunk-2E3EAJPC.mjs → chunk-5CBYEU5M.mjs} +2 -2
- package/dist/esm/chunk-5CBYEU5M.mjs.map +1 -0
- package/dist/esm/{chunk-MKM5MDD5.mjs → chunk-5J3ENG7I.mjs} +2 -2
- package/dist/esm/{chunk-MKM5MDD5.mjs.map → chunk-5J3ENG7I.mjs.map} +1 -1
- package/dist/esm/{chunk-D6WMUQB5.mjs → chunk-6CUW6UK5.mjs} +2 -2
- package/dist/esm/chunk-6CUW6UK5.mjs.map +1 -0
- package/dist/esm/{chunk-B6ERS4UX.mjs → chunk-6FW3RGYH.mjs} +2 -2
- package/dist/esm/chunk-6FW3RGYH.mjs.map +1 -0
- package/dist/esm/{chunk-EPBNJZ4A.mjs → chunk-6HFKPYDO.mjs} +2 -2
- package/dist/esm/chunk-6HFKPYDO.mjs.map +1 -0
- package/dist/esm/{chunk-WIDWY7A2.mjs → chunk-7IY3DTEF.mjs} +2 -2
- package/dist/esm/chunk-7IY3DTEF.mjs.map +1 -0
- package/dist/esm/{chunk-EVA2SMAU.mjs → chunk-7M36JLME.mjs} +2 -2
- package/dist/esm/chunk-7M36JLME.mjs.map +1 -0
- package/dist/esm/{chunk-TE3SBS7J.mjs → chunk-7TVQGK2Z.mjs} +2 -2
- package/dist/esm/chunk-7TVQGK2Z.mjs.map +1 -0
- package/dist/esm/{chunk-IKJAX5KQ.mjs → chunk-7YHXJ2VZ.mjs} +2 -2
- package/dist/esm/chunk-7YHXJ2VZ.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-A6JOTYKI.mjs +2 -0
- package/dist/esm/chunk-A6JOTYKI.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-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-UQIMOQZ7.mjs → chunk-C7EPP6YK.mjs} +2 -2
- package/dist/esm/chunk-C7EPP6YK.mjs.map +1 -0
- package/dist/esm/{chunk-554TWPPO.mjs → chunk-CBISVLO4.mjs} +2 -2
- package/dist/esm/chunk-CBISVLO4.mjs.map +1 -0
- package/dist/esm/chunk-CNGG6O55.mjs +2 -0
- package/dist/esm/chunk-CNGG6O55.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-CX3MN3BM.mjs +2 -0
- package/dist/esm/chunk-CX3MN3BM.mjs.map +1 -0
- package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
- package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
- package/dist/esm/{chunk-2CKUTG67.mjs → chunk-EBFY5RGU.mjs} +2 -2
- package/dist/esm/chunk-EBFY5RGU.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-3QIOEU3Z.mjs → chunk-EQI5C3T7.mjs} +2 -2
- package/dist/esm/chunk-EQI5C3T7.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-FAPRBYNZ.mjs +2 -0
- package/dist/esm/chunk-FAPRBYNZ.mjs.map +1 -0
- package/dist/esm/{chunk-CW6P2DDJ.mjs → chunk-FI4HBHWL.mjs} +2 -2
- package/dist/esm/{chunk-CW6P2DDJ.mjs.map → chunk-FI4HBHWL.mjs.map} +1 -1
- package/dist/esm/chunk-FJGHHXPV.mjs +2 -0
- package/dist/esm/chunk-FJGHHXPV.mjs.map +1 -0
- package/dist/esm/{chunk-SHAKBL2R.mjs → chunk-FJMZQTTO.mjs} +2 -2
- package/dist/esm/chunk-FJMZQTTO.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-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
- package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
- package/dist/esm/{chunk-EVASO3UR.mjs → chunk-GJALBHGP.mjs} +2 -2
- package/dist/esm/chunk-GJALBHGP.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-PMA7XAFK.mjs → chunk-GXFJ4HTV.mjs} +2 -2
- package/dist/esm/chunk-GXFJ4HTV.mjs.map +1 -0
- package/dist/esm/{chunk-FFBC7GFN.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-AR6BOLET.mjs → chunk-HGF6GLTW.mjs} +2 -2
- package/dist/esm/chunk-HGF6GLTW.mjs.map +1 -0
- package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-IDTLNF4M.mjs} +2 -2
- package/dist/esm/chunk-IDTLNF4M.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-6YFM6NEC.mjs → chunk-IZGNT64R.mjs} +2 -2
- package/dist/esm/chunk-IZGNT64R.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-J45GIVXE.mjs → chunk-KRBBSE7F.mjs} +2 -2
- package/dist/esm/chunk-KRBBSE7F.mjs.map +1 -0
- package/dist/esm/{chunk-7BKLEHKL.mjs → chunk-MCLYDS3O.mjs} +2 -2
- package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
- package/dist/esm/{chunk-BVUMR7DQ.mjs → chunk-MKGDMRM6.mjs} +2 -2
- package/dist/esm/chunk-MKGDMRM6.mjs.map +1 -0
- package/dist/esm/{chunk-5XLZACVT.mjs → chunk-MQZWLAZH.mjs} +2 -2
- package/dist/esm/chunk-MQZWLAZH.mjs.map +1 -0
- package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
- package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
- package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
- package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
- package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
- package/dist/esm/{chunk-DBAISV4K.mjs → chunk-NXQJWO3F.mjs} +2 -2
- package/dist/esm/chunk-NXQJWO3F.mjs.map +1 -0
- package/dist/esm/{chunk-2YTHKFJZ.mjs → chunk-ODEDSSQL.mjs} +2 -2
- package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
- package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-OHZURQPY.mjs} +2 -2
- package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
- package/dist/esm/{chunk-OZK26LTY.mjs → chunk-ONTWK5FU.mjs} +2 -2
- package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
- package/dist/esm/{chunk-3QUZFCNW.mjs → chunk-OPOIWSNQ.mjs} +2 -2
- package/dist/esm/chunk-OPOIWSNQ.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-PCEQYYQN.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-PCEQYYQN.mjs.map} +1 -1
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/{chunk-SOLRIYPW.mjs → chunk-QR7MBETX.mjs} +2 -2
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-QY46YWI4.mjs} +2 -2
- package/dist/esm/chunk-QY46YWI4.mjs.map +1 -0
- package/dist/esm/{chunk-WJSZAGHP.mjs → chunk-REH6COWO.mjs} +2 -2
- package/dist/esm/chunk-REH6COWO.mjs.map +1 -0
- package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
- package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
- package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/chunk-RUJGUBO6.mjs +2 -0
- package/dist/esm/chunk-RUJGUBO6.mjs.map +1 -0
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
- package/dist/esm/{chunk-GX4CYRK4.mjs → chunk-T6NQDM7D.mjs} +2 -2
- package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
- package/dist/esm/{chunk-T7BTSSX7.mjs → chunk-THLQVL5U.mjs} +2 -2
- package/dist/esm/chunk-THLQVL5U.mjs.map +1 -0
- package/dist/esm/chunk-TKNOP7T6.mjs +2 -0
- package/dist/esm/chunk-TKNOP7T6.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-4ZNSNWQL.mjs → chunk-UBAFRK6R.mjs} +2 -2
- package/dist/esm/chunk-UBAFRK6R.mjs.map +1 -0
- package/dist/esm/{chunk-362NFXZR.mjs → chunk-UC23V7PU.mjs} +2 -2
- package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
- package/dist/esm/chunk-UKIQD7F3.mjs +2 -0
- package/dist/esm/chunk-UKIQD7F3.mjs.map +1 -0
- package/dist/esm/{chunk-BKSQPS2O.mjs → chunk-URLNFC5B.mjs} +2 -2
- package/dist/esm/chunk-URLNFC5B.mjs.map +1 -0
- package/dist/esm/chunk-UXX6DVWF.mjs +2 -0
- package/dist/esm/chunk-UXX6DVWF.mjs.map +1 -0
- package/dist/esm/{chunk-JJXLJY37.mjs → chunk-UY3DN5PG.mjs} +2 -2
- package/dist/esm/chunk-UY3DN5PG.mjs.map +1 -0
- package/dist/esm/{chunk-UTOO6IVJ.mjs → chunk-VDHHKO7S.mjs} +2 -2
- package/dist/esm/chunk-VDHHKO7S.mjs.map +1 -0
- package/dist/esm/{chunk-3BWKODVZ.mjs → chunk-VJBBLDN3.mjs} +2 -2
- package/dist/esm/chunk-VJBBLDN3.mjs.map +1 -0
- package/dist/esm/{chunk-AOQJI6IC.mjs → chunk-VQJTY7C6.mjs} +2 -2
- package/dist/esm/chunk-VQJTY7C6.mjs.map +1 -0
- package/dist/esm/chunk-VRQNGGQX.mjs +2 -0
- package/dist/esm/chunk-VRQNGGQX.mjs.map +1 -0
- package/dist/esm/chunk-VYDITG4M.mjs +2 -0
- package/dist/esm/chunk-VYDITG4M.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-J2NQJ34O.mjs → chunk-W62GQRCS.mjs} +2 -2
- package/dist/esm/chunk-W62GQRCS.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-7CDITZUS.mjs → chunk-WM4DXMLN.mjs} +2 -2
- package/dist/esm/chunk-WM4DXMLN.mjs.map +1 -0
- package/dist/esm/{chunk-7R44XXPU.mjs → chunk-XAUI2DUN.mjs} +2 -2
- package/dist/esm/chunk-XAUI2DUN.mjs.map +1 -0
- package/dist/esm/{chunk-NNWPYX3K.mjs → chunk-XCRBVUJ7.mjs} +2 -2
- package/dist/esm/chunk-XCRBVUJ7.mjs.map +1 -0
- package/dist/esm/{chunk-2WLKSKL7.mjs → chunk-XEWJESJJ.mjs} +2 -2
- package/dist/esm/chunk-XEWJESJJ.mjs.map +1 -0
- package/dist/esm/{chunk-VGJIATTB.mjs → chunk-XGF7UNEW.mjs} +2 -2
- package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
- package/dist/esm/{chunk-XEW2YQE2.mjs → chunk-XHLPZMWO.mjs} +2 -2
- package/dist/esm/chunk-XHLPZMWO.mjs.map +1 -0
- package/dist/esm/{chunk-S22QVNK7.mjs → chunk-XIAC52YK.mjs} +2 -2
- package/dist/esm/chunk-XIAC52YK.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-XTOIL6MB.mjs +2 -0
- package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
- package/dist/esm/{chunk-2G7SAWM3.mjs → chunk-YJPYSM2B.mjs} +2 -2
- package/dist/esm/chunk-YJPYSM2B.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-QCIRC2SG.mjs → chunk-Z3J7ZDPN.mjs} +2 -2
- package/dist/esm/chunk-Z3J7ZDPN.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 +51 -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/script-composer/index.d.mts +5 -2
- package/dist/esm/transactions/script-composer/index.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/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 +20 -21
- 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 +10 -4
- package/src/api/transactionSubmission/helpers.ts +2 -0
- package/src/api/transactionSubmission/management.ts +5 -0
- package/src/api/transactionSubmission/sign.ts +4 -0
- package/src/api/transactionSubmission/simulate.ts +4 -0
- package/src/api/transactionSubmission/submit.ts +4 -0
- package/src/api/utils.ts +1 -0
- package/src/bcs/deserializer.ts +64 -2
- package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
- package/src/bcs/serializable/fixedBytes.ts +12 -0
- package/src/bcs/serializable/movePrimitives.ts +26 -0
- package/src/bcs/serializable/moveStructs.ts +56 -0
- package/src/bcs/serializer.ts +64 -1
- package/src/cli/localNode.ts +22 -8
- package/src/cli/move.ts +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 +17 -8
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +62 -5
- package/src/core/crypto/signature.ts +8 -0
- package/src/core/crypto/singleKey.ts +34 -2
- package/src/core/crypto/utils.ts +2 -0
- package/src/core/hex.ts +20 -0
- package/src/internal/account.ts +27 -7
- package/src/internal/ans.ts +27 -0
- package/src/internal/coin.ts +1 -0
- package/src/internal/digitalAsset.ts +30 -0
- package/src/internal/event.ts +6 -0
- package/src/internal/faucet.ts +5 -0
- package/src/internal/fungibleAsset.ts +5 -0
- package/src/internal/general.ts +7 -0
- package/src/internal/keyless.ts +4 -0
- package/src/internal/object.ts +2 -0
- package/src/internal/staking.ts +5 -1
- package/src/internal/table.ts +3 -0
- package/src/internal/transaction.ts +16 -0
- package/src/internal/transactionSubmission.ts +15 -2
- package/src/transactions/authenticator/account.ts +26 -0
- package/src/transactions/authenticator/transaction.ts +20 -0
- package/src/transactions/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/script-composer/index.ts +17 -8
- 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-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2CKUTG67.mjs.map +0 -1
- package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
- package/dist/esm/chunk-2E3EAJPC.mjs.map +0 -1
- package/dist/esm/chunk-2G7SAWM3.mjs.map +0 -1
- package/dist/esm/chunk-2WLKSKL7.mjs.map +0 -1
- package/dist/esm/chunk-2YTHKFJZ.mjs.map +0 -1
- package/dist/esm/chunk-362NFXZR.mjs.map +0 -1
- package/dist/esm/chunk-3BWKODVZ.mjs.map +0 -1
- package/dist/esm/chunk-3QIOEU3Z.mjs.map +0 -1
- package/dist/esm/chunk-3QUZFCNW.mjs.map +0 -1
- package/dist/esm/chunk-3TOPGQJA.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-4JX6OQEE.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-4ZNSNWQL.mjs.map +0 -1
- package/dist/esm/chunk-554TWPPO.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-5XLZACVT.mjs.map +0 -1
- package/dist/esm/chunk-6EVBSHT2.mjs +0 -2
- package/dist/esm/chunk-6EVBSHT2.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6YFM6NEC.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-77ILVREP.mjs +0 -2
- package/dist/esm/chunk-77ILVREP.mjs.map +0 -1
- package/dist/esm/chunk-7BKLEHKL.mjs.map +0 -1
- package/dist/esm/chunk-7CDITZUS.mjs.map +0 -1
- package/dist/esm/chunk-7R44XXPU.mjs.map +0 -1
- package/dist/esm/chunk-A7KFSQSE.mjs +0 -2
- package/dist/esm/chunk-A7KFSQSE.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-AOQJI6IC.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-AR6BOLET.mjs.map +0 -1
- package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
- package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
- package/dist/esm/chunk-B2OF42B3.mjs.map +0 -1
- package/dist/esm/chunk-B6ERS4UX.mjs.map +0 -1
- package/dist/esm/chunk-BKSQPS2O.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BVUMR7DQ.mjs.map +0 -1
- package/dist/esm/chunk-BZ7OCXLM.mjs +0 -2
- package/dist/esm/chunk-BZ7OCXLM.mjs.map +0 -1
- package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
- package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
- package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
- package/dist/esm/chunk-D52UKPQF.mjs +0 -2
- package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
- package/dist/esm/chunk-D6WMUQB5.mjs.map +0 -1
- package/dist/esm/chunk-DBAISV4K.mjs.map +0 -1
- package/dist/esm/chunk-EPBNJZ4A.mjs.map +0 -1
- package/dist/esm/chunk-EVA2SMAU.mjs.map +0 -1
- package/dist/esm/chunk-EVASO3UR.mjs.map +0 -1
- package/dist/esm/chunk-FFBC7GFN.mjs.map +0 -1
- package/dist/esm/chunk-FZDEGDUY.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-GX4CYRK4.mjs.map +0 -1
- package/dist/esm/chunk-H6RW3TML.mjs +0 -2
- package/dist/esm/chunk-H6RW3TML.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HXCL6KBW.mjs +0 -2
- package/dist/esm/chunk-HXCL6KBW.mjs.map +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-IIV42FZR.mjs +0 -2
- package/dist/esm/chunk-IIV42FZR.mjs.map +0 -1
- package/dist/esm/chunk-IKJAX5KQ.mjs.map +0 -1
- package/dist/esm/chunk-IZ3I5XZU.mjs +0 -2
- package/dist/esm/chunk-IZ3I5XZU.mjs.map +0 -1
- package/dist/esm/chunk-J2NQJ34O.mjs.map +0 -1
- package/dist/esm/chunk-J45GIVXE.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JJXLJY37.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
- package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
- package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
- package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
- package/dist/esm/chunk-NNWPYX3K.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-OZK26LTY.mjs.map +0 -1
- package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
- package/dist/esm/chunk-PC4HNMCP.mjs +0 -2
- package/dist/esm/chunk-PC4HNMCP.mjs.map +0 -1
- package/dist/esm/chunk-PMA7XAFK.mjs.map +0 -1
- package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
- package/dist/esm/chunk-QCIRC2SG.mjs.map +0 -1
- package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
- package/dist/esm/chunk-SHAKBL2R.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-T7BTSSX7.mjs.map +0 -1
- package/dist/esm/chunk-TE3SBS7J.mjs.map +0 -1
- package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- package/dist/esm/chunk-UQIMOQZ7.mjs.map +0 -1
- package/dist/esm/chunk-UTOO6IVJ.mjs.map +0 -1
- package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
- package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
- package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
- package/dist/esm/chunk-V5NDNR36.mjs +0 -2
- package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
- package/dist/esm/chunk-VGJIATTB.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-WIDWY7A2.mjs.map +0 -1
- package/dist/esm/chunk-WJSZAGHP.mjs.map +0 -1
- package/dist/esm/chunk-XEW2YQE2.mjs.map +0 -1
- package/dist/esm/chunk-YIQ3JFHW.mjs +0 -2
- package/dist/esm/chunk-YIQ3JFHW.mjs.map +0 -1
- package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
- package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
- /package/dist/esm/{chunk-SOLRIYPW.mjs.map → chunk-QR7MBETX.mjs.map} +0 -0
|
@@ -2,7 +2,7 @@ import { AptosConfig } from '../api/aptosConfig.mjs';
|
|
|
2
2
|
import { GetANSNameResponse } from '../types/indexer.mjs';
|
|
3
3
|
import { PaginationArgs, OrderByArg, WhereArg } from '../types/types.mjs';
|
|
4
4
|
import { AccountAddress, AccountAddressInput } from '../core/accountAddress.mjs';
|
|
5
|
-
import { A as Account } from '../Ed25519Account-
|
|
5
|
+
import { A as Account } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
6
6
|
import { InputGenerateTransactionOptions } from '../transactions/types.mjs';
|
|
7
7
|
import { CurrentAptosNamesBoolExp } from '../types/generated/types.mjs';
|
|
8
8
|
import { SimpleTransaction } from '../transactions/instances/simpleTransaction.mjs';
|
|
@@ -17,12 +17,13 @@ import '../bcs/deserializer.mjs';
|
|
|
17
17
|
import '../transactions/instances/transactionArgument.mjs';
|
|
18
18
|
import '../transactions/authenticator/account.mjs';
|
|
19
19
|
import '../core/crypto/ed25519.mjs';
|
|
20
|
-
import '../publicKey-
|
|
20
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
21
21
|
import '../core/crypto/signature.mjs';
|
|
22
22
|
import '../core/crypto/privateKey.mjs';
|
|
23
23
|
import '../core/crypto/multiEd25519.mjs';
|
|
24
24
|
import '../core/crypto/multiKey.mjs';
|
|
25
25
|
import '../core/crypto/singleKey.mjs';
|
|
26
|
+
import '../core/crypto/secp256k1.mjs';
|
|
26
27
|
import '../bcs/serializable/moveStructs.mjs';
|
|
27
28
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
28
29
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
@@ -39,6 +40,7 @@ import '../transactions/instances/multiAgentTransaction.mjs';
|
|
|
39
40
|
* the {@link api/name}. By moving the methods out into a separate file,
|
|
40
41
|
* other namespaces and processes can access these methods without depending on the entire
|
|
41
42
|
* name namespace and without having a dependency cycle error.
|
|
43
|
+
* @group Implementation
|
|
42
44
|
*/
|
|
43
45
|
|
|
44
46
|
declare const VALIDATION_RULES_DESCRIPTION: string;
|
|
@@ -48,12 +50,14 @@ declare const VALIDATION_RULES_DESCRIPTION: string;
|
|
|
48
50
|
*
|
|
49
51
|
* @param fragment - A fragment of a name, either the domain or subdomain.
|
|
50
52
|
* @returns A boolean indicating if the fragment is a valid fragment.
|
|
53
|
+
* @group Implementation
|
|
51
54
|
*/
|
|
52
55
|
declare function isValidANSSegment(fragment: string): boolean;
|
|
53
56
|
/**
|
|
54
57
|
* Checks if an ANS name is valid or not.
|
|
55
58
|
*
|
|
56
59
|
* @param name - A string of the domain name, which can include or exclude the .apt suffix.
|
|
60
|
+
* @group Implementation
|
|
57
61
|
*/
|
|
58
62
|
declare function isValidANSName(name: string): {
|
|
59
63
|
domainName: string;
|
|
@@ -61,6 +65,7 @@ declare function isValidANSName(name: string): {
|
|
|
61
65
|
};
|
|
62
66
|
/**
|
|
63
67
|
* Policy for determining how subdomains expire in relation to their parent domain.
|
|
68
|
+
* @group Implementation
|
|
64
69
|
*/
|
|
65
70
|
declare enum SubdomainExpirationPolicy {
|
|
66
71
|
Independent = 0,
|
|
@@ -74,6 +79,7 @@ declare enum SubdomainExpirationPolicy {
|
|
|
74
79
|
*
|
|
75
80
|
* @param name - An ANS name returned from one of the functions of the SDK.
|
|
76
81
|
* @returns A boolean indicating whether the contract considers the name active or not.
|
|
82
|
+
* @group Implementation
|
|
77
83
|
*/
|
|
78
84
|
declare function isActiveANSName(name: GetANSNameResponse[0]): boolean;
|
|
79
85
|
declare const LOCAL_ANS_ACCOUNT_PK: string;
|
|
@@ -85,6 +91,7 @@ declare const LOCAL_ANS_ACCOUNT_ADDRESS: string;
|
|
|
85
91
|
* @param args.aptosConfig - The Aptos configuration object.
|
|
86
92
|
* @param args.name - The name of the domain or subdomain to query.
|
|
87
93
|
* @returns The account address of the owner, or undefined if not found.
|
|
94
|
+
* @group Implementation
|
|
88
95
|
*/
|
|
89
96
|
declare function getOwnerAddress(args: {
|
|
90
97
|
aptosConfig: AptosConfig;
|
|
@@ -97,6 +104,7 @@ declare function getOwnerAddress(args: {
|
|
|
97
104
|
* @param sender - The account initiating the name registration.
|
|
98
105
|
* @param name - The name to be registered.
|
|
99
106
|
* @param expiration - The expiration policy for the name registration.
|
|
107
|
+
* @group Implementation
|
|
100
108
|
*/
|
|
101
109
|
interface RegisterNameParameters {
|
|
102
110
|
aptosConfig: AptosConfig;
|
|
@@ -135,6 +143,7 @@ interface RegisterNameParameters {
|
|
|
135
143
|
* @throws Error if the subdomain expiration time exceeds the domain expiration time.
|
|
136
144
|
*
|
|
137
145
|
* @returns A transaction object representing the registration process.
|
|
146
|
+
* @group Implementation
|
|
138
147
|
*/
|
|
139
148
|
declare function registerName(args: RegisterNameParameters): Promise<SimpleTransaction>;
|
|
140
149
|
/**
|
|
@@ -144,6 +153,7 @@ declare function registerName(args: RegisterNameParameters): Promise<SimpleTrans
|
|
|
144
153
|
* @param args.aptosConfig - The configuration object for Aptos.
|
|
145
154
|
* @param args.name - The name of the domain or subdomain to check.
|
|
146
155
|
* @returns The expiration time in epoch milliseconds, or undefined if an error occurs.
|
|
156
|
+
* @group Implementation
|
|
147
157
|
*/
|
|
148
158
|
declare function getExpiration(args: {
|
|
149
159
|
aptosConfig: AptosConfig;
|
|
@@ -157,6 +167,7 @@ declare function getExpiration(args: {
|
|
|
157
167
|
* @param args.aptosConfig - The Aptos configuration object.
|
|
158
168
|
* @param args.address - The account address for which to retrieve the primary name.
|
|
159
169
|
* @returns The primary name as a string, or undefined if no domain name exists.
|
|
170
|
+
* @group Implementation
|
|
160
171
|
*/
|
|
161
172
|
declare function getPrimaryName(args: {
|
|
162
173
|
aptosConfig: AptosConfig;
|
|
@@ -172,6 +183,7 @@ declare function getPrimaryName(args: {
|
|
|
172
183
|
* @param args.name - The name to set as the primary name. If omitted, the function will clear the primary name.
|
|
173
184
|
* @param args.options - Optional transaction generation options.
|
|
174
185
|
* @returns A transaction object representing the operation.
|
|
186
|
+
* @group Implementation
|
|
175
187
|
*/
|
|
176
188
|
declare function setPrimaryName(args: {
|
|
177
189
|
aptosConfig: AptosConfig;
|
|
@@ -186,6 +198,7 @@ declare function setPrimaryName(args: {
|
|
|
186
198
|
* @param args.aptosConfig - The Aptos configuration object.
|
|
187
199
|
* @param args.name - The name of the domain, which may include a subdomain.
|
|
188
200
|
* @returns The target address as an AccountAddress, or undefined if not found.
|
|
201
|
+
* @group Implementation
|
|
189
202
|
*/
|
|
190
203
|
declare function getTargetAddress(args: {
|
|
191
204
|
aptosConfig: AptosConfig;
|
|
@@ -203,6 +216,7 @@ declare function getTargetAddress(args: {
|
|
|
203
216
|
* @param args.options - Optional parameters for generating the transaction.
|
|
204
217
|
*
|
|
205
218
|
* @returns A transaction object representing the set target address operation.
|
|
219
|
+
* @group Implementation
|
|
206
220
|
*/
|
|
207
221
|
declare function setTargetAddress(args: {
|
|
208
222
|
aptosConfig: AptosConfig;
|
|
@@ -218,6 +232,7 @@ declare function setTargetAddress(args: {
|
|
|
218
232
|
* @param args.aptosConfig - The configuration object for Aptos.
|
|
219
233
|
* @param args.name - The name to look up, which includes the domain and optional subdomain.
|
|
220
234
|
* @returns The active Aptos name if it exists; otherwise, returns undefined.
|
|
235
|
+
* @group Implementation
|
|
221
236
|
*/
|
|
222
237
|
declare function getName(args: {
|
|
223
238
|
aptosConfig: AptosConfig;
|
|
@@ -227,6 +242,7 @@ declare function getName(args: {
|
|
|
227
242
|
* Options for querying names, including pagination, ordering, and filtering criteria.
|
|
228
243
|
*
|
|
229
244
|
* @param options - Pagination and filtering options for the query.
|
|
245
|
+
* @group Implementation
|
|
230
246
|
*/
|
|
231
247
|
interface QueryNamesOptions {
|
|
232
248
|
options?: PaginationArgs & OrderByArg<GetANSNameResponse[0]> & WhereArg<CurrentAptosNamesBoolExp>;
|
|
@@ -235,6 +251,7 @@ interface QueryNamesOptions {
|
|
|
235
251
|
* Arguments for retrieving account names based on the specified account address.
|
|
236
252
|
*
|
|
237
253
|
* @param accountAddress - The address of the account for which names are to be retrieved.
|
|
254
|
+
* @group Implementation
|
|
238
255
|
*/
|
|
239
256
|
interface GetAccountNamesArgs extends QueryNamesOptions {
|
|
240
257
|
accountAddress: AccountAddressInput;
|
|
@@ -252,6 +269,7 @@ interface GetAccountNamesArgs extends QueryNamesOptions {
|
|
|
252
269
|
* @param args.accountAddress - The address of the account for which to retrieve names.
|
|
253
270
|
*
|
|
254
271
|
* @returns An array of sanitized Aptos names associated with the specified account address.
|
|
272
|
+
* @group Implementation
|
|
255
273
|
*/
|
|
256
274
|
declare function getAccountNames(args: {
|
|
257
275
|
aptosConfig: AptosConfig;
|
|
@@ -260,6 +278,7 @@ declare function getAccountNames(args: {
|
|
|
260
278
|
* Arguments for retrieving the domains associated with a specific account.
|
|
261
279
|
*
|
|
262
280
|
* @param accountAddress - The address of the account for which to fetch domains.
|
|
281
|
+
* @group Implementation
|
|
263
282
|
*/
|
|
264
283
|
interface GetAccountDomainsArgs extends QueryNamesOptions {
|
|
265
284
|
accountAddress: AccountAddressInput;
|
|
@@ -279,6 +298,7 @@ interface GetAccountDomainsArgs extends QueryNamesOptions {
|
|
|
279
298
|
* @param args.options.where.subdomain - The specific subdomain to filter by.
|
|
280
299
|
*
|
|
281
300
|
* @returns An array of sanitized domain names owned by the specified account.
|
|
301
|
+
* @group Implementation
|
|
282
302
|
*/
|
|
283
303
|
declare function getAccountDomains(args: {
|
|
284
304
|
aptosConfig: AptosConfig;
|
|
@@ -287,6 +307,7 @@ declare function getAccountDomains(args: {
|
|
|
287
307
|
* Arguments for retrieving subdomains associated with a specific account.
|
|
288
308
|
*
|
|
289
309
|
* @param accountAddress - The address of the account for which to fetch subdomains.
|
|
310
|
+
* @group Implementation
|
|
290
311
|
*/
|
|
291
312
|
interface GetAccountSubdomainsArgs extends QueryNamesOptions {
|
|
292
313
|
accountAddress: AccountAddressInput;
|
|
@@ -306,6 +327,7 @@ interface GetAccountSubdomainsArgs extends QueryNamesOptions {
|
|
|
306
327
|
* @param args.options.where.expiration_timestamp - The expiration timestamp to filter by.
|
|
307
328
|
* @param args.options.where.subdomain - The subdomain condition to filter by.
|
|
308
329
|
* @param args.accountAddress - The address of the account whose subdomains are being queried.
|
|
330
|
+
* @group Implementation
|
|
309
331
|
*/
|
|
310
332
|
declare function getAccountSubdomains(args: {
|
|
311
333
|
aptosConfig: AptosConfig;
|
|
@@ -314,6 +336,7 @@ declare function getAccountSubdomains(args: {
|
|
|
314
336
|
* Arguments for retrieving subdomains associated with a specific domain.
|
|
315
337
|
*
|
|
316
338
|
* @param domain - The domain for which to fetch subdomains.
|
|
339
|
+
* @group Implementation
|
|
317
340
|
*/
|
|
318
341
|
interface GetDomainSubdomainsArgs extends QueryNamesOptions {
|
|
319
342
|
domain: string;
|
|
@@ -331,6 +354,7 @@ interface GetDomainSubdomainsArgs extends QueryNamesOptions {
|
|
|
331
354
|
* @param args.domain - The domain for which to retrieve subdomains.
|
|
332
355
|
*
|
|
333
356
|
* @returns An array of active subdomain names.
|
|
357
|
+
* @group Implementation
|
|
334
358
|
*/
|
|
335
359
|
declare function getDomainSubdomains(args: {
|
|
336
360
|
aptosConfig: AptosConfig;
|
|
@@ -345,6 +369,7 @@ declare function getDomainSubdomains(args: {
|
|
|
345
369
|
* @param args.years - The number of years to renew the domain for. Currently, only 1 year renewals are supported. (optional, default is 1)
|
|
346
370
|
* @param args.options - Additional options for generating the transaction. (optional)
|
|
347
371
|
* @throws Error if the name contains a subdomain or if the years parameter is not equal to 1.
|
|
372
|
+
* @group Implementation
|
|
348
373
|
*/
|
|
349
374
|
declare function renewDomain(args: {
|
|
350
375
|
aptosConfig: AptosConfig;
|
|
@@ -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}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t}from"../chunk-XAUI2DUN.mjs";import"../chunk-QR7MBETX.mjs";import"../chunk-OPOIWSNQ.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CNGG6O55.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-KRBBSE7F.mjs";import"../chunk-6HFKPYDO.mjs";import"../chunk-HBH2NQKU.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-TKNOP7T6.mjs";import"../chunk-XIAC52YK.mjs";import"../chunk-VDHHKO7S.mjs";import"../chunk-QY46YWI4.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-A6JOTYKI.mjs";import"../chunk-FAPRBYNZ.mjs";import"../chunk-URLNFC5B.mjs";import"../chunk-UXX6DVWF.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-UKIQD7F3.mjs";import"../chunk-C7EPP6YK.mjs";import"../chunk-RUJGUBO6.mjs";import"../chunk-CX3MN3BM.mjs";import"../chunk-4ZYPDCSP.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-MCLYDS3O.mjs";import"../chunk-OHZURQPY.mjs";import"../chunk-UY3DN5PG.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-6CUW6UK5.mjs";import"../chunk-XEWJESJJ.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-CBISVLO4.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-VRQNGGQX.mjs";import"../chunk-GJALBHGP.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-THLQVL5U.mjs";import"../chunk-FJMZQTTO.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-FJGHHXPV.mjs";import"../chunk-463TSKJJ.mjs";import"../chunk-3MZNK25Y.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-PCEQYYQN.mjs";import"../chunk-KDMSOCZY.mjs";export{g as LOCAL_ANS_ACCOUNT_ADDRESS,f as LOCAL_ANS_ACCOUNT_PK,d as SubdomainExpirationPolicy,a as VALIDATION_RULES_DESCRIPTION,q as getAccountDomains,p as getAccountNames,r as getAccountSubdomains,s as getDomainSubdomains,j as getExpiration,o as getName,h as getOwnerAddress,k as getPrimaryName,m as getTargetAddress,e as isActiveANSName,c as isValidANSName,b as isValidANSSegment,i as registerName,t as renewDomain,l as setPrimaryName,n as setTargetAddress};
|
|
2
2
|
//# sourceMappingURL=ans.mjs.map
|
|
@@ -17,7 +17,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
17
17
|
import '../bcs/serializable/moveStructs.mjs';
|
|
18
18
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
19
19
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
20
|
-
import '../publicKey-
|
|
20
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
21
21
|
import '../core/crypto/signature.mjs';
|
|
22
22
|
import '../transactions/instances/rawTransaction.mjs';
|
|
23
23
|
import '../transactions/instances/chainId.mjs';
|
|
@@ -31,6 +31,7 @@ import '../core/crypto/privateKey.mjs';
|
|
|
31
31
|
import '../core/crypto/multiEd25519.mjs';
|
|
32
32
|
import '../core/crypto/multiKey.mjs';
|
|
33
33
|
import '../core/crypto/singleKey.mjs';
|
|
34
|
+
import '../core/crypto/secp256k1.mjs';
|
|
34
35
|
import '../transactions/instances/multiAgentTransaction.mjs';
|
|
35
36
|
|
|
36
37
|
/**
|
|
@@ -44,6 +45,7 @@ import '../transactions/instances/multiAgentTransaction.mjs';
|
|
|
44
45
|
* @param args.amount - The amount of coins to transfer.
|
|
45
46
|
* @param args.coinType - (Optional) The type of coin to transfer, defaults to Aptos Coin if not specified.
|
|
46
47
|
* @param args.options - (Optional) Options for generating the transaction.
|
|
48
|
+
* @group Implementation
|
|
47
49
|
*/
|
|
48
50
|
declare function transferCoinTransaction(args: {
|
|
49
51
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5J3ENG7I.mjs";import"../chunk-OPOIWSNQ.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CNGG6O55.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-KRBBSE7F.mjs";import"../chunk-6HFKPYDO.mjs";import"../chunk-HBH2NQKU.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-TKNOP7T6.mjs";import"../chunk-XIAC52YK.mjs";import"../chunk-VDHHKO7S.mjs";import"../chunk-QY46YWI4.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-A6JOTYKI.mjs";import"../chunk-FAPRBYNZ.mjs";import"../chunk-URLNFC5B.mjs";import"../chunk-UXX6DVWF.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-UKIQD7F3.mjs";import"../chunk-C7EPP6YK.mjs";import"../chunk-RUJGUBO6.mjs";import"../chunk-CX3MN3BM.mjs";import"../chunk-4ZYPDCSP.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-MCLYDS3O.mjs";import"../chunk-OHZURQPY.mjs";import"../chunk-UY3DN5PG.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-6CUW6UK5.mjs";import"../chunk-XEWJESJJ.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-CBISVLO4.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-VRQNGGQX.mjs";import"../chunk-GJALBHGP.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-THLQVL5U.mjs";import"../chunk-FJMZQTTO.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-FJGHHXPV.mjs";import"../chunk-463TSKJJ.mjs";import"../chunk-3MZNK25Y.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-PCEQYYQN.mjs";import"../chunk-KDMSOCZY.mjs";export{a as transferCoinTransaction};
|
|
2
2
|
//# sourceMappingURL=coin.mjs.map
|
|
@@ -2,7 +2,7 @@ import { AptosConfig } from '../api/aptosConfig.mjs';
|
|
|
2
2
|
import { AccountAddress, AccountAddressInput } from '../core/accountAddress.mjs';
|
|
3
3
|
import { GetTokenDataResponse, GetCurrentTokenOwnershipResponse, GetTokenActivityResponse, GetOwnedTokensResponse, GetCollectionDataResponse } from '../types/indexer.mjs';
|
|
4
4
|
import { PaginationArgs, OrderByArg, AnyNumber, TokenStandardArg, WhereArg, MoveStructId } from '../types/types.mjs';
|
|
5
|
-
import { A as Account } from '../Ed25519Account-
|
|
5
|
+
import { A as Account } from '../Ed25519Account-D4j3_WIS.mjs';
|
|
6
6
|
import { InputGenerateTransactionOptions } from '../transactions/types.mjs';
|
|
7
7
|
import { CurrentCollectionsV2BoolExp } from '../types/generated/types.mjs';
|
|
8
8
|
import { SimpleTransaction } from '../transactions/instances/simpleTransaction.mjs';
|
|
@@ -17,12 +17,13 @@ import '../bcs/deserializer.mjs';
|
|
|
17
17
|
import '../transactions/instances/transactionArgument.mjs';
|
|
18
18
|
import '../transactions/authenticator/account.mjs';
|
|
19
19
|
import '../core/crypto/ed25519.mjs';
|
|
20
|
-
import '../publicKey-
|
|
20
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
21
21
|
import '../core/crypto/signature.mjs';
|
|
22
22
|
import '../core/crypto/privateKey.mjs';
|
|
23
23
|
import '../core/crypto/multiEd25519.mjs';
|
|
24
24
|
import '../core/crypto/multiKey.mjs';
|
|
25
25
|
import '../core/crypto/singleKey.mjs';
|
|
26
|
+
import '../core/crypto/secp256k1.mjs';
|
|
26
27
|
import '../bcs/serializable/moveStructs.mjs';
|
|
27
28
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
28
29
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
@@ -39,6 +40,7 @@ import '../transactions/instances/multiAgentTransaction.mjs';
|
|
|
39
40
|
* the {@link api/digitalAsset}. By moving the methods out into a separate file,
|
|
40
41
|
* other namespaces and processes can access these methods without depending on the entire
|
|
41
42
|
* digitalAsset namespace and without having a dependency cycle error.
|
|
43
|
+
* @group Implementation
|
|
42
44
|
*/
|
|
43
45
|
|
|
44
46
|
declare const PropertyTypeMap: {
|
|
@@ -55,12 +57,14 @@ declare const PropertyTypeMap: {
|
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* The keys of the PropertyTypeMap, representing different property types.
|
|
60
|
+
* @group Implementation
|
|
58
61
|
*/
|
|
59
62
|
type PropertyType = keyof typeof PropertyTypeMap;
|
|
60
63
|
/**
|
|
61
64
|
* Accepted property value types for user input, including boolean, number, bigint, string, AccountAddress, and Uint8Array.
|
|
62
65
|
* To pass in an Array, use Uint8Array type
|
|
63
66
|
* for example `new MoveVector([new MoveString("hello"), new MoveString("world")]).bcsToBytes()`
|
|
67
|
+
* @group Implementation
|
|
64
68
|
*/
|
|
65
69
|
type PropertyValue = boolean | number | bigint | string | AccountAddress | Uint8Array;
|
|
66
70
|
/**
|
|
@@ -70,6 +74,7 @@ type PropertyValue = boolean | number | bigint | string | AccountAddress | Uint8
|
|
|
70
74
|
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
71
75
|
* @param args.digitalAssetAddress - The address of the digital asset to retrieve data for.
|
|
72
76
|
* @returns The data of the specified digital asset.
|
|
77
|
+
* @group Implementation
|
|
73
78
|
*/
|
|
74
79
|
declare function getDigitalAssetData(args: {
|
|
75
80
|
aptosConfig: AptosConfig;
|
|
@@ -82,6 +87,7 @@ declare function getDigitalAssetData(args: {
|
|
|
82
87
|
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
83
88
|
* @param args.digitalAssetAddress - The address of the digital asset to query ownership for.
|
|
84
89
|
* @returns The current ownership details of the specified digital asset.
|
|
90
|
+
* @group Implementation
|
|
85
91
|
*/
|
|
86
92
|
declare function getCurrentDigitalAssetOwnership(args: {
|
|
87
93
|
aptosConfig: AptosConfig;
|
|
@@ -99,6 +105,7 @@ declare function getCurrentDigitalAssetOwnership(args: {
|
|
|
99
105
|
* @param args.options.orderBy - The criteria for ordering the results.
|
|
100
106
|
*
|
|
101
107
|
* @returns An array of digital assets currently owned by the specified account.
|
|
108
|
+
* @group Implementation
|
|
102
109
|
*/
|
|
103
110
|
declare function getOwnedDigitalAssets(args: {
|
|
104
111
|
aptosConfig: AptosConfig;
|
|
@@ -117,6 +124,7 @@ declare function getOwnedDigitalAssets(args: {
|
|
|
117
124
|
* @param args.options.limit - The maximum number of records to return.
|
|
118
125
|
* @param args.options.orderBy - The criteria to order the results by.
|
|
119
126
|
* @returns A promise that resolves to an array of token activities for the specified digital asset.
|
|
127
|
+
* @group Implementation
|
|
120
128
|
*/
|
|
121
129
|
declare function getDigitalAssetActivity(args: {
|
|
122
130
|
aptosConfig: AptosConfig;
|
|
@@ -139,6 +147,7 @@ declare function getDigitalAssetActivity(args: {
|
|
|
139
147
|
* @param tokensFreezableByCreator - Indicates if the creator can freeze tokens in the collection.
|
|
140
148
|
* @param royaltyNumerator - The numerator for calculating royalties.
|
|
141
149
|
* @param royaltyDenominator - The denominator for calculating royalties.
|
|
150
|
+
* @group Implementation
|
|
142
151
|
*/
|
|
143
152
|
interface CreateCollectionOptions {
|
|
144
153
|
maxSupply?: AnyNumber;
|
|
@@ -177,6 +186,7 @@ interface CreateCollectionOptions {
|
|
|
177
186
|
* @param args.tokensFreezableByCreator - Indicates if tokens can be frozen by the creator (optional, defaults to true).
|
|
178
187
|
* @param args.royaltyNumerator - The numerator for calculating royalties (optional, defaults to 0).
|
|
179
188
|
* @param args.royaltyDenominator - The denominator for calculating royalties (optional, defaults to 1).
|
|
189
|
+
* @group Implementation
|
|
180
190
|
*/
|
|
181
191
|
declare function createCollectionTransaction(args: {
|
|
182
192
|
aptosConfig: AptosConfig;
|
|
@@ -197,6 +207,7 @@ declare function createCollectionTransaction(args: {
|
|
|
197
207
|
* @param args.options.limit - The limit for pagination.
|
|
198
208
|
* @param args.options.where - The conditions to filter the collections.
|
|
199
209
|
* @returns The data of the current collections.
|
|
210
|
+
* @group Implementation
|
|
200
211
|
*/
|
|
201
212
|
declare function getCollectionData(args: {
|
|
202
213
|
aptosConfig: AptosConfig;
|
|
@@ -212,6 +223,7 @@ declare function getCollectionData(args: {
|
|
|
212
223
|
* @param args.options - Optional parameters for filtering the results, including token standard and pagination options.
|
|
213
224
|
* @param args.options.tokenStandard - The token standard to filter the results by (optional).
|
|
214
225
|
* @param args.options.pagination - Pagination options for the results (optional).
|
|
226
|
+
* @group Implementation
|
|
215
227
|
*/
|
|
216
228
|
declare function getCollectionDataByCreatorAddressAndCollectionName(args: {
|
|
217
229
|
aptosConfig: AptosConfig;
|
|
@@ -229,6 +241,7 @@ declare function getCollectionDataByCreatorAddressAndCollectionName(args: {
|
|
|
229
241
|
* @param args.options - Optional parameters for filtering the results.
|
|
230
242
|
* @param args.options.tokenStandard - The token standard to filter the collections by.
|
|
231
243
|
* @param args.options.pagination - Pagination options for the results.
|
|
244
|
+
* @group Implementation
|
|
232
245
|
*/
|
|
233
246
|
declare function getCollectionDataByCreatorAddress(args: {
|
|
234
247
|
aptosConfig: AptosConfig;
|
|
@@ -246,6 +259,7 @@ declare function getCollectionDataByCreatorAddress(args: {
|
|
|
246
259
|
* @param args.options.tokenStandard - The standard of the token to filter the collection data.
|
|
247
260
|
* @param args.options.page - The page number for pagination.
|
|
248
261
|
* @param args.options.limit - The number of items per page for pagination.
|
|
262
|
+
* @group Implementation
|
|
249
263
|
*/
|
|
250
264
|
declare function getCollectionDataByCollectionId(args: {
|
|
251
265
|
aptosConfig: AptosConfig;
|
|
@@ -263,6 +277,7 @@ declare function getCollectionDataByCollectionId(args: {
|
|
|
263
277
|
* @param args.options - Optional parameters for additional filtering.
|
|
264
278
|
* @param args.options.tokenStandard - The token standard to filter the collection (default is "v2").
|
|
265
279
|
* @returns The ID of the specified collection.
|
|
280
|
+
* @group Implementation
|
|
266
281
|
*/
|
|
267
282
|
declare function getCollectionId(args: {
|
|
268
283
|
aptosConfig: AptosConfig;
|
|
@@ -285,6 +300,7 @@ declare function getCollectionId(args: {
|
|
|
285
300
|
* @param [args.propertyTypes] - Optional array of property types corresponding to the asset's properties.
|
|
286
301
|
* @param [args.propertyValues] - Optional array of property values for the asset's properties.
|
|
287
302
|
* @param [args.options] - Optional transaction generation options.
|
|
303
|
+
* @group Implementation
|
|
288
304
|
*/
|
|
289
305
|
declare function mintDigitalAssetTransaction(args: {
|
|
290
306
|
aptosConfig: AptosConfig;
|
|
@@ -309,6 +325,7 @@ declare function mintDigitalAssetTransaction(args: {
|
|
|
309
325
|
* @param args.recipient - The address of the account receiving the digital asset.
|
|
310
326
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being transferred.
|
|
311
327
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
328
|
+
* @group Implementation
|
|
312
329
|
*/
|
|
313
330
|
declare function transferDigitalAssetTransaction(args: {
|
|
314
331
|
aptosConfig: AptosConfig;
|
|
@@ -335,6 +352,7 @@ declare function transferDigitalAssetTransaction(args: {
|
|
|
335
352
|
* @param [args.propertyValues] - Optional array of property values that match the property keys and types.
|
|
336
353
|
* @param [args.options] - Optional transaction generation options.
|
|
337
354
|
* @throws Error if the counts of property keys, property types, and property values do not match.
|
|
355
|
+
* @group Implementation
|
|
338
356
|
*/
|
|
339
357
|
declare function mintSoulBoundTransaction(args: {
|
|
340
358
|
aptosConfig: AptosConfig;
|
|
@@ -359,6 +377,7 @@ declare function mintSoulBoundTransaction(args: {
|
|
|
359
377
|
* @param args.digitalAssetAddress - The address of the digital asset to be burned.
|
|
360
378
|
* @param args.digitalAssetType - Optional; the type of the digital asset being burned.
|
|
361
379
|
* @param args.options - Optional; additional options for generating the transaction.
|
|
380
|
+
* @group Implementation
|
|
362
381
|
*/
|
|
363
382
|
declare function burnDigitalAssetTransaction(args: {
|
|
364
383
|
aptosConfig: AptosConfig;
|
|
@@ -377,6 +396,7 @@ declare function burnDigitalAssetTransaction(args: {
|
|
|
377
396
|
* @param args.digitalAssetAddress - The address of the digital asset to be frozen.
|
|
378
397
|
* @param args.digitalAssetType - (Optional) The type of the digital asset as a Move struct ID.
|
|
379
398
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
399
|
+
* @group Implementation
|
|
380
400
|
*/
|
|
381
401
|
declare function freezeDigitalAssetTransferTransaction(args: {
|
|
382
402
|
aptosConfig: AptosConfig;
|
|
@@ -394,6 +414,7 @@ declare function freezeDigitalAssetTransferTransaction(args: {
|
|
|
394
414
|
* @param args.digitalAssetAddress - The address of the digital asset to be unfrozen.
|
|
395
415
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being unfrozen.
|
|
396
416
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
417
|
+
* @group Implementation
|
|
397
418
|
*/
|
|
398
419
|
declare function unfreezeDigitalAssetTransferTransaction(args: {
|
|
399
420
|
aptosConfig: AptosConfig;
|
|
@@ -412,6 +433,7 @@ declare function unfreezeDigitalAssetTransferTransaction(args: {
|
|
|
412
433
|
* @param args.digitalAssetAddress - The address of the digital asset whose description is being set.
|
|
413
434
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
414
435
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
436
|
+
* @group Implementation
|
|
415
437
|
*/
|
|
416
438
|
declare function setDigitalAssetDescriptionTransaction(args: {
|
|
417
439
|
aptosConfig: AptosConfig;
|
|
@@ -432,6 +454,7 @@ declare function setDigitalAssetDescriptionTransaction(args: {
|
|
|
432
454
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
433
455
|
* @param args.digitalAssetType - (Optional) The type of the digital asset, represented as a Move struct ID.
|
|
434
456
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
457
|
+
* @group Implementation
|
|
435
458
|
*/
|
|
436
459
|
declare function setDigitalAssetNameTransaction(args: {
|
|
437
460
|
aptosConfig: AptosConfig;
|
|
@@ -451,6 +474,7 @@ declare function setDigitalAssetNameTransaction(args: {
|
|
|
451
474
|
* @param args.digitalAssetAddress - The address of the digital asset whose URI is being set.
|
|
452
475
|
* @param args.digitalAssetType - The optional type of the digital asset; defaults to a predefined type if not provided.
|
|
453
476
|
* @param args.options - Optional settings for generating the transaction.
|
|
477
|
+
* @group Implementation
|
|
454
478
|
*/
|
|
455
479
|
declare function setDigitalAssetURITransaction(args: {
|
|
456
480
|
aptosConfig: AptosConfig;
|
|
@@ -473,6 +497,7 @@ declare function setDigitalAssetURITransaction(args: {
|
|
|
473
497
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
474
498
|
* @param args.digitalAssetType - The optional type of the digital asset.
|
|
475
499
|
* @param args.options - Optional transaction generation options.
|
|
500
|
+
* @group Implementation
|
|
476
501
|
*/
|
|
477
502
|
declare function addDigitalAssetPropertyTransaction(args: {
|
|
478
503
|
aptosConfig: AptosConfig;
|
|
@@ -495,6 +520,7 @@ declare function addDigitalAssetPropertyTransaction(args: {
|
|
|
495
520
|
* @param args.digitalAssetAddress - The address of the digital asset from which the property will be removed.
|
|
496
521
|
* @param args.digitalAssetType - The type of the digital asset (optional).
|
|
497
522
|
* @param args.options - Additional options for generating the transaction (optional).
|
|
523
|
+
* @group Implementation
|
|
498
524
|
*/
|
|
499
525
|
declare function removeDigitalAssetPropertyTransaction(args: {
|
|
500
526
|
aptosConfig: AptosConfig;
|
|
@@ -517,6 +543,7 @@ declare function removeDigitalAssetPropertyTransaction(args: {
|
|
|
517
543
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
518
544
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
519
545
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
546
|
+
* @group Implementation
|
|
520
547
|
*/
|
|
521
548
|
declare function updateDigitalAssetPropertyTransaction(args: {
|
|
522
549
|
aptosConfig: AptosConfig;
|
|
@@ -541,6 +568,7 @@ declare function updateDigitalAssetPropertyTransaction(args: {
|
|
|
541
568
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
542
569
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
543
570
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
571
|
+
* @group Implementation
|
|
544
572
|
*/
|
|
545
573
|
declare function addDigitalAssetTypedPropertyTransaction(args: {
|
|
546
574
|
aptosConfig: AptosConfig;
|
|
@@ -564,6 +592,7 @@ declare function addDigitalAssetTypedPropertyTransaction(args: {
|
|
|
564
592
|
* @param args.digitalAssetAddress - The address of the digital asset to be updated.
|
|
565
593
|
* @param args.digitalAssetType - Optional. The type of the digital asset, if not provided, defaults to the standard type.
|
|
566
594
|
* @param args.options - Optional. Additional options for generating the transaction.
|
|
595
|
+
* @group Implementation
|
|
567
596
|
*/
|
|
568
597
|
declare function updateDigitalAssetTypedPropertyTransaction(args: {
|
|
569
598
|
aptosConfig: AptosConfig;
|
|
@@ -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,v,w,x}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,v,w,x}from"../chunk-2E7ZURV4.mjs";import"../chunk-OPOIWSNQ.mjs";import"../chunk-UIRAXHDH.mjs";import"../chunk-CNGG6O55.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-KRBBSE7F.mjs";import"../chunk-6HFKPYDO.mjs";import"../chunk-HBH2NQKU.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-TKNOP7T6.mjs";import"../chunk-XIAC52YK.mjs";import"../chunk-VDHHKO7S.mjs";import"../chunk-QY46YWI4.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-A6JOTYKI.mjs";import"../chunk-FAPRBYNZ.mjs";import"../chunk-URLNFC5B.mjs";import"../chunk-UXX6DVWF.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-UKIQD7F3.mjs";import"../chunk-C7EPP6YK.mjs";import"../chunk-RUJGUBO6.mjs";import"../chunk-CX3MN3BM.mjs";import"../chunk-4ZYPDCSP.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-MCLYDS3O.mjs";import"../chunk-OHZURQPY.mjs";import"../chunk-UY3DN5PG.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-6CUW6UK5.mjs";import"../chunk-XEWJESJJ.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-CBISVLO4.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-VRQNGGQX.mjs";import"../chunk-GJALBHGP.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-THLQVL5U.mjs";import"../chunk-FJMZQTTO.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-FJGHHXPV.mjs";import"../chunk-463TSKJJ.mjs";import"../chunk-3MZNK25Y.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-PCEQYYQN.mjs";import"../chunk-KDMSOCZY.mjs";export{t as addDigitalAssetPropertyTransaction,w as addDigitalAssetTypedPropertyTransaction,n as burnDigitalAssetTransaction,e as createCollectionTransaction,o as freezeDigitalAssetTransferTransaction,f as getCollectionData,i as getCollectionDataByCollectionId,h as getCollectionDataByCreatorAddress,g as getCollectionDataByCreatorAddressAndCollectionName,j as getCollectionId,b as getCurrentDigitalAssetOwnership,d as getDigitalAssetActivity,a as getDigitalAssetData,c as getOwnedDigitalAssets,k as mintDigitalAssetTransaction,m as mintSoulBoundTransaction,u as removeDigitalAssetPropertyTransaction,q as setDigitalAssetDescriptionTransaction,r as setDigitalAssetNameTransaction,s as setDigitalAssetURITransaction,l as transferDigitalAssetTransaction,p as unfreezeDigitalAssetTransferTransaction,v as updateDigitalAssetPropertyTransaction,x as updateDigitalAssetTypedPropertyTransaction};
|
|
2
2
|
//# sourceMappingURL=digitalAsset.mjs.map
|
|
@@ -18,6 +18,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
18
18
|
* the {@link api/event}. By moving the methods out into a separate file,
|
|
19
19
|
* other namespaces and processes can access these methods without depending on the entire
|
|
20
20
|
* event namespace and without having a dependency cycle error.
|
|
21
|
+
* @group Implementation
|
|
21
22
|
*/
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -28,6 +29,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
28
29
|
* @param args.aptosConfig - The configuration object for Aptos.
|
|
29
30
|
* @param args.eventType - The MoveStructId representing the type of event to retrieve.
|
|
30
31
|
* @param [args.options] - Optional pagination and ordering parameters for the event retrieval.
|
|
32
|
+
* @group Implementation
|
|
31
33
|
*/
|
|
32
34
|
declare function getModuleEventsByEventType(args: {
|
|
33
35
|
aptosConfig: AptosConfig;
|
|
@@ -42,6 +44,7 @@ declare function getModuleEventsByEventType(args: {
|
|
|
42
44
|
* @param args.accountAddress - The address of the account for which events are being retrieved.
|
|
43
45
|
* @param args.creationNumber - The creation number to filter events.
|
|
44
46
|
* @param args.options - Optional pagination and ordering parameters for the event retrieval.
|
|
47
|
+
* @group Implementation
|
|
45
48
|
*/
|
|
46
49
|
declare function getAccountEventsByCreationNumber(args: {
|
|
47
50
|
aptosConfig: AptosConfig;
|
|
@@ -57,6 +60,7 @@ declare function getAccountEventsByCreationNumber(args: {
|
|
|
57
60
|
* @param args.accountAddress - The address of the account for which to retrieve events.
|
|
58
61
|
* @param args.eventType - The type of event to filter by.
|
|
59
62
|
* @param args.options - Optional pagination and ordering parameters for the event retrieval.
|
|
63
|
+
* @group Implementation
|
|
60
64
|
*/
|
|
61
65
|
declare function getAccountEventsByEventType(args: {
|
|
62
66
|
aptosConfig: AptosConfig;
|
|
@@ -75,6 +79,7 @@ declare function getAccountEventsByEventType(args: {
|
|
|
75
79
|
* @param [args.options.orderBy] - Defines the order in which to return the events.
|
|
76
80
|
* @param [args.options.where] - Conditions to filter the events.
|
|
77
81
|
* @param [args.options.where.indexed_type] - Filters events by the indexed type.
|
|
82
|
+
* @group Implementation
|
|
78
83
|
*/
|
|
79
84
|
declare function getEvents(args: {
|
|
80
85
|
aptosConfig: AptosConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-2TKNO5VP.mjs";import"../chunk-QY46YWI4.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-ODEDSSQL.mjs";import"../chunk-VRQNGGQX.mjs";import"../chunk-GJALBHGP.mjs";import"../chunk-G5ZWH5T3.mjs";import"../chunk-THLQVL5U.mjs";import"../chunk-FJMZQTTO.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-T6NQDM7D.mjs";import"../chunk-XGF7UNEW.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-FJGHHXPV.mjs";import"../chunk-463TSKJJ.mjs";import"../chunk-3MZNK25Y.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-PCEQYYQN.mjs";import"../chunk-KDMSOCZY.mjs";export{b as getAccountEventsByCreationNumber,c as getAccountEventsByEventType,d as getEvents,a as getModuleEventsByEventType};
|
|
2
2
|
//# sourceMappingURL=event.mjs.map
|
|
@@ -18,12 +18,16 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
18
18
|
* the {@link api/faucet}. By moving the methods out into a separate file,
|
|
19
19
|
* other namespaces and processes can access these methods without depending on the entire
|
|
20
20
|
* faucet namespace and without having a dependency cycle error.
|
|
21
|
+
* @group Implementation
|
|
21
22
|
*/
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Funds an account with a specified amount of tokens from the Aptos faucet.
|
|
25
26
|
* This function is useful for quickly providing a new or existing account with tokens to facilitate transactions.
|
|
26
27
|
*
|
|
28
|
+
* Note that only devnet has a publicly accessible faucet. For testnet, you must use
|
|
29
|
+
* the minting page at https://aptos.dev/network/faucet.
|
|
30
|
+
*
|
|
27
31
|
* @param args - The arguments for funding the account.
|
|
28
32
|
* @param args.aptosConfig - The configuration settings for connecting to the Aptos network.
|
|
29
33
|
* @param args.accountAddress - The address of the account to be funded.
|
|
@@ -33,6 +37,7 @@ import '../transactions/instances/transactionArgument.mjs';
|
|
|
33
37
|
* @param args.options.checkSuccess - A flag indicating whether to check if the transaction was successful.
|
|
34
38
|
*
|
|
35
39
|
* @throws Error if the transaction does not return a user transaction type.
|
|
40
|
+
* @group Implementation
|
|
36
41
|
*/
|
|
37
42
|
declare function fundAccount(args: {
|
|
38
43
|
aptosConfig: AptosConfig;
|