@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
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
TransactionPayloadMultisig,
|
|
16
16
|
TransactionPayloadScript,
|
|
17
17
|
} from "./instances";
|
|
18
|
-
import { AnyNumber, HexInput, MoveFunctionGenericTypeParam,
|
|
18
|
+
import { AnyNumber, HexInput, MoveFunctionGenericTypeParam, MoveFunctionId } from "../types";
|
|
19
19
|
import { TypeTag } from "./typeTag";
|
|
20
20
|
import { AccountAuthenticator } from "./authenticator/account";
|
|
21
21
|
|
|
@@ -97,7 +97,7 @@ export type AnyTransactionPayloadInstance =
|
|
|
97
97
|
export type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
|
|
98
98
|
|
|
99
99
|
export type InputGenerateTransactionPayloadDataWithRemoteABI =
|
|
100
|
-
|
|
|
100
|
+
| InputScriptData
|
|
101
101
|
| InputEntryFunctionDataWithRemoteABI
|
|
102
102
|
| InputMultiSigDataWithRemoteABI;
|
|
103
103
|
|
|
@@ -105,7 +105,7 @@ export type InputGenerateTransactionPayloadDataWithRemoteABI =
|
|
|
105
105
|
* The data needed to generate an Entry Function payload
|
|
106
106
|
*/
|
|
107
107
|
export type InputEntryFunctionData = {
|
|
108
|
-
function:
|
|
108
|
+
function: MoveFunctionId;
|
|
109
109
|
typeArguments?: Array<TypeTag | string>;
|
|
110
110
|
functionArguments: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
|
|
111
111
|
};
|
|
@@ -152,8 +152,6 @@ export interface InputGenerateSingleSignerRawTransactionArgs {
|
|
|
152
152
|
aptosConfig: AptosConfig;
|
|
153
153
|
sender: AccountAddressInput;
|
|
154
154
|
payload: AnyTransactionPayloadInstance;
|
|
155
|
-
feePayerAddress?: undefined;
|
|
156
|
-
secondarySignerAddresses?: undefined;
|
|
157
155
|
options?: InputGenerateTransactionOptions;
|
|
158
156
|
}
|
|
159
157
|
|
|
@@ -179,7 +177,6 @@ export interface InputGenerateMultiAgentRawTransactionArgs {
|
|
|
179
177
|
sender: AccountAddressInput;
|
|
180
178
|
payload: AnyTransactionPayloadInstance;
|
|
181
179
|
secondarySignerAddresses: AccountAddressInput[];
|
|
182
|
-
feePayerAddress?: undefined;
|
|
183
180
|
options?: InputGenerateTransactionOptions;
|
|
184
181
|
}
|
|
185
182
|
|
|
@@ -198,8 +195,6 @@ export type InputGenerateRawTransactionArgs =
|
|
|
198
195
|
*/
|
|
199
196
|
export interface InputSingleSignerTransaction {
|
|
200
197
|
rawTransaction: RawTransaction;
|
|
201
|
-
feePayerAddress?: undefined;
|
|
202
|
-
secondarySignerAddresses?: undefined;
|
|
203
198
|
}
|
|
204
199
|
|
|
205
200
|
/**
|
|
@@ -224,7 +219,6 @@ export interface InputFeePayerTransaction {
|
|
|
224
219
|
export interface InputMultiAgentTransaction {
|
|
225
220
|
rawTransaction: RawTransaction;
|
|
226
221
|
secondarySignerAddresses: AccountAddress[];
|
|
227
|
-
feePayerAddress?: undefined;
|
|
228
222
|
}
|
|
229
223
|
|
|
230
224
|
/**
|
|
@@ -267,8 +261,6 @@ export type InputSimulateTransactionOptions = {
|
|
|
267
261
|
*/
|
|
268
262
|
export interface InputGenerateSingleSignerRawTransactionData {
|
|
269
263
|
sender: AccountAddressInput;
|
|
270
|
-
hasFeePayer?: undefined;
|
|
271
|
-
secondarySignerAddresses?: undefined;
|
|
272
264
|
options?: InputGenerateTransactionOptions;
|
|
273
265
|
data: InputGenerateTransactionPayloadData;
|
|
274
266
|
}
|
|
@@ -290,7 +282,6 @@ export interface InputGenerateFeePayerRawTransactionData {
|
|
|
290
282
|
export interface InputGenerateMultiAgentRawTransactionData {
|
|
291
283
|
sender: AccountAddressInput;
|
|
292
284
|
secondarySignerAddresses: AccountAddressInput[];
|
|
293
|
-
hasFeePayer?: undefined;
|
|
294
285
|
options?: InputGenerateTransactionOptions;
|
|
295
286
|
data: InputGenerateTransactionPayloadData;
|
|
296
287
|
}
|
|
@@ -65,7 +65,7 @@ export type CurrentTokenOwnershipFieldsFragment = {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export type GetAccountCoinsCountQueryVariables = Types.Exact<{
|
|
68
|
-
address?: Types.InputMaybe<Types.Scalars["String"]>;
|
|
68
|
+
address?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
|
|
69
69
|
}>;
|
|
70
70
|
|
|
71
71
|
export type GetAccountCoinsCountQuery = {
|
|
@@ -74,8 +74,8 @@ export type GetAccountCoinsCountQuery = {
|
|
|
74
74
|
|
|
75
75
|
export type GetAccountCoinsDataQueryVariables = Types.Exact<{
|
|
76
76
|
where_condition: Types.CurrentFungibleAssetBalancesBoolExp;
|
|
77
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
78
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
77
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
78
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
79
79
|
order_by?: Types.InputMaybe<
|
|
80
80
|
Array<Types.CurrentFungibleAssetBalancesOrderBy> | Types.CurrentFungibleAssetBalancesOrderBy
|
|
81
81
|
>;
|
|
@@ -111,8 +111,8 @@ export type GetAccountCoinsDataQuery = {
|
|
|
111
111
|
|
|
112
112
|
export type GetAccountCollectionsWithOwnedTokensQueryVariables = Types.Exact<{
|
|
113
113
|
where_condition: Types.CurrentCollectionOwnershipV2ViewBoolExp;
|
|
114
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
115
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
114
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
115
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
116
116
|
order_by?: Types.InputMaybe<
|
|
117
117
|
Array<Types.CurrentCollectionOwnershipV2ViewOrderBy> | Types.CurrentCollectionOwnershipV2ViewOrderBy
|
|
118
118
|
>;
|
|
@@ -149,8 +149,8 @@ export type GetAccountCollectionsWithOwnedTokensQuery = {
|
|
|
149
149
|
|
|
150
150
|
export type GetAccountOwnedObjectsQueryVariables = Types.Exact<{
|
|
151
151
|
where_condition?: Types.InputMaybe<Types.CurrentObjectsBoolExp>;
|
|
152
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
153
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
152
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
153
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
154
154
|
order_by?: Types.InputMaybe<Array<Types.CurrentObjectsOrderBy> | Types.CurrentObjectsOrderBy>;
|
|
155
155
|
}>;
|
|
156
156
|
|
|
@@ -168,8 +168,8 @@ export type GetAccountOwnedObjectsQuery = {
|
|
|
168
168
|
|
|
169
169
|
export type GetAccountOwnedTokensQueryVariables = Types.Exact<{
|
|
170
170
|
where_condition: Types.CurrentTokenOwnershipsV2BoolExp;
|
|
171
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
172
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
171
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
172
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
173
173
|
order_by?: Types.InputMaybe<Array<Types.CurrentTokenOwnershipsV2OrderBy> | Types.CurrentTokenOwnershipsV2OrderBy>;
|
|
174
174
|
}>;
|
|
175
175
|
|
|
@@ -223,8 +223,8 @@ export type GetAccountOwnedTokensQuery = {
|
|
|
223
223
|
|
|
224
224
|
export type GetAccountOwnedTokensByTokenDataQueryVariables = Types.Exact<{
|
|
225
225
|
where_condition: Types.CurrentTokenOwnershipsV2BoolExp;
|
|
226
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
227
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
226
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
227
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
228
228
|
order_by?: Types.InputMaybe<Array<Types.CurrentTokenOwnershipsV2OrderBy> | Types.CurrentTokenOwnershipsV2OrderBy>;
|
|
229
229
|
}>;
|
|
230
230
|
|
|
@@ -278,8 +278,8 @@ export type GetAccountOwnedTokensByTokenDataQuery = {
|
|
|
278
278
|
|
|
279
279
|
export type GetAccountOwnedTokensFromCollectionQueryVariables = Types.Exact<{
|
|
280
280
|
where_condition: Types.CurrentTokenOwnershipsV2BoolExp;
|
|
281
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
282
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
281
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
282
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
283
283
|
order_by?: Types.InputMaybe<Array<Types.CurrentTokenOwnershipsV2OrderBy> | Types.CurrentTokenOwnershipsV2OrderBy>;
|
|
284
284
|
}>;
|
|
285
285
|
|
|
@@ -333,8 +333,8 @@ export type GetAccountOwnedTokensFromCollectionQuery = {
|
|
|
333
333
|
|
|
334
334
|
export type GetAccountTokensCountQueryVariables = Types.Exact<{
|
|
335
335
|
where_condition?: Types.InputMaybe<Types.CurrentTokenOwnershipsV2BoolExp>;
|
|
336
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
337
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
336
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
337
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
338
338
|
}>;
|
|
339
339
|
|
|
340
340
|
export type GetAccountTokensCountQuery = {
|
|
@@ -342,7 +342,7 @@ export type GetAccountTokensCountQuery = {
|
|
|
342
342
|
};
|
|
343
343
|
|
|
344
344
|
export type GetAccountTransactionsCountQueryVariables = Types.Exact<{
|
|
345
|
-
address?: Types.InputMaybe<Types.Scalars["String"]>;
|
|
345
|
+
address?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
|
|
346
346
|
}>;
|
|
347
347
|
|
|
348
348
|
export type GetAccountTransactionsCountQuery = {
|
|
@@ -350,7 +350,7 @@ export type GetAccountTransactionsCountQuery = {
|
|
|
350
350
|
};
|
|
351
351
|
|
|
352
352
|
export type GetChainTopUserTransactionsQueryVariables = Types.Exact<{
|
|
353
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
353
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
354
354
|
}>;
|
|
355
355
|
|
|
356
356
|
export type GetChainTopUserTransactionsQuery = { user_transactions: Array<{ version: any }> };
|
|
@@ -380,8 +380,8 @@ export type GetCollectionDataQuery = {
|
|
|
380
380
|
|
|
381
381
|
export type GetCurrentFungibleAssetBalancesQueryVariables = Types.Exact<{
|
|
382
382
|
where_condition?: Types.InputMaybe<Types.CurrentFungibleAssetBalancesBoolExp>;
|
|
383
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
384
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
383
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
384
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
385
385
|
}>;
|
|
386
386
|
|
|
387
387
|
export type GetCurrentFungibleAssetBalancesQuery = {
|
|
@@ -399,8 +399,8 @@ export type GetCurrentFungibleAssetBalancesQuery = {
|
|
|
399
399
|
};
|
|
400
400
|
|
|
401
401
|
export type GetDelegatedStakingActivitiesQueryVariables = Types.Exact<{
|
|
402
|
-
delegatorAddress?: Types.InputMaybe<Types.Scalars["String"]>;
|
|
403
|
-
poolAddress?: Types.InputMaybe<Types.Scalars["String"]>;
|
|
402
|
+
delegatorAddress?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
|
|
403
|
+
poolAddress?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
|
|
404
404
|
}>;
|
|
405
405
|
|
|
406
406
|
export type GetDelegatedStakingActivitiesQuery = {
|
|
@@ -416,8 +416,8 @@ export type GetDelegatedStakingActivitiesQuery = {
|
|
|
416
416
|
|
|
417
417
|
export type GetEventsQueryVariables = Types.Exact<{
|
|
418
418
|
where_condition?: Types.InputMaybe<Types.EventsBoolExp>;
|
|
419
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
420
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
419
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
420
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
421
421
|
order_by?: Types.InputMaybe<Array<Types.EventsOrderBy> | Types.EventsOrderBy>;
|
|
422
422
|
}>;
|
|
423
423
|
|
|
@@ -437,8 +437,8 @@ export type GetEventsQuery = {
|
|
|
437
437
|
|
|
438
438
|
export type GetFungibleAssetActivitiesQueryVariables = Types.Exact<{
|
|
439
439
|
where_condition?: Types.InputMaybe<Types.FungibleAssetActivitiesBoolExp>;
|
|
440
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
441
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
440
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
441
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
442
442
|
}>;
|
|
443
443
|
|
|
444
444
|
export type GetFungibleAssetActivitiesQuery = {
|
|
@@ -464,8 +464,8 @@ export type GetFungibleAssetActivitiesQuery = {
|
|
|
464
464
|
|
|
465
465
|
export type GetFungibleAssetMetadataQueryVariables = Types.Exact<{
|
|
466
466
|
where_condition?: Types.InputMaybe<Types.FungibleAssetMetadataBoolExp>;
|
|
467
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
468
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
467
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
468
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
469
469
|
}>;
|
|
470
470
|
|
|
471
471
|
export type GetFungibleAssetMetadataQuery = {
|
|
@@ -502,8 +502,8 @@ export type GetProcessorStatusQuery = {
|
|
|
502
502
|
|
|
503
503
|
export type GetTokenActivityQueryVariables = Types.Exact<{
|
|
504
504
|
where_condition: Types.TokenActivitiesV2BoolExp;
|
|
505
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
506
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
505
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
506
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
507
507
|
order_by?: Types.InputMaybe<Array<Types.TokenActivitiesV2OrderBy> | Types.TokenActivitiesV2OrderBy>;
|
|
508
508
|
}>;
|
|
509
509
|
|
|
@@ -529,8 +529,8 @@ export type GetTokenActivityQuery = {
|
|
|
529
529
|
|
|
530
530
|
export type GetCurrentTokenOwnershipQueryVariables = Types.Exact<{
|
|
531
531
|
where_condition: Types.CurrentTokenOwnershipsV2BoolExp;
|
|
532
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
533
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
532
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
533
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
534
534
|
order_by?: Types.InputMaybe<Array<Types.CurrentTokenOwnershipsV2OrderBy> | Types.CurrentTokenOwnershipsV2OrderBy>;
|
|
535
535
|
}>;
|
|
536
536
|
|
|
@@ -584,8 +584,8 @@ export type GetCurrentTokenOwnershipQuery = {
|
|
|
584
584
|
|
|
585
585
|
export type GetTokenDataQueryVariables = Types.Exact<{
|
|
586
586
|
where_condition?: Types.InputMaybe<Types.CurrentTokenDatasV2BoolExp>;
|
|
587
|
-
offset?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
588
|
-
limit?: Types.InputMaybe<Types.Scalars["Int"]>;
|
|
587
|
+
offset?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
588
|
+
limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
|
|
589
589
|
order_by?: Types.InputMaybe<Array<Types.CurrentTokenDatasV2OrderBy> | Types.CurrentTokenDatasV2OrderBy>;
|
|
590
590
|
}>;
|
|
591
591
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Types from "./operations";
|
|
2
2
|
|
|
3
3
|
import { GraphQLClient } from "graphql-request";
|
|
4
|
-
import
|
|
4
|
+
import { GraphQLClientRequestHeaders } from "graphql-request/build/cjs/types";
|
|
5
5
|
export const TokenActivitiesFieldsFragmentDoc = `
|
|
6
6
|
fragment TokenActivitiesFields on token_activities_v2 {
|
|
7
7
|
after_value
|
|
@@ -442,7 +442,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
442
442
|
return {
|
|
443
443
|
getAccountCoinsCount(
|
|
444
444
|
variables?: Types.GetAccountCoinsCountQueryVariables,
|
|
445
|
-
requestHeaders?:
|
|
445
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
446
446
|
): Promise<Types.GetAccountCoinsCountQuery> {
|
|
447
447
|
return withWrapper(
|
|
448
448
|
(wrappedRequestHeaders) =>
|
|
@@ -456,7 +456,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
456
456
|
},
|
|
457
457
|
getAccountCoinsData(
|
|
458
458
|
variables: Types.GetAccountCoinsDataQueryVariables,
|
|
459
|
-
requestHeaders?:
|
|
459
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
460
460
|
): Promise<Types.GetAccountCoinsDataQuery> {
|
|
461
461
|
return withWrapper(
|
|
462
462
|
(wrappedRequestHeaders) =>
|
|
@@ -470,7 +470,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
470
470
|
},
|
|
471
471
|
getAccountCollectionsWithOwnedTokens(
|
|
472
472
|
variables: Types.GetAccountCollectionsWithOwnedTokensQueryVariables,
|
|
473
|
-
requestHeaders?:
|
|
473
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
474
474
|
): Promise<Types.GetAccountCollectionsWithOwnedTokensQuery> {
|
|
475
475
|
return withWrapper(
|
|
476
476
|
(wrappedRequestHeaders) =>
|
|
@@ -485,7 +485,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
485
485
|
},
|
|
486
486
|
getAccountOwnedObjects(
|
|
487
487
|
variables?: Types.GetAccountOwnedObjectsQueryVariables,
|
|
488
|
-
requestHeaders?:
|
|
488
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
489
489
|
): Promise<Types.GetAccountOwnedObjectsQuery> {
|
|
490
490
|
return withWrapper(
|
|
491
491
|
(wrappedRequestHeaders) =>
|
|
@@ -499,7 +499,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
499
499
|
},
|
|
500
500
|
getAccountOwnedTokens(
|
|
501
501
|
variables: Types.GetAccountOwnedTokensQueryVariables,
|
|
502
|
-
requestHeaders?:
|
|
502
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
503
503
|
): Promise<Types.GetAccountOwnedTokensQuery> {
|
|
504
504
|
return withWrapper(
|
|
505
505
|
(wrappedRequestHeaders) =>
|
|
@@ -513,7 +513,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
513
513
|
},
|
|
514
514
|
getAccountOwnedTokensByTokenData(
|
|
515
515
|
variables: Types.GetAccountOwnedTokensByTokenDataQueryVariables,
|
|
516
|
-
requestHeaders?:
|
|
516
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
517
517
|
): Promise<Types.GetAccountOwnedTokensByTokenDataQuery> {
|
|
518
518
|
return withWrapper(
|
|
519
519
|
(wrappedRequestHeaders) =>
|
|
@@ -527,7 +527,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
527
527
|
},
|
|
528
528
|
getAccountOwnedTokensFromCollection(
|
|
529
529
|
variables: Types.GetAccountOwnedTokensFromCollectionQueryVariables,
|
|
530
|
-
requestHeaders?:
|
|
530
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
531
531
|
): Promise<Types.GetAccountOwnedTokensFromCollectionQuery> {
|
|
532
532
|
return withWrapper(
|
|
533
533
|
(wrappedRequestHeaders) =>
|
|
@@ -542,7 +542,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
542
542
|
},
|
|
543
543
|
getAccountTokensCount(
|
|
544
544
|
variables?: Types.GetAccountTokensCountQueryVariables,
|
|
545
|
-
requestHeaders?:
|
|
545
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
546
546
|
): Promise<Types.GetAccountTokensCountQuery> {
|
|
547
547
|
return withWrapper(
|
|
548
548
|
(wrappedRequestHeaders) =>
|
|
@@ -556,7 +556,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
556
556
|
},
|
|
557
557
|
getAccountTransactionsCount(
|
|
558
558
|
variables?: Types.GetAccountTransactionsCountQueryVariables,
|
|
559
|
-
requestHeaders?:
|
|
559
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
560
560
|
): Promise<Types.GetAccountTransactionsCountQuery> {
|
|
561
561
|
return withWrapper(
|
|
562
562
|
(wrappedRequestHeaders) =>
|
|
@@ -570,7 +570,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
570
570
|
},
|
|
571
571
|
getChainTopUserTransactions(
|
|
572
572
|
variables?: Types.GetChainTopUserTransactionsQueryVariables,
|
|
573
|
-
requestHeaders?:
|
|
573
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
574
574
|
): Promise<Types.GetChainTopUserTransactionsQuery> {
|
|
575
575
|
return withWrapper(
|
|
576
576
|
(wrappedRequestHeaders) =>
|
|
@@ -584,7 +584,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
584
584
|
},
|
|
585
585
|
getCollectionData(
|
|
586
586
|
variables: Types.GetCollectionDataQueryVariables,
|
|
587
|
-
requestHeaders?:
|
|
587
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
588
588
|
): Promise<Types.GetCollectionDataQuery> {
|
|
589
589
|
return withWrapper(
|
|
590
590
|
(wrappedRequestHeaders) =>
|
|
@@ -598,7 +598,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
598
598
|
},
|
|
599
599
|
getCurrentFungibleAssetBalances(
|
|
600
600
|
variables?: Types.GetCurrentFungibleAssetBalancesQueryVariables,
|
|
601
|
-
requestHeaders?:
|
|
601
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
602
602
|
): Promise<Types.GetCurrentFungibleAssetBalancesQuery> {
|
|
603
603
|
return withWrapper(
|
|
604
604
|
(wrappedRequestHeaders) =>
|
|
@@ -612,7 +612,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
612
612
|
},
|
|
613
613
|
getDelegatedStakingActivities(
|
|
614
614
|
variables?: Types.GetDelegatedStakingActivitiesQueryVariables,
|
|
615
|
-
requestHeaders?:
|
|
615
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
616
616
|
): Promise<Types.GetDelegatedStakingActivitiesQuery> {
|
|
617
617
|
return withWrapper(
|
|
618
618
|
(wrappedRequestHeaders) =>
|
|
@@ -626,7 +626,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
626
626
|
},
|
|
627
627
|
getEvents(
|
|
628
628
|
variables?: Types.GetEventsQueryVariables,
|
|
629
|
-
requestHeaders?:
|
|
629
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
630
630
|
): Promise<Types.GetEventsQuery> {
|
|
631
631
|
return withWrapper(
|
|
632
632
|
(wrappedRequestHeaders) =>
|
|
@@ -637,7 +637,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
637
637
|
},
|
|
638
638
|
getFungibleAssetActivities(
|
|
639
639
|
variables?: Types.GetFungibleAssetActivitiesQueryVariables,
|
|
640
|
-
requestHeaders?:
|
|
640
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
641
641
|
): Promise<Types.GetFungibleAssetActivitiesQuery> {
|
|
642
642
|
return withWrapper(
|
|
643
643
|
(wrappedRequestHeaders) =>
|
|
@@ -651,7 +651,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
651
651
|
},
|
|
652
652
|
getFungibleAssetMetadata(
|
|
653
653
|
variables?: Types.GetFungibleAssetMetadataQueryVariables,
|
|
654
|
-
requestHeaders?:
|
|
654
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
655
655
|
): Promise<Types.GetFungibleAssetMetadataQuery> {
|
|
656
656
|
return withWrapper(
|
|
657
657
|
(wrappedRequestHeaders) =>
|
|
@@ -665,7 +665,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
665
665
|
},
|
|
666
666
|
getNumberOfDelegators(
|
|
667
667
|
variables: Types.GetNumberOfDelegatorsQueryVariables,
|
|
668
|
-
requestHeaders?:
|
|
668
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
669
669
|
): Promise<Types.GetNumberOfDelegatorsQuery> {
|
|
670
670
|
return withWrapper(
|
|
671
671
|
(wrappedRequestHeaders) =>
|
|
@@ -679,7 +679,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
679
679
|
},
|
|
680
680
|
getProcessorStatus(
|
|
681
681
|
variables?: Types.GetProcessorStatusQueryVariables,
|
|
682
|
-
requestHeaders?:
|
|
682
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
683
683
|
): Promise<Types.GetProcessorStatusQuery> {
|
|
684
684
|
return withWrapper(
|
|
685
685
|
(wrappedRequestHeaders) =>
|
|
@@ -693,7 +693,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
693
693
|
},
|
|
694
694
|
getTokenActivity(
|
|
695
695
|
variables: Types.GetTokenActivityQueryVariables,
|
|
696
|
-
requestHeaders?:
|
|
696
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
697
697
|
): Promise<Types.GetTokenActivityQuery> {
|
|
698
698
|
return withWrapper(
|
|
699
699
|
(wrappedRequestHeaders) =>
|
|
@@ -707,7 +707,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
707
707
|
},
|
|
708
708
|
getCurrentTokenOwnership(
|
|
709
709
|
variables: Types.GetCurrentTokenOwnershipQueryVariables,
|
|
710
|
-
requestHeaders?:
|
|
710
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
711
711
|
): Promise<Types.GetCurrentTokenOwnershipQuery> {
|
|
712
712
|
return withWrapper(
|
|
713
713
|
(wrappedRequestHeaders) =>
|
|
@@ -721,7 +721,7 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
|
|
|
721
721
|
},
|
|
722
722
|
getTokenData(
|
|
723
723
|
variables?: Types.GetTokenDataQueryVariables,
|
|
724
|
-
requestHeaders?:
|
|
724
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
725
725
|
): Promise<Types.GetTokenDataQuery> {
|
|
726
726
|
return withWrapper(
|
|
727
727
|
(wrappedRequestHeaders) =>
|