@aptos-labs/ts-sdk 0.0.5 → 0.0.6
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 +3 -3
- package/dist/browser/index.d.ts +340 -288
- package/dist/browser/index.global.js +54 -30
- package/dist/browser/index.global.js.map +1 -1
- package/dist/common/index.d.ts +340 -288
- package/dist/common/index.js +24 -24
- package/dist/common/index.js.map +1 -1
- package/dist/esm/api/{account.d.ts → account.d.mts} +17 -17
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/{ans.d.ts → ans.d.mts} +33 -33
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +72 -0
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/{aptosConfig.d.ts → aptosConfig.d.mts} +6 -6
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +59 -0
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/{digitalAsset.d.ts → digitalAsset.d.mts} +33 -33
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/{event.d.ts → event.d.mts} +14 -14
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/{faucet.d.ts → faucet.d.mts} +13 -13
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/{fungibleAsset.d.ts → fungibleAsset.d.mts} +7 -7
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/{general.d.ts → general.d.mts} +11 -11
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +46 -0
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/{staking.d.ts → staking.d.mts} +13 -13
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/{transaction.d.ts → transaction.d.mts} +7 -7
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/{transactionSubmission.d.ts → transactionSubmission.d.mts} +33 -33
- package/dist/esm/api/transactionSubmission.mjs +1 -1
- package/dist/esm/bcs/{consts.d.ts → consts.d.mts} +5 -5
- package/dist/esm/bcs/consts.mjs +1 -1
- package/dist/esm/bcs/{deserializer.d.ts → deserializer.d.mts} +5 -5
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +14 -0
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/{entryFunctionBytes.d.ts → entryFunctionBytes.d.mts} +11 -11
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/{fixedBytes.d.ts → fixedBytes.d.mts} +10 -10
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/{movePrimitives.d.ts → movePrimitives.d.mts} +10 -10
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/{moveStructs.d.ts → moveStructs.d.mts} +11 -11
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/{serializer.d.ts → serializer.d.mts} +7 -7
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-WVMDCC4V.mjs → chunk-2W744GUN.mjs} +2 -2
- package/dist/esm/{chunk-WVMDCC4V.mjs.map → chunk-2W744GUN.mjs.map} +1 -1
- package/dist/esm/chunk-3JVGSFHP.mjs +2 -0
- package/dist/esm/chunk-3JVGSFHP.mjs.map +1 -0
- package/dist/esm/chunk-44MGBJ73.mjs +2 -0
- package/dist/esm/{chunk-CZZJAR3B.mjs.map → chunk-44MGBJ73.mjs.map} +1 -1
- package/dist/esm/chunk-4ADA5BE7.mjs +2 -0
- package/dist/esm/{chunk-7AQXAH6Q.mjs.map → chunk-4ADA5BE7.mjs.map} +1 -1
- package/dist/esm/{chunk-KYWYIK5P.mjs → chunk-4RVIA63I.mjs} +2 -2
- package/dist/esm/chunk-4RVIA63I.mjs.map +1 -0
- package/dist/esm/chunk-62SCW5NH.mjs +2 -0
- package/dist/esm/{chunk-YS2OX7AB.mjs.map → chunk-62SCW5NH.mjs.map} +1 -1
- package/dist/esm/{chunk-MIBLZSNS.mjs → chunk-7MNEEVXY.mjs} +2 -2
- package/dist/esm/chunk-7MNEEVXY.mjs.map +1 -0
- package/dist/esm/{chunk-KPESAXVI.mjs → chunk-AAIBCWZY.mjs} +2 -2
- package/dist/esm/{chunk-N6XWY4UT.mjs → chunk-ARVSIDVB.mjs} +1 -1
- package/dist/esm/{chunk-N6XWY4UT.mjs.map → chunk-ARVSIDVB.mjs.map} +1 -1
- package/dist/esm/{chunk-IXMH6AXJ.mjs → chunk-BFSEVKNA.mjs} +2 -2
- package/dist/esm/chunk-BP5ZO7NK.mjs +2 -0
- package/dist/esm/{chunk-FHJ7F7Z6.mjs.map → chunk-BP5ZO7NK.mjs.map} +1 -1
- package/dist/esm/chunk-BPYLPPEQ.mjs +2 -0
- package/dist/esm/{chunk-V6AAQLLJ.mjs.map → chunk-BPYLPPEQ.mjs.map} +1 -1
- package/dist/esm/{chunk-3OJN4I42.mjs → chunk-BV4OOU5Y.mjs} +2 -2
- package/dist/esm/{chunk-3OJN4I42.mjs.map → chunk-BV4OOU5Y.mjs.map} +1 -1
- package/dist/esm/{chunk-VAGYTPSI.mjs → chunk-BWMNPUTK.mjs} +2 -2
- package/dist/esm/chunk-CYDWEPFL.mjs +1 -0
- package/dist/esm/chunk-EFIYW4WK.mjs +2 -0
- package/dist/esm/{chunk-2MQZUGO6.mjs → chunk-EGOYLZBU.mjs} +2 -2
- package/dist/esm/chunk-EGOYLZBU.mjs.map +1 -0
- package/dist/esm/chunk-EQ5BEDJ7.mjs +2 -0
- package/dist/esm/{chunk-ADR4XQPR.mjs.map → chunk-EQ5BEDJ7.mjs.map} +1 -1
- package/dist/esm/chunk-EWTHPMEE.mjs +2 -0
- package/dist/esm/{chunk-LAXIJRYU.mjs.map → chunk-EWTHPMEE.mjs.map} +1 -1
- package/dist/esm/chunk-EYXHVA6W.mjs +2 -0
- package/dist/esm/chunk-EYXHVA6W.mjs.map +1 -0
- package/dist/esm/chunk-GEFQFRL3.mjs +2 -0
- package/dist/esm/chunk-GEFQFRL3.mjs.map +1 -0
- package/dist/esm/{chunk-BC2NOUYT.mjs → chunk-GTC7WHMV.mjs} +2 -2
- package/dist/esm/{chunk-BC2NOUYT.mjs.map → chunk-GTC7WHMV.mjs.map} +1 -1
- package/dist/esm/{chunk-27P7PELS.mjs → chunk-HA6JD5R6.mjs} +2 -2
- package/dist/esm/{chunk-27P7PELS.mjs.map → chunk-HA6JD5R6.mjs.map} +1 -1
- package/dist/esm/chunk-HVADSXTB.mjs +2 -0
- package/dist/esm/{chunk-LU6VS7PJ.mjs.map → chunk-HVADSXTB.mjs.map} +1 -1
- package/dist/esm/{chunk-Z56AKXJ7.mjs → chunk-IG5CHHSI.mjs} +2 -2
- package/dist/esm/chunk-IXMB2GOK.mjs +2 -0
- package/dist/esm/chunk-IXMB2GOK.mjs.map +1 -0
- package/dist/esm/{chunk-TYHBYRUA.mjs → chunk-J5ZFOJN2.mjs} +2 -2
- package/dist/esm/chunk-J5ZFOJN2.mjs.map +1 -0
- package/dist/esm/chunk-JDS7K2WI.mjs +2 -0
- package/dist/esm/{chunk-KNLMUSIO.mjs.map → chunk-JDS7K2WI.mjs.map} +1 -1
- package/dist/esm/chunk-JZNLZMUC.mjs +2 -0
- package/dist/esm/{chunk-WGXAIQ7K.mjs.map → chunk-JZNLZMUC.mjs.map} +1 -1
- package/dist/esm/chunk-KQXRH5FK.mjs +2 -0
- package/dist/esm/{chunk-UQIOMAXE.mjs.map → chunk-KQXRH5FK.mjs.map} +1 -1
- package/dist/esm/{chunk-2B5QXKPU.mjs → chunk-NGCFPQ22.mjs} +2 -2
- package/dist/esm/chunk-NGCFPQ22.mjs.map +1 -0
- package/dist/esm/chunk-NTD3H2S4.mjs +2 -0
- package/dist/esm/chunk-NTD3H2S4.mjs.map +1 -0
- package/dist/esm/{chunk-KFP7MDSD.mjs → chunk-NYFVEKF6.mjs} +2 -2
- package/dist/esm/chunk-NZIJV4O2.mjs +2 -0
- package/dist/esm/{chunk-HH5RSP2H.mjs.map → chunk-NZIJV4O2.mjs.map} +1 -1
- package/dist/esm/{chunk-TXUMB5ZO.mjs → chunk-P32MY5YF.mjs} +2 -2
- package/dist/esm/{chunk-TXUMB5ZO.mjs.map → chunk-P32MY5YF.mjs.map} +1 -1
- package/dist/esm/{chunk-DNYVUM3K.mjs → chunk-Q6N6QACD.mjs} +2 -2
- package/dist/esm/{chunk-DNYVUM3K.mjs.map → chunk-Q6N6QACD.mjs.map} +1 -1
- package/dist/esm/chunk-QWVR4RCV.mjs +2 -0
- package/dist/esm/{chunk-IPJKGHQY.mjs.map → chunk-QWVR4RCV.mjs.map} +1 -1
- package/dist/esm/chunk-R26XML3D.mjs +2 -0
- package/dist/esm/chunk-R26XML3D.mjs.map +1 -0
- package/dist/esm/chunk-R3KWVOFG.mjs +2 -0
- package/dist/esm/{chunk-KWJ6XKNF.mjs.map → chunk-R3KWVOFG.mjs.map} +1 -1
- package/dist/esm/chunk-RYETO74W.mjs +2 -0
- package/dist/esm/{chunk-BIUGRAMO.mjs.map → chunk-RYETO74W.mjs.map} +1 -1
- package/dist/esm/chunk-S36IYY6K.mjs +2 -0
- package/dist/esm/{chunk-DXUIJ6KA.mjs.map → chunk-S36IYY6K.mjs.map} +1 -1
- package/dist/esm/chunk-TIH6ARYP.mjs +2 -0
- package/dist/esm/{chunk-IZHPCZE3.mjs.map → chunk-TIH6ARYP.mjs.map} +1 -1
- package/dist/esm/{chunk-O243HOP3.mjs → chunk-TQD4IGUM.mjs} +2 -2
- package/dist/esm/chunk-TQD4IGUM.mjs.map +1 -0
- package/dist/esm/chunk-U25N2VWA.mjs +2 -0
- package/dist/esm/{chunk-FNB6CFQR.mjs.map → chunk-U25N2VWA.mjs.map} +1 -1
- package/dist/esm/chunk-U3LO2FSJ.mjs +2 -0
- package/dist/esm/{chunk-ZXJ5ZBTL.mjs.map → chunk-U3LO2FSJ.mjs.map} +1 -1
- package/dist/esm/chunk-U6SZNNVL.mjs +2 -0
- package/dist/esm/chunk-U6SZNNVL.mjs.map +1 -0
- package/dist/esm/{chunk-EKAOAGNQ.mjs → chunk-UAAI3NCA.mjs} +2 -2
- package/dist/esm/chunk-UNQNACJT.mjs +2 -0
- package/dist/esm/chunk-UPLWWSB4.mjs +2 -0
- package/dist/esm/{chunk-J3QOSJFP.mjs.map → chunk-UPLWWSB4.mjs.map} +1 -1
- package/dist/esm/{chunk-XFSL7O6Q.mjs → chunk-V45RFKH7.mjs} +2 -2
- package/dist/esm/chunk-V45RFKH7.mjs.map +1 -0
- package/dist/esm/{chunk-PJDVHU7X.mjs → chunk-VMQWW5UT.mjs} +2 -2
- package/dist/esm/{chunk-PJDVHU7X.mjs.map → chunk-VMQWW5UT.mjs.map} +1 -1
- package/dist/esm/chunk-VOYW2TZW.mjs +2 -0
- package/dist/esm/{chunk-KJDY66XF.mjs.map → chunk-VOYW2TZW.mjs.map} +1 -1
- package/dist/esm/chunk-VWVEDCBM.mjs +2 -0
- package/dist/esm/{chunk-BREUBEPM.mjs.map → chunk-VWVEDCBM.mjs.map} +1 -1
- package/dist/esm/{chunk-ZT2A5ABR.mjs → chunk-VYAVLUPJ.mjs} +2 -2
- package/dist/esm/{chunk-ZT2A5ABR.mjs.map → chunk-VYAVLUPJ.mjs.map} +1 -1
- package/dist/esm/{chunk-XFS5O5GJ.mjs → chunk-WKY5ENCK.mjs} +2 -2
- package/dist/esm/{chunk-XFS5O5GJ.mjs.map → chunk-WKY5ENCK.mjs.map} +1 -1
- package/dist/esm/{chunk-BTK34A5U.mjs → chunk-WX43AJTD.mjs} +10 -10
- package/dist/esm/chunk-WX43AJTD.mjs.map +1 -0
- package/dist/esm/chunk-X32O46IB.mjs +2 -0
- package/dist/esm/{chunk-PDLUCVJB.mjs.map → chunk-X32O46IB.mjs.map} +1 -1
- package/dist/esm/chunk-Y5DJPHJT.mjs +2 -0
- package/dist/esm/chunk-Y5DJPHJT.mjs.map +1 -0
- package/dist/esm/{chunk-GUT3G5CG.mjs → chunk-Y7VR7X5W.mjs} +2 -2
- package/dist/esm/chunk-Y7VR7X5W.mjs.map +1 -0
- package/dist/esm/chunk-YYRDFZE6.mjs +2 -0
- package/dist/esm/{chunk-UVGCVCNG.mjs.map → chunk-YYRDFZE6.mjs.map} +1 -1
- package/dist/esm/chunk-Z2UDRTHA.mjs +2 -0
- package/dist/esm/{chunk-JTGGMXB7.mjs.map → chunk-Z2UDRTHA.mjs.map} +1 -1
- package/dist/esm/{chunk-XNFEUXDS.mjs → chunk-ZWH2ESXT.mjs} +1 -1
- package/dist/esm/chunk-ZWH2ESXT.mjs.map +1 -0
- package/dist/esm/client/{core.d.ts → core.d.mts} +9 -9
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/{get.d.ts → get.d.mts} +12 -12
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +11 -0
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/{post.d.ts → post.d.mts} +14 -14
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/client/{types.d.ts → types.d.mts} +5 -5
- package/dist/esm/client/types.mjs +1 -1
- package/dist/esm/core/{account.d.ts → account.d.mts} +13 -13
- package/dist/esm/core/account.mjs +1 -1
- package/dist/esm/core/{accountAddress.d.ts → accountAddress.d.mts} +11 -11
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/{authenticationKey.d.ts → authenticationKey.d.mts} +12 -12
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/{common.d.ts → common.d.mts} +1 -1
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/{anyPublicKey.d.ts → anyPublicKey.d.mts} +11 -11
- package/dist/esm/core/crypto/anyPublicKey.mjs +1 -1
- package/dist/esm/core/crypto/{anySignature.d.ts → anySignature.d.mts} +10 -10
- package/dist/esm/core/crypto/anySignature.mjs +1 -1
- package/dist/esm/core/crypto/{asymmetricCrypto.d.ts → asymmetricCrypto.d.mts} +8 -8
- package/dist/esm/core/crypto/asymmetricCrypto.mjs +1 -1
- package/dist/esm/core/crypto/{ed25519.d.ts → ed25519.d.mts} +10 -10
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/{hdKey.d.ts → hdKey.d.mts} +1 -1
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +17 -0
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/{multiEd25519.d.ts → multiEd25519.d.mts} +11 -11
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/{multiKey.d.ts → multiKey.d.mts} +12 -12
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/{secp256k1.d.ts → secp256k1.d.mts} +10 -10
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/{hex.d.ts → hex.d.mts} +6 -6
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +21 -0
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/{index.d.ts → index.d.mts} +60 -60
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/{account.d.ts → account.d.mts} +17 -17
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/{ans.d.ts → ans.d.mts} +32 -32
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +43 -0
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/{digitalAsset.d.ts → digitalAsset.d.mts} +32 -32
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/{event.d.ts → event.d.mts} +14 -14
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +29 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/{fungibleAsset.d.ts → fungibleAsset.d.mts} +7 -7
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/{general.d.ts → general.d.mts} +11 -11
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/{staking.d.ts → staking.d.mts} +13 -13
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/{transaction.d.ts → transaction.d.mts} +7 -7
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/{transactionSubmission.d.ts → transactionSubmission.d.mts} +32 -32
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/transactions/authenticator/{account.d.ts → account.d.mts} +15 -15
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +19 -0
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/{transaction.d.ts → transaction.d.mts} +18 -18
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/{index.d.ts → index.d.mts} +39 -39
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +21 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/{identifier.d.ts → identifier.d.mts} +9 -9
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +29 -0
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/{moduleId.d.ts → moduleId.d.mts} +12 -12
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/{rawTransaction.d.ts → rawTransaction.d.mts} +16 -16
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/{rotationProofChallenge.d.ts → rotationProofChallenge.d.mts} +14 -14
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/{signedTransaction.d.ts → signedTransaction.d.mts} +25 -25
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/{transactionArgument.d.ts → transactionArgument.d.mts} +8 -8
- package/dist/esm/transactions/instances/{transactionPayload.d.ts → transactionPayload.d.mts} +14 -14
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/{helpers.d.ts → helpers.d.mts} +31 -31
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +35 -0
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +54 -0
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/{transactionBuilder.d.ts → transactionBuilder.d.mts} +33 -35
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/{index.d.ts → index.d.mts} +12 -12
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/{parser.d.ts → parser.d.mts} +14 -13
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/{types.d.ts → types.d.mts} +49 -60
- package/dist/esm/types/generated/{operations.d.ts → operations.d.mts} +78 -78
- package/dist/esm/types/generated/{queries.d.ts → queries.d.mts} +31 -31
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/generated/{types.d.ts → types.d.mts} +3184 -3146
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/{index.d.ts → index.d.mts} +94 -92
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +62 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +2 -0
- package/dist/esm/utils/index.mjs +2 -0
- package/dist/esm/utils/index.mjs.map +1 -0
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +30 -30
- package/src/api/account.ts +2 -2
- package/src/api/coin.ts +2 -2
- package/src/api/event.ts +2 -2
- package/src/api/general.ts +4 -4
- package/src/api/transactionSubmission.ts +7 -2
- package/src/client/core.ts +1 -1
- package/src/client/get.ts +6 -2
- package/src/client/post.ts +12 -4
- package/src/index.ts +1 -1
- package/src/internal/account.ts +2 -2
- package/src/internal/ans.ts +2 -2
- package/src/internal/coin.ts +2 -2
- package/src/internal/event.ts +2 -2
- package/src/internal/general.ts +7 -6
- package/src/internal/transactionSubmission.ts +41 -9
- package/src/transactions/transactionBuilder/helpers.ts +2 -2
- package/src/transactions/transactionBuilder/transactionBuilder.ts +15 -16
- package/src/transactions/typeTag/parser.ts +10 -2
- package/src/transactions/types.ts +3 -12
- package/src/types/generated/operations.ts +33 -33
- package/src/types/generated/queries.ts +22 -22
- package/src/types/generated/types.ts +2253 -2251
- package/src/types/index.ts +16 -10
- package/src/utils/index.ts +2 -0
- package/dist/esm/api/aptos.d.ts +0 -72
- package/dist/esm/api/coin.d.ts +0 -59
- package/dist/esm/api/index.d.ts +0 -46
- package/dist/esm/bcs/index.d.ts +0 -14
- package/dist/esm/chunk-2444YR3Y.mjs +0 -2
- package/dist/esm/chunk-2444YR3Y.mjs.map +0 -1
- package/dist/esm/chunk-2B5QXKPU.mjs.map +0 -1
- package/dist/esm/chunk-2MQZUGO6.mjs.map +0 -1
- package/dist/esm/chunk-3YOV42H5.mjs +0 -2
- package/dist/esm/chunk-3YOV42H5.mjs.map +0 -1
- package/dist/esm/chunk-7AIV5FEN.mjs +0 -2
- package/dist/esm/chunk-7AIV5FEN.mjs.map +0 -1
- package/dist/esm/chunk-7AQXAH6Q.mjs +0 -2
- package/dist/esm/chunk-7TL2MY2B.mjs +0 -2
- package/dist/esm/chunk-7TL2MY2B.mjs.map +0 -1
- package/dist/esm/chunk-ADR4XQPR.mjs +0 -2
- package/dist/esm/chunk-AY2HWVDO.mjs +0 -2
- package/dist/esm/chunk-AY2HWVDO.mjs.map +0 -1
- package/dist/esm/chunk-BIUGRAMO.mjs +0 -2
- package/dist/esm/chunk-BREUBEPM.mjs +0 -2
- package/dist/esm/chunk-BTK34A5U.mjs.map +0 -1
- package/dist/esm/chunk-CZZJAR3B.mjs +0 -2
- package/dist/esm/chunk-DXUIJ6KA.mjs +0 -2
- package/dist/esm/chunk-E72CFUU4.mjs +0 -2
- package/dist/esm/chunk-FHJ7F7Z6.mjs +0 -2
- package/dist/esm/chunk-FNB6CFQR.mjs +0 -2
- package/dist/esm/chunk-GUT3G5CG.mjs.map +0 -1
- package/dist/esm/chunk-HH5RSP2H.mjs +0 -2
- package/dist/esm/chunk-IPJKGHQY.mjs +0 -2
- package/dist/esm/chunk-IZHPCZE3.mjs +0 -2
- package/dist/esm/chunk-J3QOSJFP.mjs +0 -2
- package/dist/esm/chunk-J5OKXARS.mjs +0 -2
- package/dist/esm/chunk-J5OKXARS.mjs.map +0 -1
- package/dist/esm/chunk-JTGGMXB7.mjs +0 -2
- package/dist/esm/chunk-KJDY66XF.mjs +0 -2
- package/dist/esm/chunk-KNLMUSIO.mjs +0 -2
- package/dist/esm/chunk-KWJ6XKNF.mjs +0 -2
- package/dist/esm/chunk-KYWYIK5P.mjs.map +0 -1
- package/dist/esm/chunk-LAXIJRYU.mjs +0 -2
- package/dist/esm/chunk-LU6VS7PJ.mjs +0 -2
- package/dist/esm/chunk-MIBLZSNS.mjs.map +0 -1
- package/dist/esm/chunk-NKTKHC3Z.mjs +0 -2
- package/dist/esm/chunk-NKTKHC3Z.mjs.map +0 -1
- package/dist/esm/chunk-O243HOP3.mjs.map +0 -1
- package/dist/esm/chunk-PDLUCVJB.mjs +0 -2
- package/dist/esm/chunk-SJLO3JIH.mjs +0 -2
- package/dist/esm/chunk-TYHBYRUA.mjs.map +0 -1
- package/dist/esm/chunk-UQIOMAXE.mjs +0 -2
- package/dist/esm/chunk-UVGCVCNG.mjs +0 -2
- package/dist/esm/chunk-V6AAQLLJ.mjs +0 -2
- package/dist/esm/chunk-WGXAIQ7K.mjs +0 -2
- package/dist/esm/chunk-WNEZCERQ.mjs +0 -2
- package/dist/esm/chunk-WNEZCERQ.mjs.map +0 -1
- package/dist/esm/chunk-XFSL7O6Q.mjs.map +0 -1
- package/dist/esm/chunk-YS2OX7AB.mjs +0 -2
- package/dist/esm/chunk-ZXJ5ZBTL.mjs +0 -2
- package/dist/esm/client/index.d.ts +0 -11
- package/dist/esm/core/crypto/index.d.ts +0 -17
- package/dist/esm/core/index.d.ts +0 -21
- package/dist/esm/internal/coin.d.ts +0 -43
- package/dist/esm/internal/faucet.d.ts +0 -29
- package/dist/esm/transactions/authenticator/index.d.ts +0 -19
- package/dist/esm/transactions/instances/chainId.d.ts +0 -21
- package/dist/esm/transactions/instances/index.d.ts +0 -29
- package/dist/esm/transactions/transactionBuilder/index.d.ts +0 -35
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.ts +0 -54
- package/dist/esm/types/indexer.d.ts +0 -62
- /package/dist/esm/{chunk-KPESAXVI.mjs.map → chunk-AAIBCWZY.mjs.map} +0 -0
- /package/dist/esm/{chunk-IXMH6AXJ.mjs.map → chunk-BFSEVKNA.mjs.map} +0 -0
- /package/dist/esm/{chunk-VAGYTPSI.mjs.map → chunk-BWMNPUTK.mjs.map} +0 -0
- /package/dist/esm/{chunk-XNFEUXDS.mjs.map → chunk-CYDWEPFL.mjs.map} +0 -0
- /package/dist/esm/{chunk-E72CFUU4.mjs.map → chunk-EFIYW4WK.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z56AKXJ7.mjs.map → chunk-IG5CHHSI.mjs.map} +0 -0
- /package/dist/esm/{chunk-KFP7MDSD.mjs.map → chunk-NYFVEKF6.mjs.map} +0 -0
- /package/dist/esm/{chunk-EKAOAGNQ.mjs.map → chunk-UAAI3NCA.mjs.map} +0 -0
- /package/dist/esm/{chunk-SJLO3JIH.mjs.map → chunk-UNQNACJT.mjs.map} +0 -0
- /package/dist/esm/utils/{apiEndpoints.d.ts → apiEndpoints.d.mts} +0 -0
- /package/dist/esm/utils/{const.d.ts → const.d.mts} +0 -0
- /package/dist/esm/utils/{helpers.d.ts → helpers.d.mts} +0 -0
- /package/dist/esm/utils/{memoize.d.ts → memoize.d.mts} +0 -0
- /package/dist/esm/{version.d.ts → version.d.mts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Network } from '../utils/apiEndpoints.
|
|
2
|
-
export { GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard } from './indexer.
|
|
3
|
-
import './generated/operations.
|
|
4
|
-
import './generated/types.
|
|
1
|
+
import { Network } from '../utils/apiEndpoints.mjs';
|
|
2
|
+
export { GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard } from './indexer.mjs';
|
|
3
|
+
import './generated/operations.mjs';
|
|
4
|
+
import './generated/types.mjs';
|
|
5
5
|
|
|
6
6
|
declare enum MimeType {
|
|
7
7
|
/**
|
|
@@ -20,7 +20,7 @@ declare enum MimeType {
|
|
|
20
20
|
/**
|
|
21
21
|
* Hex data as input to a function
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
type HexInput = string | Uint8Array;
|
|
24
24
|
/**
|
|
25
25
|
* TypeTag enum as they are represented in Rust
|
|
26
26
|
* {@link https://github.com/aptos-labs/aptos-core/blob/main/third_party/move/move-core/types/src/language_storage.rs#L27}
|
|
@@ -104,19 +104,19 @@ declare enum AnySignatureVariant {
|
|
|
104
104
|
/**
|
|
105
105
|
* BCS types
|
|
106
106
|
*/
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
type Uint8 = number;
|
|
108
|
+
type Uint16 = number;
|
|
109
|
+
type Uint32 = number;
|
|
110
|
+
type Uint64 = bigint;
|
|
111
|
+
type Uint128 = bigint;
|
|
112
|
+
type Uint256 = bigint;
|
|
113
|
+
type AnyNumber = number | bigint;
|
|
114
114
|
/**
|
|
115
115
|
* Set of configuration options that can be provided when initializing the SDK.
|
|
116
116
|
* The purpose of these options is to configure various aspects of the SDK's
|
|
117
117
|
* behavior and interaction with the Aptos network
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
type AptosSettings = {
|
|
120
120
|
readonly network?: Network;
|
|
121
121
|
readonly fullnode?: string;
|
|
122
122
|
readonly faucet?: string;
|
|
@@ -145,7 +145,7 @@ interface PaginationArgs {
|
|
|
145
145
|
* @param HEADERS - extra headers we want to send with the request
|
|
146
146
|
* @param WITH_CREDENTIALS - whether to carry cookies. By default, it is set to true and cookies will be sent
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
type ClientConfig = {
|
|
149
149
|
AUTH_TOKEN?: string;
|
|
150
150
|
API_KEY?: string;
|
|
151
151
|
HEADERS?: Record<string, string | number | boolean>;
|
|
@@ -185,7 +185,7 @@ interface Client {
|
|
|
185
185
|
* @param originMethod (optional) - the local method the request came from
|
|
186
186
|
* @param overrides (optional) - a `ClientConfig` object type to override request data
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
type AptosRequest = {
|
|
189
189
|
url: string;
|
|
190
190
|
method: "GET" | "POST";
|
|
191
191
|
path?: string;
|
|
@@ -199,7 +199,7 @@ declare type AptosRequest = {
|
|
|
199
199
|
/**
|
|
200
200
|
* Specifies ledger version of transactions. By default latest version will be used
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
type LedgerVersion = {
|
|
203
203
|
ledgerVersion?: AnyNumber;
|
|
204
204
|
};
|
|
205
205
|
/**
|
|
@@ -208,7 +208,7 @@ declare type LedgerVersion = {
|
|
|
208
208
|
/**
|
|
209
209
|
* Type holding the outputs of the estimate gas API
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
type GasEstimation = {
|
|
212
212
|
/**
|
|
213
213
|
* The deprioritized estimate for the gas unit price
|
|
214
214
|
*/
|
|
@@ -222,15 +222,15 @@ declare type GasEstimation = {
|
|
|
222
222
|
*/
|
|
223
223
|
prioritized_gas_estimate?: number;
|
|
224
224
|
};
|
|
225
|
-
|
|
226
|
-
type:
|
|
225
|
+
type MoveResource = {
|
|
226
|
+
type: MoveStructId;
|
|
227
227
|
data: {};
|
|
228
228
|
};
|
|
229
|
-
|
|
229
|
+
type AccountData = {
|
|
230
230
|
sequence_number: string;
|
|
231
231
|
authentication_key: string;
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
type MoveModuleBytecode = {
|
|
234
234
|
bytecode: string;
|
|
235
235
|
abi?: MoveModule;
|
|
236
236
|
};
|
|
@@ -244,8 +244,8 @@ declare enum TransactionResponseType {
|
|
|
244
244
|
BlockMetadata = "block_metadata_transaction",
|
|
245
245
|
StateCheckpoint = "state_checkpoint_transaction"
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
type TransactionResponse = PendingTransactionResponse | UserTransactionResponse | GenesisTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse;
|
|
248
|
+
type PendingTransactionResponse = {
|
|
249
249
|
type: TransactionResponseType.Pending;
|
|
250
250
|
hash: string;
|
|
251
251
|
sender: string;
|
|
@@ -256,7 +256,7 @@ declare type PendingTransactionResponse = {
|
|
|
256
256
|
payload: TransactionPayloadResponse;
|
|
257
257
|
signature?: TransactionSignature;
|
|
258
258
|
};
|
|
259
|
-
|
|
259
|
+
type UserTransactionResponse = {
|
|
260
260
|
type: TransactionResponseType.User;
|
|
261
261
|
version: string;
|
|
262
262
|
hash: string;
|
|
@@ -290,7 +290,7 @@ declare type UserTransactionResponse = {
|
|
|
290
290
|
events: Array<Event>;
|
|
291
291
|
timestamp: string;
|
|
292
292
|
};
|
|
293
|
-
|
|
293
|
+
type GenesisTransactionResponse = {
|
|
294
294
|
type: TransactionResponseType.Genesis;
|
|
295
295
|
version: string;
|
|
296
296
|
hash: string;
|
|
@@ -317,7 +317,7 @@ declare type GenesisTransactionResponse = {
|
|
|
317
317
|
*/
|
|
318
318
|
events: Array<Event>;
|
|
319
319
|
};
|
|
320
|
-
|
|
320
|
+
type BlockMetadataTransactionResponse = {
|
|
321
321
|
type: TransactionResponseType.BlockMetadata;
|
|
322
322
|
version: string;
|
|
323
323
|
hash: string;
|
|
@@ -356,7 +356,7 @@ declare type BlockMetadataTransactionResponse = {
|
|
|
356
356
|
failed_proposer_indices: Array<number>;
|
|
357
357
|
timestamp: string;
|
|
358
358
|
};
|
|
359
|
-
|
|
359
|
+
type StateCheckpointTransactionResponse = {
|
|
360
360
|
type: TransactionResponseType.StateCheckpoint;
|
|
361
361
|
version: string;
|
|
362
362
|
hash: string;
|
|
@@ -382,8 +382,8 @@ declare type StateCheckpointTransactionResponse = {
|
|
|
382
382
|
/**
|
|
383
383
|
* WRITESET CHANGE TYPES
|
|
384
384
|
*/
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
type WriteSetChange = WriteSetChangeDeleteModule | WriteSetChangeDeleteResource | WriteSetChangeDeleteTableItem | WriteSetChangeWriteModule | WriteSetChangeWriteResource | WriteSetChangeWriteTableItem;
|
|
386
|
+
type WriteSetChangeDeleteModule = {
|
|
387
387
|
type: string;
|
|
388
388
|
address: string;
|
|
389
389
|
/**
|
|
@@ -392,32 +392,32 @@ declare type WriteSetChangeDeleteModule = {
|
|
|
392
392
|
state_key_hash: string;
|
|
393
393
|
module: MoveModuleId;
|
|
394
394
|
};
|
|
395
|
-
|
|
395
|
+
type WriteSetChangeDeleteResource = {
|
|
396
396
|
type: string;
|
|
397
397
|
address: string;
|
|
398
398
|
state_key_hash: string;
|
|
399
399
|
resource: string;
|
|
400
400
|
};
|
|
401
|
-
|
|
401
|
+
type WriteSetChangeDeleteTableItem = {
|
|
402
402
|
type: string;
|
|
403
403
|
state_key_hash: string;
|
|
404
404
|
handle: string;
|
|
405
405
|
key: string;
|
|
406
406
|
data?: DeletedTableData;
|
|
407
407
|
};
|
|
408
|
-
|
|
408
|
+
type WriteSetChangeWriteModule = {
|
|
409
409
|
type: string;
|
|
410
410
|
address: string;
|
|
411
411
|
state_key_hash: string;
|
|
412
412
|
data: MoveModuleBytecode;
|
|
413
413
|
};
|
|
414
|
-
|
|
414
|
+
type WriteSetChangeWriteResource = {
|
|
415
415
|
type: string;
|
|
416
416
|
address: string;
|
|
417
417
|
state_key_hash: string;
|
|
418
418
|
data: MoveResource;
|
|
419
419
|
};
|
|
420
|
-
|
|
420
|
+
type WriteSetChangeWriteTableItem = {
|
|
421
421
|
type: string;
|
|
422
422
|
state_key_hash: string;
|
|
423
423
|
handle: string;
|
|
@@ -425,7 +425,7 @@ declare type WriteSetChangeWriteTableItem = {
|
|
|
425
425
|
value: string;
|
|
426
426
|
data?: DecodedTableData;
|
|
427
427
|
};
|
|
428
|
-
|
|
428
|
+
type DecodedTableData = {
|
|
429
429
|
/**
|
|
430
430
|
* Key of table in JSON
|
|
431
431
|
*/
|
|
@@ -446,7 +446,7 @@ declare type DecodedTableData = {
|
|
|
446
446
|
/**
|
|
447
447
|
* Deleted table data
|
|
448
448
|
*/
|
|
449
|
-
|
|
449
|
+
type DeletedTableData = {
|
|
450
450
|
/**
|
|
451
451
|
* Deleted key
|
|
452
452
|
*/
|
|
@@ -456,10 +456,10 @@ declare type DeletedTableData = {
|
|
|
456
456
|
*/
|
|
457
457
|
key_type: string;
|
|
458
458
|
};
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
type TransactionPayloadResponse = EntryFunctionPayloadResponse | ScriptPayloadResponse | MultisigPayloadResponse;
|
|
460
|
+
type EntryFunctionPayloadResponse = {
|
|
461
461
|
type: string;
|
|
462
|
-
function:
|
|
462
|
+
function: MoveFunctionId;
|
|
463
463
|
/**
|
|
464
464
|
* Type arguments of the function
|
|
465
465
|
*/
|
|
@@ -469,7 +469,7 @@ declare type EntryFunctionPayloadResponse = {
|
|
|
469
469
|
*/
|
|
470
470
|
arguments: Array<any>;
|
|
471
471
|
};
|
|
472
|
-
|
|
472
|
+
type ScriptPayloadResponse = {
|
|
473
473
|
type: string;
|
|
474
474
|
code: MoveScriptBytecode;
|
|
475
475
|
/**
|
|
@@ -481,37 +481,37 @@ declare type ScriptPayloadResponse = {
|
|
|
481
481
|
*/
|
|
482
482
|
arguments: Array<any>;
|
|
483
483
|
};
|
|
484
|
-
|
|
484
|
+
type MultisigPayloadResponse = {
|
|
485
485
|
type: string;
|
|
486
486
|
multisig_address: string;
|
|
487
487
|
transaction_payload?: EntryFunctionPayloadResponse;
|
|
488
488
|
};
|
|
489
|
-
|
|
489
|
+
type GenesisPayload = {
|
|
490
490
|
type: string;
|
|
491
491
|
write_set: WriteSet;
|
|
492
492
|
};
|
|
493
493
|
/**
|
|
494
494
|
* Move script bytecode
|
|
495
495
|
*/
|
|
496
|
-
|
|
496
|
+
type MoveScriptBytecode = {
|
|
497
497
|
bytecode: string;
|
|
498
498
|
abi?: MoveFunction;
|
|
499
499
|
};
|
|
500
500
|
/**
|
|
501
501
|
* These are the JSON representations of transaction signatures returned from the node API.
|
|
502
502
|
*/
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
type TransactionSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature | TransactionMultiAgentSignature | TransactionFeePayerSignature;
|
|
504
|
+
type TransactionEd25519Signature = {
|
|
505
505
|
type: string;
|
|
506
506
|
public_key: string;
|
|
507
507
|
signature: "ed25519_signature";
|
|
508
508
|
};
|
|
509
|
-
|
|
509
|
+
type TransactionSecp256k1Signature = {
|
|
510
510
|
type: string;
|
|
511
511
|
public_key: string;
|
|
512
512
|
signature: "secp256k1_ecdsa_signature";
|
|
513
513
|
};
|
|
514
|
-
|
|
514
|
+
type TransactionMultiEd25519Signature = {
|
|
515
515
|
type: "multi_ed25519_signature";
|
|
516
516
|
/**
|
|
517
517
|
* The public keys for the Ed25519 signature
|
|
@@ -527,7 +527,7 @@ declare type TransactionMultiEd25519Signature = {
|
|
|
527
527
|
threshold: number;
|
|
528
528
|
bitmap: string;
|
|
529
529
|
};
|
|
530
|
-
|
|
530
|
+
type TransactionMultiAgentSignature = {
|
|
531
531
|
type: "multi_agent_signature";
|
|
532
532
|
sender: AccountSignature;
|
|
533
533
|
/**
|
|
@@ -539,7 +539,7 @@ declare type TransactionMultiAgentSignature = {
|
|
|
539
539
|
*/
|
|
540
540
|
secondary_signers: Array<AccountSignature>;
|
|
541
541
|
};
|
|
542
|
-
|
|
542
|
+
type TransactionFeePayerSignature = {
|
|
543
543
|
type: "fee_payer_signature";
|
|
544
544
|
sender: AccountSignature;
|
|
545
545
|
/**
|
|
@@ -556,26 +556,26 @@ declare type TransactionFeePayerSignature = {
|
|
|
556
556
|
/**
|
|
557
557
|
* The union of all single account signatures.
|
|
558
558
|
*/
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
559
|
+
type AccountSignature = AccountEd25519Signature | AccountSecp256k1Signature | AccountMultiEd25519Signature;
|
|
560
|
+
type AccountEd25519Signature = TransactionEd25519Signature;
|
|
561
|
+
type AccountSecp256k1Signature = TransactionSecp256k1Signature;
|
|
562
|
+
type AccountMultiEd25519Signature = TransactionMultiEd25519Signature;
|
|
563
|
+
type WriteSet = ScriptWriteSet | DirectWriteSet;
|
|
564
|
+
type ScriptWriteSet = {
|
|
565
565
|
type: string;
|
|
566
566
|
execute_as: string;
|
|
567
567
|
script: ScriptPayloadResponse;
|
|
568
568
|
};
|
|
569
|
-
|
|
569
|
+
type DirectWriteSet = {
|
|
570
570
|
type: string;
|
|
571
571
|
changes: Array<WriteSetChange>;
|
|
572
572
|
events: Array<Event>;
|
|
573
573
|
};
|
|
574
|
-
|
|
574
|
+
type EventGuid = {
|
|
575
575
|
creation_number: string;
|
|
576
576
|
account_address: string;
|
|
577
577
|
};
|
|
578
|
-
|
|
578
|
+
type Event = {
|
|
579
579
|
guid: EventGuid;
|
|
580
580
|
sequence_number: string;
|
|
581
581
|
type: string;
|
|
@@ -587,20 +587,22 @@ declare type Event = {
|
|
|
587
587
|
/**
|
|
588
588
|
* Map of Move types to local TypeScript types
|
|
589
589
|
*/
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
590
|
+
type MoveUint8Type = number;
|
|
591
|
+
type MoveUint16Type = number;
|
|
592
|
+
type MoveUint32Type = number;
|
|
593
|
+
type MoveUint64Type = string;
|
|
594
|
+
type MoveUint128Type = string;
|
|
595
|
+
type MoveUint256Type = string;
|
|
596
|
+
type MoveAddressType = string;
|
|
597
|
+
type MoveObjectType = string;
|
|
598
|
+
type MoveOptionType = MoveType | null | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* This is the format for a fully qualified struct, resource, or entry function in Move.
|
|
601
601
|
*/
|
|
602
|
-
|
|
603
|
-
|
|
602
|
+
type MoveStructId = `${string}::${string}::${string}`;
|
|
603
|
+
type MoveFunctionId = MoveStructId;
|
|
604
|
+
type MoveStructType = {};
|
|
605
|
+
type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
|
|
604
606
|
/**
|
|
605
607
|
* Possible Move values acceptable by move functions (entry, view)
|
|
606
608
|
*
|
|
@@ -624,12 +626,12 @@ declare type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | Move
|
|
|
624
626
|
*
|
|
625
627
|
* `Option -> MoveValue | null | undefined`
|
|
626
628
|
*/
|
|
627
|
-
|
|
629
|
+
type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
|
|
628
630
|
/**
|
|
629
631
|
* Move module id is a string representation of Move module.
|
|
630
632
|
* Module name is case-sensitive.
|
|
631
633
|
*/
|
|
632
|
-
|
|
634
|
+
type MoveModuleId = `${string}::${string}`;
|
|
633
635
|
/**
|
|
634
636
|
* Move function visibility
|
|
635
637
|
*/
|
|
@@ -650,20 +652,20 @@ declare enum MoveAbility {
|
|
|
650
652
|
/**
|
|
651
653
|
* Move abilities tied to the generic type param and associated with the function that uses it
|
|
652
654
|
*/
|
|
653
|
-
|
|
655
|
+
type MoveFunctionGenericTypeParam = {
|
|
654
656
|
constraints: Array<MoveAbility>;
|
|
655
657
|
};
|
|
656
658
|
/**
|
|
657
659
|
* Move struct field
|
|
658
660
|
*/
|
|
659
|
-
|
|
661
|
+
type MoveStructField = {
|
|
660
662
|
name: string;
|
|
661
663
|
type: string;
|
|
662
664
|
};
|
|
663
665
|
/**
|
|
664
666
|
* A Move module
|
|
665
667
|
*/
|
|
666
|
-
|
|
668
|
+
type MoveModule = {
|
|
667
669
|
address: string;
|
|
668
670
|
name: string;
|
|
669
671
|
/**
|
|
@@ -682,7 +684,7 @@ declare type MoveModule = {
|
|
|
682
684
|
/**
|
|
683
685
|
* A move struct
|
|
684
686
|
*/
|
|
685
|
-
|
|
687
|
+
type MoveStruct = {
|
|
686
688
|
name: string;
|
|
687
689
|
/**
|
|
688
690
|
* Whether the struct is a native struct of Move
|
|
@@ -704,7 +706,7 @@ declare type MoveStruct = {
|
|
|
704
706
|
/**
|
|
705
707
|
* Move function
|
|
706
708
|
*/
|
|
707
|
-
|
|
709
|
+
type MoveFunction = {
|
|
708
710
|
name: string;
|
|
709
711
|
visibility: MoveFunctionVisibility;
|
|
710
712
|
/**
|
|
@@ -732,7 +734,7 @@ declare enum RoleType {
|
|
|
732
734
|
VALIDATOR = "validator",
|
|
733
735
|
FULL_NODE = "full_node"
|
|
734
736
|
}
|
|
735
|
-
|
|
737
|
+
type LedgerInfo = {
|
|
736
738
|
/**
|
|
737
739
|
* Chain ID of the current chain
|
|
738
740
|
*/
|
|
@@ -753,7 +755,7 @@ declare type LedgerInfo = {
|
|
|
753
755
|
/**
|
|
754
756
|
* A Block type
|
|
755
757
|
*/
|
|
756
|
-
|
|
758
|
+
type Block = {
|
|
757
759
|
block_height: string;
|
|
758
760
|
block_hash: string;
|
|
759
761
|
block_timestamp: string;
|
|
@@ -767,22 +769,22 @@ declare type Block = {
|
|
|
767
769
|
/**
|
|
768
770
|
* The data needed to generate a View Request payload
|
|
769
771
|
*/
|
|
770
|
-
|
|
771
|
-
function:
|
|
772
|
-
typeArguments?: Array<
|
|
772
|
+
type InputViewRequestData = {
|
|
773
|
+
function: MoveFunctionId;
|
|
774
|
+
typeArguments?: Array<MoveStructId>;
|
|
773
775
|
functionArguments?: Array<MoveValue>;
|
|
774
776
|
};
|
|
775
777
|
/**
|
|
776
778
|
* View request for the Move view function API
|
|
777
779
|
*
|
|
778
|
-
* `type
|
|
780
|
+
* `type MoveFunctionId = ${string}::${string}::${string}`;
|
|
779
781
|
*/
|
|
780
|
-
|
|
781
|
-
function:
|
|
782
|
+
type ViewRequest = {
|
|
783
|
+
function: MoveFunctionId;
|
|
782
784
|
/**
|
|
783
785
|
* Type arguments of the function
|
|
784
786
|
*/
|
|
785
|
-
|
|
787
|
+
typeArguments: Array<MoveStructId>;
|
|
786
788
|
/**
|
|
787
789
|
* Arguments of the function
|
|
788
790
|
*/
|
|
@@ -791,7 +793,7 @@ declare type ViewRequest = {
|
|
|
791
793
|
/**
|
|
792
794
|
* Table Item request for the GetTableItem API
|
|
793
795
|
*/
|
|
794
|
-
|
|
796
|
+
type TableItemRequest = {
|
|
795
797
|
key_type: MoveValue;
|
|
796
798
|
value_type: MoveValue;
|
|
797
799
|
/**
|
|
@@ -804,7 +806,7 @@ declare type TableItemRequest = {
|
|
|
804
806
|
*
|
|
805
807
|
* They are combinations of signing schemes and derive schemes.
|
|
806
808
|
*/
|
|
807
|
-
|
|
809
|
+
type AuthenticationKeyScheme = SigningScheme | DeriveScheme;
|
|
808
810
|
declare enum SigningScheme {
|
|
809
811
|
/**
|
|
810
812
|
* For Ed25519PublicKey
|
|
@@ -858,7 +860,7 @@ declare enum DeriveScheme {
|
|
|
858
860
|
/**
|
|
859
861
|
* Option properties to pass for waitForTransaction() function
|
|
860
862
|
*/
|
|
861
|
-
|
|
863
|
+
type WaitForTransactionOptions = {
|
|
862
864
|
timeoutSecs?: number;
|
|
863
865
|
checkSuccess?: boolean;
|
|
864
866
|
indexerVersionCheck?: boolean;
|
|
@@ -867,7 +869,7 @@ declare type WaitForTransactionOptions = {
|
|
|
867
869
|
* Input type to generate an account using Single Signer
|
|
868
870
|
* Ed25519 or Legacy Ed25519
|
|
869
871
|
*/
|
|
870
|
-
|
|
872
|
+
type GenerateAccountWithEd25519 = {
|
|
871
873
|
scheme: SigningSchemeInput.Ed25519;
|
|
872
874
|
legacy: boolean;
|
|
873
875
|
};
|
|
@@ -875,10 +877,10 @@ declare type GenerateAccountWithEd25519 = {
|
|
|
875
877
|
* Input type to generate an account using Single Signer
|
|
876
878
|
* Secp256k1
|
|
877
879
|
*/
|
|
878
|
-
|
|
880
|
+
type GenerateAccountWithSingleSignerSecp256k1Key = {
|
|
879
881
|
scheme: SigningSchemeInput.Secp256k1Ecdsa;
|
|
880
882
|
legacy?: false;
|
|
881
883
|
};
|
|
882
|
-
|
|
884
|
+
type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSignerSecp256k1Key;
|
|
883
885
|
|
|
884
|
-
export { AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AnyNumber, AnyPublicKeyVariant, AnySignatureVariant, AptosRequest, AptosSettings, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Client, ClientConfig, ClientRequest, ClientResponse, DecodedTableData, DeletedTableData, DeriveScheme, DirectWriteSet, EntryFunctionPayloadResponse, Event, EventGuid, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, HexInput, LedgerInfo, LedgerVersion, MimeType, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOptionType, MoveResource, MoveScriptBytecode, MoveStruct, MoveStructField, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MultisigPayloadResponse, PaginationArgs, PendingTransactionResponse, RoleType, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, SigningScheme, SigningSchemeInput, StateCheckpointTransactionResponse, TableItemRequest, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayloadResponse, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTagVariants, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest,
|
|
886
|
+
export { AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AnyNumber, AnyPublicKeyVariant, AnySignatureVariant, AptosRequest, AptosSettings, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Client, ClientConfig, ClientRequest, ClientResponse, DecodedTableData, DeletedTableData, DeriveScheme, DirectWriteSet, EntryFunctionPayloadResponse, Event, EventGuid, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, HexInput, InputViewRequestData, LedgerInfo, LedgerVersion, MimeType, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOptionType, MoveResource, MoveScriptBytecode, MoveStruct, MoveStructField, MoveStructId, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MultisigPayloadResponse, PaginationArgs, PendingTransactionResponse, RoleType, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, SigningScheme, SigningSchemeInput, StateCheckpointTransactionResponse, TableItemRequest, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayloadResponse, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTagVariants, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest, WaitForTransactionOptions, WriteSet, WriteSetChange, WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem };
|
package/dist/esm/types/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"../chunk-Y7VR7X5W.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-ZWH2ESXT.mjs";export{g as AccountAuthenticatorVariant,h as AnyPublicKeyVariant,i as AnySignatureVariant,p as DeriveScheme,a as MimeType,l as MoveAbility,k as MoveFunctionVisibility,m as RoleType,c as ScriptTransactionArgumentVariants,n as SigningScheme,o as SigningSchemeInput,f as TransactionAuthenticatorVariant,d as TransactionPayloadVariants,j as TransactionResponseType,e as TransactionVariants,b as TypeTagVariants};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { GetAccountOwnedObjectsQuery, GetAccountOwnedTokensQuery, GetAccountOwnedTokensFromCollectionQuery, GetAccountCollectionsWithOwnedTokensQuery, GetAccountCoinsDataQuery, GetChainTopUserTransactionsQuery, GetEventsQuery, GetNumberOfDelegatorsQuery, GetDelegatedStakingActivitiesQuery, GetCollectionDataQuery, GetTokenDataQuery, GetProcessorStatusQuery, GetFungibleAssetMetadataQuery, GetFungibleAssetActivitiesQuery, GetCurrentFungibleAssetBalancesQuery, GetTokenActivityQuery, GetCurrentTokenOwnershipQuery } from './generated/operations.mjs';
|
|
2
|
+
import './generated/types.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* GENERATED QUERY TYPES FROM GRAPHQL SCHEMA
|
|
6
|
+
*
|
|
7
|
+
* generated types we generate from graphql schema that match the structure of the
|
|
8
|
+
* response type when querying from Hasura schema.
|
|
9
|
+
*
|
|
10
|
+
* These types are used as the return type when making the actual request (usually
|
|
11
|
+
* under the /internal/ folder)
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* CUSTOM RESPONSE TYPES FOR THE END USER
|
|
16
|
+
*
|
|
17
|
+
* To provide a good dev exp, we build custom types derived from the
|
|
18
|
+
* query types to be the response type the end developer/user will
|
|
19
|
+
* work with.
|
|
20
|
+
*
|
|
21
|
+
* These types are used as the return type when calling a sdk api function
|
|
22
|
+
* that calls the function that queries the server (usually under the /api/ folder)
|
|
23
|
+
*/
|
|
24
|
+
type GetAccountOwnedObjectsResponse = GetAccountOwnedObjectsQuery["current_objects"];
|
|
25
|
+
type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
|
|
26
|
+
type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
|
|
27
|
+
type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
|
|
28
|
+
type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
|
|
29
|
+
type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
|
|
30
|
+
type GetEventsResponse = GetEventsQuery["events"];
|
|
31
|
+
type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
|
|
32
|
+
type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
|
|
33
|
+
type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
|
|
34
|
+
type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
|
|
35
|
+
type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
|
|
36
|
+
type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
|
|
37
|
+
type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
|
|
38
|
+
type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
|
|
39
|
+
type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
|
|
40
|
+
type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
|
|
41
|
+
type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
|
|
42
|
+
/**
|
|
43
|
+
* A generic type that being passed by each function and holds an
|
|
44
|
+
* array of properties we can sort the query by
|
|
45
|
+
*/
|
|
46
|
+
type OrderBy<T> = Array<{
|
|
47
|
+
[K in keyof T]?: OrderByValue;
|
|
48
|
+
}>;
|
|
49
|
+
type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
|
|
50
|
+
/**
|
|
51
|
+
* Refers to the token standard we want to query for
|
|
52
|
+
*/
|
|
53
|
+
type TokenStandard = "v1" | "v2";
|
|
54
|
+
/**
|
|
55
|
+
* The graphql query type to pass into the `queryIndexer` function
|
|
56
|
+
*/
|
|
57
|
+
type GraphqlQuery = {
|
|
58
|
+
query: string;
|
|
59
|
+
variables?: {};
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-LV33NV4J.mjs";import"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{d as Network,e as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,f as NetworkToNetworkName,b as NetworkToNodeAPI};
|
|
2
2
|
//# sourceMappingURL=apiEndpoints.mjs.map
|
package/dist/esm/utils/const.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h}from"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h}from"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{f as APTOS_COIN,a as AptosApiType,c as DEFAULT_MAX_GAS_AMOUNT,b as DEFAULT_NETWORK,d as DEFAULT_TXN_EXP_SEC_FROM_NOW,e as DEFAULT_TXN_TIMEOUT_SEC,g as RAW_TRANSACTION_SALT,h as RAW_TRANSACTION_WITH_DATA_SALT};
|
|
2
2
|
//# sourceMappingURL=const.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-3JPVQHOR.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-3JPVQHOR.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as sleep};
|
|
2
2
|
//# sourceMappingURL=helpers.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI } from './apiEndpoints.mjs';
|
|
2
|
+
export { APTOS_COIN, AptosApiType, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_NETWORK, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT } from './const.mjs';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-CYDWEPFL.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l,g as m,h as n}from"../chunk-KC64ESLO.mjs";import{a,b,c,d,e,f}from"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{l as APTOS_COIN,g as AptosApiType,i as DEFAULT_MAX_GAS_AMOUNT,h as DEFAULT_NETWORK,j as DEFAULT_TXN_EXP_SEC_FROM_NOW,k as DEFAULT_TXN_TIMEOUT_SEC,d as Network,e as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,f as NetworkToNetworkName,b as NetworkToNodeAPI,m as RAW_TRANSACTION_SALT,n as RAW_TRANSACTION_WITH_DATA_SALT};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-AH44UPM4.mjs";import"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-AH44UPM4.mjs";import"../chunk-ZWH2ESXT.mjs";export{b as memoize,a as memoizeAsync};
|
|
2
2
|
//# sourceMappingURL=memoize.mjs.map
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-FYIFBLHU.mjs";import"./chunk-
|
|
1
|
+
import{a}from"./chunk-FYIFBLHU.mjs";import"./chunk-ZWH2ESXT.mjs";export{a as VERSION};
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|