@aptos-labs/ts-sdk 1.33.0-sc.1 → 1.33.0-sc.3
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-UTOO6IVJ.mjs → chunk-22HNYCN4.mjs} +2 -2
- package/dist/esm/chunk-22HNYCN4.mjs.map +1 -0
- package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-255RZ5AM.mjs} +2 -2
- package/dist/esm/chunk-255RZ5AM.mjs.map +1 -0
- package/dist/esm/{chunk-WJSZAGHP.mjs → chunk-2I2HOJHV.mjs} +2 -2
- package/dist/esm/chunk-2I2HOJHV.mjs.map +1 -0
- package/dist/esm/{chunk-CW6P2DDJ.mjs → chunk-2NWLRUD6.mjs} +2 -2
- package/dist/esm/{chunk-CW6P2DDJ.mjs.map → chunk-2NWLRUD6.mjs.map} +1 -1
- package/dist/esm/chunk-2YQZYHWO.mjs +2 -0
- package/dist/esm/chunk-2YQZYHWO.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-EVASO3UR.mjs → chunk-424ZTUPT.mjs} +2 -2
- package/dist/esm/chunk-424ZTUPT.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-AOQJI6IC.mjs → chunk-5L2745QA.mjs} +2 -2
- package/dist/esm/chunk-5L2745QA.mjs.map +1 -0
- package/dist/esm/{chunk-7R44XXPU.mjs → chunk-5TZXG626.mjs} +2 -2
- package/dist/esm/chunk-5TZXG626.mjs.map +1 -0
- package/dist/esm/chunk-5VILVOYP.mjs +2 -0
- package/dist/esm/chunk-5VILVOYP.mjs.map +1 -0
- package/dist/esm/{chunk-2G7SAWM3.mjs → chunk-63JTAZEH.mjs} +2 -2
- package/dist/esm/chunk-63JTAZEH.mjs.map +1 -0
- package/dist/esm/{chunk-UQIMOQZ7.mjs → chunk-6XUFRKGR.mjs} +2 -2
- package/dist/esm/chunk-6XUFRKGR.mjs.map +1 -0
- package/dist/esm/{chunk-2WLKSKL7.mjs → chunk-75IC2LNI.mjs} +2 -2
- package/dist/esm/chunk-75IC2LNI.mjs.map +1 -0
- package/dist/esm/{chunk-SOLRIYPW.mjs → chunk-7FCSZ5LT.mjs} +2 -2
- package/dist/esm/{chunk-3BWKODVZ.mjs → chunk-7FJ7RHY4.mjs} +2 -2
- package/dist/esm/chunk-7FJ7RHY4.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-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
- package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-AKLUTUMD.mjs} +2 -2
- package/dist/esm/chunk-AKLUTUMD.mjs.map +1 -0
- package/dist/esm/{chunk-IKJAX5KQ.mjs → chunk-AN75UUF7.mjs} +2 -2
- package/dist/esm/chunk-AN75UUF7.mjs.map +1 -0
- package/dist/esm/chunk-AV6G4ACP.mjs +2 -0
- package/dist/esm/chunk-AV6G4ACP.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-BPNW35GW.mjs +2 -0
- package/dist/esm/chunk-BPNW35GW.mjs.map +1 -0
- package/dist/esm/{chunk-2CKUTG67.mjs → chunk-BWDNXTV6.mjs} +2 -2
- package/dist/esm/chunk-BWDNXTV6.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-CKKCL3LM.mjs +2 -0
- package/dist/esm/chunk-CKKCL3LM.mjs.map +1 -0
- package/dist/esm/{chunk-PMA7XAFK.mjs → chunk-CMA7755V.mjs} +2 -2
- package/dist/esm/chunk-CMA7755V.mjs.map +1 -0
- package/dist/esm/{chunk-MKM5MDD5.mjs → chunk-CSEQXUJM.mjs} +2 -2
- package/dist/esm/{chunk-MKM5MDD5.mjs.map → chunk-CSEQXUJM.mjs.map} +1 -1
- package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
- package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
- package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
- package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
- package/dist/esm/chunk-DGJHSYF5.mjs +2 -0
- package/dist/esm/chunk-DGJHSYF5.mjs.map +1 -0
- package/dist/esm/chunk-DPP3ROKC.mjs +2 -0
- package/dist/esm/chunk-DPP3ROKC.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-BKSQPS2O.mjs → chunk-DTICBERU.mjs} +2 -2
- package/dist/esm/chunk-DTICBERU.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-S22QVNK7.mjs → chunk-ESLJXR3M.mjs} +2 -2
- package/dist/esm/chunk-ESLJXR3M.mjs.map +1 -0
- package/dist/esm/{chunk-3QUZFCNW.mjs → chunk-EVG6EXWX.mjs} +2 -2
- package/dist/esm/chunk-EVG6EXWX.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-EYE4UEWZ.mjs} +2 -2
- package/dist/esm/chunk-EYE4UEWZ.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-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-TE3SBS7J.mjs → chunk-GCGMMS3E.mjs} +2 -2
- package/dist/esm/chunk-GCGMMS3E.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-FFBC7GFN.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-NNWPYX3K.mjs → chunk-I6XLN4DI.mjs} +2 -2
- package/dist/esm/chunk-I6XLN4DI.mjs.map +1 -0
- package/dist/esm/{chunk-2E3EAJPC.mjs → chunk-IDQUPGUG.mjs} +2 -2
- package/dist/esm/chunk-IDQUPGUG.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-IOZSAIGP.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-IOZSAIGP.mjs.map} +1 -1
- package/dist/esm/{chunk-6YFM6NEC.mjs → chunk-IVH53P2F.mjs} +2 -2
- package/dist/esm/chunk-IVH53P2F.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-5XLZACVT.mjs → chunk-JW5CCOAL.mjs} +2 -2
- package/dist/esm/chunk-JW5CCOAL.mjs.map +1 -0
- package/dist/esm/{chunk-DBAISV4K.mjs → chunk-JZ5DVZIM.mjs} +2 -2
- package/dist/esm/chunk-JZ5DVZIM.mjs.map +1 -0
- package/dist/esm/{chunk-BVUMR7DQ.mjs → chunk-KCFBPJUP.mjs} +2 -2
- package/dist/esm/chunk-KCFBPJUP.mjs.map +1 -0
- package/dist/esm/{chunk-XEW2YQE2.mjs → chunk-LA7EWU7P.mjs} +2 -2
- package/dist/esm/chunk-LA7EWU7P.mjs.map +1 -0
- package/dist/esm/{chunk-J2NQJ34O.mjs → chunk-LP4EJK2O.mjs} +2 -2
- package/dist/esm/chunk-LP4EJK2O.mjs.map +1 -0
- package/dist/esm/{chunk-7CDITZUS.mjs → chunk-M2G2BM4Z.mjs} +2 -2
- package/dist/esm/chunk-M2G2BM4Z.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-4JX6OQEE.mjs → chunk-MGAGOKNQ.mjs} +2 -2
- package/dist/esm/chunk-MGAGOKNQ.mjs.map +1 -0
- package/dist/esm/chunk-MNWN4IT6.mjs +2 -0
- package/dist/esm/chunk-MNWN4IT6.mjs.map +1 -0
- package/dist/esm/{chunk-AR6BOLET.mjs → chunk-MSE2YEDF.mjs} +2 -2
- package/dist/esm/chunk-MSE2YEDF.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-NS5YFLZQ.mjs +2 -0
- package/dist/esm/chunk-NS5YFLZQ.mjs.map +1 -0
- package/dist/esm/{chunk-QCIRC2SG.mjs → chunk-OBEMAKRF.mjs} +2 -2
- package/dist/esm/chunk-OBEMAKRF.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-T7BTSSX7.mjs → chunk-OOJGI2IR.mjs} +2 -2
- package/dist/esm/chunk-OOJGI2IR.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-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-YT3IP57B.mjs → chunk-QD55JBJB.mjs} +2 -2
- package/dist/esm/chunk-QD55JBJB.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/{chunk-D6WMUQB5.mjs → chunk-R3VMJE5K.mjs} +2 -2
- package/dist/esm/chunk-R3VMJE5K.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-J45GIVXE.mjs → chunk-RKY36HTP.mjs} +2 -2
- package/dist/esm/chunk-RKY36HTP.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-554TWPPO.mjs → chunk-SCXTC4PW.mjs} +2 -2
- package/dist/esm/chunk-SCXTC4PW.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-SHAKBL2R.mjs → chunk-TMI4XNRL.mjs} +2 -2
- package/dist/esm/chunk-TMI4XNRL.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-TWYIOTWN.mjs +2 -0
- package/dist/esm/chunk-TWYIOTWN.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-3TOPGQJA.mjs → chunk-UFDIPJRD.mjs} +2 -2
- package/dist/esm/chunk-UFDIPJRD.mjs.map +1 -0
- package/dist/esm/{chunk-3QIOEU3Z.mjs → chunk-V7PGIXTT.mjs} +2 -2
- package/dist/esm/chunk-V7PGIXTT.mjs.map +1 -0
- package/dist/esm/chunk-VFLH3KLJ.mjs +2 -0
- package/dist/esm/chunk-VFLH3KLJ.mjs.map +1 -0
- package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
- package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
- package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
- package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
- package/dist/esm/{chunk-JJXLJY37.mjs → chunk-WG3SZFSJ.mjs} +2 -2
- package/dist/esm/chunk-WG3SZFSJ.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-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-4ZNSNWQL.mjs → chunk-YNU343QC.mjs} +2 -2
- package/dist/esm/chunk-YNU343QC.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-B6ERS4UX.mjs → chunk-YZAUA2GG.mjs} +2 -2
- package/dist/esm/chunk-YZAUA2GG.mjs.map +1 -0
- package/dist/esm/{chunk-EPBNJZ4A.mjs → chunk-ZMSWKJDU.mjs} +2 -2
- package/dist/esm/chunk-ZMSWKJDU.mjs.map +1 -0
- package/dist/esm/{chunk-EVA2SMAU.mjs → chunk-ZTXK5FPC.mjs} +2 -2
- package/dist/esm/chunk-ZTXK5FPC.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-SOLRIYPW.mjs.map → chunk-7FCSZ5LT.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -9,43 +9,63 @@ import '@aptos-labs/script-composer-pack';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Options for making a GET request, including configuration for the API client.
|
|
12
|
+
* @group Implementation
|
|
13
|
+
* @category Client
|
|
12
14
|
*/
|
|
13
15
|
type GetRequestOptions = {
|
|
14
16
|
/**
|
|
15
17
|
* The config for the API client
|
|
18
|
+
* @group Implementation
|
|
19
|
+
* @category Client
|
|
16
20
|
*/
|
|
17
21
|
aptosConfig: AptosConfig;
|
|
18
22
|
/**
|
|
19
23
|
* The type of API endpoint to call e.g. fullnode, indexer, etc
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Client
|
|
20
26
|
*/
|
|
21
27
|
type: AptosApiType;
|
|
22
28
|
/**
|
|
23
29
|
* The name of the API method
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Client
|
|
24
32
|
*/
|
|
25
33
|
originMethod: string;
|
|
26
34
|
/**
|
|
27
35
|
* The URL path to the API method
|
|
36
|
+
* @group Implementation
|
|
37
|
+
* @category Client
|
|
28
38
|
*/
|
|
29
39
|
path: string;
|
|
30
40
|
/**
|
|
31
41
|
* The content type of the request body
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Client
|
|
32
44
|
*/
|
|
33
45
|
contentType?: MimeType;
|
|
34
46
|
/**
|
|
35
47
|
* The accepted content type of the response of the API
|
|
48
|
+
* @group Implementation
|
|
49
|
+
* @category Client
|
|
36
50
|
*/
|
|
37
51
|
acceptType?: MimeType;
|
|
38
52
|
/**
|
|
39
53
|
* The query parameters for the request
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Client
|
|
40
56
|
*/
|
|
41
57
|
params?: Record<string, string | AnyNumber | boolean | undefined>;
|
|
42
58
|
/**
|
|
43
59
|
* Specific client overrides for this request to override aptosConfig
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Client
|
|
44
62
|
*/
|
|
45
63
|
overrides?: ClientConfig;
|
|
46
64
|
};
|
|
47
65
|
/**
|
|
48
66
|
* Options for making a request to the Aptos API, excluding the "type" field.
|
|
67
|
+
* @group Implementation
|
|
68
|
+
* @category Client
|
|
49
69
|
*/
|
|
50
70
|
type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
|
|
51
71
|
/**
|
|
@@ -61,6 +81,8 @@ type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
|
|
|
61
81
|
* @param options.originMethod - The original method of the request.
|
|
62
82
|
* @param options.type - The type of request being made.
|
|
63
83
|
* @returns The response from the GET request.
|
|
84
|
+
* @group Implementation
|
|
85
|
+
* @category Client
|
|
64
86
|
*/
|
|
65
87
|
declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
66
88
|
/**
|
|
@@ -74,6 +96,8 @@ declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions)
|
|
|
74
96
|
* @param options.type - The type of API request being made.
|
|
75
97
|
*
|
|
76
98
|
* @returns A promise that resolves with the response from the Aptos full node.
|
|
99
|
+
* @group Implementation
|
|
100
|
+
* @category Client
|
|
77
101
|
*/
|
|
78
102
|
declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
79
103
|
/**
|
|
@@ -83,8 +107,16 @@ declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAp
|
|
|
83
107
|
* @param options.param1 - Description of param1.
|
|
84
108
|
* @param options.param2 - Description of param2.
|
|
85
109
|
* @returns AptosResponse - The response from the Aptos Pepper service.
|
|
110
|
+
* @group Implementation
|
|
111
|
+
* @category Client
|
|
86
112
|
*/
|
|
87
113
|
declare function getAptosPepperService<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
114
|
+
/**
|
|
115
|
+
* This function is a helper for paginating using a function wrapping an API
|
|
116
|
+
* @group Implementation
|
|
117
|
+
* @category Client
|
|
118
|
+
*/
|
|
88
119
|
declare function paginateWithCursor<Req extends Record<string, any>, Res extends Array<{}>>(options: GetAptosRequestOptions): Promise<Res>;
|
|
120
|
+
declare function paginateWithObfuscatedCursor<Req extends Record<string, any>, Res extends Array<{}>>(options: GetAptosRequestOptions): Promise<Res>;
|
|
89
121
|
|
|
90
|
-
export { type GetAptosRequestOptions, type GetRequestOptions, get, getAptosFullNode, getAptosPepperService, paginateWithCursor };
|
|
122
|
+
export { type GetAptosRequestOptions, type GetRequestOptions, get, getAptosFullNode, getAptosPepperService, paginateWithCursor, paginateWithObfuscatedCursor };
|
package/dist/esm/client/get.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-5VILVOYP.mjs";import"../chunk-EYE4UEWZ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-IOZSAIGP.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,d as paginateWithCursor,e as paginateWithObfuscatedCursor};
|
|
2
2
|
//# sourceMappingURL=get.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { aptosRequest, request } from './core.mjs';
|
|
2
|
-
export { GetAptosRequestOptions, GetRequestOptions, get, getAptosFullNode, getAptosPepperService, paginateWithCursor } from './get.mjs';
|
|
2
|
+
export { GetAptosRequestOptions, GetRequestOptions, get, getAptosFullNode, getAptosPepperService, paginateWithCursor, paginateWithObfuscatedCursor } from './get.mjs';
|
|
3
3
|
export { PostAptosRequestOptions, PostRequestOptions, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService } from './post.mjs';
|
|
4
4
|
import '../api/aptosConfig.mjs';
|
|
5
5
|
import '../types/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-7ECCT6PK.mjs";import{a as
|
|
1
|
+
import"../chunk-7ECCT6PK.mjs";import{a as h,b as i,c as j,d as k,e as l,f as m}from"../chunk-QD55JBJB.mjs";import{a as c,b as d,c as e,d as f,e as g}from"../chunk-5VILVOYP.mjs";import{a,b}from"../chunk-EYE4UEWZ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-IOZSAIGP.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,f as paginateWithCursor,g as paginateWithObfuscatedCursor,h as post,k as postAptosFaucet,i as postAptosFullNode,j as postAptosIndexer,l as postAptosPepperService,m as postAptosProvingService,a as request};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -9,47 +9,69 @@ import '@aptos-labs/script-composer-pack';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Options for making a POST request, including the API client configuration.
|
|
12
|
+
* @group Implementation
|
|
13
|
+
* @category Client
|
|
12
14
|
*/
|
|
13
15
|
type PostRequestOptions = {
|
|
14
16
|
/**
|
|
15
17
|
* The config for the API client
|
|
18
|
+
* @group Implementation
|
|
19
|
+
* @category Client
|
|
16
20
|
*/
|
|
17
21
|
aptosConfig: AptosConfig;
|
|
18
22
|
/**
|
|
19
23
|
* The type of API endpoint to call e.g. fullnode, indexer, etc
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Client
|
|
20
26
|
*/
|
|
21
27
|
type: AptosApiType;
|
|
22
28
|
/**
|
|
23
29
|
* The name of the API method
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Client
|
|
24
32
|
*/
|
|
25
33
|
originMethod: string;
|
|
26
34
|
/**
|
|
27
35
|
* The URL path to the API method
|
|
36
|
+
* @group Implementation
|
|
37
|
+
* @category Client
|
|
28
38
|
*/
|
|
29
39
|
path: string;
|
|
30
40
|
/**
|
|
31
41
|
* The content type of the request body
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Client
|
|
32
44
|
*/
|
|
33
45
|
contentType?: MimeType;
|
|
34
46
|
/**
|
|
35
47
|
* The accepted content type of the response of the API
|
|
48
|
+
* @group Implementation
|
|
49
|
+
* @category Client
|
|
36
50
|
*/
|
|
37
51
|
acceptType?: MimeType;
|
|
38
52
|
/**
|
|
39
53
|
* The query parameters for the request
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Client
|
|
40
56
|
*/
|
|
41
57
|
params?: Record<string, string | AnyNumber | boolean | undefined>;
|
|
42
58
|
/**
|
|
43
59
|
* The body of the request, should match the content type of the request
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Client
|
|
44
62
|
*/
|
|
45
63
|
body?: any;
|
|
46
64
|
/**
|
|
47
65
|
* Specific client overrides for this request to override aptosConfig
|
|
66
|
+
* @group Implementation
|
|
67
|
+
* @category Client
|
|
48
68
|
*/
|
|
49
69
|
overrides?: ClientConfig;
|
|
50
70
|
};
|
|
51
71
|
/**
|
|
52
72
|
* Options for posting a request to Aptos, excluding the type field.
|
|
73
|
+
* @group Implementation
|
|
74
|
+
* @category Client
|
|
53
75
|
*/
|
|
54
76
|
type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
|
|
55
77
|
/**
|
|
@@ -66,6 +88,8 @@ type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
|
|
|
66
88
|
* @param options.aptosConfig - Configuration settings for the Aptos request.
|
|
67
89
|
* @param options.overrides - Any overrides for the default request behavior.
|
|
68
90
|
* @returns The response from the POST request.
|
|
91
|
+
* @group Implementation
|
|
92
|
+
* @category Client
|
|
69
93
|
*/
|
|
70
94
|
declare function post<Req extends {}, Res extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
71
95
|
/**
|
|
@@ -77,6 +101,8 @@ declare function post<Req extends {}, Res extends {}>(options: PostRequestOption
|
|
|
77
101
|
* @param options.aptosConfig.clientConfig - Client-specific configuration settings.
|
|
78
102
|
* @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.
|
|
79
103
|
* @param options.overrides - Additional overrides for the request.
|
|
104
|
+
* @group Implementation
|
|
105
|
+
* @category Client
|
|
80
106
|
*/
|
|
81
107
|
declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
82
108
|
/**
|
|
@@ -89,18 +115,25 @@ declare function postAptosFullNode<Req extends {}, Res extends {}>(options: Post
|
|
|
89
115
|
* @param options.aptosConfig.indexerConfig - The indexer configuration settings.
|
|
90
116
|
* @param options.overrides - Additional overrides for the request.
|
|
91
117
|
* @param options.overrides.HEADERS - Custom headers to include in the request.
|
|
118
|
+
* @group Implementation
|
|
119
|
+
* @category Client
|
|
92
120
|
*/
|
|
93
121
|
declare function postAptosIndexer<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
94
122
|
/**
|
|
95
123
|
* Sends a request to the Aptos faucet to obtain test tokens.
|
|
96
124
|
* This function modifies the provided configuration to ensure that the API_KEY is not included in the request.
|
|
97
125
|
*
|
|
126
|
+
* Note that only devnet has a publicly accessible faucet. For testnet, you must use
|
|
127
|
+
* the minting page at https://aptos.dev/network/faucet.
|
|
128
|
+
*
|
|
98
129
|
* @param options - The options for the request.
|
|
99
130
|
* @param options.aptosConfig - The configuration settings for the Aptos client.
|
|
100
131
|
* @param options.aptosConfig.clientConfig - The client-specific configuration settings.
|
|
101
132
|
* @param options.aptosConfig.clientConfig.HEADERS - Optional headers to include in the request.
|
|
102
133
|
* @param options.aptosConfig.faucetConfig - The configuration settings specific to the faucet.
|
|
103
134
|
* @param options.overrides - Additional overrides for the request configuration.
|
|
135
|
+
* @group Implementation
|
|
136
|
+
* @category Client
|
|
104
137
|
*/
|
|
105
138
|
declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
106
139
|
/**
|
|
@@ -111,6 +144,8 @@ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAp
|
|
|
111
144
|
* @param options.headers - The headers to include in the request.
|
|
112
145
|
* @param options.body - The body of the request.
|
|
113
146
|
* @returns A promise that resolves to the response from the pepper service.
|
|
147
|
+
* @group Implementation
|
|
148
|
+
* @category Client
|
|
114
149
|
*/
|
|
115
150
|
declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
116
151
|
/**
|
|
@@ -119,6 +154,8 @@ declare function postAptosPepperService<Req extends {}, Res extends {}>(options:
|
|
|
119
154
|
* @param options - The options for the request to the Aptos proving service.
|
|
120
155
|
* @param options.type - The type of the request, which should be set to AptosApiType.PROVER.
|
|
121
156
|
* @param options.data - The data to be included in the request.
|
|
157
|
+
* @group Implementation
|
|
158
|
+
* @category Client
|
|
122
159
|
*/
|
|
123
160
|
declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
124
161
|
|
package/dist/esm/client/post.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-QD55JBJB.mjs";import"../chunk-EYE4UEWZ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-4YLUM62M.mjs";import"../chunk-QHEKBHNU.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-IDTLNF4M.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-DAFSKSZ5.mjs";import"../chunk-XTOIL6MB.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-IOZSAIGP.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
|
|
2
2
|
//# sourceMappingURL=post.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-
|
|
1
|
+
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-BI3BTSUB.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -18,6 +18,8 @@ import '../../../transactions/instances/transactionArgument.mjs';
|
|
|
18
18
|
* @param seed The seed in either Uint8Array | string type
|
|
19
19
|
*
|
|
20
20
|
* @returns The object account address
|
|
21
|
+
* @group Implementation
|
|
22
|
+
* @category Account (On-Chain Model)
|
|
21
23
|
*/
|
|
22
24
|
declare const createObjectAddress: (creatorAddress: AccountAddress, seed: Uint8Array | string) => AccountAddress;
|
|
23
25
|
/**
|
|
@@ -27,6 +29,8 @@ declare const createObjectAddress: (creatorAddress: AccountAddress, seed: Uint8A
|
|
|
27
29
|
* @param seed The seed in either Uint8Array | string type
|
|
28
30
|
*
|
|
29
31
|
* @returns The resource account address
|
|
32
|
+
* @group Implementation
|
|
33
|
+
* @category Account (On-Chain Model)
|
|
30
34
|
*/
|
|
31
35
|
declare const createResourceAddress: (creatorAddress: AccountAddress, seed: Uint8Array | string) => AccountAddress;
|
|
32
36
|
/**
|
|
@@ -37,6 +41,8 @@ declare const createResourceAddress: (creatorAddress: AccountAddress, seed: Uint
|
|
|
37
41
|
* @param tokenName The token name
|
|
38
42
|
*
|
|
39
43
|
* @returns The token account address
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Account (On-Chain Model)
|
|
40
46
|
*/
|
|
41
47
|
declare const createTokenAddress: (creatorAddress: AccountAddress, collectionName: string, tokenName: string) => AccountAddress;
|
|
42
48
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../../chunk-
|
|
1
|
+
import{a,b,c}from"../../../chunk-BI3BTSUB.mjs";import"../../../chunk-Q4C4U6I4.mjs";import"../../../chunk-3OLFJ65O.mjs";import"../../../chunk-U2PRGW4O.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-EBMEXURY.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=address.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-
|
|
1
|
+
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-BI3BTSUB.mjs";import"../../../chunk-Q4C4U6I4.mjs";import"../../../chunk-3OLFJ65O.mjs";import"../../../chunk-U2PRGW4O.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-EBMEXURY.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -12,6 +12,8 @@ import '@aptos-labs/script-composer-pack';
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Provides reasons for an address was invalid.
|
|
15
|
+
* @group Implementation
|
|
16
|
+
* @category Serialization
|
|
15
17
|
*/
|
|
16
18
|
declare enum AddressInvalidReason {
|
|
17
19
|
INCORRECT_NUMBER_OF_BYTES = "incorrect_number_of_bytes",
|
|
@@ -25,6 +27,8 @@ declare enum AddressInvalidReason {
|
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
27
29
|
* The input for an account address, which can be either a hexadecimal string or a standard account address.
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Serialization
|
|
28
32
|
*/
|
|
29
33
|
type AccountAddressInput = HexInput | AccountAddress;
|
|
30
34
|
/**
|
|
@@ -42,18 +46,26 @@ type AccountAddressInput = HexInput | AccountAddress;
|
|
|
42
46
|
*
|
|
43
47
|
* The comments in this class make frequent reference to the LONG and SHORT formats,
|
|
44
48
|
* as well as "special" addresses. To learn what these refer to see AIP-40.
|
|
49
|
+
* @group Implementation
|
|
50
|
+
* @category Serialization
|
|
45
51
|
*/
|
|
46
52
|
declare class AccountAddress extends Serializable implements TransactionArgument {
|
|
47
53
|
/**
|
|
48
54
|
* This is the internal representation of an account address.
|
|
55
|
+
* @group Implementation
|
|
56
|
+
* @category Serialization
|
|
49
57
|
*/
|
|
50
58
|
readonly data: Uint8Array;
|
|
51
59
|
/**
|
|
52
60
|
* The number of bytes that make up an account address.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Serialization
|
|
53
63
|
*/
|
|
54
64
|
static readonly LENGTH: number;
|
|
55
65
|
/**
|
|
56
66
|
* The length of an address string in LONG form without a leading 0x.
|
|
67
|
+
* @group Implementation
|
|
68
|
+
* @category Serialization
|
|
57
69
|
*/
|
|
58
70
|
static readonly LONG_STRING_LENGTH: number;
|
|
59
71
|
static ZERO: AccountAddress;
|
|
@@ -69,6 +81,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
69
81
|
*
|
|
70
82
|
* @param input A Uint8Array representing an account address.
|
|
71
83
|
* @throws ParsingError if the input length is not equal to 32 bytes.
|
|
84
|
+
* @group Implementation
|
|
85
|
+
* @category Serialization
|
|
72
86
|
*/
|
|
73
87
|
constructor(input: Uint8Array);
|
|
74
88
|
/**
|
|
@@ -80,6 +94,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
80
94
|
* https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
|
|
81
95
|
*
|
|
82
96
|
* @returns true if the address is special, false otherwise.
|
|
97
|
+
* @group Implementation
|
|
98
|
+
* @category Serialization
|
|
83
99
|
*/
|
|
84
100
|
isSpecial(): boolean;
|
|
85
101
|
/**
|
|
@@ -89,6 +105,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
89
105
|
* and other addresses in LONG form (0x + 64 characters).
|
|
90
106
|
*
|
|
91
107
|
* @returns AccountAddress as a string conforming to AIP-40.
|
|
108
|
+
* @group Implementation
|
|
109
|
+
* @category Serialization
|
|
92
110
|
*/
|
|
93
111
|
toString(): `0x${string}`;
|
|
94
112
|
/**
|
|
@@ -97,6 +115,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
97
115
|
* NOTE: Prefer to use `toString` where possible.
|
|
98
116
|
*
|
|
99
117
|
* @returns AccountAddress as a string without the leading 0x.
|
|
118
|
+
* @group Implementation
|
|
119
|
+
* @category Serialization
|
|
100
120
|
*/
|
|
101
121
|
toStringWithoutPrefix(): string;
|
|
102
122
|
/**
|
|
@@ -105,6 +125,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
105
125
|
* NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
|
|
106
126
|
*
|
|
107
127
|
* @returns AccountAddress as a string in LONG form.
|
|
128
|
+
* @group Implementation
|
|
129
|
+
* @category Serialization
|
|
108
130
|
*/
|
|
109
131
|
toStringLong(): `0x${string}`;
|
|
110
132
|
/**
|
|
@@ -114,6 +136,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
114
136
|
* NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
|
|
115
137
|
*
|
|
116
138
|
* @returns {string} The account address in LONG form.
|
|
139
|
+
* @group Implementation
|
|
140
|
+
* @category Serialization
|
|
117
141
|
*/
|
|
118
142
|
toStringLongWithoutPrefix(): string;
|
|
119
143
|
/**
|
|
@@ -121,6 +145,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
121
145
|
* The inner data is already a Uint8Array, so no conversion takes place.
|
|
122
146
|
*
|
|
123
147
|
* @returns Hex data as Uint8Array
|
|
148
|
+
* @group Implementation
|
|
149
|
+
* @category Serialization
|
|
124
150
|
*/
|
|
125
151
|
toUint8Array(): Uint8Array;
|
|
126
152
|
/**
|
|
@@ -133,6 +159,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
133
159
|
* address.serialize(serializer);
|
|
134
160
|
* const bytes = serializer.toUint8Array();
|
|
135
161
|
* // `bytes` is now the BCS-serialized address.
|
|
162
|
+
* @group Implementation
|
|
163
|
+
* @category Serialization
|
|
136
164
|
*/
|
|
137
165
|
serialize(serializer: Serializer): void;
|
|
138
166
|
/**
|
|
@@ -140,6 +168,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
140
168
|
* This allows for the proper encoding of data when interacting with entry functions in the blockchain.
|
|
141
169
|
*
|
|
142
170
|
* @param serializer - The serializer instance used to convert the data into bytes.
|
|
171
|
+
* @group Implementation
|
|
172
|
+
* @category Serialization
|
|
143
173
|
*/
|
|
144
174
|
serializeForEntryFunction(serializer: Serializer): void;
|
|
145
175
|
/**
|
|
@@ -147,6 +177,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
147
177
|
* This process involves serializing the variant index and the instance data, making it suitable for transmission.
|
|
148
178
|
*
|
|
149
179
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
180
|
+
* @group Implementation
|
|
181
|
+
* @category Serialization
|
|
150
182
|
*/
|
|
151
183
|
serializeForScriptFunction(serializer: Serializer): void;
|
|
152
184
|
/**
|
|
@@ -159,6 +191,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
159
191
|
* const deserializer = new Deserializer(bytes);
|
|
160
192
|
* const address = AccountAddress.deserialize(deserializer);
|
|
161
193
|
* // `address` is now an instance of AccountAddress.
|
|
194
|
+
* @group Implementation
|
|
195
|
+
* @category Serialization
|
|
162
196
|
*/
|
|
163
197
|
static deserialize(deserializer: Deserializer): AccountAddress;
|
|
164
198
|
/**
|
|
@@ -193,6 +227,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
193
227
|
* https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
|
|
194
228
|
*
|
|
195
229
|
* @returns An instance of AccountAddress.
|
|
230
|
+
* @group Implementation
|
|
231
|
+
* @category Serialization
|
|
196
232
|
*/
|
|
197
233
|
static fromStringStrict(input: string): AccountAddress;
|
|
198
234
|
/**
|
|
@@ -222,6 +258,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
222
258
|
* @returns An instance of AccountAddress.
|
|
223
259
|
*
|
|
224
260
|
* @throws ParsingError if the hex string is too short, too long, or contains invalid characters.
|
|
261
|
+
* @group Implementation
|
|
262
|
+
* @category Serialization
|
|
225
263
|
*/
|
|
226
264
|
static fromString(input: string, { maxMissingChars }?: {
|
|
227
265
|
maxMissingChars?: number;
|
|
@@ -234,6 +272,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
234
272
|
* @param input - The input to convert into an AccountAddress. This can be a string representation of an address, a Uint8Array,
|
|
235
273
|
* or an existing AccountAddress.
|
|
236
274
|
* @param args.maxMissingChars The number of characters that can be missing in a padded address before it is invalid.
|
|
275
|
+
* @group Implementation
|
|
276
|
+
* @category Serialization
|
|
237
277
|
*/
|
|
238
278
|
static from(input: AccountAddressInput, { maxMissingChars }?: {
|
|
239
279
|
maxMissingChars?: number;
|
|
@@ -242,6 +282,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
242
282
|
* Create an AccountAddress from various input types, including strings, Uint8Array, and AccountAddress instances.
|
|
243
283
|
*
|
|
244
284
|
* @param input - The input to convert into an AccountAddress, which can be a string, a Uint8Array, or an AccountAddress.
|
|
285
|
+
* @group Implementation
|
|
286
|
+
* @category Serialization
|
|
245
287
|
*/
|
|
246
288
|
static fromStrict(input: AccountAddressInput): AccountAddress;
|
|
247
289
|
/**
|
|
@@ -253,6 +295,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
253
295
|
*
|
|
254
296
|
* @returns An object indicating whether the address is valid. If valid, valid = true; if not, valid = false with additional details.
|
|
255
297
|
* If the address is invalid, invalidReason will explain why it is invalid, and invalidReasonMessage will provide the error message.
|
|
298
|
+
* @group Implementation
|
|
299
|
+
* @category Serialization
|
|
256
300
|
*/
|
|
257
301
|
static isValid(args: {
|
|
258
302
|
input: AccountAddressInput;
|
|
@@ -263,6 +307,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
|
|
|
263
307
|
*
|
|
264
308
|
* @param other - The AccountAddress to compare to.
|
|
265
309
|
* @returns true if the AccountAddresses are equal, false if not.
|
|
310
|
+
* @group Implementation
|
|
311
|
+
* @category Serialization
|
|
266
312
|
*/
|
|
267
313
|
equals(other: AccountAddress): boolean;
|
|
268
314
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-Q4C4U6I4.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
|
|
2
2
|
//# sourceMappingURL=accountAddress.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './accountAddress.mjs';
|
|
2
2
|
import '../bcs/deserializer.mjs';
|
|
3
3
|
import '../bcs/serializer.mjs';
|
|
4
|
-
export { A as AuthenticationKey } from '../publicKey-
|
|
4
|
+
export { A as AuthenticationKey } from '../publicKey-BMtGNNLg.mjs';
|
|
5
5
|
import '../types/types.mjs';
|
|
6
6
|
import './hex.mjs';
|
|
7
7
|
import './common.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
|
|
2
2
|
//# sourceMappingURL=authenticationKey.mjs.map
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This error is used to explain why parsing failed.
|
|
3
|
+
* @group Implementation
|
|
4
|
+
* @category Serialization
|
|
3
5
|
*/
|
|
4
6
|
declare class ParsingError<T> extends Error {
|
|
5
7
|
/**
|
|
6
8
|
* This provides a programmatic way to access why parsing failed. Downstream devs
|
|
7
9
|
* might want to use this to build their own error messages if the default error
|
|
8
10
|
* messages are not suitable for their use case. This should be an enum.
|
|
11
|
+
* @group Implementation
|
|
12
|
+
* @category Serialization
|
|
9
13
|
*/
|
|
10
14
|
invalidReason: T;
|
|
11
15
|
/**
|
|
@@ -13,24 +17,34 @@ declare class ParsingError<T> extends Error {
|
|
|
13
17
|
*
|
|
14
18
|
* @param message The error message that describes the issue.
|
|
15
19
|
* @param invalidReason The reason why the input is considered invalid.
|
|
20
|
+
* @group Implementation
|
|
21
|
+
* @category Serialization
|
|
16
22
|
*/
|
|
17
23
|
constructor(message: string, invalidReason: T);
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* Whereas ParsingError is thrown when parsing fails, e.g. in a fromString function,
|
|
21
27
|
* this type is returned from "defensive" functions like isValid.
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Serialization
|
|
22
30
|
*/
|
|
23
31
|
type ParsingResult<T> = {
|
|
24
32
|
/**
|
|
25
33
|
* True if valid, false otherwise.
|
|
34
|
+
* @group Implementation
|
|
35
|
+
* @category Serialization
|
|
26
36
|
*/
|
|
27
37
|
valid: boolean;
|
|
28
38
|
/**
|
|
29
39
|
* If valid is false, this will be a code explaining why parsing failed.
|
|
40
|
+
* @group Implementation
|
|
41
|
+
* @category Serialization
|
|
30
42
|
*/
|
|
31
43
|
invalidReason?: T;
|
|
32
44
|
/**
|
|
33
45
|
* If valid is false, this will be a string explaining why parsing failed.
|
|
46
|
+
* @group Implementation
|
|
47
|
+
* @category Serialization
|
|
34
48
|
*/
|
|
35
49
|
invalidReasonMessage?: string;
|
|
36
50
|
};
|
package/dist/esm/core/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IF4UU2MT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as ParsingError};
|
|
2
2
|
//# sourceMappingURL=common.mjs.map
|