@aptos-labs/ts-sdk 1.35.0-zeta.0 → 1.35.0-zeta.1
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/dist/common/{accountAddress-D3UA_cOZ.d.ts → accountAddress-Ce4Cv60D.d.ts} +36 -2
- package/dist/common/{chunk-CSUBLTFA.js → chunk-JMOQXLED.js} +10 -2
- package/dist/common/chunk-JMOQXLED.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +2 -2
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +292 -274
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs +24 -24
- package/dist/esm/account/AbstractedAccount.mjs +26 -26
- package/dist/esm/account/Account.mjs +25 -25
- package/dist/esm/account/AccountUtils.mjs +31 -31
- package/dist/esm/account/Ed25519Account.mjs +23 -23
- package/dist/esm/account/EphemeralKeyPair.mjs +15 -15
- package/dist/esm/account/FederatedKeylessAccount.mjs +25 -25
- package/dist/esm/account/KeylessAccount.mjs +25 -25
- package/dist/esm/account/MultiEd25519Account.mjs +23 -23
- package/dist/esm/account/MultiKeyAccount.mjs +27 -27
- package/dist/esm/account/SingleKeyAccount.mjs +23 -23
- package/dist/esm/account/index.mjs +34 -34
- package/dist/esm/account/utils.mjs +15 -15
- package/dist/esm/api/account/abstraction.mjs +46 -46
- package/dist/esm/api/account.mjs +48 -48
- package/dist/esm/api/ans.mjs +46 -46
- package/dist/esm/api/aptos.mjs +78 -78
- package/dist/esm/api/coin.mjs +44 -44
- package/dist/esm/api/digitalAsset.mjs +46 -46
- package/dist/esm/api/event.mjs +19 -19
- package/dist/esm/api/experimental.mjs +44 -44
- package/dist/esm/api/faucet.mjs +18 -18
- package/dist/esm/api/fungibleAsset.mjs +46 -46
- package/dist/esm/api/general.mjs +44 -44
- package/dist/esm/api/index.mjs +78 -78
- package/dist/esm/api/keyless.mjs +45 -45
- package/dist/esm/api/object.mjs +19 -19
- package/dist/esm/api/staking.mjs +19 -19
- package/dist/esm/api/table.mjs +10 -10
- package/dist/esm/api/transaction.mjs +51 -51
- package/dist/esm/api/transactionSubmission/build.mjs +44 -44
- package/dist/esm/api/transactionSubmission/management.mjs +46 -46
- package/dist/esm/api/transactionSubmission/sign.mjs +43 -43
- package/dist/esm/api/transactionSubmission/simulate.mjs +44 -44
- package/dist/esm/api/transactionSubmission/submit.mjs +44 -44
- package/dist/esm/api/utils.mjs +8 -8
- package/dist/esm/bcs/index.mjs +7 -7
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/{chunk-XXLSA7W7.mjs → chunk-2JLHWA2G.mjs} +2 -2
- package/dist/esm/{chunk-UXAUOSSB.mjs → chunk-2SIDNRJH.mjs} +6 -6
- package/dist/esm/{chunk-4BXAKN6A.mjs → chunk-2WTIMHGC.mjs} +4 -4
- package/dist/esm/{chunk-3SCNBHUA.mjs → chunk-2ZX5PHCY.mjs} +3 -3
- package/dist/esm/{chunk-J7WQ42OC.mjs → chunk-3E2SXJXZ.mjs} +2 -2
- package/dist/esm/{chunk-WPV52HGD.mjs → chunk-3T7G4OUL.mjs} +3 -3
- package/dist/esm/{chunk-LHQJNJUB.mjs → chunk-54XJAHWK.mjs} +7 -7
- package/dist/esm/{chunk-QN5BQMWP.mjs → chunk-56UCIGTO.mjs} +2 -2
- package/dist/esm/{chunk-3QMLVT4L.mjs → chunk-6DJZITWL.mjs} +2 -2
- package/dist/esm/{chunk-LL4RQKIB.mjs → chunk-6T3V5LXK.mjs} +1 -2
- package/dist/esm/{chunk-LL4RQKIB.mjs.map → chunk-6T3V5LXK.mjs.map} +1 -1
- package/dist/esm/{chunk-SGKF62FT.mjs → chunk-7J37IHNP.mjs} +2 -2
- package/dist/esm/{chunk-TQDWZXFD.mjs → chunk-AEMQUDMU.mjs} +12 -12
- package/dist/esm/{chunk-AGKEC2IM.mjs → chunk-BADWWRLN.mjs} +5 -5
- package/dist/esm/{chunk-MIVDDJAH.mjs → chunk-BVBIBMAE.mjs} +2 -2
- package/dist/esm/{chunk-VGI2LPO3.mjs → chunk-CDJNQ7CS.mjs} +11 -11
- package/dist/esm/{chunk-ECTX2FGD.mjs → chunk-CPZPXG7O.mjs} +4 -4
- package/dist/esm/{chunk-UKZP2GAB.mjs → chunk-D3IWXA33.mjs} +11 -11
- package/dist/esm/{chunk-WEOK7WVL.mjs → chunk-EBFKT35C.mjs} +2 -2
- package/dist/esm/{chunk-DUOU3SNQ.mjs → chunk-ESGBNVCA.mjs} +3 -3
- package/dist/esm/{chunk-5E2IDRDF.mjs → chunk-F2EFNUWD.mjs} +5 -5
- package/dist/esm/{chunk-JOVCSFQC.mjs → chunk-F4VI7BNX.mjs} +2 -2
- package/dist/esm/{chunk-3TUV6YMI.mjs → chunk-F65QGYVD.mjs} +3 -3
- package/dist/esm/{chunk-SDIZSFCQ.mjs → chunk-GUEJH55K.mjs} +2 -2
- package/dist/esm/{chunk-TFW6N66T.mjs → chunk-HRUI6AWF.mjs} +4 -4
- package/dist/esm/{chunk-D4MW64RH.mjs → chunk-HTC3Q5JN.mjs} +4 -4
- package/dist/esm/{chunk-Y7KAC4I4.mjs → chunk-IARAGRKO.mjs} +4 -4
- package/dist/esm/{chunk-4WNIKKIV.mjs → chunk-IEM26R5Q.mjs} +3 -3
- package/dist/esm/{chunk-HLTYSM7H.mjs → chunk-IKEPH7D2.mjs} +4 -4
- package/dist/esm/{chunk-MG6UFOJW.mjs → chunk-IORAMQ2Y.mjs} +6 -6
- package/dist/esm/{chunk-A3TQLIEM.mjs → chunk-IY2ASLSP.mjs} +2 -2
- package/dist/esm/{chunk-LFMXR5C2.mjs → chunk-J32AERDF.mjs} +3 -3
- package/dist/esm/{chunk-XGUYC57L.mjs → chunk-JJ6MU2DV.mjs} +3 -3
- package/dist/esm/{chunk-HQTQEHHZ.mjs → chunk-JQIRRM7G.mjs} +4 -4
- package/dist/esm/{chunk-KLZCGNPI.mjs → chunk-KK7SBRDQ.mjs} +4 -4
- package/dist/esm/{chunk-MUSTBCQX.mjs → chunk-KW64NP2F.mjs} +2 -2
- package/dist/esm/{chunk-I6QE3PKO.mjs → chunk-KZFQOE4N.mjs} +4 -4
- package/dist/esm/{chunk-Y4FHNC5I.mjs → chunk-LK4HGGAJ.mjs} +2 -2
- package/dist/esm/{chunk-HQ6A6TYS.mjs → chunk-MC4OOX6X.mjs} +34 -34
- package/dist/esm/{chunk-I4OHHVRF.mjs → chunk-MD4TZ4HA.mjs} +3 -3
- package/dist/esm/{chunk-MHZVL3EA.mjs → chunk-MLGROHE6.mjs} +9 -9
- package/dist/esm/{chunk-UOHCJOXI.mjs → chunk-MX2R6BBJ.mjs} +2 -2
- package/dist/esm/{chunk-DMFRIING.mjs → chunk-NFBLI3BS.mjs} +2 -2
- package/dist/esm/{chunk-ZWD4BJVD.mjs → chunk-OOQS6BEP.mjs} +3 -3
- package/dist/esm/{chunk-ZNGTK5IZ.mjs → chunk-OVZOE4GS.mjs} +29 -29
- package/dist/esm/{chunk-EMKV5DFX.mjs → chunk-PITSYZA7.mjs} +3 -3
- package/dist/esm/{chunk-YIHVPGHN.mjs → chunk-PP2U5UMC.mjs} +4 -4
- package/dist/esm/{chunk-LSIXUJ5T.mjs → chunk-PYLTV3KI.mjs} +4 -4
- package/dist/esm/{chunk-IPUAVRGL.mjs → chunk-RGHKUKOX.mjs} +5 -5
- package/dist/esm/{chunk-P64LPFEC.mjs → chunk-RTNVJKNX.mjs} +4 -4
- package/dist/esm/{chunk-KEKNIJHE.mjs → chunk-S5JIXUS6.mjs} +4 -4
- package/dist/esm/{chunk-BQ5JTYXK.mjs → chunk-SFF4FJUD.mjs} +3 -3
- package/dist/esm/{chunk-QW7RQDZ5.mjs → chunk-SQNS4SFV.mjs} +9 -1
- package/dist/esm/{chunk-QW7RQDZ5.mjs.map → chunk-SQNS4SFV.mjs.map} +1 -1
- package/dist/esm/{chunk-46VPRC7E.mjs → chunk-SW4ASQPY.mjs} +7 -7
- package/dist/esm/{chunk-ESZLRZTK.mjs → chunk-TFDBSPIQ.mjs} +3 -3
- package/dist/esm/{chunk-XIBOO3WF.mjs → chunk-TQLOZKH4.mjs} +3 -3
- package/dist/esm/{chunk-EFJAJFI3.mjs → chunk-TZZZNGQI.mjs} +2 -2
- package/dist/esm/{chunk-HMHFKEHQ.mjs → chunk-U7K7AJMC.mjs} +2 -2
- package/dist/esm/{chunk-EBEO4SA4.mjs → chunk-UGKZQUGE.mjs} +4 -4
- package/dist/esm/{chunk-KAKSJSCR.mjs → chunk-UKYATVYK.mjs} +2 -2
- package/dist/esm/{chunk-K3CXNID3.mjs → chunk-V66UC6YI.mjs} +2 -2
- package/dist/esm/{chunk-SN6KXHPA.mjs → chunk-VJ2Z7GO3.mjs} +2 -2
- package/dist/esm/{chunk-OQ6XT2GF.mjs → chunk-WPJUSJJQ.mjs} +3 -3
- package/dist/esm/{chunk-NMYFY7WN.mjs → chunk-WSI6NVQD.mjs} +3 -3
- package/dist/esm/{chunk-ODG7T6OV.mjs → chunk-XB4SVKZP.mjs} +2 -2
- package/dist/esm/{chunk-6PMKDSGB.mjs → chunk-XHQMSKZP.mjs} +6 -6
- package/dist/esm/{chunk-KPAICS4T.mjs → chunk-XX6C2QGI.mjs} +2 -2
- package/dist/esm/{chunk-KCV4HRSJ.mjs → chunk-Y25NJOOO.mjs} +4 -4
- package/dist/esm/{chunk-6SNGKTWE.mjs → chunk-YD3KHXBD.mjs} +2 -2
- package/dist/esm/{chunk-KEZG4OGH.mjs → chunk-YGFWUFZY.mjs} +41 -25
- package/dist/esm/chunk-YGFWUFZY.mjs.map +1 -0
- package/dist/esm/{chunk-XGB3QLVI.mjs → chunk-YMHFUSKX.mjs} +3 -3
- package/dist/esm/{chunk-2ZOIVB2U.mjs → chunk-ZAPXD4FC.mjs} +2 -2
- package/dist/esm/{chunk-S56SMMAK.mjs → chunk-ZATMRCFV.mjs} +3 -3
- package/dist/esm/{chunk-T573PCIR.mjs → chunk-ZZWD23YW.mjs} +3 -3
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/client/core.mjs +4 -4
- package/dist/esm/client/get.mjs +4 -4
- package/dist/esm/client/index.mjs +14 -14
- package/dist/esm/client/post.mjs +5 -5
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +3 -3
- package/dist/esm/core/crypto/ed25519.mjs +5 -5
- package/dist/esm/core/crypto/ephemeral.mjs +6 -6
- package/dist/esm/core/crypto/federatedKeyless.mjs +10 -10
- package/dist/esm/core/crypto/index.mjs +16 -16
- package/dist/esm/core/crypto/keyless.mjs +9 -9
- package/dist/esm/core/crypto/multiEd25519.mjs +14 -14
- package/dist/esm/core/crypto/multiKey.mjs +13 -13
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs +3 -3
- package/dist/esm/core/crypto/publicKey.mjs +3 -3
- package/dist/esm/core/crypto/secp256k1.mjs +5 -5
- package/dist/esm/core/crypto/signature.mjs +3 -3
- package/dist/esm/core/crypto/singleKey.mjs +12 -12
- package/dist/esm/core/index.mjs +16 -16
- package/dist/esm/errors/index.mjs +2 -2
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +116 -112
- package/dist/esm/internal/abstraction.mjs +44 -44
- package/dist/esm/internal/account.mjs +38 -38
- package/dist/esm/internal/ans.mjs +45 -45
- package/dist/esm/internal/coin.mjs +43 -43
- package/dist/esm/internal/digitalAsset.mjs +44 -44
- package/dist/esm/internal/event.mjs +16 -16
- package/dist/esm/internal/experimental.mjs +43 -43
- package/dist/esm/internal/faucet.mjs +17 -17
- package/dist/esm/internal/fungibleAsset.mjs +44 -44
- package/dist/esm/internal/general.mjs +6 -6
- package/dist/esm/internal/keyless.mjs +44 -44
- package/dist/esm/internal/object.mjs +16 -16
- package/dist/esm/internal/staking.mjs +16 -16
- package/dist/esm/internal/table.mjs +7 -7
- package/dist/esm/internal/transaction.mjs +7 -7
- package/dist/esm/internal/transactionSubmission.mjs +43 -43
- package/dist/esm/internal/view.mjs +43 -43
- package/dist/esm/transactions/authenticator/account.mjs +15 -15
- package/dist/esm/transactions/authenticator/index.mjs +16 -16
- package/dist/esm/transactions/authenticator/transaction.mjs +16 -16
- package/dist/esm/transactions/index.mjs +60 -60
- package/dist/esm/transactions/instances/index.mjs +24 -24
- package/dist/esm/transactions/instances/moduleId.mjs +14 -14
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +17 -17
- package/dist/esm/transactions/instances/rawTransaction.mjs +16 -16
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +3 -3
- package/dist/esm/transactions/instances/signedTransaction.mjs +19 -19
- package/dist/esm/transactions/instances/simpleTransaction.mjs +17 -17
- package/dist/esm/transactions/instances/transactionPayload.mjs +15 -15
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +39 -39
- package/dist/esm/transactions/management/index.mjs +45 -45
- package/dist/esm/transactions/management/transactionWorker.mjs +45 -45
- package/dist/esm/transactions/scriptComposer/index.mjs +42 -42
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +15 -15
- package/dist/esm/transactions/transactionBuilder/index.mjs +41 -41
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +40 -40
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +22 -22
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +41 -41
- package/dist/esm/transactions/typeTag/index.mjs +14 -14
- package/dist/esm/transactions/typeTag/parser.mjs +14 -14
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +6 -2
- package/dist/esm/types/types.d.mts +36 -2
- package/dist/esm/types/types.mjs +5 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +4 -4
- package/dist/esm/utils/normalizeBundle.mjs +3 -3
- package/package.json +1 -1
- package/src/client/post.ts +0 -1
- package/src/internal/account.ts +28 -10
- package/src/types/types.ts +38 -1
- package/dist/common/chunk-CSUBLTFA.js.map +0 -1
- package/dist/esm/chunk-KEZG4OGH.mjs.map +0 -1
- /package/dist/esm/{chunk-XXLSA7W7.mjs.map → chunk-2JLHWA2G.mjs.map} +0 -0
- /package/dist/esm/{chunk-UXAUOSSB.mjs.map → chunk-2SIDNRJH.mjs.map} +0 -0
- /package/dist/esm/{chunk-4BXAKN6A.mjs.map → chunk-2WTIMHGC.mjs.map} +0 -0
- /package/dist/esm/{chunk-3SCNBHUA.mjs.map → chunk-2ZX5PHCY.mjs.map} +0 -0
- /package/dist/esm/{chunk-J7WQ42OC.mjs.map → chunk-3E2SXJXZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-WPV52HGD.mjs.map → chunk-3T7G4OUL.mjs.map} +0 -0
- /package/dist/esm/{chunk-LHQJNJUB.mjs.map → chunk-54XJAHWK.mjs.map} +0 -0
- /package/dist/esm/{chunk-QN5BQMWP.mjs.map → chunk-56UCIGTO.mjs.map} +0 -0
- /package/dist/esm/{chunk-3QMLVT4L.mjs.map → chunk-6DJZITWL.mjs.map} +0 -0
- /package/dist/esm/{chunk-SGKF62FT.mjs.map → chunk-7J37IHNP.mjs.map} +0 -0
- /package/dist/esm/{chunk-TQDWZXFD.mjs.map → chunk-AEMQUDMU.mjs.map} +0 -0
- /package/dist/esm/{chunk-AGKEC2IM.mjs.map → chunk-BADWWRLN.mjs.map} +0 -0
- /package/dist/esm/{chunk-MIVDDJAH.mjs.map → chunk-BVBIBMAE.mjs.map} +0 -0
- /package/dist/esm/{chunk-VGI2LPO3.mjs.map → chunk-CDJNQ7CS.mjs.map} +0 -0
- /package/dist/esm/{chunk-ECTX2FGD.mjs.map → chunk-CPZPXG7O.mjs.map} +0 -0
- /package/dist/esm/{chunk-UKZP2GAB.mjs.map → chunk-D3IWXA33.mjs.map} +0 -0
- /package/dist/esm/{chunk-WEOK7WVL.mjs.map → chunk-EBFKT35C.mjs.map} +0 -0
- /package/dist/esm/{chunk-DUOU3SNQ.mjs.map → chunk-ESGBNVCA.mjs.map} +0 -0
- /package/dist/esm/{chunk-5E2IDRDF.mjs.map → chunk-F2EFNUWD.mjs.map} +0 -0
- /package/dist/esm/{chunk-JOVCSFQC.mjs.map → chunk-F4VI7BNX.mjs.map} +0 -0
- /package/dist/esm/{chunk-3TUV6YMI.mjs.map → chunk-F65QGYVD.mjs.map} +0 -0
- /package/dist/esm/{chunk-SDIZSFCQ.mjs.map → chunk-GUEJH55K.mjs.map} +0 -0
- /package/dist/esm/{chunk-TFW6N66T.mjs.map → chunk-HRUI6AWF.mjs.map} +0 -0
- /package/dist/esm/{chunk-D4MW64RH.mjs.map → chunk-HTC3Q5JN.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y7KAC4I4.mjs.map → chunk-IARAGRKO.mjs.map} +0 -0
- /package/dist/esm/{chunk-4WNIKKIV.mjs.map → chunk-IEM26R5Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-HLTYSM7H.mjs.map → chunk-IKEPH7D2.mjs.map} +0 -0
- /package/dist/esm/{chunk-MG6UFOJW.mjs.map → chunk-IORAMQ2Y.mjs.map} +0 -0
- /package/dist/esm/{chunk-A3TQLIEM.mjs.map → chunk-IY2ASLSP.mjs.map} +0 -0
- /package/dist/esm/{chunk-LFMXR5C2.mjs.map → chunk-J32AERDF.mjs.map} +0 -0
- /package/dist/esm/{chunk-XGUYC57L.mjs.map → chunk-JJ6MU2DV.mjs.map} +0 -0
- /package/dist/esm/{chunk-HQTQEHHZ.mjs.map → chunk-JQIRRM7G.mjs.map} +0 -0
- /package/dist/esm/{chunk-KLZCGNPI.mjs.map → chunk-KK7SBRDQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-MUSTBCQX.mjs.map → chunk-KW64NP2F.mjs.map} +0 -0
- /package/dist/esm/{chunk-I6QE3PKO.mjs.map → chunk-KZFQOE4N.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y4FHNC5I.mjs.map → chunk-LK4HGGAJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-HQ6A6TYS.mjs.map → chunk-MC4OOX6X.mjs.map} +0 -0
- /package/dist/esm/{chunk-I4OHHVRF.mjs.map → chunk-MD4TZ4HA.mjs.map} +0 -0
- /package/dist/esm/{chunk-MHZVL3EA.mjs.map → chunk-MLGROHE6.mjs.map} +0 -0
- /package/dist/esm/{chunk-UOHCJOXI.mjs.map → chunk-MX2R6BBJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-DMFRIING.mjs.map → chunk-NFBLI3BS.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZWD4BJVD.mjs.map → chunk-OOQS6BEP.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZNGTK5IZ.mjs.map → chunk-OVZOE4GS.mjs.map} +0 -0
- /package/dist/esm/{chunk-EMKV5DFX.mjs.map → chunk-PITSYZA7.mjs.map} +0 -0
- /package/dist/esm/{chunk-YIHVPGHN.mjs.map → chunk-PP2U5UMC.mjs.map} +0 -0
- /package/dist/esm/{chunk-LSIXUJ5T.mjs.map → chunk-PYLTV3KI.mjs.map} +0 -0
- /package/dist/esm/{chunk-IPUAVRGL.mjs.map → chunk-RGHKUKOX.mjs.map} +0 -0
- /package/dist/esm/{chunk-P64LPFEC.mjs.map → chunk-RTNVJKNX.mjs.map} +0 -0
- /package/dist/esm/{chunk-KEKNIJHE.mjs.map → chunk-S5JIXUS6.mjs.map} +0 -0
- /package/dist/esm/{chunk-BQ5JTYXK.mjs.map → chunk-SFF4FJUD.mjs.map} +0 -0
- /package/dist/esm/{chunk-46VPRC7E.mjs.map → chunk-SW4ASQPY.mjs.map} +0 -0
- /package/dist/esm/{chunk-ESZLRZTK.mjs.map → chunk-TFDBSPIQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-XIBOO3WF.mjs.map → chunk-TQLOZKH4.mjs.map} +0 -0
- /package/dist/esm/{chunk-EFJAJFI3.mjs.map → chunk-TZZZNGQI.mjs.map} +0 -0
- /package/dist/esm/{chunk-HMHFKEHQ.mjs.map → chunk-U7K7AJMC.mjs.map} +0 -0
- /package/dist/esm/{chunk-EBEO4SA4.mjs.map → chunk-UGKZQUGE.mjs.map} +0 -0
- /package/dist/esm/{chunk-KAKSJSCR.mjs.map → chunk-UKYATVYK.mjs.map} +0 -0
- /package/dist/esm/{chunk-K3CXNID3.mjs.map → chunk-V66UC6YI.mjs.map} +0 -0
- /package/dist/esm/{chunk-SN6KXHPA.mjs.map → chunk-VJ2Z7GO3.mjs.map} +0 -0
- /package/dist/esm/{chunk-OQ6XT2GF.mjs.map → chunk-WPJUSJJQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-NMYFY7WN.mjs.map → chunk-WSI6NVQD.mjs.map} +0 -0
- /package/dist/esm/{chunk-ODG7T6OV.mjs.map → chunk-XB4SVKZP.mjs.map} +0 -0
- /package/dist/esm/{chunk-6PMKDSGB.mjs.map → chunk-XHQMSKZP.mjs.map} +0 -0
- /package/dist/esm/{chunk-KPAICS4T.mjs.map → chunk-XX6C2QGI.mjs.map} +0 -0
- /package/dist/esm/{chunk-KCV4HRSJ.mjs.map → chunk-Y25NJOOO.mjs.map} +0 -0
- /package/dist/esm/{chunk-6SNGKTWE.mjs.map → chunk-YD3KHXBD.mjs.map} +0 -0
- /package/dist/esm/{chunk-XGB3QLVI.mjs.map → chunk-YMHFUSKX.mjs.map} +0 -0
- /package/dist/esm/{chunk-2ZOIVB2U.mjs.map → chunk-ZAPXD4FC.mjs.map} +0 -0
- /package/dist/esm/{chunk-S56SMMAK.mjs.map → chunk-ZATMRCFV.mjs.map} +0 -0
- /package/dist/esm/{chunk-T573PCIR.mjs.map → chunk-ZZWD23YW.mjs.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccountAbstraction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
waitForIndexerOnVersion
|
|
6
|
-
} from "./chunk-A3TQLIEM.mjs";
|
|
3
|
+
} from "./chunk-WSI6NVQD.mjs";
|
|
7
4
|
import {
|
|
8
5
|
view
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ESGBNVCA.mjs";
|
|
7
|
+
import {
|
|
8
|
+
waitForIndexerOnVersion
|
|
9
|
+
} from "./chunk-IY2ASLSP.mjs";
|
|
10
10
|
import {
|
|
11
11
|
deriveAccountFromPrivateKey,
|
|
12
12
|
getAccountCoinsCount,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getResources,
|
|
27
27
|
getTransactions,
|
|
28
28
|
lookupOriginalAccountAddress
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YGFWUFZY.mjs";
|
|
30
30
|
import {
|
|
31
31
|
createObjectAddress
|
|
32
32
|
} from "./chunk-6I37A76G.mjs";
|
|
@@ -826,4 +826,4 @@ var Account = class {
|
|
|
826
826
|
export {
|
|
827
827
|
Account
|
|
828
828
|
};
|
|
829
|
-
//# sourceMappingURL=chunk-
|
|
829
|
+
//# sourceMappingURL=chunk-54XJAHWK.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-CXLXUSCG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SigningScheme
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SQNS4SFV.mjs";
|
|
7
7
|
|
|
8
8
|
// src/account/utils.ts
|
|
9
9
|
function deserializeSchemeAndAddress(deserializer) {
|
|
@@ -18,4 +18,4 @@ function deserializeSchemeAndAddress(deserializer) {
|
|
|
18
18
|
export {
|
|
19
19
|
deserializeSchemeAndAddress
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-56UCIGTO.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getPepper,
|
|
4
4
|
getProof,
|
|
5
5
|
updateFederatedKeylessJwkSetTransaction
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MLGROHE6.mjs";
|
|
7
7
|
|
|
8
8
|
// src/api/keyless.ts
|
|
9
9
|
var Keyless = class {
|
|
@@ -174,4 +174,4 @@ var Keyless = class {
|
|
|
174
174
|
export {
|
|
175
175
|
Keyless
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-6DJZITWL.mjs.map
|
|
@@ -70,7 +70,6 @@ async function postBinaryAptosFullNode(options) {
|
|
|
70
70
|
}
|
|
71
71
|
async function postAptosIndexer(options) {
|
|
72
72
|
const { aptosConfig } = options;
|
|
73
|
-
console.log("request", JSON.stringify(options.body, null, 2));
|
|
74
73
|
return post({
|
|
75
74
|
...options,
|
|
76
75
|
type: "Indexer" /* INDEXER */,
|
|
@@ -117,4 +116,4 @@ export {
|
|
|
117
116
|
postAptosPepperService,
|
|
118
117
|
postAptosProvingService
|
|
119
118
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-6T3V5LXK.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/client/post.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { aptosBinaryRequest, aptosRequest } from \"./core\";\nimport { AptosResponse, AnyNumber, ClientConfig, MimeType } from \"../types\";\nimport { AptosApiType } from \"../utils/const\";\n\n/**\n * Options for making a POST request, including the API client configuration.\n * @group Implementation\n * @category Client\n */\nexport type PostRequestOptions = {\n /**\n * The config for the API client\n * @group Implementation\n * @category Client\n */\n aptosConfig: AptosConfig;\n /**\n * The type of API endpoint to call e.g. fullnode, indexer, etc\n * @group Implementation\n * @category Client\n */\n type: AptosApiType;\n /**\n * The name of the API method\n * @group Implementation\n * @category Client\n */\n originMethod: string;\n /**\n * The URL path to the API method\n * @group Implementation\n * @category Client\n */\n path: string;\n /**\n * The content type of the request body\n * @group Implementation\n * @category Client\n */\n contentType?: MimeType;\n /**\n * The accepted content type of the response of the API\n * @group Implementation\n * @category Client\n */\n acceptType?: MimeType;\n /**\n * The query parameters for the request\n * @group Implementation\n * @category Client\n */\n params?: Record<string, string | AnyNumber | boolean | undefined>;\n /**\n * The body of the request, should match the content type of the request\n * @group Implementation\n * @category Client\n */\n body?: any;\n /**\n * Specific client overrides for this request to override aptosConfig\n * @group Implementation\n * @category Client\n */\n overrides?: ClientConfig;\n};\n\n/**\n * Options for posting a request to Aptos, excluding the type field.\n * @group Implementation\n * @category Client\n */\nexport type PostAptosRequestOptions = Omit<PostRequestOptions, \"type\">;\n\n/**\n * Executes a POST request to the specified URL with the provided options.\n *\n * @param options - The options for the POST request.\n * @param options.type - The type of the request.\n * @param options.originMethod - The original method that initiated the request.\n * @param options.path - The path for the request.\n * @param options.body - The body content to be sent with the request.\n * @param options.acceptType - The type of response expected from the server.\n * @param options.contentType - The content type of the request body.\n * @param options.params - Additional parameters to include in the request.\n * @param options.aptosConfig - Configuration settings for the Aptos request.\n * @param options.overrides - Any overrides for the default request behavior.\n * @returns The response from the POST request.\n * @group Implementation\n * @category Client\n */\nexport async function post<Req extends {}, Res extends {}>(\n options: PostRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { type, originMethod, path, body, acceptType, contentType, params, aptosConfig, overrides } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosRequest<Req, Res>(\n {\n url,\n method: \"POST\",\n originMethod,\n path,\n body,\n contentType,\n acceptType,\n params,\n overrides,\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Executes a POST request to the specified URL with the provided options.\n *\n * @param options - The options for the POST request.\n * @param options.type - The type of the request.\n * @param options.originMethod - The original method that initiated the request.\n * @param options.path - The path for the request.\n * @param options.body - The body content to be sent with the request.\n * @param options.acceptType - The type of response expected from the server.\n * @param options.contentType - The content type of the request body.\n * @param options.params - Additional parameters to include in the request.\n * @param options.aptosConfig - Configuration settings for the Aptos request.\n * @param options.overrides - Any overrides for the default request behavior.\n * @returns The response from the POST request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function postBinary<Req extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Buffer>> {\n const { type, originMethod, path, body, acceptType, contentType, params, aptosConfig, overrides } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosBinaryRequest<Req>(\n {\n url,\n method: \"POST\",\n originMethod,\n path,\n body,\n contentType,\n acceptType,\n params,\n overrides,\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Sends a request to the Aptos full node using the specified options.\n * This function allows you to interact with the Aptos blockchain by sending requests to the full node.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - Configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - Client-specific configuration settings.\n * @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosFullNode<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos full node using the specified options.\n * This function allows you to interact with the Aptos blockchain by sending requests to the full node.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - Configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - Client-specific configuration settings.\n * @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function postBinaryAptosFullNode<Req extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig } = options;\n\n return postBinary<Req>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos indexer with the specified options.\n * This function allows you to interact with the Aptos indexer and customize the request using various configurations.\n *\n * @param options - The options for the request to the Aptos indexer.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and indexer.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.indexerConfig - The indexer configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.overrides.HEADERS - Custom headers to include in the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosIndexer<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n console.log(\"request\", JSON.stringify(options.body, null, 2));\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.INDEXER,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.indexerConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.indexerConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos faucet to obtain test tokens.\n * This function modifies the provided configuration to ensure that the API_KEY is not included in the request.\n *\n * Note that only devnet has a publicly accessible faucet. For testnet, you must use\n * the minting page at https://aptos.dev/network/faucet.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - The configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - The client-specific configuration settings.\n * @param options.aptosConfig.clientConfig.HEADERS - Optional headers to include in the request.\n * @param options.aptosConfig.faucetConfig - The configuration settings specific to the faucet.\n * @param options.overrides - Additional overrides for the request configuration.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosFaucet<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n // Faucet does not support API_KEY\n // Create a new object with the desired modification\n const modifiedAptosConfig = {\n ...aptosConfig,\n clientConfig: { ...aptosConfig.clientConfig },\n };\n // Delete API_KEY config\n delete modifiedAptosConfig?.clientConfig?.API_KEY;\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.FAUCET,\n overrides: {\n ...modifiedAptosConfig.clientConfig,\n ...modifiedAptosConfig.faucetConfig,\n ...options.overrides,\n HEADERS: { ...modifiedAptosConfig.clientConfig?.HEADERS, ...modifiedAptosConfig.faucetConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Makes a post request to the pepper service.\n *\n * @param options - The options for the request.\n * @param options.url - The URL to which the request is sent.\n * @param options.headers - The headers to include in the request.\n * @param options.body - The body of the request.\n * @returns A promise that resolves to the response from the pepper service.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosPepperService<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return post<Req, Res>({ ...options, type: AptosApiType.PEPPER });\n}\n\n/**\n * Sends a request to the Aptos proving service with the specified options.\n *\n * @param options - The options for the request to the Aptos proving service.\n * @param options.type - The type of the request, which should be set to AptosApiType.PROVER.\n * @param options.data - The data to be included in the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosProvingService<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return post<Req, Res>({ ...options, type: AptosApiType.PROVER });\n}\n"],"mappings":";;;;;;AA8FA,eAAsB,KACpB,SACkC;AAClC,QAAM,EAAE,MAAM,cAAc,MAAM,MAAM,YAAY,aAAa,QAAQ,aAAa,UAAU,IAAI;AACpG,QAAM,MAAM,YAAY,cAAc,IAAI;AAE1C,SAAO;AAAA,IACL;AAAA,MACE;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV;AACF;AAoBA,eAAsB,WAA2B,SAAkE;AACjH,QAAM,EAAE,MAAM,cAAc,MAAM,MAAM,YAAY,aAAa,QAAQ,aAAa,UAAU,IAAI;AACpG,QAAM,MAAM,YAAY,cAAc,IAAI;AAE1C,SAAO;AAAA,IACL;AAAA,MACE;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV;AACF;AAcA,eAAsB,kBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AAExB,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,gBAAgB,QAAQ;AAAA,IAC1F;AAAA,EACF,CAAC;AACH;AAeA,eAAsB,wBACpB,SACqC;AACrC,QAAM,EAAE,YAAY,IAAI;AAExB,SAAO,WAAgB;AAAA,IACrB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,gBAAgB,QAAQ;AAAA,IAC1F;AAAA,EACF,CAAC;AACH;AAeA,eAAsB,iBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AACxB,UAAQ,IAAI,WAAW,KAAK,UAAU,QAAQ,MAAM,MAAM,CAAC,CAAC;AAE5D,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,eAAe,QAAQ;AAAA,IACzF;AAAA,EACF,CAAC;AACH;AAkBA,eAAsB,gBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AAGxB,QAAM,sBAAsB;AAAA,IAC1B,GAAG;AAAA,IACH,cAAc,EAAE,GAAG,YAAY,aAAa;AAAA,EAC9C;AAEA,SAAO,qBAAqB,cAAc;AAE1C,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,oBAAoB;AAAA,MACvB,GAAG,oBAAoB;AAAA,MACvB,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,oBAAoB,cAAc,SAAS,GAAG,oBAAoB,cAAc,QAAQ;AAAA,IACxG;AAAA,EACF,CAAC;AACH;AAaA,eAAsB,uBACpB,SACkC;AAClC,SAAO,KAAe,EAAE,GAAG,SAAS,4BAA0B,CAAC;AACjE;AAWA,eAAsB,wBACpB,SACkC;AAClC,SAAO,KAAe,EAAE,GAAG,SAAS,4BAA0B,CAAC;AACjE;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/client/post.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { aptosBinaryRequest, aptosRequest } from \"./core\";\nimport { AptosResponse, AnyNumber, ClientConfig, MimeType } from \"../types\";\nimport { AptosApiType } from \"../utils/const\";\n\n/**\n * Options for making a POST request, including the API client configuration.\n * @group Implementation\n * @category Client\n */\nexport type PostRequestOptions = {\n /**\n * The config for the API client\n * @group Implementation\n * @category Client\n */\n aptosConfig: AptosConfig;\n /**\n * The type of API endpoint to call e.g. fullnode, indexer, etc\n * @group Implementation\n * @category Client\n */\n type: AptosApiType;\n /**\n * The name of the API method\n * @group Implementation\n * @category Client\n */\n originMethod: string;\n /**\n * The URL path to the API method\n * @group Implementation\n * @category Client\n */\n path: string;\n /**\n * The content type of the request body\n * @group Implementation\n * @category Client\n */\n contentType?: MimeType;\n /**\n * The accepted content type of the response of the API\n * @group Implementation\n * @category Client\n */\n acceptType?: MimeType;\n /**\n * The query parameters for the request\n * @group Implementation\n * @category Client\n */\n params?: Record<string, string | AnyNumber | boolean | undefined>;\n /**\n * The body of the request, should match the content type of the request\n * @group Implementation\n * @category Client\n */\n body?: any;\n /**\n * Specific client overrides for this request to override aptosConfig\n * @group Implementation\n * @category Client\n */\n overrides?: ClientConfig;\n};\n\n/**\n * Options for posting a request to Aptos, excluding the type field.\n * @group Implementation\n * @category Client\n */\nexport type PostAptosRequestOptions = Omit<PostRequestOptions, \"type\">;\n\n/**\n * Executes a POST request to the specified URL with the provided options.\n *\n * @param options - The options for the POST request.\n * @param options.type - The type of the request.\n * @param options.originMethod - The original method that initiated the request.\n * @param options.path - The path for the request.\n * @param options.body - The body content to be sent with the request.\n * @param options.acceptType - The type of response expected from the server.\n * @param options.contentType - The content type of the request body.\n * @param options.params - Additional parameters to include in the request.\n * @param options.aptosConfig - Configuration settings for the Aptos request.\n * @param options.overrides - Any overrides for the default request behavior.\n * @returns The response from the POST request.\n * @group Implementation\n * @category Client\n */\nexport async function post<Req extends {}, Res extends {}>(\n options: PostRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { type, originMethod, path, body, acceptType, contentType, params, aptosConfig, overrides } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosRequest<Req, Res>(\n {\n url,\n method: \"POST\",\n originMethod,\n path,\n body,\n contentType,\n acceptType,\n params,\n overrides,\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Executes a POST request to the specified URL with the provided options.\n *\n * @param options - The options for the POST request.\n * @param options.type - The type of the request.\n * @param options.originMethod - The original method that initiated the request.\n * @param options.path - The path for the request.\n * @param options.body - The body content to be sent with the request.\n * @param options.acceptType - The type of response expected from the server.\n * @param options.contentType - The content type of the request body.\n * @param options.params - Additional parameters to include in the request.\n * @param options.aptosConfig - Configuration settings for the Aptos request.\n * @param options.overrides - Any overrides for the default request behavior.\n * @returns The response from the POST request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function postBinary<Req extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Buffer>> {\n const { type, originMethod, path, body, acceptType, contentType, params, aptosConfig, overrides } = options;\n const url = aptosConfig.getRequestUrl(type);\n\n return aptosBinaryRequest<Req>(\n {\n url,\n method: \"POST\",\n originMethod,\n path,\n body,\n contentType,\n acceptType,\n params,\n overrides,\n },\n aptosConfig,\n options.type,\n );\n}\n\n/**\n * Sends a request to the Aptos full node using the specified options.\n * This function allows you to interact with the Aptos blockchain by sending requests to the full node.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - Configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - Client-specific configuration settings.\n * @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosFullNode<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos full node using the specified options.\n * This function allows you to interact with the Aptos blockchain by sending requests to the full node.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - Configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - Client-specific configuration settings.\n * @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @group Implementation\n * @category Client\n * @experimental\n */\nexport async function postBinaryAptosFullNode<Req extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Buffer>> {\n const { aptosConfig } = options;\n\n return postBinary<Req>({\n ...options,\n type: AptosApiType.FULLNODE,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.fullnodeConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.fullnodeConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos indexer with the specified options.\n * This function allows you to interact with the Aptos indexer and customize the request using various configurations.\n *\n * @param options - The options for the request to the Aptos indexer.\n * @param options.aptosConfig - Configuration settings specific to the Aptos client and indexer.\n * @param options.aptosConfig.clientConfig - The client configuration settings.\n * @param options.aptosConfig.indexerConfig - The indexer configuration settings.\n * @param options.overrides - Additional overrides for the request.\n * @param options.overrides.HEADERS - Custom headers to include in the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosIndexer<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.INDEXER,\n overrides: {\n ...aptosConfig.clientConfig,\n ...aptosConfig.indexerConfig,\n ...options.overrides,\n HEADERS: { ...aptosConfig.clientConfig?.HEADERS, ...aptosConfig.indexerConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Sends a request to the Aptos faucet to obtain test tokens.\n * This function modifies the provided configuration to ensure that the API_KEY is not included in the request.\n *\n * Note that only devnet has a publicly accessible faucet. For testnet, you must use\n * the minting page at https://aptos.dev/network/faucet.\n *\n * @param options - The options for the request.\n * @param options.aptosConfig - The configuration settings for the Aptos client.\n * @param options.aptosConfig.clientConfig - The client-specific configuration settings.\n * @param options.aptosConfig.clientConfig.HEADERS - Optional headers to include in the request.\n * @param options.aptosConfig.faucetConfig - The configuration settings specific to the faucet.\n * @param options.overrides - Additional overrides for the request configuration.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosFaucet<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n const { aptosConfig } = options;\n // Faucet does not support API_KEY\n // Create a new object with the desired modification\n const modifiedAptosConfig = {\n ...aptosConfig,\n clientConfig: { ...aptosConfig.clientConfig },\n };\n // Delete API_KEY config\n delete modifiedAptosConfig?.clientConfig?.API_KEY;\n\n return post<Req, Res>({\n ...options,\n type: AptosApiType.FAUCET,\n overrides: {\n ...modifiedAptosConfig.clientConfig,\n ...modifiedAptosConfig.faucetConfig,\n ...options.overrides,\n HEADERS: { ...modifiedAptosConfig.clientConfig?.HEADERS, ...modifiedAptosConfig.faucetConfig?.HEADERS },\n },\n });\n}\n\n/**\n * Makes a post request to the pepper service.\n *\n * @param options - The options for the request.\n * @param options.url - The URL to which the request is sent.\n * @param options.headers - The headers to include in the request.\n * @param options.body - The body of the request.\n * @returns A promise that resolves to the response from the pepper service.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosPepperService<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return post<Req, Res>({ ...options, type: AptosApiType.PEPPER });\n}\n\n/**\n * Sends a request to the Aptos proving service with the specified options.\n *\n * @param options - The options for the request to the Aptos proving service.\n * @param options.type - The type of the request, which should be set to AptosApiType.PROVER.\n * @param options.data - The data to be included in the request.\n * @group Implementation\n * @category Client\n */\nexport async function postAptosProvingService<Req extends {}, Res extends {}>(\n options: PostAptosRequestOptions,\n): Promise<AptosResponse<Req, Res>> {\n return post<Req, Res>({ ...options, type: AptosApiType.PROVER });\n}\n"],"mappings":";;;;;;AA8FA,eAAsB,KACpB,SACkC;AAClC,QAAM,EAAE,MAAM,cAAc,MAAM,MAAM,YAAY,aAAa,QAAQ,aAAa,UAAU,IAAI;AACpG,QAAM,MAAM,YAAY,cAAc,IAAI;AAE1C,SAAO;AAAA,IACL;AAAA,MACE;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV;AACF;AAoBA,eAAsB,WAA2B,SAAkE;AACjH,QAAM,EAAE,MAAM,cAAc,MAAM,MAAM,YAAY,aAAa,QAAQ,aAAa,UAAU,IAAI;AACpG,QAAM,MAAM,YAAY,cAAc,IAAI;AAE1C,SAAO;AAAA,IACL;AAAA,MACE;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV;AACF;AAcA,eAAsB,kBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AAExB,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,gBAAgB,QAAQ;AAAA,IAC1F;AAAA,EACF,CAAC;AACH;AAeA,eAAsB,wBACpB,SACqC;AACrC,QAAM,EAAE,YAAY,IAAI;AAExB,SAAO,WAAgB;AAAA,IACrB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,gBAAgB,QAAQ;AAAA,IAC1F;AAAA,EACF,CAAC;AACH;AAeA,eAAsB,iBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AAExB,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,YAAY;AAAA,MACf,GAAG,YAAY;AAAA,MACf,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,YAAY,cAAc,SAAS,GAAG,YAAY,eAAe,QAAQ;AAAA,IACzF;AAAA,EACF,CAAC;AACH;AAkBA,eAAsB,gBACpB,SACkC;AAClC,QAAM,EAAE,YAAY,IAAI;AAGxB,QAAM,sBAAsB;AAAA,IAC1B,GAAG;AAAA,IACH,cAAc,EAAE,GAAG,YAAY,aAAa;AAAA,EAC9C;AAEA,SAAO,qBAAqB,cAAc;AAE1C,SAAO,KAAe;AAAA,IACpB,GAAG;AAAA,IACH;AAAA,IACA,WAAW;AAAA,MACT,GAAG,oBAAoB;AAAA,MACvB,GAAG,oBAAoB;AAAA,MACvB,GAAG,QAAQ;AAAA,MACX,SAAS,EAAE,GAAG,oBAAoB,cAAc,SAAS,GAAG,oBAAoB,cAAc,QAAQ;AAAA,IACxG;AAAA,EACF,CAAC;AACH;AAaA,eAAsB,uBACpB,SACkC;AAClC,SAAO,KAAe,EAAE,GAAG,SAAS,4BAA0B,CAAC;AACjE;AAWA,eAAsB,wBACpB,SACkC;AAClC,SAAO,KAAe,EAAE,GAAG,SAAS,4BAA0B,CAAC;AACjE;","names":[]}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
convertCallArgument,
|
|
3
3
|
fetchMoveFunctionAbi,
|
|
4
4
|
standardizeTypeTags
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OOQS6BEP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
getFunctionParts
|
|
8
8
|
} from "./chunk-RQS33JAS.mjs";
|
|
@@ -67,4 +67,4 @@ var AptosScriptComposer = class _AptosScriptComposer {
|
|
|
67
67
|
export {
|
|
68
68
|
AptosScriptComposer
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-7J37IHNP.mjs.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FederatedKeylessAccount
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IARAGRKO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
KeylessAccount
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MD4TZ4HA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
MultiKeyAccount
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IORAMQ2Y.mjs";
|
|
10
10
|
import {
|
|
11
11
|
deserializeSchemeAndAddress
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-56UCIGTO.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SingleKeyAccount,
|
|
15
15
|
isSingleKeySigner
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XHQMSKZP.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Ed25519Account
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RTNVJKNX.mjs";
|
|
20
20
|
import {
|
|
21
21
|
EphemeralKeyPair
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TQLOZKH4.mjs";
|
|
23
23
|
import {
|
|
24
24
|
MultiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NFBLI3BS.mjs";
|
|
26
26
|
import {
|
|
27
27
|
Secp256k1PrivateKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CPZPXG7O.mjs";
|
|
29
29
|
import {
|
|
30
30
|
ZeroKnowledgeSig,
|
|
31
31
|
getIssAudAndUidVal
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZZWD23YW.mjs";
|
|
33
33
|
import {
|
|
34
34
|
Ed25519PrivateKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HRUI6AWF.mjs";
|
|
36
36
|
import {
|
|
37
37
|
AccountAddress
|
|
38
38
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -236,4 +236,4 @@ var AccountUtils;
|
|
|
236
236
|
export {
|
|
237
237
|
AccountUtils
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chunk-
|
|
239
|
+
//# sourceMappingURL=chunk-AEMQUDMU.mjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiEd25519PublicKey,
|
|
3
3
|
MultiEd25519Signature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F65QGYVD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
MultiKey,
|
|
7
7
|
MultiKeySignature
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NFBLI3BS.mjs";
|
|
9
9
|
import {
|
|
10
10
|
AnyPublicKey,
|
|
11
11
|
AnySignature
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RGHKUKOX.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Ed25519PublicKey,
|
|
15
15
|
Ed25519Signature
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HRUI6AWF.mjs";
|
|
17
17
|
import {
|
|
18
18
|
getFunctionParts,
|
|
19
19
|
isValidFunctionInfo
|
|
@@ -247,4 +247,4 @@ export {
|
|
|
247
247
|
AccountAuthenticatorNoAccountAuthenticator,
|
|
248
248
|
AccountAuthenticatorAbstraction
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-BADWWRLN.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
viewBinary
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3T7G4OUL.mjs";
|
|
4
4
|
|
|
5
5
|
// src/api/experimental.ts
|
|
6
6
|
var Experimental = class {
|
|
@@ -47,4 +47,4 @@ var Experimental = class {
|
|
|
47
47
|
export {
|
|
48
48
|
Experimental
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-BVBIBMAE.mjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Simulate
|
|
3
|
-
} from "./chunk-KAKSJSCR.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Submit
|
|
6
|
-
} from "./chunk-2ZOIVB2U.mjs";
|
|
7
1
|
import {
|
|
8
2
|
Build
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2SIDNRJH.mjs";
|
|
10
4
|
import {
|
|
11
5
|
TransactionManagement
|
|
12
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3E2SXJXZ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Simulate
|
|
9
|
+
} from "./chunk-UKYATVYK.mjs";
|
|
10
|
+
import {
|
|
11
|
+
Submit
|
|
12
|
+
} from "./chunk-ZAPXD4FC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
getSigningMessage,
|
|
15
15
|
publicPackageTransaction,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
signAndSubmitTransaction,
|
|
21
21
|
signAsFeePayer,
|
|
22
22
|
signTransaction
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-D3IWXA33.mjs";
|
|
24
24
|
import {
|
|
25
25
|
getGasPriceEstimation,
|
|
26
26
|
getTransactionByHash,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getTransactions,
|
|
29
29
|
isTransactionPending,
|
|
30
30
|
waitForTransaction
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GUEJH55K.mjs";
|
|
32
32
|
|
|
33
33
|
// src/api/transaction.ts
|
|
34
34
|
var Transaction = class {
|
|
@@ -601,4 +601,4 @@ var Transaction = class {
|
|
|
601
601
|
export {
|
|
602
602
|
Transaction
|
|
603
603
|
};
|
|
604
|
-
//# sourceMappingURL=chunk-
|
|
604
|
+
//# sourceMappingURL=chunk-CDJNQ7CS.mjs.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PrivateKey
|
|
3
|
+
} from "./chunk-YU65LNIC.mjs";
|
|
1
4
|
import {
|
|
2
5
|
convertSigningMessage
|
|
3
6
|
} from "./chunk-THWEBWUC.mjs";
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
isValidBIP44Path,
|
|
6
9
|
mnemonicToSeed
|
|
7
10
|
} from "./chunk-F7W7KS5C.mjs";
|
|
8
|
-
import {
|
|
9
|
-
PrivateKey
|
|
10
|
-
} from "./chunk-YU65LNIC.mjs";
|
|
11
11
|
import {
|
|
12
12
|
PublicKey
|
|
13
13
|
} from "./chunk-R4JTQQBX.mjs";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
Secp256k1PrivateKey,
|
|
353
353
|
Secp256k1Signature
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-CPZPXG7O.mjs.map
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
generateSignedTransaction,
|
|
4
4
|
generateSignedTransactionForSimulation,
|
|
5
5
|
generateTransactionPayload
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MC4OOX6X.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YGFWUFZY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
waitForTransaction
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GUEJH55K.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Account
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S5JIXUS6.mjs";
|
|
16
16
|
import {
|
|
17
17
|
AbstractKeylessAccount,
|
|
18
18
|
isKeylessSigner
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SW4ASQPY.mjs";
|
|
20
20
|
import {
|
|
21
21
|
generateSigningMessageForTransaction
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-F4VI7BNX.mjs";
|
|
23
23
|
import {
|
|
24
24
|
RotationProofChallenge
|
|
25
25
|
} from "./chunk-QJ6CGH7N.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SignedTransaction
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F2EFNUWD.mjs";
|
|
29
29
|
import {
|
|
30
30
|
TypeTagAddress,
|
|
31
31
|
TypeTagU64,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
} from "./chunk-DDZGHA66.mjs";
|
|
35
35
|
import {
|
|
36
36
|
FederatedKeylessPublicKey
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YD3KHXBD.mjs";
|
|
38
38
|
import {
|
|
39
39
|
KeylessPublicKey
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ZZWD23YW.mjs";
|
|
41
41
|
import {
|
|
42
42
|
postAptosFullNode
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6T3V5LXK.mjs";
|
|
44
44
|
import {
|
|
45
45
|
AccountAddress
|
|
46
46
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
rotateAuthKeyToMultiEd25519,
|
|
413
413
|
rotateAuthKeyWithVerificationTransaction
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
415
|
+
//# sourceMappingURL=chunk-D3IWXA33.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RawTransaction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XX6C2QGI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AccountAddress
|
|
6
6
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -63,4 +63,4 @@ var SimpleTransaction = class _SimpleTransaction extends Serializable {
|
|
|
63
63
|
export {
|
|
64
64
|
SimpleTransaction
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-EBFKT35C.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateViewFunctionPayload
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MC4OOX6X.mjs";
|
|
4
4
|
import {
|
|
5
5
|
postAptosFullNode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6T3V5LXK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Serializer
|
|
9
9
|
} from "./chunk-C7T6GW5P.mjs";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
view,
|
|
49
49
|
viewJson
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-ESGBNVCA.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RawTransaction
|
|
3
|
-
} from "./chunk-KPAICS4T.mjs";
|
|
4
1
|
import {
|
|
5
2
|
TransactionAuthenticator
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HTC3Q5JN.mjs";
|
|
4
|
+
import {
|
|
5
|
+
RawTransaction
|
|
6
|
+
} from "./chunk-XX6C2QGI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Serializable
|
|
9
9
|
} from "./chunk-C7T6GW5P.mjs";
|
|
@@ -58,4 +58,4 @@ var SignedTransaction = class _SignedTransaction extends Serializable {
|
|
|
58
58
|
export {
|
|
59
59
|
SignedTransaction
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-F2EFNUWD.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FeePayerRawTransaction,
|
|
3
3
|
MultiAgentRawTransaction
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XX6C2QGI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RAW_TRANSACTION_SALT,
|
|
7
7
|
RAW_TRANSACTION_WITH_DATA_SALT
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
generateSigningMessageForSerializable,
|
|
56
56
|
generateSigningMessageForTransaction
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-F4VI7BNX.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbstractMultiKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NFBLI3BS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Ed25519PublicKey,
|
|
6
6
|
Ed25519Signature
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HRUI6AWF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Signature
|
|
10
10
|
} from "./chunk-KLUO6XPE.mjs";
|
|
@@ -302,4 +302,4 @@ export {
|
|
|
302
302
|
MultiEd25519PublicKey,
|
|
303
303
|
MultiEd25519Signature
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=chunk-
|
|
305
|
+
//# sourceMappingURL=chunk-F65QGYVD.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getIndexerLastSuccessVersion,
|
|
3
3
|
getProcessorStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IKEPH7D2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
memoizeAsync
|
|
7
7
|
} from "./chunk-BEYIOC2H.mjs";
|
|
@@ -278,4 +278,4 @@ export {
|
|
|
278
278
|
getBlockByVersion,
|
|
279
279
|
getBlockByHeight
|
|
280
280
|
};
|
|
281
|
-
//# sourceMappingURL=chunk-
|
|
281
|
+
//# sourceMappingURL=chunk-GUEJH55K.mjs.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PrivateKey
|
|
3
|
+
} from "./chunk-YU65LNIC.mjs";
|
|
1
4
|
import {
|
|
2
5
|
convertSigningMessage
|
|
3
6
|
} from "./chunk-THWEBWUC.mjs";
|
|
@@ -9,9 +12,6 @@ import {
|
|
|
9
12
|
mnemonicToSeed,
|
|
10
13
|
splitPath
|
|
11
14
|
} from "./chunk-F7W7KS5C.mjs";
|
|
12
|
-
import {
|
|
13
|
-
PrivateKey
|
|
14
|
-
} from "./chunk-YU65LNIC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
AccountPublicKey
|
|
17
17
|
} from "./chunk-R4JTQQBX.mjs";
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
Ed25519PrivateKey,
|
|
413
413
|
Ed25519Signature
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
415
|
+
//# sourceMappingURL=chunk-HRUI6AWF.mjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccountAuthenticator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BADWWRLN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
MultiEd25519PublicKey,
|
|
6
6
|
MultiEd25519Signature
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F65QGYVD.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Ed25519PublicKey,
|
|
10
10
|
Ed25519Signature
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HRUI6AWF.mjs";
|
|
12
12
|
import {
|
|
13
13
|
AccountAddress
|
|
14
14
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -185,4 +185,4 @@ export {
|
|
|
185
185
|
TransactionAuthenticatorFeePayer,
|
|
186
186
|
TransactionAuthenticatorSingleSender
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-HTC3Q5JN.mjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbstractKeylessAccount
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SW4ASQPY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FederatedKeylessPublicKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YD3KHXBD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getIssAudAndUidVal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZZWD23YW.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AccountAddress
|
|
12
12
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -127,4 +127,4 @@ var FederatedKeylessAccount = class _FederatedKeylessAccount extends AbstractKey
|
|
|
127
127
|
export {
|
|
128
128
|
FederatedKeylessAccount
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-IARAGRKO.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
waitForTransaction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUEJH55K.mjs";
|
|
4
4
|
import {
|
|
5
5
|
postAptosFaucet
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6T3V5LXK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AccountAddress
|
|
9
9
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -42,4 +42,4 @@ async function fundAccount(args) {
|
|
|
42
42
|
export {
|
|
43
43
|
fundAccount
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-IEM26R5Q.mjs.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
GetChainTopUserTransactions,
|
|
3
3
|
GetProcessorStatus
|
|
4
4
|
} from "./chunk-EPTUAWRA.mjs";
|
|
5
|
-
import {
|
|
6
|
-
postAptosIndexer
|
|
7
|
-
} from "./chunk-LL4RQKIB.mjs";
|
|
8
5
|
import {
|
|
9
6
|
getAptosFullNode
|
|
10
7
|
} from "./chunk-XQFUKBY7.mjs";
|
|
8
|
+
import {
|
|
9
|
+
postAptosIndexer
|
|
10
|
+
} from "./chunk-6T3V5LXK.mjs";
|
|
11
11
|
|
|
12
12
|
// src/internal/general.ts
|
|
13
13
|
async function getLedgerInfo(args) {
|
|
@@ -86,4 +86,4 @@ export {
|
|
|
86
86
|
getIndexerLastSuccessVersion,
|
|
87
87
|
getProcessorStatus
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=chunk-
|
|
89
|
+
//# sourceMappingURL=chunk-IKEPH7D2.mjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbstractKeylessAccount
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SW4ASQPY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SingleKeyAccount
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XHQMSKZP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Ed25519Account
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RTNVJKNX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AccountAuthenticatorMultiKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BADWWRLN.mjs";
|
|
13
13
|
import {
|
|
14
14
|
MultiKey,
|
|
15
15
|
MultiKeySignature
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NFBLI3BS.mjs";
|
|
17
17
|
import {
|
|
18
18
|
AccountAddress
|
|
19
19
|
} from "./chunk-CXLXUSCG.mjs";
|
|
@@ -204,4 +204,4 @@ var MultiKeyAccount = class _MultiKeyAccount {
|
|
|
204
204
|
export {
|
|
205
205
|
MultiKeyAccount
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-IORAMQ2Y.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
waitForIndexer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUEJH55K.mjs";
|
|
4
4
|
|
|
5
5
|
// src/api/utils.ts
|
|
6
6
|
async function waitForIndexerOnVersion(args) {
|
|
@@ -16,4 +16,4 @@ async function waitForIndexerOnVersion(args) {
|
|
|
16
16
|
export {
|
|
17
17
|
waitForIndexerOnVersion
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
19
|
+
//# sourceMappingURL=chunk-IY2ASLSP.mjs.map
|