@aptos-labs/ts-sdk 1.16.0-zeta.0 → 1.16.0-zeta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/{accountAddress-BtD_TE5q.d.ts → accountAddress-YfW6h4Ja.d.ts} +57 -11
- package/dist/common/{chunk-VLEH6QBR.js → chunk-HPZUSDYP.js} +1 -1
- package/dist/common/{chunk-VLEH6QBR.js.map → chunk-HPZUSDYP.js.map} +1 -1
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/index.d.ts +199 -87
- package/dist/common/index.js +27 -27
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +4 -4
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +69 -23
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +3 -4
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +5 -5
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +5 -5
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +15 -11
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/deserializer.d.mts +14 -8
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +40 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-4KEEUDZA.mjs → chunk-27PC47S7.mjs} +2 -2
- package/dist/esm/{chunk-W36IQO5K.mjs → chunk-2NGHKNUS.mjs} +2 -2
- package/dist/esm/{chunk-N466X3S6.mjs → chunk-37FFZSIM.mjs} +2 -2
- package/dist/esm/{chunk-VT6XJSRO.mjs → chunk-3IFR6T3V.mjs} +1 -1
- package/dist/esm/chunk-3IFR6T3V.mjs.map +1 -0
- package/dist/esm/chunk-3RJZNUCQ.mjs +2 -0
- package/dist/esm/{chunk-Z2ZR4PTF.mjs → chunk-472OGHMG.mjs} +2 -2
- package/dist/esm/chunk-4TDMJQOJ.mjs +2 -0
- package/dist/esm/chunk-4TDMJQOJ.mjs.map +1 -0
- package/dist/esm/{chunk-STYDBDYL.mjs → chunk-4VPCPASN.mjs} +2 -2
- package/dist/esm/{chunk-M7HZOQ6A.mjs → chunk-5YH2YL3L.mjs} +2 -2
- package/dist/esm/{chunk-EPTCPBVW.mjs → chunk-6DFVM2W6.mjs} +2 -2
- package/dist/esm/{chunk-LEBJNW6Y.mjs → chunk-6FK6OA37.mjs} +2 -2
- package/dist/esm/{chunk-FBLSW5TB.mjs → chunk-6GGHUBUA.mjs} +2 -2
- package/dist/esm/{chunk-3FVRXELT.mjs → chunk-7BW2N4IE.mjs} +2 -2
- package/dist/esm/{chunk-NCDP26DV.mjs → chunk-7JLHN655.mjs} +2 -2
- package/dist/esm/{chunk-SBQRBBRS.mjs → chunk-7XRUPEQ4.mjs} +2 -2
- package/dist/esm/{chunk-Q3AUNZDW.mjs → chunk-B76XCRLH.mjs} +2 -2
- package/dist/esm/{chunk-MTLETLKV.mjs → chunk-BO44HPGU.mjs} +2 -2
- package/dist/esm/{chunk-QZRWRX6P.mjs → chunk-CVCM46UN.mjs} +2 -2
- package/dist/esm/{chunk-QZRWRX6P.mjs.map → chunk-CVCM46UN.mjs.map} +1 -1
- package/dist/esm/{chunk-HGZGTBA4.mjs → chunk-DPWEHSHH.mjs} +2 -2
- package/dist/esm/{chunk-LQH7T3TE.mjs → chunk-E4XMEVB7.mjs} +2 -2
- package/dist/esm/{chunk-7STYQ5ZE.mjs → chunk-EFMAZTIM.mjs} +2 -2
- package/dist/esm/{chunk-NQMF46E5.mjs → chunk-EQN6FVO7.mjs} +2 -2
- package/dist/esm/{chunk-T23OVRNF.mjs → chunk-F3ZVWLDH.mjs} +2 -2
- package/dist/esm/{chunk-F5C4SZZ7.mjs → chunk-FF4L66LJ.mjs} +2 -2
- package/dist/esm/{chunk-EB7AI4B4.mjs → chunk-FGGRPEQ3.mjs} +2 -2
- package/dist/esm/{chunk-IEZO4PIG.mjs → chunk-FIG65OJD.mjs} +2 -2
- package/dist/esm/chunk-FLALKQIK.mjs +2 -0
- package/dist/esm/{chunk-JKZHPY24.mjs.map → chunk-FLALKQIK.mjs.map} +1 -1
- package/dist/esm/{chunk-UDU5L4XH.mjs → chunk-FUKWM4HL.mjs} +2 -2
- package/dist/esm/{chunk-C3L4ETUF.mjs → chunk-GRHLQDHF.mjs} +2 -2
- package/dist/esm/{chunk-MGOHPDX4.mjs → chunk-GSCM444Z.mjs} +2 -2
- package/dist/esm/{chunk-T6OEZ4KP.mjs → chunk-GTUBZWAF.mjs} +2 -2
- package/dist/esm/chunk-GY6LFCB2.mjs +2 -0
- package/dist/esm/chunk-GY6LFCB2.mjs.map +1 -0
- package/dist/esm/{chunk-UWI5D7FD.mjs → chunk-H4AGIUGI.mjs} +2 -2
- package/dist/esm/{chunk-3Y6JNFPD.mjs → chunk-HZOBRRQP.mjs} +2 -2
- package/dist/esm/chunk-I7GRECEJ.mjs +2 -0
- package/dist/esm/{chunk-CNH2RAJQ.mjs.map → chunk-I7GRECEJ.mjs.map} +1 -1
- package/dist/esm/{chunk-6RBUXB5I.mjs → chunk-IBN7ETCB.mjs} +2 -2
- package/dist/esm/{chunk-KFUOOBMJ.mjs → chunk-IGMXAPHY.mjs} +2 -2
- package/dist/esm/{chunk-TEJ7BXJK.mjs → chunk-IPSITJFX.mjs} +2 -2
- package/dist/esm/chunk-IVVWQKCF.mjs +2 -0
- package/dist/esm/chunk-IVVWQKCF.mjs.map +1 -0
- package/dist/esm/{chunk-NC5HHEEM.mjs → chunk-IXFYYWAC.mjs} +2 -2
- package/dist/esm/{chunk-REBMGDZ5.mjs → chunk-J6VDYVNB.mjs} +2 -2
- package/dist/esm/{chunk-Y5BON557.mjs → chunk-JKRWCFUQ.mjs} +2 -2
- package/dist/esm/{chunk-I5JWDZIP.mjs → chunk-JOXU5RWH.mjs} +2 -2
- package/dist/esm/chunk-JOXU5RWH.mjs.map +1 -0
- package/dist/esm/{chunk-IJE5YSXW.mjs → chunk-JWGG6XFS.mjs} +2 -2
- package/dist/esm/{chunk-MWN63XBE.mjs → chunk-K2KJX32L.mjs} +2 -2
- package/dist/esm/chunk-KCRCX6BL.mjs +2 -0
- package/dist/esm/chunk-KCRCX6BL.mjs.map +1 -0
- package/dist/esm/chunk-KGHBTSDR.mjs +2 -0
- package/dist/esm/chunk-KGHBTSDR.mjs.map +1 -0
- package/dist/esm/{chunk-6KNAIXZ3.mjs → chunk-KMVSI4PC.mjs} +2 -2
- package/dist/esm/chunk-KNMQU2TA.mjs +2 -0
- package/dist/esm/chunk-KNMQU2TA.mjs.map +1 -0
- package/dist/esm/{chunk-Y33VGXNI.mjs → chunk-KSSJ3CT5.mjs} +2 -2
- package/dist/esm/{chunk-EIRSA5UU.mjs → chunk-KUMZXNMD.mjs} +2 -2
- package/dist/esm/{chunk-NWWXZ7EW.mjs → chunk-L5CPAOUM.mjs} +2 -2
- package/dist/esm/{chunk-EADBYPUD.mjs → chunk-LMEJ5K6B.mjs} +2 -2
- package/dist/esm/chunk-LYOUEPDG.mjs +2 -0
- package/dist/esm/chunk-LYOUEPDG.mjs.map +1 -0
- package/dist/esm/{chunk-WAXCU6D6.mjs → chunk-MEOGVBMZ.mjs} +2 -2
- package/dist/esm/{chunk-3VGX3TXH.mjs → chunk-MLX6DFMR.mjs} +2 -2
- package/dist/esm/{chunk-KKP4FBWZ.mjs → chunk-MX5Z3EHG.mjs} +2 -2
- package/dist/esm/{chunk-MWUJCP27.mjs → chunk-NW3WUTTD.mjs} +2 -2
- package/dist/esm/{chunk-YHO2EBXH.mjs → chunk-NW6LGHE7.mjs} +2 -2
- package/dist/esm/{chunk-ZCCYHFPK.mjs → chunk-OJL36Q4H.mjs} +2 -2
- package/dist/esm/{chunk-LO7B3CWN.mjs → chunk-OJUFU5TJ.mjs} +2 -2
- package/dist/esm/{chunk-ONIYM7IU.mjs → chunk-PAY7N36H.mjs} +2 -2
- package/dist/esm/{chunk-RUSWW265.mjs → chunk-PHEA3NOJ.mjs} +2 -2
- package/dist/esm/{chunk-OX5GWFHX.mjs → chunk-PUP6XMAV.mjs} +2 -2
- package/dist/esm/{chunk-A3UVZHDJ.mjs → chunk-PWYL5QZP.mjs} +2 -2
- package/dist/esm/{chunk-JM2B5E2I.mjs → chunk-Q6LFIZ3L.mjs} +1 -1
- package/dist/esm/chunk-Q6LFIZ3L.mjs.map +1 -0
- package/dist/esm/{chunk-JCDZ2WXX.mjs → chunk-QHB5A5YP.mjs} +1 -1
- package/dist/esm/chunk-QHB5A5YP.mjs.map +1 -0
- package/dist/esm/{chunk-UFJGYMEB.mjs → chunk-R4KIZ2FK.mjs} +2 -2
- package/dist/esm/{chunk-6M53MDWB.mjs → chunk-RTO3YBWQ.mjs} +2 -2
- package/dist/esm/{chunk-OT37OTT7.mjs → chunk-RURI53PG.mjs} +2 -2
- package/dist/esm/{chunk-5RRZMXND.mjs → chunk-RX5SPT5S.mjs} +2 -2
- package/dist/esm/{chunk-4USAUOCE.mjs → chunk-RYRID5HT.mjs} +2 -2
- package/dist/esm/{chunk-Z6JERVLX.mjs → chunk-SBEZ64HG.mjs} +2 -2
- package/dist/esm/{chunk-C34M4T77.mjs → chunk-SNDFJWYM.mjs} +2 -2
- package/dist/esm/chunk-T4HO5JMQ.mjs +2 -0
- package/dist/esm/chunk-T4HO5JMQ.mjs.map +1 -0
- package/dist/esm/{chunk-7H3HRFVM.mjs → chunk-T5YEMU53.mjs} +2 -2
- package/dist/esm/{chunk-ZNEBMSNC.mjs → chunk-TUCCV62K.mjs} +2 -2
- package/dist/esm/{chunk-7QGIAVW4.mjs → chunk-UBON2G6Y.mjs} +2 -2
- package/dist/esm/{chunk-TVRJ3M7B.mjs → chunk-UMLUOYFK.mjs} +1 -1
- package/dist/esm/{chunk-TVRJ3M7B.mjs.map → chunk-UMLUOYFK.mjs.map} +1 -1
- package/dist/esm/chunk-VCAURUJ3.mjs +2 -0
- package/dist/esm/chunk-VCAURUJ3.mjs.map +1 -0
- package/dist/esm/chunk-VJ3OBIFQ.mjs +2 -0
- package/dist/esm/chunk-VJ3OBIFQ.mjs.map +1 -0
- package/dist/esm/{chunk-COW5IGYC.mjs → chunk-WA2NTBYY.mjs} +2 -2
- package/dist/esm/{chunk-UO5LUYGO.mjs → chunk-XGDLSWBF.mjs} +2 -2
- package/dist/esm/{chunk-EU6CX56Q.mjs → chunk-XH33BXEY.mjs} +2 -2
- package/dist/esm/{chunk-PYUU4OEL.mjs → chunk-XVZBWW46.mjs} +2 -2
- package/dist/esm/chunk-YBXQVY7N.mjs +2 -0
- package/dist/esm/{chunk-N7CE244N.mjs.map → chunk-YBXQVY7N.mjs.map} +1 -1
- package/dist/esm/{chunk-MKUAW7KW.mjs → chunk-YDNOKWV3.mjs} +2 -2
- package/dist/esm/{chunk-W637YAND.mjs → chunk-YRUF6N3U.mjs} +2 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +6 -0
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +6 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/cryptoHasher.d.mts +21 -0
- package/dist/esm/core/crypto/cryptoHasher.mjs +2 -0
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -1
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +52 -8
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.d.mts +14 -2
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -1
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/index.d.mts +6 -5
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +10 -9
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +1 -2
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -11
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/types/index.d.mts +2 -2
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/keyless.d.mts +37 -1
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -2
- package/src/account/EphemeralKeyPair.ts +6 -6
- package/src/account/KeylessAccount.ts +72 -66
- package/src/api/keyless.ts +13 -4
- package/src/bcs/deserializer.ts +14 -8
- package/src/bcs/serializer.ts +40 -0
- package/src/client/core.ts +4 -8
- package/src/client/get.ts +6 -0
- package/src/client/post.ts +6 -0
- package/src/core/crypto/cryptoHasher.ts +16 -0
- package/src/core/crypto/keyless.ts +155 -23
- package/src/core/crypto/poseidon.ts +19 -8
- package/src/internal/keyless.ts +83 -15
- package/src/internal/transactionSubmission.ts +2 -2
- package/src/transactions/transactionBuilder/signingMessage.ts +0 -13
- package/src/transactions/transactionBuilder/transactionBuilder.ts +4 -2
- package/src/types/index.ts +2 -2
- package/src/types/keyless.ts +36 -0
- package/src/utils/apiEndpoints.ts +5 -3
- package/src/utils/helpers.ts +0 -1
- package/src/version.ts +1 -1
- package/dist/esm/bcs/cryptoHasher.d.mts +0 -15
- package/dist/esm/bcs/cryptoHasher.mjs +0 -2
- package/dist/esm/chunk-5ADNWXP2.mjs +0 -2
- package/dist/esm/chunk-5ADNWXP2.mjs.map +0 -1
- package/dist/esm/chunk-5V2RGYYK.mjs +0 -2
- package/dist/esm/chunk-5V2RGYYK.mjs.map +0 -1
- package/dist/esm/chunk-5YI2GEG5.mjs +0 -2
- package/dist/esm/chunk-5YI2GEG5.mjs.map +0 -1
- package/dist/esm/chunk-CNH2RAJQ.mjs +0 -2
- package/dist/esm/chunk-I5JWDZIP.mjs.map +0 -1
- package/dist/esm/chunk-JCDZ2WXX.mjs.map +0 -1
- package/dist/esm/chunk-JKZHPY24.mjs +0 -2
- package/dist/esm/chunk-JM2B5E2I.mjs.map +0 -1
- package/dist/esm/chunk-KPZDC5ZE.mjs +0 -2
- package/dist/esm/chunk-KPZDC5ZE.mjs.map +0 -1
- package/dist/esm/chunk-LECNIPW7.mjs +0 -2
- package/dist/esm/chunk-LECNIPW7.mjs.map +0 -1
- package/dist/esm/chunk-N7CE244N.mjs +0 -2
- package/dist/esm/chunk-R2P2XANA.mjs +0 -2
- package/dist/esm/chunk-R2P2XANA.mjs.map +0 -1
- package/dist/esm/chunk-UTXJOB3O.mjs +0 -2
- package/dist/esm/chunk-VT6XJSRO.mjs.map +0 -1
- package/dist/esm/chunk-W4IWORPF.mjs +0 -2
- package/dist/esm/chunk-W4IWORPF.mjs.map +0 -1
- package/dist/esm/chunk-WDE54GRQ.mjs +0 -2
- package/dist/esm/chunk-WDE54GRQ.mjs.map +0 -1
- package/dist/esm/chunk-YZPQVZ7S.mjs +0 -2
- package/dist/esm/chunk-YZPQVZ7S.mjs.map +0 -1
- package/dist/esm/chunk-ZUQJLFR2.mjs +0 -2
- package/dist/esm/chunk-ZUQJLFR2.mjs.map +0 -1
- package/src/bcs/cryptoHasher.ts +0 -6
- /package/dist/esm/{chunk-4KEEUDZA.mjs.map → chunk-27PC47S7.mjs.map} +0 -0
- /package/dist/esm/{chunk-W36IQO5K.mjs.map → chunk-2NGHKNUS.mjs.map} +0 -0
- /package/dist/esm/{chunk-N466X3S6.mjs.map → chunk-37FFZSIM.mjs.map} +0 -0
- /package/dist/esm/{chunk-UTXJOB3O.mjs.map → chunk-3RJZNUCQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z2ZR4PTF.mjs.map → chunk-472OGHMG.mjs.map} +0 -0
- /package/dist/esm/{chunk-STYDBDYL.mjs.map → chunk-4VPCPASN.mjs.map} +0 -0
- /package/dist/esm/{chunk-M7HZOQ6A.mjs.map → chunk-5YH2YL3L.mjs.map} +0 -0
- /package/dist/esm/{chunk-EPTCPBVW.mjs.map → chunk-6DFVM2W6.mjs.map} +0 -0
- /package/dist/esm/{chunk-LEBJNW6Y.mjs.map → chunk-6FK6OA37.mjs.map} +0 -0
- /package/dist/esm/{chunk-FBLSW5TB.mjs.map → chunk-6GGHUBUA.mjs.map} +0 -0
- /package/dist/esm/{chunk-3FVRXELT.mjs.map → chunk-7BW2N4IE.mjs.map} +0 -0
- /package/dist/esm/{chunk-NCDP26DV.mjs.map → chunk-7JLHN655.mjs.map} +0 -0
- /package/dist/esm/{chunk-SBQRBBRS.mjs.map → chunk-7XRUPEQ4.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q3AUNZDW.mjs.map → chunk-B76XCRLH.mjs.map} +0 -0
- /package/dist/esm/{chunk-MTLETLKV.mjs.map → chunk-BO44HPGU.mjs.map} +0 -0
- /package/dist/esm/{chunk-HGZGTBA4.mjs.map → chunk-DPWEHSHH.mjs.map} +0 -0
- /package/dist/esm/{chunk-LQH7T3TE.mjs.map → chunk-E4XMEVB7.mjs.map} +0 -0
- /package/dist/esm/{chunk-7STYQ5ZE.mjs.map → chunk-EFMAZTIM.mjs.map} +0 -0
- /package/dist/esm/{chunk-NQMF46E5.mjs.map → chunk-EQN6FVO7.mjs.map} +0 -0
- /package/dist/esm/{chunk-T23OVRNF.mjs.map → chunk-F3ZVWLDH.mjs.map} +0 -0
- /package/dist/esm/{chunk-F5C4SZZ7.mjs.map → chunk-FF4L66LJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-EB7AI4B4.mjs.map → chunk-FGGRPEQ3.mjs.map} +0 -0
- /package/dist/esm/{chunk-IEZO4PIG.mjs.map → chunk-FIG65OJD.mjs.map} +0 -0
- /package/dist/esm/{chunk-UDU5L4XH.mjs.map → chunk-FUKWM4HL.mjs.map} +0 -0
- /package/dist/esm/{chunk-C3L4ETUF.mjs.map → chunk-GRHLQDHF.mjs.map} +0 -0
- /package/dist/esm/{chunk-MGOHPDX4.mjs.map → chunk-GSCM444Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-T6OEZ4KP.mjs.map → chunk-GTUBZWAF.mjs.map} +0 -0
- /package/dist/esm/{chunk-UWI5D7FD.mjs.map → chunk-H4AGIUGI.mjs.map} +0 -0
- /package/dist/esm/{chunk-3Y6JNFPD.mjs.map → chunk-HZOBRRQP.mjs.map} +0 -0
- /package/dist/esm/{chunk-6RBUXB5I.mjs.map → chunk-IBN7ETCB.mjs.map} +0 -0
- /package/dist/esm/{chunk-KFUOOBMJ.mjs.map → chunk-IGMXAPHY.mjs.map} +0 -0
- /package/dist/esm/{chunk-TEJ7BXJK.mjs.map → chunk-IPSITJFX.mjs.map} +0 -0
- /package/dist/esm/{chunk-NC5HHEEM.mjs.map → chunk-IXFYYWAC.mjs.map} +0 -0
- /package/dist/esm/{chunk-REBMGDZ5.mjs.map → chunk-J6VDYVNB.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y5BON557.mjs.map → chunk-JKRWCFUQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-IJE5YSXW.mjs.map → chunk-JWGG6XFS.mjs.map} +0 -0
- /package/dist/esm/{chunk-MWN63XBE.mjs.map → chunk-K2KJX32L.mjs.map} +0 -0
- /package/dist/esm/{chunk-6KNAIXZ3.mjs.map → chunk-KMVSI4PC.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y33VGXNI.mjs.map → chunk-KSSJ3CT5.mjs.map} +0 -0
- /package/dist/esm/{chunk-EIRSA5UU.mjs.map → chunk-KUMZXNMD.mjs.map} +0 -0
- /package/dist/esm/{chunk-NWWXZ7EW.mjs.map → chunk-L5CPAOUM.mjs.map} +0 -0
- /package/dist/esm/{chunk-EADBYPUD.mjs.map → chunk-LMEJ5K6B.mjs.map} +0 -0
- /package/dist/esm/{chunk-WAXCU6D6.mjs.map → chunk-MEOGVBMZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-3VGX3TXH.mjs.map → chunk-MLX6DFMR.mjs.map} +0 -0
- /package/dist/esm/{chunk-KKP4FBWZ.mjs.map → chunk-MX5Z3EHG.mjs.map} +0 -0
- /package/dist/esm/{chunk-MWUJCP27.mjs.map → chunk-NW3WUTTD.mjs.map} +0 -0
- /package/dist/esm/{chunk-YHO2EBXH.mjs.map → chunk-NW6LGHE7.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZCCYHFPK.mjs.map → chunk-OJL36Q4H.mjs.map} +0 -0
- /package/dist/esm/{chunk-LO7B3CWN.mjs.map → chunk-OJUFU5TJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-ONIYM7IU.mjs.map → chunk-PAY7N36H.mjs.map} +0 -0
- /package/dist/esm/{chunk-RUSWW265.mjs.map → chunk-PHEA3NOJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-OX5GWFHX.mjs.map → chunk-PUP6XMAV.mjs.map} +0 -0
- /package/dist/esm/{chunk-A3UVZHDJ.mjs.map → chunk-PWYL5QZP.mjs.map} +0 -0
- /package/dist/esm/{chunk-UFJGYMEB.mjs.map → chunk-R4KIZ2FK.mjs.map} +0 -0
- /package/dist/esm/{chunk-6M53MDWB.mjs.map → chunk-RTO3YBWQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-OT37OTT7.mjs.map → chunk-RURI53PG.mjs.map} +0 -0
- /package/dist/esm/{chunk-5RRZMXND.mjs.map → chunk-RX5SPT5S.mjs.map} +0 -0
- /package/dist/esm/{chunk-4USAUOCE.mjs.map → chunk-RYRID5HT.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z6JERVLX.mjs.map → chunk-SBEZ64HG.mjs.map} +0 -0
- /package/dist/esm/{chunk-C34M4T77.mjs.map → chunk-SNDFJWYM.mjs.map} +0 -0
- /package/dist/esm/{chunk-7H3HRFVM.mjs.map → chunk-T5YEMU53.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZNEBMSNC.mjs.map → chunk-TUCCV62K.mjs.map} +0 -0
- /package/dist/esm/{chunk-7QGIAVW4.mjs.map → chunk-UBON2G6Y.mjs.map} +0 -0
- /package/dist/esm/{chunk-COW5IGYC.mjs.map → chunk-WA2NTBYY.mjs.map} +0 -0
- /package/dist/esm/{chunk-UO5LUYGO.mjs.map → chunk-XGDLSWBF.mjs.map} +0 -0
- /package/dist/esm/{chunk-EU6CX56Q.mjs.map → chunk-XH33BXEY.mjs.map} +0 -0
- /package/dist/esm/{chunk-PYUU4OEL.mjs.map → chunk-XVZBWW46.mjs.map} +0 -0
- /package/dist/esm/{chunk-MKUAW7KW.mjs.map → chunk-YDNOKWV3.mjs.map} +0 -0
- /package/dist/esm/{chunk-W637YAND.mjs.map → chunk-YRUF6N3U.mjs.map} +0 -0
- /package/dist/esm/{bcs → core/crypto}/cryptoHasher.mjs.map +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, j as EphemeralCertificateVariant, Z as ZkpVariant, N as Network, C as Client, k as ClientConfig, F as FullNodeConfig, I as IndexerConfig, l as FaucetConfig, m as AptosSettings, M as MoveModuleId, n as ScriptFunctionArgument, o as MoveFunctionId, p as AccountAddressInput, q as MoveFunctionGenericTypeParam, r as SigningSchemeInput, s as SigningScheme, t as
|
|
2
|
-
export { aA as AccountAuthenticatorVariant, bg as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aP as BlockMetadataTransactionResponse, aG as ClientHeadersType, aZ as DecodedTableData, a_ as DeletedTableData, bD as DeriveScheme, bj as DirectWriteSet, b0 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bl as Event, bk as EventGuid, bG as GenerateAccount, bE as GenerateAccountWithEd25519, bF as GenerateAccountWithSingleSignerSecp256k1Key, b3 as GenesisPayload, aO as GenesisTransactionResponse, au as HexInvalidReason, by as MoveAbility, bs as MoveAddressType, bx as MoveFunctionVisibility, bA as MoveModule, bt as MoveObjectType, bu as MoveOptionType, b4 as MoveScriptBytecode, bB as MoveStruct, bz as MoveStructField, bv as MoveStructType, bw as MoveType, bq as MoveUint128Type, bn as MoveUint16Type, br as MoveUint256Type, bo as MoveUint32Type, bp as MoveUint64Type, bm as MoveUint8Type, b2 as MultisigPayloadResponse, bP as NetworkToChainId, bM as NetworkToFaucetAPI, bK as NetworkToIndexerAPI, bQ as NetworkToNetworkName, bL as NetworkToNodeAPI, bN as NetworkToPepperAPI, bO as NetworkToProverAPI, bH as OrderBy, bI as OrderByValue, as as ParsingError, at as ParsingResult, bC as RoleType, b1 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bi as ScriptWriteSet, aQ as StateCheckpointTransactionResponse, bJ as TokenStandard, az as TransactionAuthenticatorVariant, bb as TransactionEd25519Signature, bf as TransactionFeePayerSignature, be as TransactionMultiAgentSignature, bd as TransactionMultiEd25519Signature, a$ as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bc as TransactionSecp256k1Signature, b5 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aR as ValidatorTransactionResponse, bh as WriteSet, aS as WriteSetChange, aT as WriteSetChangeDeleteModule, aU as WriteSetChangeDeleteResource, aV as WriteSetChangeDeleteTableItem, aW as WriteSetChangeWriteModule, aX as WriteSetChangeWriteResource, aY as WriteSetChangeWriteTableItem, ao as ensureBoolean, aL as isBlockMetadataTransactionResponse, b6 as isEd25519Signature, b9 as isFeePayerSignature, aK as isGenesisTransactionResponse, b8 as isMultiAgentSignature, ba as isMultiEd25519Signature, aI as isPendingTransactionResponse, b7 as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-
|
|
1
|
+
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, j as EphemeralCertificateVariant, Z as ZkpVariant, N as Network, C as Client, k as ClientConfig, F as FullNodeConfig, I as IndexerConfig, l as FaucetConfig, m as AptosSettings, M as MoveModuleId, n as ScriptFunctionArgument, o as MoveFunctionId, p as AccountAddressInput, q as MoveFunctionGenericTypeParam, r as SigningSchemeInput, s as SigningScheme, t as AccountData, P as PaginationArgs, L as LedgerVersionArg, u as MoveModuleBytecode, v as TransactionResponse, w as MoveResource, x as MoveStructId, y as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, z as GetAccountOwnedTokensFromCollectionResponse, B as GetAccountCollectionsWithOwnedTokenResponse, J as GetAccountCoinsDataResponse, W as WhereArg, K as GetAccountOwnedObjectsResponse, Q as GetCollectionDataResponse, R as GetTokenDataResponse, V as GetCurrentTokenOwnershipResponse, X as GetOwnedTokensResponse, Y as GetTokenActivityResponse, _ as GetEventsResponse, $ as WaitForTransactionOptions, a0 as UserTransactionResponse, a1 as MoveFunction, a2 as GetFungibleAssetMetadataResponse, a3 as GetFungibleAssetActivitiesResponse, a4 as GetCurrentFungibleAssetBalancesResponse, a5 as LedgerInfo, a6 as Block, a7 as MoveValue, a8 as GetChainTopUserTransactionsResponse, a9 as GraphqlQuery, aa as GetProcessorStatusResponse, ab as GetANSNameResponse, ac as GetNumberOfDelegatorsResponse, ad as GetDelegatedStakingActivitiesResponse, ae as PendingTransactionResponse, af as CommittedTransactionResponse, ag as GasEstimation, ah as TableItemRequest, ai as GetTableItemsDataResponse, aj as GetTableItemsMetadataResponse, ak as AptosRequest, al as ClientRequest, am as ClientResponse, an as MimeType } from './accountAddress-YfW6h4Ja.js';
|
|
2
|
+
export { aA as AccountAuthenticatorVariant, bg as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aP as BlockMetadataTransactionResponse, aG as ClientHeadersType, aZ as DecodedTableData, a_ as DeletedTableData, bD as DeriveScheme, bj as DirectWriteSet, b0 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bl as Event, bk as EventGuid, bG as GenerateAccount, bE as GenerateAccountWithEd25519, bF as GenerateAccountWithSingleSignerSecp256k1Key, b3 as GenesisPayload, aO as GenesisTransactionResponse, au as HexInvalidReason, by as MoveAbility, bs as MoveAddressType, bx as MoveFunctionVisibility, bA as MoveModule, bt as MoveObjectType, bu as MoveOptionType, b4 as MoveScriptBytecode, bB as MoveStruct, bz as MoveStructField, bv as MoveStructType, bw as MoveType, bq as MoveUint128Type, bn as MoveUint16Type, br as MoveUint256Type, bo as MoveUint32Type, bp as MoveUint64Type, bm as MoveUint8Type, b2 as MultisigPayloadResponse, bP as NetworkToChainId, bM as NetworkToFaucetAPI, bK as NetworkToIndexerAPI, bQ as NetworkToNetworkName, bL as NetworkToNodeAPI, bN as NetworkToPepperAPI, bO as NetworkToProverAPI, bH as OrderBy, bI as OrderByValue, as as ParsingError, at as ParsingResult, bC as RoleType, b1 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bi as ScriptWriteSet, aQ as StateCheckpointTransactionResponse, bJ as TokenStandard, az as TransactionAuthenticatorVariant, bb as TransactionEd25519Signature, bf as TransactionFeePayerSignature, be as TransactionMultiAgentSignature, bd as TransactionMultiEd25519Signature, a$ as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bc as TransactionSecp256k1Signature, b5 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aR as ValidatorTransactionResponse, bh as WriteSet, aS as WriteSetChange, aT as WriteSetChangeDeleteModule, aU as WriteSetChangeDeleteResource, aV as WriteSetChangeDeleteTableItem, aW as WriteSetChangeWriteModule, aX as WriteSetChangeWriteResource, aY as WriteSetChangeWriteTableItem, ao as ensureBoolean, aL as isBlockMetadataTransactionResponse, b6 as isEd25519Signature, b9 as isFeePayerSignature, aK as isGenesisTransactionResponse, b8 as isMultiAgentSignature, ba as isMultiEd25519Signature, aI as isPendingTransactionResponse, b7 as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-YfW6h4Ja.js';
|
|
3
3
|
import EventEmitter from 'eventemitter3';
|
|
4
4
|
|
|
5
5
|
type Maybe<T> = T | null;
|
|
@@ -1436,6 +1436,14 @@ declare abstract class Proof extends Serializable {
|
|
|
1436
1436
|
toString(): string;
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
|
+
type Groth16VerificationKeyResponse = {
|
|
1440
|
+
alpha_g1: string;
|
|
1441
|
+
beta_g2: string;
|
|
1442
|
+
delta_g2: string;
|
|
1443
|
+
gamma_abc_g1: [string, string];
|
|
1444
|
+
gamma_g2: string;
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1439
1447
|
declare const EPK_HORIZON_SECS = 10000000;
|
|
1440
1448
|
declare const MAX_AUD_VAL_BYTES = 120;
|
|
1441
1449
|
declare const MAX_UID_KEY_BYTES = 30;
|
|
@@ -1451,7 +1459,15 @@ declare const MAX_COMMITED_EPK_BYTES = 93;
|
|
|
1451
1459
|
*/
|
|
1452
1460
|
declare class KeylessPublicKey extends AccountPublicKey {
|
|
1453
1461
|
static readonly ID_COMMITMENT_LENGTH: number;
|
|
1462
|
+
/**
|
|
1463
|
+
* The value of the 'iss' claim on the JWT which identifies the OIDC provider.
|
|
1464
|
+
*/
|
|
1454
1465
|
readonly iss: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* A value representing a cryptographic commitment to a user identity.
|
|
1468
|
+
*
|
|
1469
|
+
* It is calculated from the aud, uidKey, uidVal, pepper.
|
|
1470
|
+
*/
|
|
1455
1471
|
readonly idCommitment: Uint8Array;
|
|
1456
1472
|
constructor(iss: string, idCommitment: HexInput);
|
|
1457
1473
|
/**
|
|
@@ -1520,7 +1536,7 @@ declare class KeylessSignature extends Signature {
|
|
|
1520
1536
|
/**
|
|
1521
1537
|
* The expiry timestamp in seconds of the EphemeralKeyPair used to sign
|
|
1522
1538
|
*/
|
|
1523
|
-
readonly expiryDateSecs:
|
|
1539
|
+
readonly expiryDateSecs: number;
|
|
1524
1540
|
/**
|
|
1525
1541
|
* The ephemeral public key used to verify the signature
|
|
1526
1542
|
*/
|
|
@@ -1532,7 +1548,7 @@ declare class KeylessSignature extends Signature {
|
|
|
1532
1548
|
constructor(args: {
|
|
1533
1549
|
jwtHeader: string;
|
|
1534
1550
|
ephemeralCertificate: EphemeralCertificate;
|
|
1535
|
-
expiryDateSecs:
|
|
1551
|
+
expiryDateSecs: number;
|
|
1536
1552
|
ephemeralPublicKey: EphemeralPublicKey;
|
|
1537
1553
|
ephemeralSignature: EphemeralSignature;
|
|
1538
1554
|
});
|
|
@@ -1545,6 +1561,7 @@ declare class KeylessSignature extends Signature {
|
|
|
1545
1561
|
serialize(serializer: Serializer): void;
|
|
1546
1562
|
static deserialize(deserializer: Deserializer): KeylessSignature;
|
|
1547
1563
|
static load(deserializer: Deserializer): KeylessSignature;
|
|
1564
|
+
static getSimulationSignature(): KeylessSignature;
|
|
1548
1565
|
static isSignature(signature: Signature): signature is KeylessSignature;
|
|
1549
1566
|
}
|
|
1550
1567
|
/**
|
|
@@ -1566,6 +1583,18 @@ declare class EphemeralCertificate extends Signature {
|
|
|
1566
1583
|
serialize(serializer: Serializer): void;
|
|
1567
1584
|
static deserialize(deserializer: Deserializer): EphemeralCertificate;
|
|
1568
1585
|
}
|
|
1586
|
+
declare class G1Bytes extends Serializable {
|
|
1587
|
+
data: Uint8Array;
|
|
1588
|
+
constructor(data: HexInput);
|
|
1589
|
+
serialize(serializer: Serializer): void;
|
|
1590
|
+
static deserialize(deserializer: Deserializer): G1Bytes;
|
|
1591
|
+
}
|
|
1592
|
+
declare class G2Bytes extends Serializable {
|
|
1593
|
+
data: Uint8Array;
|
|
1594
|
+
constructor(data: HexInput);
|
|
1595
|
+
serialize(serializer: Serializer): void;
|
|
1596
|
+
static deserialize(deserializer: Deserializer): G2Bytes;
|
|
1597
|
+
}
|
|
1569
1598
|
/**
|
|
1570
1599
|
* A representation of a Groth16 proof. The points are the compressed serialization of affine reprentation of the proof.
|
|
1571
1600
|
*/
|
|
@@ -1573,15 +1602,15 @@ declare class Groth16Zkp extends Proof {
|
|
|
1573
1602
|
/**
|
|
1574
1603
|
* The bytes of G1 proof point a
|
|
1575
1604
|
*/
|
|
1576
|
-
a:
|
|
1605
|
+
a: G1Bytes;
|
|
1577
1606
|
/**
|
|
1578
1607
|
* The bytes of G2 proof point b
|
|
1579
1608
|
*/
|
|
1580
|
-
b:
|
|
1609
|
+
b: G2Bytes;
|
|
1581
1610
|
/**
|
|
1582
1611
|
* The bytes of G1 proof point c
|
|
1583
1612
|
*/
|
|
1584
|
-
c:
|
|
1613
|
+
c: G1Bytes;
|
|
1585
1614
|
constructor(args: {
|
|
1586
1615
|
a: HexInput;
|
|
1587
1616
|
b: HexInput;
|
|
@@ -1616,11 +1645,12 @@ declare class ZeroKnowledgeSig extends Signature {
|
|
|
1616
1645
|
*/
|
|
1617
1646
|
readonly expHorizonSecs: bigint;
|
|
1618
1647
|
/**
|
|
1619
|
-
* A key value pair on the JWT token that can be
|
|
1648
|
+
* A key value pair on the JWT token that can be specified on the signature which would reveal the value on chain.
|
|
1649
|
+
* Can be used to assert identity or other attributes.
|
|
1620
1650
|
*/
|
|
1621
1651
|
readonly extraField?: string;
|
|
1622
1652
|
/**
|
|
1623
|
-
*
|
|
1653
|
+
* The 'aud' value of the recovery service which is set when recovering an account.
|
|
1624
1654
|
*/
|
|
1625
1655
|
readonly overrideAudVal?: string;
|
|
1626
1656
|
/**
|
|
@@ -1650,6 +1680,27 @@ declare class ZeroKnowledgeSig extends Signature {
|
|
|
1650
1680
|
static deserialize(deserializer: Deserializer): ZeroKnowledgeSig;
|
|
1651
1681
|
static load(deserializer: Deserializer): ZeroKnowledgeSig;
|
|
1652
1682
|
}
|
|
1683
|
+
declare class KeylessConfiguration {
|
|
1684
|
+
readonly verficationKey: Groth16VerificationKey;
|
|
1685
|
+
readonly maxExpHorizonSecs: number;
|
|
1686
|
+
constructor(verficationKey: Groth16VerificationKey, maxExpHorizonSecs: number);
|
|
1687
|
+
static create(res: Groth16VerificationKeyResponse, maxExpHorizonSecs: number): KeylessConfiguration;
|
|
1688
|
+
}
|
|
1689
|
+
declare class Groth16VerificationKey {
|
|
1690
|
+
readonly alphaG1: G1Bytes;
|
|
1691
|
+
readonly betaG2: G2Bytes;
|
|
1692
|
+
readonly deltaG2: G2Bytes;
|
|
1693
|
+
readonly gammaAbcG1: G1Bytes[];
|
|
1694
|
+
readonly gammaG2: G2Bytes;
|
|
1695
|
+
constructor(args: {
|
|
1696
|
+
alphaG1: HexInput;
|
|
1697
|
+
betaG2: HexInput;
|
|
1698
|
+
deltaG2: HexInput;
|
|
1699
|
+
gammaAbcG1: [HexInput, HexInput];
|
|
1700
|
+
gammaG2: HexInput;
|
|
1701
|
+
});
|
|
1702
|
+
static fromGroth16VerificationKeyResponse(res: Groth16VerificationKeyResponse): Groth16VerificationKey;
|
|
1703
|
+
}
|
|
1653
1704
|
|
|
1654
1705
|
/**
|
|
1655
1706
|
* Represents the Secp256k1 ecdsa public key
|
|
@@ -3171,7 +3222,7 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3171
3222
|
* A timestamp in seconds indicating when the ephemeral key pair is expired. After expiry, a new
|
|
3172
3223
|
* EphemeralKeyPair must be generated and a new JWT needs to be created.
|
|
3173
3224
|
*/
|
|
3174
|
-
readonly expiryDateSecs:
|
|
3225
|
+
readonly expiryDateSecs: number;
|
|
3175
3226
|
/**
|
|
3176
3227
|
* The value passed to the IdP when the user authenticates. It comprises of a hash of the
|
|
3177
3228
|
* ephermeral public key, expiry date, and blinder.
|
|
@@ -3189,7 +3240,7 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3189
3240
|
private publicKey;
|
|
3190
3241
|
constructor(args: {
|
|
3191
3242
|
privateKey: PrivateKey;
|
|
3192
|
-
expiryDateSecs?:
|
|
3243
|
+
expiryDateSecs?: number;
|
|
3193
3244
|
blinder?: HexInput;
|
|
3194
3245
|
});
|
|
3195
3246
|
/**
|
|
@@ -3213,7 +3264,7 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3213
3264
|
*/
|
|
3214
3265
|
static generate(args?: {
|
|
3215
3266
|
scheme: EphemeralPublicKeyVariant;
|
|
3216
|
-
expiryDateSecs?:
|
|
3267
|
+
expiryDateSecs?: number;
|
|
3217
3268
|
}): EphemeralKeyPair;
|
|
3218
3269
|
/**
|
|
3219
3270
|
* From the ephemeral public key, expiry timestamp, and blinder, calculate the nonce to be used at authentication via OIDC.
|
|
@@ -3228,82 +3279,85 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3228
3279
|
sign(data: HexInput): EphemeralSignature;
|
|
3229
3280
|
}
|
|
3230
3281
|
|
|
3231
|
-
/**
|
|
3232
|
-
* The API response type
|
|
3233
|
-
*
|
|
3234
|
-
* @param status - the response status. i.e. 200
|
|
3235
|
-
* @param statusText - the response message
|
|
3236
|
-
* @param data the response data
|
|
3237
|
-
* @param url the url the request was made to
|
|
3238
|
-
* @param headers the response headers
|
|
3239
|
-
* @param config (optional) - the request object
|
|
3240
|
-
* @param request (optional) - the request object
|
|
3241
|
-
*/
|
|
3242
|
-
interface AptosResponse<Req, Res> {
|
|
3243
|
-
status: number;
|
|
3244
|
-
statusText: string;
|
|
3245
|
-
data: Res;
|
|
3246
|
-
url: string;
|
|
3247
|
-
headers: any;
|
|
3248
|
-
config?: any;
|
|
3249
|
-
request?: Req;
|
|
3250
|
-
}
|
|
3251
|
-
/**
|
|
3252
|
-
* The type returned from an API error
|
|
3253
|
-
*
|
|
3254
|
-
* @param name - the error name "AptosApiError"
|
|
3255
|
-
* @param url the url the request was made to
|
|
3256
|
-
* @param status - the response status. i.e. 400
|
|
3257
|
-
* @param statusText - the response message
|
|
3258
|
-
* @param data the response data
|
|
3259
|
-
* @param request - the AptosRequest
|
|
3260
|
-
*/
|
|
3261
|
-
declare class AptosApiError extends Error {
|
|
3262
|
-
readonly url: string;
|
|
3263
|
-
readonly status: number;
|
|
3264
|
-
readonly statusText: string;
|
|
3265
|
-
readonly data: {
|
|
3266
|
-
message: string;
|
|
3267
|
-
error_code?: string;
|
|
3268
|
-
vm_error_code?: number;
|
|
3269
|
-
};
|
|
3270
|
-
readonly request: AptosRequest;
|
|
3271
|
-
constructor(request: AptosRequest, response: AptosResponse<any, any>, message: string);
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
3282
|
type AptsoDomainSeparator = `APTOS::${string}`;
|
|
3275
3283
|
declare abstract class CryptoHashable extends Serializable {
|
|
3276
3284
|
abstract readonly domainSeparator: AptsoDomainSeparator;
|
|
3285
|
+
/**
|
|
3286
|
+
* Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.
|
|
3287
|
+
*
|
|
3288
|
+
* @returns Uint8Array
|
|
3289
|
+
*/
|
|
3290
|
+
hash(): Uint8Array;
|
|
3277
3291
|
}
|
|
3278
3292
|
|
|
3279
3293
|
declare const IssuerToJwkEndpoint: Record<string, string>;
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
static fromAptosApiError(error: AptosApiError, signer: KeylessAccount): Promise<KeylessError>;
|
|
3291
|
-
}
|
|
3294
|
+
/**
|
|
3295
|
+
* Account implementation for the Keyless authentication scheme.
|
|
3296
|
+
*
|
|
3297
|
+
* Used to represent a Keyless based account and sign transactions with it.
|
|
3298
|
+
*
|
|
3299
|
+
* Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
|
|
3300
|
+
*
|
|
3301
|
+
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3302
|
+
* EphemeralKeyPair, and corresponding proof.
|
|
3303
|
+
*/
|
|
3292
3304
|
declare class KeylessAccount extends Serializable implements Account$1 {
|
|
3293
3305
|
static readonly PEPPER_LENGTH: number;
|
|
3306
|
+
/**
|
|
3307
|
+
* The KeylessPublicKey associated with the account
|
|
3308
|
+
*/
|
|
3294
3309
|
readonly publicKey: KeylessPublicKey;
|
|
3310
|
+
/**
|
|
3311
|
+
* The EphemeralKeyPair used to generate sign.
|
|
3312
|
+
*/
|
|
3295
3313
|
readonly ephemeralKeyPair: EphemeralKeyPair;
|
|
3314
|
+
/**
|
|
3315
|
+
* The claim on the JWT to identify a user. This is typically 'sub' or 'email'.
|
|
3316
|
+
*/
|
|
3296
3317
|
readonly uidKey: string;
|
|
3318
|
+
/**
|
|
3319
|
+
* The value of the uidKey claim on the JWT. This intended to be a stable user identifier.
|
|
3320
|
+
*/
|
|
3297
3321
|
readonly uidVal: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's
|
|
3324
|
+
* OIDC registration with the identity provider.
|
|
3325
|
+
*/
|
|
3298
3326
|
readonly aud: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* A value contains 31 bytes of entropy that preserves privacy of the account. Typically fetched from a pepper provider.
|
|
3329
|
+
*/
|
|
3299
3330
|
readonly pepper: Uint8Array;
|
|
3331
|
+
/**
|
|
3332
|
+
* Account address associated with the account
|
|
3333
|
+
*/
|
|
3300
3334
|
readonly accountAddress: AccountAddress;
|
|
3335
|
+
/**
|
|
3336
|
+
* The zero knowledge signature (if ready) which contains the proof used to validate the EphemeralKeyPair.
|
|
3337
|
+
*/
|
|
3301
3338
|
proof: ZeroKnowledgeSig | undefined;
|
|
3339
|
+
/**
|
|
3340
|
+
* The proof of the EphemeralKeyPair or a promise that provides the proof. This is used to allow for awaiting on
|
|
3341
|
+
* fetching the proof.
|
|
3342
|
+
*/
|
|
3302
3343
|
readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3344
|
+
/**
|
|
3345
|
+
* Signing scheme used to sign transactions
|
|
3346
|
+
*/
|
|
3303
3347
|
readonly signingScheme: SigningScheme;
|
|
3348
|
+
/**
|
|
3349
|
+
* The JWT token used to derive the account
|
|
3350
|
+
*/
|
|
3304
3351
|
private jwt;
|
|
3352
|
+
/**
|
|
3353
|
+
* A value that caches the JWT's validity. A JWT becomes invalid when it's corresponding JWK is rotated from the
|
|
3354
|
+
* identity provider's JWK keyset.
|
|
3355
|
+
*/
|
|
3305
3356
|
private isJwtValid;
|
|
3306
|
-
|
|
3357
|
+
/**
|
|
3358
|
+
* An event emitter used to assist in handling asycronous proof fetching.
|
|
3359
|
+
*/
|
|
3360
|
+
private readonly emitter;
|
|
3307
3361
|
constructor(args: {
|
|
3308
3362
|
address?: AccountAddress;
|
|
3309
3363
|
ephemeralKeyPair: EphemeralKeyPair;
|
|
@@ -3329,12 +3383,6 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3329
3383
|
* @return boolean
|
|
3330
3384
|
*/
|
|
3331
3385
|
isExpired(): boolean;
|
|
3332
|
-
/**
|
|
3333
|
-
* Checks if the the JWK used to verify the token still exists on the issuer's JWK uri.
|
|
3334
|
-
* Caches the result.
|
|
3335
|
-
* @return boolean
|
|
3336
|
-
*/
|
|
3337
|
-
checkJwkValidity(): Promise<boolean>;
|
|
3338
3386
|
/**
|
|
3339
3387
|
* Sign a message using Keyless.
|
|
3340
3388
|
* @param message the message to sign, as binary input
|
|
@@ -3379,9 +3427,22 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3379
3427
|
proofFetchCallback?: ProofFetchCallback;
|
|
3380
3428
|
}): KeylessAccount;
|
|
3381
3429
|
}
|
|
3430
|
+
/**
|
|
3431
|
+
* A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create
|
|
3432
|
+
* the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.
|
|
3433
|
+
*/
|
|
3382
3434
|
declare class TransactionAndProof extends CryptoHashable {
|
|
3435
|
+
/**
|
|
3436
|
+
* The transaction to sign.
|
|
3437
|
+
*/
|
|
3383
3438
|
transaction: AnyRawTransactionInstance;
|
|
3439
|
+
/**
|
|
3440
|
+
* The zero knowledge proof used in signing the transaction.
|
|
3441
|
+
*/
|
|
3384
3442
|
proof?: ZkProof;
|
|
3443
|
+
/**
|
|
3444
|
+
* The domain separator prefix used when hashing.
|
|
3445
|
+
*/
|
|
3385
3446
|
domainSeparator: AptsoDomainSeparator;
|
|
3386
3447
|
constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof);
|
|
3387
3448
|
serialize(serializer: Serializer): void;
|
|
@@ -4626,7 +4687,7 @@ declare function buildTransaction(args: InputGenerateMultiAgentRawTransactionArg
|
|
|
4626
4687
|
* @returns A signed serialized transaction that can be simulated
|
|
4627
4688
|
*/
|
|
4628
4689
|
declare function generateSignedTransactionForSimulation(args: InputSimulateTransactionData): Uint8Array;
|
|
4629
|
-
declare function getAuthenticatorForSimulation(
|
|
4690
|
+
declare function getAuthenticatorForSimulation(publicKey: PublicKey): AccountAuthenticatorEd25519 | AccountAuthenticatorSingleKey;
|
|
4630
4691
|
/**
|
|
4631
4692
|
* Prepare a transaction to be submitted to chain
|
|
4632
4693
|
*
|
|
@@ -4705,15 +4766,6 @@ declare function deriveTransactionType(transaction: AnyRawTransaction): AnyRawTr
|
|
|
4705
4766
|
* @returns The Uint8Array of the signing message
|
|
4706
4767
|
*/
|
|
4707
4768
|
declare function generateSigningMessage(bytes: Uint8Array, domainSeparator: string): Uint8Array;
|
|
4708
|
-
/**
|
|
4709
|
-
* Generates the 'signing message' form of a serilizable value. It bcs serializes the value and uses the name of
|
|
4710
|
-
* its constructor as the domain separator.
|
|
4711
|
-
*
|
|
4712
|
-
* @param hashable An object that has a bcs serialized form
|
|
4713
|
-
*
|
|
4714
|
-
* @returns The Uint8Array of the signing message
|
|
4715
|
-
*/
|
|
4716
|
-
declare function generateSigningMessageForBcsCryptoHashable(hashable: CryptoHashable): Uint8Array;
|
|
4717
4769
|
/**
|
|
4718
4770
|
* Generates the 'signing message' form of a transaction. It derives the type of transaction and
|
|
4719
4771
|
* applies the appropriate domain separator based on if there is extra data such as a fee payer or
|
|
@@ -6086,6 +6138,13 @@ declare class Table {
|
|
|
6086
6138
|
declare class Keyless {
|
|
6087
6139
|
readonly config: AptosConfig;
|
|
6088
6140
|
constructor(config: AptosConfig);
|
|
6141
|
+
/**
|
|
6142
|
+
* Gets the parameters of how Keyless Accounts are configured on chain.
|
|
6143
|
+
*
|
|
6144
|
+
* @param args.options.ledgerVersion The ledger version to query, if not provided it will get the latest version
|
|
6145
|
+
* @returns KeylessConfiguration
|
|
6146
|
+
*/
|
|
6147
|
+
getKeylessConfig(options?: LedgerVersionArg): Promise<KeylessConfiguration>;
|
|
6089
6148
|
/**
|
|
6090
6149
|
* Fetches the pepper from the Aptos pepper service API.
|
|
6091
6150
|
*
|
|
@@ -6104,7 +6163,6 @@ declare class Keyless {
|
|
|
6104
6163
|
* @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
|
|
6105
6164
|
* @param args.uidKey a key in the JWT token to use to set the uidVal in the IdCommitment
|
|
6106
6165
|
* @param args.pepper the pepper
|
|
6107
|
-
* @param args.extraFieldKey a key in the JWT token used to reveal a value on chain
|
|
6108
6166
|
* @param args.proofFetchCallback a callback function that if set, the fetch of the proof will be done asyncronously. Once
|
|
6109
6167
|
* if finishes the callback function will be called.
|
|
6110
6168
|
* @returns A KeylessAccount that can be used to sign transactions
|
|
@@ -6114,7 +6172,6 @@ declare class Keyless {
|
|
|
6114
6172
|
ephemeralKeyPair: EphemeralKeyPair;
|
|
6115
6173
|
uidKey?: string;
|
|
6116
6174
|
pepper?: HexInput;
|
|
6117
|
-
extraFieldKey?: string;
|
|
6118
6175
|
proofFetchCallback?: ProofFetchCallback;
|
|
6119
6176
|
}): Promise<KeylessAccount>;
|
|
6120
6177
|
}
|
|
@@ -6149,6 +6206,49 @@ declare class Aptos {
|
|
|
6149
6206
|
interface Aptos extends Account, ANS, Coin, DigitalAsset, Event, Faucet, FungibleAsset, General, Keyless, Staking, Table, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
6150
6207
|
}
|
|
6151
6208
|
|
|
6209
|
+
/**
|
|
6210
|
+
* The API response type
|
|
6211
|
+
*
|
|
6212
|
+
* @param status - the response status. i.e. 200
|
|
6213
|
+
* @param statusText - the response message
|
|
6214
|
+
* @param data the response data
|
|
6215
|
+
* @param url the url the request was made to
|
|
6216
|
+
* @param headers the response headers
|
|
6217
|
+
* @param config (optional) - the request object
|
|
6218
|
+
* @param request (optional) - the request object
|
|
6219
|
+
*/
|
|
6220
|
+
interface AptosResponse<Req, Res> {
|
|
6221
|
+
status: number;
|
|
6222
|
+
statusText: string;
|
|
6223
|
+
data: Res;
|
|
6224
|
+
url: string;
|
|
6225
|
+
headers: any;
|
|
6226
|
+
config?: any;
|
|
6227
|
+
request?: Req;
|
|
6228
|
+
}
|
|
6229
|
+
/**
|
|
6230
|
+
* The type returned from an API error
|
|
6231
|
+
*
|
|
6232
|
+
* @param name - the error name "AptosApiError"
|
|
6233
|
+
* @param url the url the request was made to
|
|
6234
|
+
* @param status - the response status. i.e. 400
|
|
6235
|
+
* @param statusText - the response message
|
|
6236
|
+
* @param data the response data
|
|
6237
|
+
* @param request - the AptosRequest
|
|
6238
|
+
*/
|
|
6239
|
+
declare class AptosApiError extends Error {
|
|
6240
|
+
readonly url: string;
|
|
6241
|
+
readonly status: number;
|
|
6242
|
+
readonly statusText: string;
|
|
6243
|
+
readonly data: {
|
|
6244
|
+
message: string;
|
|
6245
|
+
error_code?: string;
|
|
6246
|
+
vm_error_code?: number;
|
|
6247
|
+
};
|
|
6248
|
+
readonly request: AptosRequest;
|
|
6249
|
+
constructor(request: AptosRequest, response: AptosResponse<any, any>, message: string);
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6152
6252
|
type DeserializableClass<T extends Serializable> = {
|
|
6153
6253
|
deserialize(deserializer: Deserializer): T;
|
|
6154
6254
|
};
|
|
@@ -6218,6 +6318,12 @@ type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
|
|
|
6218
6318
|
*/
|
|
6219
6319
|
declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6220
6320
|
declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6321
|
+
/**
|
|
6322
|
+
* Makes a get request to the pepper service
|
|
6323
|
+
*
|
|
6324
|
+
* @param options GetAptosRequestOptions
|
|
6325
|
+
* @returns AptosResponse
|
|
6326
|
+
*/
|
|
6221
6327
|
declare function getAptosPepperService<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6222
6328
|
declare function paginateWithCursor<Req extends Record<string, any>, Res extends Array<{}>>(options: GetAptosRequestOptions): Promise<Res>;
|
|
6223
6329
|
|
|
@@ -6270,7 +6376,13 @@ declare function post<Req extends {}, Res extends {}>(options: PostRequestOption
|
|
|
6270
6376
|
declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6271
6377
|
declare function postAptosIndexer<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6272
6378
|
declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6379
|
+
/**
|
|
6380
|
+
* Makes a post request to the pepper service
|
|
6381
|
+
*
|
|
6382
|
+
* @param options GetAptosRequestOptions
|
|
6383
|
+
* @returns AptosResponse
|
|
6384
|
+
*/
|
|
6273
6385
|
declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6274
6386
|
declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6275
6387
|
|
|
6276
|
-
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, IssuerToJwkEndpoint, KeyType, KeylessAccount,
|
|
6388
|
+
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, IssuerToJwkEndpoint, KeyType, KeylessAccount, KeylessConfiguration, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, buildTransaction, checkOrConvertArgument, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEncodedEntryFunctionArgument, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|