@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Deserializer } from '../../bcs/deserializer.mjs';
|
|
2
2
|
import { Serializer, Serializable } from '../../bcs/serializer.mjs';
|
|
3
|
-
import { a as AccountPublicKey, V as VerifySignatureArgs, A as AuthenticationKey, P as PublicKey } from '../../publicKey-
|
|
3
|
+
import { a as AccountPublicKey, V as VerifySignatureArgs, A as AuthenticationKey, P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
4
4
|
import { HexInput } from '../../types/types.mjs';
|
|
5
5
|
import { PrivateKey } from './privateKey.mjs';
|
|
6
6
|
import { Signature } from './signature.mjs';
|
|
@@ -23,6 +23,8 @@ import '../../transactions/instances/transactionArgument.mjs';
|
|
|
23
23
|
*
|
|
24
24
|
* Comes from Aptos Core
|
|
25
25
|
* https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos-crypto/src/ed25519/ed25519_sigs.rs#L47-L85
|
|
26
|
+
* @group Implementation
|
|
27
|
+
* @category Serialization
|
|
26
28
|
*/
|
|
27
29
|
declare function isCanonicalEd25519Signature(signature: Signature): boolean;
|
|
28
30
|
/**
|
|
@@ -33,15 +35,21 @@ declare function isCanonicalEd25519Signature(signature: Signature): boolean;
|
|
|
33
35
|
*
|
|
34
36
|
* Ed25519 scheme is represented in the SDK as `Legacy authentication key` and also
|
|
35
37
|
* as `AnyPublicKey` that represents any `Unified authentication key`.
|
|
38
|
+
* @group Implementation
|
|
39
|
+
* @category Serialization
|
|
36
40
|
*/
|
|
37
41
|
declare class Ed25519PublicKey extends AccountPublicKey {
|
|
38
42
|
/**
|
|
39
43
|
* Length of an Ed25519 public key
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Serialization
|
|
40
46
|
*/
|
|
41
47
|
static readonly LENGTH: number;
|
|
42
48
|
/**
|
|
43
49
|
* Bytes of the public key
|
|
44
50
|
* @private
|
|
51
|
+
* @group Implementation
|
|
52
|
+
* @category Serialization
|
|
45
53
|
*/
|
|
46
54
|
private readonly key;
|
|
47
55
|
/**
|
|
@@ -50,6 +58,8 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
50
58
|
*
|
|
51
59
|
* @param hexInput - The hex input representing the Ed25519 signature.
|
|
52
60
|
* @throws Error if the signature length is not equal to Ed25519Signature.LENGTH.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Serialization
|
|
53
63
|
*/
|
|
54
64
|
constructor(hexInput: HexInput);
|
|
55
65
|
/**
|
|
@@ -58,6 +68,8 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
58
68
|
* @param args - The arguments for verification.
|
|
59
69
|
* @param args.message - A signed message as a Hex string or Uint8Array.
|
|
60
70
|
* @param args.signature - The signature of the message.
|
|
71
|
+
* @group Implementation
|
|
72
|
+
* @category Serialization
|
|
61
73
|
*/
|
|
62
74
|
verifySignature(args: VerifySignatureArgs): boolean;
|
|
63
75
|
/**
|
|
@@ -65,12 +77,16 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
65
77
|
* This function is essential for creating a secure authentication key that can be used for further cryptographic operations.
|
|
66
78
|
*
|
|
67
79
|
* @returns {AuthenticationKey} The generated authentication key.
|
|
80
|
+
* @group Implementation
|
|
81
|
+
* @category Serialization
|
|
68
82
|
*/
|
|
69
83
|
authKey(): AuthenticationKey;
|
|
70
84
|
/**
|
|
71
85
|
* Convert the internal data representation to a Uint8Array.
|
|
72
86
|
*
|
|
73
87
|
* @returns Uint8Array representation of the data.
|
|
88
|
+
* @group Implementation
|
|
89
|
+
* @category Serialization
|
|
74
90
|
*/
|
|
75
91
|
toUint8Array(): Uint8Array;
|
|
76
92
|
/**
|
|
@@ -78,6 +94,8 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
78
94
|
* This allows for the conversion of data into a format suitable for transmission or storage.
|
|
79
95
|
*
|
|
80
96
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
97
|
+
* @group Implementation
|
|
98
|
+
* @category Serialization
|
|
81
99
|
*/
|
|
82
100
|
serialize(serializer: Serializer): void;
|
|
83
101
|
/**
|
|
@@ -85,6 +103,8 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
85
103
|
* This function is used to convert serialized byte data into a usable Ed25519Signature instance.
|
|
86
104
|
*
|
|
87
105
|
* @param deserializer - The deserializer instance used to read the byte data.
|
|
106
|
+
* @group Implementation
|
|
107
|
+
* @category Serialization
|
|
88
108
|
*/
|
|
89
109
|
static deserialize(deserializer: Deserializer): Ed25519PublicKey;
|
|
90
110
|
/**
|
|
@@ -93,6 +113,8 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
93
113
|
* @param publicKey - The public key to check.
|
|
94
114
|
* @returns True if the public key is an instance of Ed25519PublicKey, otherwise false.
|
|
95
115
|
* @deprecated use `instanceof Ed25519PublicKey` instead.
|
|
116
|
+
* @group Implementation
|
|
117
|
+
* @category Serialization
|
|
96
118
|
*/
|
|
97
119
|
static isPublicKey(publicKey: AccountPublicKey): publicKey is Ed25519PublicKey;
|
|
98
120
|
/**
|
|
@@ -102,27 +124,35 @@ declare class Ed25519PublicKey extends AccountPublicKey {
|
|
|
102
124
|
*
|
|
103
125
|
* @param publicKey - The public key to validate.
|
|
104
126
|
* @returns A boolean indicating whether the public key is a valid Ed25519 public key.
|
|
127
|
+
* @group Implementation
|
|
128
|
+
* @category Serialization
|
|
105
129
|
*/
|
|
106
130
|
static isInstance(publicKey: PublicKey): publicKey is Ed25519PublicKey;
|
|
107
131
|
}
|
|
108
132
|
/**
|
|
109
133
|
* Represents the private key of an Ed25519 key pair.
|
|
134
|
+
* @group Implementation
|
|
135
|
+
* @category Serialization
|
|
110
136
|
*/
|
|
111
137
|
declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
112
138
|
/**
|
|
113
139
|
* Length of an Ed25519 private key
|
|
114
|
-
* @
|
|
140
|
+
* @group Implementation
|
|
141
|
+
* @category Serialization
|
|
115
142
|
*/
|
|
116
143
|
static readonly LENGTH: number;
|
|
117
144
|
/**
|
|
118
145
|
* The Ed25519 key seed to use for BIP-32 compatibility
|
|
119
146
|
* See more {@link https://github.com/satoshilabs/slips/blob/master/slip-0010.md}
|
|
120
|
-
* @
|
|
147
|
+
* @group Implementation
|
|
148
|
+
* @category Serialization
|
|
121
149
|
*/
|
|
122
150
|
static readonly SLIP_0010_SEED = "ed25519 seed";
|
|
123
151
|
/**
|
|
124
152
|
* The Ed25519 signing key
|
|
125
153
|
* @private
|
|
154
|
+
* @group Implementation
|
|
155
|
+
* @category Serialization
|
|
126
156
|
*/
|
|
127
157
|
private readonly signingKey;
|
|
128
158
|
/**
|
|
@@ -132,12 +162,16 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
132
162
|
*
|
|
133
163
|
* @param hexInput HexInput (string or Uint8Array)
|
|
134
164
|
* @param strict If true, private key must AIP-80 compliant.
|
|
165
|
+
* @group Implementation
|
|
166
|
+
* @category Serialization
|
|
135
167
|
*/
|
|
136
168
|
constructor(hexInput: HexInput, strict?: boolean);
|
|
137
169
|
/**
|
|
138
170
|
* Generate a new random private key.
|
|
139
171
|
*
|
|
140
172
|
* @returns Ed25519PrivateKey A newly generated Ed25519 private key.
|
|
173
|
+
* @group Implementation
|
|
174
|
+
* @category Serialization
|
|
141
175
|
*/
|
|
142
176
|
static generate(): Ed25519PrivateKey;
|
|
143
177
|
/**
|
|
@@ -149,6 +183,8 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
149
183
|
* @param path - The BIP44 path used for key derivation.
|
|
150
184
|
* @param mnemonics - The mnemonic seed phrase from which the key will be derived.
|
|
151
185
|
* @throws Error if the provided path is not a valid hardened path.
|
|
186
|
+
* @group Implementation
|
|
187
|
+
* @category Serialization
|
|
152
188
|
*/
|
|
153
189
|
static fromDerivationPath(path: string, mnemonics: string): Ed25519PrivateKey;
|
|
154
190
|
/**
|
|
@@ -160,12 +196,16 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
160
196
|
* @param seed - The seed phrase created by the mnemonics, represented as a Uint8Array.
|
|
161
197
|
* @param offset - The offset used for key derivation, defaults to HARDENED_OFFSET.
|
|
162
198
|
* @returns An instance of Ed25519PrivateKey derived from the specified path and seed.
|
|
199
|
+
* @group Implementation
|
|
200
|
+
* @category Serialization
|
|
163
201
|
*/
|
|
164
202
|
private static fromDerivationPathInner;
|
|
165
203
|
/**
|
|
166
204
|
* Derive the Ed25519PublicKey for this private key.
|
|
167
205
|
*
|
|
168
206
|
* @returns Ed25519PublicKey - The derived public key corresponding to the private key.
|
|
207
|
+
* @group Implementation
|
|
208
|
+
* @category Serialization
|
|
169
209
|
*/
|
|
170
210
|
publicKey(): Ed25519PublicKey;
|
|
171
211
|
/**
|
|
@@ -174,18 +214,24 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
174
214
|
*
|
|
175
215
|
* @param message - A message as a string or Uint8Array in HexInput format.
|
|
176
216
|
* @returns A digital signature for the provided message.
|
|
217
|
+
* @group Implementation
|
|
218
|
+
* @category Serialization
|
|
177
219
|
*/
|
|
178
220
|
sign(message: HexInput): Ed25519Signature;
|
|
179
221
|
/**
|
|
180
222
|
* Get the private key in bytes (Uint8Array).
|
|
181
223
|
*
|
|
182
224
|
* @returns Uint8Array representation of the private key
|
|
225
|
+
* @group Implementation
|
|
226
|
+
* @category Serialization
|
|
183
227
|
*/
|
|
184
228
|
toUint8Array(): Uint8Array;
|
|
185
229
|
/**
|
|
186
230
|
* Get the private key as a hex string with the 0x prefix.
|
|
187
231
|
*
|
|
188
232
|
* @returns string representation of the private key.
|
|
233
|
+
* @group Implementation
|
|
234
|
+
* @category Serialization
|
|
189
235
|
*/
|
|
190
236
|
toString(): string;
|
|
191
237
|
/**
|
|
@@ -211,22 +257,28 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
|
|
|
211
257
|
* @returns A boolean indicating whether the private key is an Ed25519PrivateKey.
|
|
212
258
|
*
|
|
213
259
|
* @deprecated Use `instanceof Ed25519PrivateKey` instead.
|
|
260
|
+
* @group Implementation
|
|
261
|
+
* @category Serialization
|
|
214
262
|
*/
|
|
215
263
|
static isPrivateKey(privateKey: PrivateKey): privateKey is Ed25519PrivateKey;
|
|
216
264
|
}
|
|
217
265
|
/**
|
|
218
266
|
* Represents a signature of a message signed using an Ed25519 private key.
|
|
267
|
+
* @group Implementation
|
|
268
|
+
* @category Serialization
|
|
219
269
|
*/
|
|
220
270
|
declare class Ed25519Signature extends Signature {
|
|
221
271
|
/**
|
|
222
272
|
* Length of an Ed25519 signature, which is 64 bytes.
|
|
223
|
-
*
|
|
224
|
-
* @
|
|
273
|
+
* @group Implementation
|
|
274
|
+
* @category Serialization
|
|
225
275
|
*/
|
|
226
276
|
static readonly LENGTH = 64;
|
|
227
277
|
/**
|
|
228
278
|
* The signature bytes
|
|
229
279
|
* @private
|
|
280
|
+
* @group Implementation
|
|
281
|
+
* @category Serialization
|
|
230
282
|
*/
|
|
231
283
|
private readonly data;
|
|
232
284
|
constructor(hexInput: HexInput);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../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-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-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
|
|
2
2
|
//# sourceMappingURL=ed25519.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Deserializer } from '../../bcs/deserializer.mjs';
|
|
2
2
|
import { Serializer } from '../../bcs/serializer.mjs';
|
|
3
3
|
import { EphemeralPublicKeyVariant, HexInput } from '../../types/types.mjs';
|
|
4
|
-
import { P as PublicKey } from '../../publicKey-
|
|
4
|
+
import { P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
5
5
|
import { Signature } from './signature.mjs';
|
|
6
6
|
import '../../types/indexer.mjs';
|
|
7
7
|
import '../../types/generated/operations.mjs';
|
|
@@ -17,14 +17,20 @@ import '../../transactions/instances/transactionArgument.mjs';
|
|
|
17
17
|
* Represents ephemeral public keys for Aptos Keyless accounts.
|
|
18
18
|
*
|
|
19
19
|
* These keys are used only temporarily within Keyless accounts and are not utilized as public keys for account identification.
|
|
20
|
+
* @group Implementation
|
|
21
|
+
* @category Serialization
|
|
20
22
|
*/
|
|
21
23
|
declare class EphemeralPublicKey extends PublicKey {
|
|
22
24
|
/**
|
|
23
25
|
* The public key itself
|
|
26
|
+
* @group Implementation
|
|
27
|
+
* @category Serialization
|
|
24
28
|
*/
|
|
25
29
|
readonly publicKey: PublicKey;
|
|
26
30
|
/**
|
|
27
31
|
* An enum indicating the scheme of the ephemeral public key
|
|
32
|
+
* @group Implementation
|
|
33
|
+
* @category Serialization
|
|
28
34
|
*/
|
|
29
35
|
readonly variant: EphemeralPublicKeyVariant;
|
|
30
36
|
/**
|
|
@@ -33,6 +39,8 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
33
39
|
*
|
|
34
40
|
* @param publicKey - The public key to be used for the ephemeral public key.
|
|
35
41
|
* @throws Error if the signature type is unsupported.
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Serialization
|
|
36
44
|
*/
|
|
37
45
|
constructor(publicKey: PublicKey);
|
|
38
46
|
/**
|
|
@@ -42,6 +50,8 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
42
50
|
* @param args.message - The message that was signed.
|
|
43
51
|
* @param args.signature - The signature that was signed by the private key of the ephemeral public key.
|
|
44
52
|
* @returns true if the signature is valid, otherwise false.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Serialization
|
|
45
55
|
*/
|
|
46
56
|
verifySignature(args: {
|
|
47
57
|
message: HexInput;
|
|
@@ -53,6 +63,8 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
53
63
|
*
|
|
54
64
|
* @param serializer - The serializer instance used to serialize the signature.
|
|
55
65
|
* @throws Error if the signature type is unknown.
|
|
66
|
+
* @group Implementation
|
|
67
|
+
* @category Serialization
|
|
56
68
|
*/
|
|
57
69
|
serialize(serializer: Serializer): void;
|
|
58
70
|
/**
|
|
@@ -60,6 +72,8 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
60
72
|
* This function allows you to retrieve an EphemeralSignature based on the deserialized data.
|
|
61
73
|
*
|
|
62
74
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
75
|
+
* @group Implementation
|
|
76
|
+
* @category Serialization
|
|
63
77
|
*/
|
|
64
78
|
static deserialize(deserializer: Deserializer): EphemeralPublicKey;
|
|
65
79
|
/**
|
|
@@ -67,6 +81,8 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
67
81
|
*
|
|
68
82
|
* @param publicKey - The public key to check.
|
|
69
83
|
* @returns A boolean indicating whether the public key is an ephemeral type.
|
|
84
|
+
* @group Implementation
|
|
85
|
+
* @category Serialization
|
|
70
86
|
*/
|
|
71
87
|
static isPublicKey(publicKey: PublicKey): publicKey is EphemeralPublicKey;
|
|
72
88
|
}
|
|
@@ -74,10 +90,14 @@ declare class EphemeralPublicKey extends PublicKey {
|
|
|
74
90
|
* Represents ephemeral signatures used in Aptos Keyless accounts.
|
|
75
91
|
*
|
|
76
92
|
* These signatures are utilized within the KeylessSignature framework.
|
|
93
|
+
* @group Implementation
|
|
94
|
+
* @category Serialization
|
|
77
95
|
*/
|
|
78
96
|
declare class EphemeralSignature extends Signature {
|
|
79
97
|
/**
|
|
80
98
|
* The signature signed by the private key of an EphemeralKeyPair
|
|
99
|
+
* @group Implementation
|
|
100
|
+
* @category Serialization
|
|
81
101
|
*/
|
|
82
102
|
readonly signature: Signature;
|
|
83
103
|
constructor(signature: Signature);
|
|
@@ -87,6 +107,8 @@ declare class EphemeralSignature extends Signature {
|
|
|
87
107
|
* further processing.
|
|
88
108
|
*
|
|
89
109
|
* @param hexInput - The hexadecimal input representing the ephemeral signature.
|
|
110
|
+
* @group Implementation
|
|
111
|
+
* @category Serialization
|
|
90
112
|
*/
|
|
91
113
|
static fromHex(hexInput: HexInput): EphemeralSignature;
|
|
92
114
|
serialize(serializer: Serializer): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../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-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-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
|
|
2
2
|
//# sourceMappingURL=ephemeral.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as AccountPublicKey, A as AuthenticationKey, P as PublicKey } from '../../publicKey-
|
|
1
|
+
import { a as AccountPublicKey, A as AuthenticationKey, P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
|
|
2
2
|
import { Deserializer } from '../../bcs/deserializer.mjs';
|
|
3
3
|
import { Serializer } from '../../bcs/serializer.mjs';
|
|
4
4
|
import { HexInput } from '../../types/types.mjs';
|
|
@@ -25,14 +25,20 @@ import '../../utils/const.mjs';
|
|
|
25
25
|
* These keys use an on-chain address as a source of truth for the JWK used to verify signatures.
|
|
26
26
|
*
|
|
27
27
|
* FederatedKeylessPublicKey authentication key is represented in the SDK as `AnyPublicKey`.
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Serialization
|
|
28
30
|
*/
|
|
29
31
|
declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
30
32
|
/**
|
|
31
33
|
* The address that contains the JWK set to be used for verification.
|
|
34
|
+
* @group Implementation
|
|
35
|
+
* @category Serialization
|
|
32
36
|
*/
|
|
33
37
|
readonly jwkAddress: AccountAddress;
|
|
34
38
|
/**
|
|
35
39
|
* The inner public key which contains the standard Keyless public key.
|
|
40
|
+
* @group Implementation
|
|
41
|
+
* @category Serialization
|
|
36
42
|
*/
|
|
37
43
|
readonly keylessPublicKey: KeylessPublicKey;
|
|
38
44
|
constructor(jwkAddress: AccountAddressInput, keylessPublicKey: KeylessPublicKey);
|
|
@@ -40,6 +46,8 @@ declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
|
40
46
|
* Get the authentication key for the federated keyless public key
|
|
41
47
|
*
|
|
42
48
|
* @returns AuthenticationKey
|
|
49
|
+
* @group Implementation
|
|
50
|
+
* @category Serialization
|
|
43
51
|
*/
|
|
44
52
|
authKey(): AuthenticationKey;
|
|
45
53
|
/**
|
|
@@ -48,6 +56,8 @@ declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
|
48
56
|
* @param args.message message
|
|
49
57
|
* @param args.signature The signature
|
|
50
58
|
* @returns true if the signature is valid
|
|
59
|
+
* @group Implementation
|
|
60
|
+
* @category Serialization
|
|
51
61
|
*/
|
|
52
62
|
verifySignature(args: {
|
|
53
63
|
message: HexInput;
|
|
@@ -65,6 +75,8 @@ declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
|
65
75
|
* @param args.aud the client ID of the application
|
|
66
76
|
* @param args.pepper The pepper used to maintain privacy of the account
|
|
67
77
|
* @returns FederatedKeylessPublicKey
|
|
78
|
+
* @group Implementation
|
|
79
|
+
* @category Serialization
|
|
68
80
|
*/
|
|
69
81
|
static create(args: {
|
|
70
82
|
iss: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-OOJGI2IR.mjs";import"../../chunk-TMI4XNRL.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-QD55JBJB.mjs";import"../../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 FederatedKeylessPublicKey};
|
|
2
2
|
//# sourceMappingURL=federatedKeyless.mjs.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Contains the derived cryptographic key as a Uint8Array.
|
|
3
|
+
* @group Implementation
|
|
4
|
+
* @category Serialization
|
|
3
5
|
*/
|
|
4
6
|
type DerivedKeys = {
|
|
5
7
|
key: Uint8Array;
|
|
@@ -7,15 +9,27 @@ type DerivedKeys = {
|
|
|
7
9
|
};
|
|
8
10
|
/**
|
|
9
11
|
* Aptos derive path is 637
|
|
12
|
+
* @group Implementation
|
|
13
|
+
* @category Serialization
|
|
10
14
|
*/
|
|
11
15
|
declare const APTOS_HARDENED_REGEX: RegExp;
|
|
16
|
+
/**
|
|
17
|
+
* @group Implementation
|
|
18
|
+
* @category Serialization
|
|
19
|
+
*/
|
|
12
20
|
declare const APTOS_BIP44_REGEX: RegExp;
|
|
13
21
|
/**
|
|
14
22
|
* Supported key types and their associated seeds.
|
|
23
|
+
* @group Implementation
|
|
24
|
+
* @category Serialization
|
|
15
25
|
*/
|
|
16
26
|
declare enum KeyType {
|
|
17
27
|
ED25519 = "ed25519 seed"
|
|
18
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Serialization
|
|
32
|
+
*/
|
|
19
33
|
declare const HARDENED_OFFSET = 2147483648;
|
|
20
34
|
/**
|
|
21
35
|
* Validate a BIP-44 derivation path string to ensure it meets the required format.
|
|
@@ -26,6 +40,8 @@ declare const HARDENED_OFFSET = 2147483648;
|
|
|
26
40
|
* Note that for Secp256k1, the last two components must be non-hardened.
|
|
27
41
|
*
|
|
28
42
|
* @param path - The path string to validate (e.g. `m/44'/637'/0'/0/0`).
|
|
43
|
+
* @group Implementation
|
|
44
|
+
* @category Serialization
|
|
29
45
|
*/
|
|
30
46
|
declare function isValidBIP44Path(path: string): boolean;
|
|
31
47
|
/**
|
|
@@ -43,24 +59,36 @@ declare function isValidBIP44Path(path: string): boolean;
|
|
|
43
59
|
* with the hash function breaking the homomorphism.
|
|
44
60
|
*
|
|
45
61
|
* @param path - The derivation path string to validate (e.g. `m/44'/637'/0'/0'/0'`).
|
|
62
|
+
* @group Implementation
|
|
63
|
+
* @category Serialization
|
|
46
64
|
*/
|
|
47
65
|
declare function isValidHardenedPath(path: string): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @group Implementation
|
|
68
|
+
* @category Serialization
|
|
69
|
+
*/
|
|
48
70
|
declare const deriveKey: (hashSeed: Uint8Array | string, data: Uint8Array | string) => DerivedKeys;
|
|
49
71
|
/**
|
|
50
72
|
* Derive a child key from the private key
|
|
51
73
|
* @param key
|
|
52
74
|
* @param chainCode
|
|
53
75
|
* @param index
|
|
76
|
+
* @group Implementation
|
|
77
|
+
* @category Serialization
|
|
54
78
|
*/
|
|
55
79
|
declare const CKDPriv: ({ key, chainCode }: DerivedKeys, index: number) => DerivedKeys;
|
|
56
80
|
/**
|
|
57
81
|
* Splits derive path into segments
|
|
58
82
|
* @param path
|
|
83
|
+
* @group Implementation
|
|
84
|
+
* @category Serialization
|
|
59
85
|
*/
|
|
60
86
|
declare const splitPath: (path: string) => Array<string>;
|
|
61
87
|
/**
|
|
62
88
|
* Normalizes the mnemonic by removing extra whitespace and making it lowercase
|
|
63
89
|
* @param mnemonic the mnemonic seed phrase
|
|
90
|
+
* @group Implementation
|
|
91
|
+
* @category Serialization
|
|
64
92
|
*/
|
|
65
93
|
declare const mnemonicToSeed: (mnemonic: string) => Uint8Array;
|
|
66
94
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-C3Q23D22.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as APTOS_BIP44_REGEX,a as APTOS_HARDENED_REGEX,h as CKDPriv,d as HARDENED_OFFSET,c as KeyType,g as deriveKey,e as isValidBIP44Path,f as isValidHardenedPath,j as mnemonicToSeed,i as splitPath};
|
|
2
2
|
//# sourceMappingURL=hdKey.mjs.map
|
|
@@ -7,10 +7,10 @@ export { FederatedKeylessPublicKey } from './federatedKeyless.mjs';
|
|
|
7
7
|
export { EPK_HORIZON_SECS, EphemeralCertificate, Groth16VerificationKey, Groth16Zkp, KeylessConfiguration, KeylessPublicKey, KeylessSignature, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MoveJWK, ZeroKnowledgeSig, ZkProof, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, parseJwtHeader } from './keyless.mjs';
|
|
8
8
|
export { bigIntToBytesLE, bytesToBigIntLE, hashStrToField, padAndPackBytesWithLen, poseidonHash } from './poseidon.mjs';
|
|
9
9
|
export { PrivateKey } from './privateKey.mjs';
|
|
10
|
-
export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-
|
|
10
|
+
export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BMtGNNLg.mjs';
|
|
11
11
|
export { Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature } from './secp256k1.mjs';
|
|
12
12
|
export { Signature } from './signature.mjs';
|
|
13
|
-
export { AnyPublicKey, AnySignature } from './singleKey.mjs';
|
|
13
|
+
export { AnyPublicKey, AnySignature, PrivateKeyInput } from './singleKey.mjs';
|
|
14
14
|
import '../../bcs/deserializer.mjs';
|
|
15
15
|
import '../../types/types.mjs';
|
|
16
16
|
import '../../types/indexer.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-
|
|
1
|
+
import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-ODEDSSQL.mjs";import{a as aa,b as ba}from"../../chunk-NS5YFLZQ.mjs";import{a as _,b as $}from"../../chunk-424ZTUPT.mjs";import{a as u,b as v,c as w}from"../../chunk-G5ZWH5T3.mjs";import{a as Z}from"../../chunk-OOJGI2IR.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K,h as L,i as M,j as N,k as O,l as P,m as Q,n as R,o as S,p as T,q as U,r as V,s as W,t as X,u as Y}from"../../chunk-TMI4XNRL.mjs";import{a as z,b as A,c as B,d as C,e as D}from"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import{a as x,b as y}from"../../chunk-T6NQDM7D.mjs";import{a as o,b as p,c as q,d as r}from"../../chunk-XGF7UNEW.mjs";import{a as l,b as m}from"../../chunk-EMURYYVO.mjs";import{a as n}from"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-C3Q23D22.mjs";import{a as k}from"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-QD55JBJB.mjs";import"../../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{b as APTOS_BIP44_REGEX,a as APTOS_HARDENED_REGEX,m as AccountPublicKey,_ as AnyPublicKey,$ as AnySignature,h as CKDPriv,E as EPK_HORIZON_SECS,q as Ed25519PrivateKey,p as Ed25519PublicKey,r as Ed25519Signature,O as EphemeralCertificate,x as EphemeralPublicKey,y as EphemeralSignature,Z as FederatedKeylessPublicKey,T as Groth16VerificationKey,P as Groth16Zkp,d as HARDENED_OFFSET,c as KeyType,S as KeylessConfiguration,M as KeylessPublicKey,N as KeylessSignature,F as MAX_AUD_VAL_BYTES,L as MAX_COMMITED_EPK_BYTES,J as MAX_EXTRA_FIELD_BYTES,I as MAX_ISS_VAL_BYTES,K as MAX_JWT_HEADER_B64_BYTES,G as MAX_UID_KEY_BYTES,H as MAX_UID_VAL_BYTES,X as MoveJWK,s as MultiEd25519PublicKey,t as MultiEd25519Signature,aa as MultiKey,ba as MultiKeySignature,k as PrivateKey,l as PublicKey,v as Secp256k1PrivateKey,u as Secp256k1PublicKey,w as Secp256k1Signature,n as Signature,R as ZeroKnowledgeSig,Q as ZkProof,C as bigIntToBytesLE,B as bytesToBigIntLE,g as deriveKey,V as getIssAudAndUidVal,U as getKeylessConfig,W as getKeylessJWKs,z as hashStrToField,o as isCanonicalEd25519Signature,e as isValidBIP44Path,f as isValidHardenedPath,j as mnemonicToSeed,A as padAndPackBytesWithLen,Y as parseJwtHeader,D as poseidonHash,i as splitPath};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|