@aptos-labs/ts-sdk 1.28.0 → 1.29.0-zeta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +103 -82
- package/dist/common/{accountAddress-OVl7-qVN.d.ts → accountAddress-DUCC2ffJ.d.ts} +9 -2
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/index.d.ts +271 -42
- package/dist/common/index.js +28 -28
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.d.mts +208 -0
- package/dist/esm/account/AbstractKeylessAccount.mjs +2 -0
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +75 -0
- package/dist/esm/account/FederatedKeylessAccount.mjs +2 -0
- package/dist/esm/account/KeylessAccount.d.mts +13 -126
- 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 +4 -1
- 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 +4 -0
- 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 +4 -0
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +35 -21
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +33 -9
- 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/sign.mjs.map +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/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.mjs +1 -1
- package/dist/esm/{chunk-WYQLUB4H.mjs → chunk-33DMJ7SF.mjs} +2 -2
- package/dist/esm/{chunk-54QUDAAC.mjs → chunk-3RBIEWVC.mjs} +2 -2
- package/dist/esm/chunk-44GYWUSH.mjs +2 -0
- package/dist/esm/chunk-44GYWUSH.mjs.map +1 -0
- package/dist/esm/chunk-4BMEOXWL.mjs +2 -0
- package/dist/esm/chunk-4BMEOXWL.mjs.map +1 -0
- package/dist/esm/{chunk-VYXJ7FUF.mjs → chunk-4D6EDVZW.mjs} +2 -2
- package/dist/esm/{chunk-2XYA7NOU.mjs → chunk-5BUJ6N72.mjs} +2 -2
- package/dist/esm/{chunk-JUNVPIW4.mjs → chunk-5GD2TVJW.mjs} +2 -2
- package/dist/esm/{chunk-Z2AJWV6D.mjs → chunk-65JGB4JK.mjs} +2 -2
- package/dist/esm/{chunk-VTEZ6TBO.mjs → chunk-6HOEJLTL.mjs} +2 -2
- package/dist/esm/{chunk-YPHH6CAO.mjs → chunk-6QGVRNV6.mjs} +2 -2
- package/dist/esm/{chunk-QQHA2Y46.mjs → chunk-6ZRARME6.mjs} +2 -2
- package/dist/esm/chunk-6ZRARME6.mjs.map +1 -0
- package/dist/esm/{chunk-4ENUSVZB.mjs → chunk-7KWFE3OU.mjs} +2 -2
- package/dist/esm/{chunk-O4BBULNE.mjs → chunk-7YXNZTCS.mjs} +2 -2
- package/dist/esm/{chunk-NKDHR2DA.mjs → chunk-AN37GM4N.mjs} +2 -2
- package/dist/esm/{chunk-53DBMWMU.mjs → chunk-B3QK4FQY.mjs} +2 -2
- package/dist/esm/{chunk-MLDQ2TY2.mjs → chunk-BF4ZE37Q.mjs} +2 -2
- package/dist/esm/{chunk-GKERWKMB.mjs → chunk-BJIICNRF.mjs} +2 -2
- package/dist/esm/{chunk-5TBIWC7N.mjs → chunk-BYZKUWCV.mjs} +2 -2
- package/dist/esm/{chunk-QQU4IQ27.mjs → chunk-CCMHWJ3Q.mjs} +2 -2
- package/dist/esm/{chunk-LFUBUXHD.mjs → chunk-CG7SPTMT.mjs} +2 -2
- package/dist/esm/chunk-CHPQXBMJ.mjs +2 -0
- package/dist/esm/chunk-CHPQXBMJ.mjs.map +1 -0
- package/dist/esm/{chunk-UWPO7WWS.mjs → chunk-CKQQJXQL.mjs} +2 -2
- package/dist/esm/chunk-D72R4A35.mjs +2 -0
- package/dist/esm/chunk-D72R4A35.mjs.map +1 -0
- package/dist/esm/{chunk-ZNC3FRSK.mjs → chunk-DLKFZIMC.mjs} +2 -2
- package/dist/esm/{chunk-NPFW6ZFY.mjs → chunk-DWPMDONI.mjs} +2 -2
- package/dist/esm/{chunk-YUNDX5I7.mjs → chunk-E37YRKWK.mjs} +2 -2
- package/dist/esm/{chunk-EJMPY5MF.mjs → chunk-E65E4RJE.mjs} +2 -2
- package/dist/esm/chunk-E6O72G24.mjs +2 -0
- package/dist/esm/chunk-E6O72G24.mjs.map +1 -0
- package/dist/esm/{chunk-52HZTDBB.mjs → chunk-EDI5UVKO.mjs} +2 -2
- package/dist/esm/chunk-EDI5UVKO.mjs.map +1 -0
- package/dist/esm/{chunk-YPQZJ72F.mjs → chunk-EHANMHHZ.mjs} +2 -2
- package/dist/esm/{chunk-3HTSCV3R.mjs → chunk-EXCR5VKV.mjs} +2 -2
- package/dist/esm/{chunk-GR4PHW7K.mjs → chunk-FRG5RXIG.mjs} +2 -2
- package/dist/esm/{chunk-Q7MD4V7H.mjs → chunk-G7EILN6D.mjs} +2 -2
- package/dist/esm/{chunk-DVIRUFCY.mjs → chunk-G7NFBUOF.mjs} +2 -2
- package/dist/esm/chunk-GAEAYY44.mjs +1 -0
- package/dist/esm/chunk-GAEAYY44.mjs.map +1 -0
- package/dist/esm/{chunk-SCHZ67F3.mjs → chunk-GY6LFCB2.mjs} +2 -2
- package/dist/esm/{chunk-SCHZ67F3.mjs.map → chunk-GY6LFCB2.mjs.map} +1 -1
- package/dist/esm/chunk-HEZ2ZYZA.mjs +1 -0
- package/dist/esm/chunk-HEZ2ZYZA.mjs.map +1 -0
- package/dist/esm/{chunk-A63SMUOU.mjs → chunk-HPZ2S4FE.mjs} +2 -2
- package/dist/esm/chunk-HQUUESWW.mjs +2 -0
- package/dist/esm/chunk-HQUUESWW.mjs.map +1 -0
- package/dist/esm/{chunk-ZXYTLPP6.mjs → chunk-IAPQS7TH.mjs} +2 -2
- package/dist/esm/{chunk-76OH2Z4Q.mjs → chunk-IMGLHDIA.mjs} +2 -2
- package/dist/esm/{chunk-OPTI3MH2.mjs → chunk-IV3FEGJJ.mjs} +2 -2
- package/dist/esm/chunk-JKTVSNFQ.mjs +2 -0
- package/dist/esm/chunk-JKTVSNFQ.mjs.map +1 -0
- package/dist/esm/{chunk-3F3FCWT5.mjs → chunk-JVVK4K6H.mjs} +2 -2
- package/dist/esm/{chunk-G5MGSV7Y.mjs → chunk-KA6FZNWP.mjs} +2 -2
- package/dist/esm/{chunk-GGPA6QTN.mjs → chunk-LMO74K6V.mjs} +2 -2
- package/dist/esm/{chunk-BOYYQAB4.mjs → chunk-LXLISEQ4.mjs} +2 -2
- package/dist/esm/chunk-LYEUGID7.mjs +2 -0
- package/dist/esm/chunk-LYEUGID7.mjs.map +1 -0
- package/dist/esm/{chunk-MQGW234H.mjs → chunk-M2QV232A.mjs} +2 -2
- package/dist/esm/{chunk-PDNA4H34.mjs → chunk-MGTUMRQW.mjs} +2 -2
- package/dist/esm/{chunk-VQVNUN5Y.mjs → chunk-MHRQHVM3.mjs} +2 -2
- package/dist/esm/{chunk-5P7MXLZA.mjs → chunk-MJ7K6MUZ.mjs} +2 -2
- package/dist/esm/{chunk-H6YNXJNF.mjs → chunk-MS4MRLGA.mjs} +2 -2
- package/dist/esm/{chunk-WX6P3Q4I.mjs → chunk-NFLXGKHO.mjs} +2 -2
- package/dist/esm/{chunk-HBQLX5QF.mjs → chunk-NTTZKATR.mjs} +2 -2
- package/dist/esm/{chunk-AVSM2BJR.mjs → chunk-OGHATIRT.mjs} +2 -2
- package/dist/esm/{chunk-NMD45OTM.mjs → chunk-OJL36Q4H.mjs} +2 -2
- package/dist/esm/{chunk-NWOMSL6K.mjs → chunk-PKXEB7XP.mjs} +2 -2
- package/dist/esm/chunk-Q4XR6QOZ.mjs +2 -0
- package/dist/esm/{chunk-F7EMGK4M.mjs.map → chunk-Q4XR6QOZ.mjs.map} +1 -1
- package/dist/esm/{chunk-OTNGLTKS.mjs → chunk-QB4XTGDH.mjs} +2 -2
- package/dist/esm/{chunk-SUJLWCRN.mjs → chunk-QDIKOQRK.mjs} +2 -2
- package/dist/esm/{chunk-YDZBU2DJ.mjs → chunk-QIW56MUH.mjs} +2 -2
- package/dist/esm/{chunk-OHRL766V.mjs → chunk-QPP6BX53.mjs} +2 -2
- package/dist/esm/{chunk-F5PNGH44.mjs → chunk-R7FVBWBJ.mjs} +2 -2
- package/dist/esm/{chunk-6CHBLB3V.mjs → chunk-RG572OEH.mjs} +2 -2
- package/dist/esm/{chunk-WLZYSLHP.mjs → chunk-RNTXQYJQ.mjs} +2 -2
- package/dist/esm/chunk-RQNQ5TUX.mjs +2 -0
- package/dist/esm/chunk-RQNQ5TUX.mjs.map +1 -0
- package/dist/esm/chunk-SRPI2FFA.mjs +2 -0
- package/dist/esm/chunk-SRPI2FFA.mjs.map +1 -0
- package/dist/esm/{chunk-LS6G4DZV.mjs → chunk-SS4IPKAI.mjs} +2 -2
- package/dist/esm/{chunk-SUAA25UP.mjs → chunk-SYTI5QO7.mjs} +2 -2
- package/dist/esm/{chunk-KRIIRH5L.mjs → chunk-T4L7U65D.mjs} +2 -2
- package/dist/esm/{chunk-ORGMRM5K.mjs → chunk-TJI233SP.mjs} +2 -2
- package/dist/esm/{chunk-2CAGPXCX.mjs → chunk-TPCG5W2G.mjs} +2 -2
- package/dist/esm/chunk-TVIQLBVA.mjs +2 -0
- package/dist/esm/chunk-TVIQLBVA.mjs.map +1 -0
- package/dist/esm/{chunk-YFMFXRJX.mjs → chunk-U4MIJ2SL.mjs} +2 -2
- package/dist/esm/chunk-UAEODDZS.mjs +2 -0
- package/dist/esm/{chunk-ZXVQ2OBJ.mjs.map → chunk-UAEODDZS.mjs.map} +1 -1
- package/dist/esm/chunk-UH7ADIR7.mjs +2 -0
- package/dist/esm/chunk-UH7ADIR7.mjs.map +1 -0
- package/dist/esm/{chunk-JOROI7FE.mjs → chunk-UO5WQIIP.mjs} +2 -2
- package/dist/esm/{chunk-MNVDBUF3.mjs → chunk-VNTZZ7AM.mjs} +2 -2
- package/dist/esm/chunk-WFXL7LIC.mjs +2 -0
- package/dist/esm/chunk-WFXL7LIC.mjs.map +1 -0
- package/dist/esm/{chunk-WRRQ7L5K.mjs → chunk-WP7WF54Q.mjs} +2 -2
- package/dist/esm/{chunk-P2EKDA7R.mjs → chunk-WXHVXW5G.mjs} +2 -2
- package/dist/esm/chunk-XD4E5FEG.mjs +2 -0
- package/dist/esm/chunk-XD4E5FEG.mjs.map +1 -0
- package/dist/esm/chunk-XLLHYNH7.mjs +2 -0
- package/dist/esm/chunk-XLLHYNH7.mjs.map +1 -0
- package/dist/esm/{chunk-NBO2BDDZ.mjs → chunk-YFQSFUKY.mjs} +2 -2
- package/dist/esm/{chunk-P5V7OZNN.mjs → chunk-YJCZU6PR.mjs} +2 -2
- package/dist/esm/{chunk-NDJKEFNU.mjs → chunk-YRZQQJCW.mjs} +2 -2
- package/dist/esm/{chunk-5L3UXSQI.mjs → chunk-Z34TLNCN.mjs} +2 -2
- package/dist/esm/{chunk-56F7EYFE.mjs → chunk-ZF3BOH6A.mjs} +2 -2
- package/dist/esm/chunk-ZGOO4E6O.mjs +2 -0
- package/dist/esm/chunk-ZGOO4E6O.mjs.map +1 -0
- package/dist/esm/{chunk-3GOJQ5JD.mjs → chunk-ZRFOTNLQ.mjs} +2 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.mjs +1 -1
- 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/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +97 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs +2 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs.map +1 -0
- package/dist/esm/core/crypto/index.d.mts +4 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- 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 +1 -1
- 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/crypto/utils.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -0
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/index.d.mts +6 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +1 -7
- 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 +25 -14
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.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.d.mts +22 -2
- 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.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.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +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 +8 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/utils/apiEndpoints.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 +21 -21
- package/src/account/AbstractKeylessAccount.ts +330 -0
- package/src/account/EphemeralKeyPair.ts +9 -2
- package/src/account/FederatedKeylessAccount.ts +117 -0
- package/src/account/KeylessAccount.ts +15 -292
- package/src/account/MultiKeyAccount.ts +4 -2
- package/src/account/index.ts +2 -0
- package/src/api/account.ts +68 -22
- package/src/api/keyless.ts +50 -4
- package/src/api/transaction.ts +40 -20
- package/src/client/core.ts +1 -1
- package/src/core/crypto/federatedKeyless.ts +134 -0
- package/src/core/crypto/index.ts +2 -0
- package/src/core/crypto/keyless.ts +4 -3
- package/src/core/crypto/poseidon.ts +4 -4
- package/src/core/crypto/singleKey.ts +6 -0
- package/src/core/crypto/utils.ts +2 -2
- package/src/internal/account.ts +1 -54
- package/src/internal/keyless.ts +86 -8
- package/src/internal/transactionSubmission.ts +63 -10
- package/src/transactions/transactionBuilder/transactionBuilder.ts +38 -16
- package/src/types/index.ts +7 -0
- package/src/utils/apiEndpoints.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/esm/chunk-52HZTDBB.mjs.map +0 -1
- package/dist/esm/chunk-7Z6DYLCA.mjs +0 -1
- package/dist/esm/chunk-AQ4I7VVB.mjs +0 -1
- package/dist/esm/chunk-BIGX2RJL.mjs +0 -2
- package/dist/esm/chunk-BIGX2RJL.mjs.map +0 -1
- package/dist/esm/chunk-DCNBMUKN.mjs +0 -2
- package/dist/esm/chunk-DCNBMUKN.mjs.map +0 -1
- package/dist/esm/chunk-EQSON7Y5.mjs +0 -2
- package/dist/esm/chunk-EQSON7Y5.mjs.map +0 -1
- package/dist/esm/chunk-EXMQBH3I.mjs +0 -2
- package/dist/esm/chunk-EXMQBH3I.mjs.map +0 -1
- package/dist/esm/chunk-F7EMGK4M.mjs +0 -2
- package/dist/esm/chunk-G773HST5.mjs +0 -2
- package/dist/esm/chunk-G773HST5.mjs.map +0 -1
- package/dist/esm/chunk-IVOEXGOG.mjs +0 -2
- package/dist/esm/chunk-IVOEXGOG.mjs.map +0 -1
- package/dist/esm/chunk-IVVWQKCF.mjs +0 -2
- package/dist/esm/chunk-IVVWQKCF.mjs.map +0 -1
- package/dist/esm/chunk-LJZPPBTH.mjs +0 -2
- package/dist/esm/chunk-LJZPPBTH.mjs.map +0 -1
- package/dist/esm/chunk-QQHA2Y46.mjs.map +0 -1
- package/dist/esm/chunk-SCYGW3VV.mjs +0 -2
- package/dist/esm/chunk-SCYGW3VV.mjs.map +0 -1
- package/dist/esm/chunk-T53MZO2U.mjs +0 -2
- package/dist/esm/chunk-T53MZO2U.mjs.map +0 -1
- package/dist/esm/chunk-VYXS7TLB.mjs +0 -2
- package/dist/esm/chunk-VYXS7TLB.mjs.map +0 -1
- package/dist/esm/chunk-XSTCHOUI.mjs +0 -2
- package/dist/esm/chunk-XSTCHOUI.mjs.map +0 -1
- package/dist/esm/chunk-ZWX3NHGU.mjs +0 -2
- package/dist/esm/chunk-ZWX3NHGU.mjs.map +0 -1
- package/dist/esm/chunk-ZXVQ2OBJ.mjs +0 -2
- /package/dist/esm/{chunk-7Z6DYLCA.mjs.map → account/AbstractKeylessAccount.mjs.map} +0 -0
- /package/dist/esm/{chunk-AQ4I7VVB.mjs.map → account/FederatedKeylessAccount.mjs.map} +0 -0
- /package/dist/esm/{chunk-WYQLUB4H.mjs.map → chunk-33DMJ7SF.mjs.map} +0 -0
- /package/dist/esm/{chunk-54QUDAAC.mjs.map → chunk-3RBIEWVC.mjs.map} +0 -0
- /package/dist/esm/{chunk-VYXJ7FUF.mjs.map → chunk-4D6EDVZW.mjs.map} +0 -0
- /package/dist/esm/{chunk-2XYA7NOU.mjs.map → chunk-5BUJ6N72.mjs.map} +0 -0
- /package/dist/esm/{chunk-JUNVPIW4.mjs.map → chunk-5GD2TVJW.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z2AJWV6D.mjs.map → chunk-65JGB4JK.mjs.map} +0 -0
- /package/dist/esm/{chunk-VTEZ6TBO.mjs.map → chunk-6HOEJLTL.mjs.map} +0 -0
- /package/dist/esm/{chunk-YPHH6CAO.mjs.map → chunk-6QGVRNV6.mjs.map} +0 -0
- /package/dist/esm/{chunk-4ENUSVZB.mjs.map → chunk-7KWFE3OU.mjs.map} +0 -0
- /package/dist/esm/{chunk-O4BBULNE.mjs.map → chunk-7YXNZTCS.mjs.map} +0 -0
- /package/dist/esm/{chunk-NKDHR2DA.mjs.map → chunk-AN37GM4N.mjs.map} +0 -0
- /package/dist/esm/{chunk-53DBMWMU.mjs.map → chunk-B3QK4FQY.mjs.map} +0 -0
- /package/dist/esm/{chunk-MLDQ2TY2.mjs.map → chunk-BF4ZE37Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-GKERWKMB.mjs.map → chunk-BJIICNRF.mjs.map} +0 -0
- /package/dist/esm/{chunk-5TBIWC7N.mjs.map → chunk-BYZKUWCV.mjs.map} +0 -0
- /package/dist/esm/{chunk-QQU4IQ27.mjs.map → chunk-CCMHWJ3Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-LFUBUXHD.mjs.map → chunk-CG7SPTMT.mjs.map} +0 -0
- /package/dist/esm/{chunk-UWPO7WWS.mjs.map → chunk-CKQQJXQL.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZNC3FRSK.mjs.map → chunk-DLKFZIMC.mjs.map} +0 -0
- /package/dist/esm/{chunk-NPFW6ZFY.mjs.map → chunk-DWPMDONI.mjs.map} +0 -0
- /package/dist/esm/{chunk-YUNDX5I7.mjs.map → chunk-E37YRKWK.mjs.map} +0 -0
- /package/dist/esm/{chunk-EJMPY5MF.mjs.map → chunk-E65E4RJE.mjs.map} +0 -0
- /package/dist/esm/{chunk-YPQZJ72F.mjs.map → chunk-EHANMHHZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-3HTSCV3R.mjs.map → chunk-EXCR5VKV.mjs.map} +0 -0
- /package/dist/esm/{chunk-GR4PHW7K.mjs.map → chunk-FRG5RXIG.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q7MD4V7H.mjs.map → chunk-G7EILN6D.mjs.map} +0 -0
- /package/dist/esm/{chunk-DVIRUFCY.mjs.map → chunk-G7NFBUOF.mjs.map} +0 -0
- /package/dist/esm/{chunk-A63SMUOU.mjs.map → chunk-HPZ2S4FE.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZXYTLPP6.mjs.map → chunk-IAPQS7TH.mjs.map} +0 -0
- /package/dist/esm/{chunk-76OH2Z4Q.mjs.map → chunk-IMGLHDIA.mjs.map} +0 -0
- /package/dist/esm/{chunk-OPTI3MH2.mjs.map → chunk-IV3FEGJJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-3F3FCWT5.mjs.map → chunk-JVVK4K6H.mjs.map} +0 -0
- /package/dist/esm/{chunk-G5MGSV7Y.mjs.map → chunk-KA6FZNWP.mjs.map} +0 -0
- /package/dist/esm/{chunk-GGPA6QTN.mjs.map → chunk-LMO74K6V.mjs.map} +0 -0
- /package/dist/esm/{chunk-BOYYQAB4.mjs.map → chunk-LXLISEQ4.mjs.map} +0 -0
- /package/dist/esm/{chunk-MQGW234H.mjs.map → chunk-M2QV232A.mjs.map} +0 -0
- /package/dist/esm/{chunk-PDNA4H34.mjs.map → chunk-MGTUMRQW.mjs.map} +0 -0
- /package/dist/esm/{chunk-VQVNUN5Y.mjs.map → chunk-MHRQHVM3.mjs.map} +0 -0
- /package/dist/esm/{chunk-5P7MXLZA.mjs.map → chunk-MJ7K6MUZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-H6YNXJNF.mjs.map → chunk-MS4MRLGA.mjs.map} +0 -0
- /package/dist/esm/{chunk-WX6P3Q4I.mjs.map → chunk-NFLXGKHO.mjs.map} +0 -0
- /package/dist/esm/{chunk-HBQLX5QF.mjs.map → chunk-NTTZKATR.mjs.map} +0 -0
- /package/dist/esm/{chunk-AVSM2BJR.mjs.map → chunk-OGHATIRT.mjs.map} +0 -0
- /package/dist/esm/{chunk-NMD45OTM.mjs.map → chunk-OJL36Q4H.mjs.map} +0 -0
- /package/dist/esm/{chunk-NWOMSL6K.mjs.map → chunk-PKXEB7XP.mjs.map} +0 -0
- /package/dist/esm/{chunk-OTNGLTKS.mjs.map → chunk-QB4XTGDH.mjs.map} +0 -0
- /package/dist/esm/{chunk-SUJLWCRN.mjs.map → chunk-QDIKOQRK.mjs.map} +0 -0
- /package/dist/esm/{chunk-YDZBU2DJ.mjs.map → chunk-QIW56MUH.mjs.map} +0 -0
- /package/dist/esm/{chunk-OHRL766V.mjs.map → chunk-QPP6BX53.mjs.map} +0 -0
- /package/dist/esm/{chunk-F5PNGH44.mjs.map → chunk-R7FVBWBJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-6CHBLB3V.mjs.map → chunk-RG572OEH.mjs.map} +0 -0
- /package/dist/esm/{chunk-WLZYSLHP.mjs.map → chunk-RNTXQYJQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-LS6G4DZV.mjs.map → chunk-SS4IPKAI.mjs.map} +0 -0
- /package/dist/esm/{chunk-SUAA25UP.mjs.map → chunk-SYTI5QO7.mjs.map} +0 -0
- /package/dist/esm/{chunk-KRIIRH5L.mjs.map → chunk-T4L7U65D.mjs.map} +0 -0
- /package/dist/esm/{chunk-ORGMRM5K.mjs.map → chunk-TJI233SP.mjs.map} +0 -0
- /package/dist/esm/{chunk-2CAGPXCX.mjs.map → chunk-TPCG5W2G.mjs.map} +0 -0
- /package/dist/esm/{chunk-YFMFXRJX.mjs.map → chunk-U4MIJ2SL.mjs.map} +0 -0
- /package/dist/esm/{chunk-JOROI7FE.mjs.map → chunk-UO5WQIIP.mjs.map} +0 -0
- /package/dist/esm/{chunk-MNVDBUF3.mjs.map → chunk-VNTZZ7AM.mjs.map} +0 -0
- /package/dist/esm/{chunk-WRRQ7L5K.mjs.map → chunk-WP7WF54Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-P2EKDA7R.mjs.map → chunk-WXHVXW5G.mjs.map} +0 -0
- /package/dist/esm/{chunk-NBO2BDDZ.mjs.map → chunk-YFQSFUKY.mjs.map} +0 -0
- /package/dist/esm/{chunk-P5V7OZNN.mjs.map → chunk-YJCZU6PR.mjs.map} +0 -0
- /package/dist/esm/{chunk-NDJKEFNU.mjs.map → chunk-YRZQQJCW.mjs.map} +0 -0
- /package/dist/esm/{chunk-5L3UXSQI.mjs.map → chunk-Z34TLNCN.mjs.map} +0 -0
- /package/dist/esm/{chunk-56F7EYFE.mjs.map → chunk-ZF3BOH6A.mjs.map} +0 -0
- /package/dist/esm/{chunk-3GOJQ5JD.mjs.map → chunk-ZRFOTNLQ.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, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg,
|
|
2
|
-
export { aA as AccountAuthenticatorVariant, bj as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aT as BlockEndInfo, aU as BlockEpilogueTransactionResponse, aQ as BlockMetadataTransactionResponse, aG as ClientHeadersType, b0 as DecodedTableData, b1 as DeletedTableData, bG as DeriveScheme, bm as DirectWriteSet, b3 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bo as Event, bn as EventGuid, bJ as GenerateAccount, bH as GenerateAccountWithEd25519, bI as GenerateAccountWithSingleSignerSecp256k1Key, b6 as GenesisPayload, aP as GenesisTransactionResponse, au as HexInvalidReason, bB as MoveAbility, bv as MoveAddressType, bA as MoveFunctionVisibility, bD as MoveModule, bw as MoveObjectType, bx as MoveOptionType, b7 as MoveScriptBytecode, bE as MoveStruct, bC as MoveStructField, by as MoveStructType, bz as MoveType, bt as MoveUint128Type, bq as MoveUint16Type, bu as MoveUint256Type, br as MoveUint32Type, bs as MoveUint64Type, bp as MoveUint8Type, b5 as MultisigPayloadResponse, bS as NetworkToChainId, bP as NetworkToFaucetAPI, bN as NetworkToIndexerAPI, bT as NetworkToNetworkName, bO as NetworkToNodeAPI, bQ as NetworkToPepperAPI, bR as NetworkToProverAPI, bK as OrderBy, bL as OrderByValue, as as ParsingError, at as ParsingResult, bF as RoleType, b4 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bl as ScriptWriteSet, aR as StateCheckpointTransactionResponse, bM as TokenStandard, az as TransactionAuthenticatorVariant, be as TransactionEd25519Signature, bi as TransactionFeePayerSignature, bh as TransactionMultiAgentSignature, bg as TransactionMultiEd25519Signature, b2 as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bf as TransactionSecp256k1Signature, b8 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aS as ValidatorTransactionResponse, bk as WriteSet, aV as WriteSetChange, aW as WriteSetChangeDeleteModule, aX as WriteSetChangeDeleteResource, aY as WriteSetChangeDeleteTableItem, aZ as WriteSetChangeWriteModule, a_ as WriteSetChangeWriteResource, a$ as WriteSetChangeWriteTableItem, ao as ensureBoolean, aO as isBlockEpilogueTransactionResponse, aL as isBlockMetadataTransactionResponse, b9 as isEd25519Signature, bc as isFeePayerSignature, aK as isGenesisTransactionResponse, bb as isMultiAgentSignature, bd as isMultiEd25519Signature, aI as isPendingTransactionResponse, ba 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, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, n as AccountAddressInput, M as MoveModuleId, o as ScriptFunctionArgument, p as MoveFunctionId, q as MoveStructId, r as MoveValue, s as MoveFunctionGenericTypeParam, t as SigningSchemeInput, u as SigningScheme, v as AccountData, P as PaginationArgs, w as MoveModuleBytecode, x as TransactionResponse, y as MoveResource, z as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, B as GetAccountOwnedTokensFromCollectionResponse, J as GetAccountCollectionsWithOwnedTokenResponse, K as GetAccountCoinsDataResponse, W as WhereArg, Q as GetObjectDataQueryResponse, R as GetCollectionDataResponse, V as GetTokenDataResponse, X as GetCurrentTokenOwnershipResponse, Y as GetOwnedTokensResponse, _ as GetTokenActivityResponse, $ as GetEventsResponse, a0 as WaitForTransactionOptions, a1 as UserTransactionResponse, a2 as MoveFunction, a3 as GetFungibleAssetMetadataResponse, a4 as GetFungibleAssetActivitiesResponse, a5 as GetCurrentFungibleAssetBalancesResponse, a6 as LedgerInfo, a7 as Block, 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-DUCC2ffJ.js';
|
|
2
|
+
export { aA as AccountAuthenticatorVariant, bj as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aT as BlockEndInfo, aU as BlockEpilogueTransactionResponse, aQ as BlockMetadataTransactionResponse, aG as ClientHeadersType, b0 as DecodedTableData, b1 as DeletedTableData, bG as DeriveScheme, bm as DirectWriteSet, b3 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bo as Event, bn as EventGuid, bJ as GenerateAccount, bH as GenerateAccountWithEd25519, bI as GenerateAccountWithSingleSignerSecp256k1Key, b6 as GenesisPayload, aP as GenesisTransactionResponse, au as HexInvalidReason, bB as MoveAbility, bv as MoveAddressType, bA as MoveFunctionVisibility, bD as MoveModule, bw as MoveObjectType, bx as MoveOptionType, b7 as MoveScriptBytecode, bE as MoveStruct, bC as MoveStructField, by as MoveStructType, bz as MoveType, bt as MoveUint128Type, bq as MoveUint16Type, bu as MoveUint256Type, br as MoveUint32Type, bs as MoveUint64Type, bp as MoveUint8Type, b5 as MultisigPayloadResponse, bS as NetworkToChainId, bP as NetworkToFaucetAPI, bN as NetworkToIndexerAPI, bT as NetworkToNetworkName, bO as NetworkToNodeAPI, bQ as NetworkToPepperAPI, bR as NetworkToProverAPI, bK as OrderBy, bL as OrderByValue, as as ParsingError, at as ParsingResult, bF as RoleType, b4 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bl as ScriptWriteSet, aR as StateCheckpointTransactionResponse, bM as TokenStandard, az as TransactionAuthenticatorVariant, be as TransactionEd25519Signature, bi as TransactionFeePayerSignature, bh as TransactionMultiAgentSignature, bg as TransactionMultiEd25519Signature, b2 as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bf as TransactionSecp256k1Signature, b8 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aS as ValidatorTransactionResponse, bk as WriteSet, aV as WriteSetChange, aW as WriteSetChangeDeleteModule, aX as WriteSetChangeDeleteResource, aY as WriteSetChangeDeleteTableItem, aZ as WriteSetChangeWriteModule, a_ as WriteSetChangeWriteResource, a$ as WriteSetChangeWriteTableItem, ao as ensureBoolean, aO as isBlockEpilogueTransactionResponse, aL as isBlockMetadataTransactionResponse, b9 as isEd25519Signature, bc as isFeePayerSignature, aK as isGenesisTransactionResponse, bb as isMultiAgentSignature, bd as isMultiEd25519Signature, aI as isPendingTransactionResponse, ba as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-DUCC2ffJ.js';
|
|
3
3
|
import EventEmitter from 'eventemitter3';
|
|
4
4
|
|
|
5
5
|
type Maybe<T> = T | null;
|
|
@@ -1897,6 +1897,100 @@ declare function getKeylessConfig(args: {
|
|
|
1897
1897
|
options?: LedgerVersionArg;
|
|
1898
1898
|
}): Promise<KeylessConfiguration>;
|
|
1899
1899
|
|
|
1900
|
+
/**
|
|
1901
|
+
* Represents the FederatedKeylessPublicKey public key
|
|
1902
|
+
*
|
|
1903
|
+
* These keys use an onchain address as a source of truth for the JWK used to verify signatures.
|
|
1904
|
+
*
|
|
1905
|
+
* FederatedKeylessPublicKey authentication key is represented in the SDK as `AnyPublicKey`.
|
|
1906
|
+
*/
|
|
1907
|
+
declare class FederatedKeylessPublicKey extends AccountPublicKey {
|
|
1908
|
+
/**
|
|
1909
|
+
* The address that contains the JWK set to be used for verification.
|
|
1910
|
+
*/
|
|
1911
|
+
readonly jwkAddress: AccountAddress;
|
|
1912
|
+
/**
|
|
1913
|
+
* The inner public key which contains the standard Keyless public key.
|
|
1914
|
+
*/
|
|
1915
|
+
readonly keylessPublicKey: KeylessPublicKey;
|
|
1916
|
+
constructor(jwkAddress: AccountAddressInput, keylessPublicKey: KeylessPublicKey);
|
|
1917
|
+
/**
|
|
1918
|
+
* Get the authentication key for the federated keyless public key
|
|
1919
|
+
*
|
|
1920
|
+
* @returns AuthenticationKey
|
|
1921
|
+
*/
|
|
1922
|
+
authKey(): AuthenticationKey;
|
|
1923
|
+
/**
|
|
1924
|
+
* Get the public key in bytes (Uint8Array).
|
|
1925
|
+
*
|
|
1926
|
+
* @returns Uint8Array representation of the public key
|
|
1927
|
+
*/
|
|
1928
|
+
toUint8Array(): Uint8Array;
|
|
1929
|
+
/**
|
|
1930
|
+
* Get the public key as a hex string with the 0x prefix.
|
|
1931
|
+
*
|
|
1932
|
+
* @returns string representation of the public key
|
|
1933
|
+
*/
|
|
1934
|
+
toString(): string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Verifies a signed data with a public key
|
|
1937
|
+
*
|
|
1938
|
+
* @param args.message message
|
|
1939
|
+
* @param args.signature The signature
|
|
1940
|
+
* @returns true if the signature is valid
|
|
1941
|
+
*/
|
|
1942
|
+
verifySignature(args: {
|
|
1943
|
+
message: HexInput;
|
|
1944
|
+
signature: KeylessSignature;
|
|
1945
|
+
}): boolean;
|
|
1946
|
+
serialize(serializer: Serializer): void;
|
|
1947
|
+
static deserialize(deserializer: Deserializer): FederatedKeylessPublicKey;
|
|
1948
|
+
static isPublicKey(publicKey: PublicKey): publicKey is FederatedKeylessPublicKey;
|
|
1949
|
+
/**
|
|
1950
|
+
* Creates a FederatedKeylessPublicKey from the JWT components plus pepper
|
|
1951
|
+
*
|
|
1952
|
+
* @param args.iss the iss of the identity
|
|
1953
|
+
* @param args.uidKey the key to use to get the uidVal in the JWT token
|
|
1954
|
+
* @param args.uidVal the value of the uidKey in the JWT token
|
|
1955
|
+
* @param args.aud the client ID of the application
|
|
1956
|
+
* @param args.pepper The pepper used to maintain privacy of the account
|
|
1957
|
+
* @returns FederatedKeylessPublicKey
|
|
1958
|
+
*/
|
|
1959
|
+
static create(args: {
|
|
1960
|
+
iss: string;
|
|
1961
|
+
uidKey: string;
|
|
1962
|
+
uidVal: string;
|
|
1963
|
+
aud: string;
|
|
1964
|
+
pepper: HexInput;
|
|
1965
|
+
jwkAddress: AccountAddressInput;
|
|
1966
|
+
}): FederatedKeylessPublicKey;
|
|
1967
|
+
static fromJwtAndPepper(args: {
|
|
1968
|
+
jwt: string;
|
|
1969
|
+
pepper: HexInput;
|
|
1970
|
+
jwkAddress: AccountAddressInput;
|
|
1971
|
+
uidKey?: string;
|
|
1972
|
+
}): FederatedKeylessPublicKey;
|
|
1973
|
+
static isInstance(publicKey: PublicKey): boolean;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* Hashes a string to a field element via poseidon
|
|
1978
|
+
*
|
|
1979
|
+
* @returns bigint result of the hash
|
|
1980
|
+
*/
|
|
1981
|
+
declare function hashStrToField(str: string, maxSizeBytes: number): bigint;
|
|
1982
|
+
declare function padAndPackBytesWithLen(bytes: Uint8Array, maxSizeBytes: number): bigint[];
|
|
1983
|
+
declare function bytesToBigIntLE(bytes: Uint8Array): bigint;
|
|
1984
|
+
declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8Array;
|
|
1985
|
+
/**
|
|
1986
|
+
* Hashes up to 16 scalar elements via the poseidon hashing algorithm.
|
|
1987
|
+
*
|
|
1988
|
+
* Each element must be scalar fields of the BN254 elliptic curve group.
|
|
1989
|
+
*
|
|
1990
|
+
* @returns bigint result of the hash
|
|
1991
|
+
*/
|
|
1992
|
+
declare function poseidonHash(inputs: (number | bigint | string)[]): bigint;
|
|
1993
|
+
|
|
1900
1994
|
/**
|
|
1901
1995
|
* Represents the Secp256k1 ecdsa public key
|
|
1902
1996
|
*
|
|
@@ -3386,21 +3480,15 @@ declare class EphemeralKeyPair extends Serializable {
|
|
|
3386
3480
|
}
|
|
3387
3481
|
|
|
3388
3482
|
/**
|
|
3389
|
-
* Account implementation for the Keyless authentication scheme.
|
|
3390
|
-
*
|
|
3391
|
-
* Used to represent a Keyless based account and sign transactions with it.
|
|
3392
|
-
*
|
|
3393
|
-
* Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
|
|
3394
|
-
*
|
|
3395
|
-
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3396
|
-
* EphemeralKeyPair, and corresponding proof.
|
|
3483
|
+
* Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts
|
|
3484
|
+
* and Federated Keyless Accounts.
|
|
3397
3485
|
*/
|
|
3398
|
-
declare class
|
|
3486
|
+
declare abstract class AbstractKeylessAccount extends Serializable implements Account$1 {
|
|
3399
3487
|
static readonly PEPPER_LENGTH: number;
|
|
3400
3488
|
/**
|
|
3401
3489
|
* The KeylessPublicKey associated with the account
|
|
3402
3490
|
*/
|
|
3403
|
-
readonly publicKey: KeylessPublicKey;
|
|
3491
|
+
readonly publicKey: KeylessPublicKey | FederatedKeylessPublicKey;
|
|
3404
3492
|
/**
|
|
3405
3493
|
* The EphemeralKeyPair used to generate sign.
|
|
3406
3494
|
*/
|
|
@@ -3444,17 +3532,28 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3444
3532
|
*/
|
|
3445
3533
|
readonly jwt: string;
|
|
3446
3534
|
/**
|
|
3447
|
-
* An event emitter used to assist in handling
|
|
3535
|
+
* An event emitter used to assist in handling asynchronous proof fetching.
|
|
3448
3536
|
*/
|
|
3449
3537
|
private readonly emitter;
|
|
3450
|
-
|
|
3538
|
+
protected constructor(args: {
|
|
3539
|
+
address?: AccountAddress;
|
|
3540
|
+
publicKey: KeylessPublicKey | FederatedKeylessPublicKey;
|
|
3541
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3542
|
+
iss: string;
|
|
3543
|
+
uidKey: string;
|
|
3544
|
+
uidVal: string;
|
|
3545
|
+
aud: string;
|
|
3546
|
+
pepper: HexInput;
|
|
3547
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3548
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3549
|
+
jwt: string;
|
|
3550
|
+
});
|
|
3451
3551
|
/**
|
|
3452
3552
|
* This initializes the asyncronous proof fetch
|
|
3453
3553
|
* @return
|
|
3454
3554
|
*/
|
|
3455
3555
|
init(promise: Promise<ZeroKnowledgeSig>): Promise<void>;
|
|
3456
3556
|
serialize(serializer: Serializer): void;
|
|
3457
|
-
static deserialize(deserializer: Deserializer): KeylessAccount;
|
|
3458
3557
|
/**
|
|
3459
3558
|
* Checks if the proof is expired. If so the account must be rederived with a new EphemeralKeyPair
|
|
3460
3559
|
* and JWT token.
|
|
@@ -3483,7 +3582,7 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3483
3582
|
* @param message in HexInput format
|
|
3484
3583
|
* @returns Signature
|
|
3485
3584
|
*/
|
|
3486
|
-
sign(
|
|
3585
|
+
sign(message: HexInput): KeylessSignature;
|
|
3487
3586
|
/**
|
|
3488
3587
|
* Sign the given transaction with Keyless.
|
|
3489
3588
|
* Signs the transaction and proof to guard against proof malleability.
|
|
@@ -3506,16 +3605,32 @@ declare class KeylessAccount extends Serializable implements Account$1 {
|
|
|
3506
3605
|
message: HexInput;
|
|
3507
3606
|
signature: KeylessSignature;
|
|
3508
3607
|
}): boolean;
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3608
|
+
}
|
|
3609
|
+
/**
|
|
3610
|
+
* A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create
|
|
3611
|
+
* the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.
|
|
3612
|
+
*/
|
|
3613
|
+
declare class TransactionAndProof extends Serializable {
|
|
3614
|
+
/**
|
|
3615
|
+
* The transaction to sign.
|
|
3616
|
+
*/
|
|
3617
|
+
transaction: AnyRawTransactionInstance;
|
|
3618
|
+
/**
|
|
3619
|
+
* The zero knowledge proof used in signing the transaction.
|
|
3620
|
+
*/
|
|
3621
|
+
proof?: ZkProof;
|
|
3622
|
+
/**
|
|
3623
|
+
* The domain separator prefix used when hashing.
|
|
3624
|
+
*/
|
|
3625
|
+
readonly domainSeparator = "APTOS::TransactionAndProof";
|
|
3626
|
+
constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof);
|
|
3627
|
+
serialize(serializer: Serializer): void;
|
|
3628
|
+
/**
|
|
3629
|
+
* Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.
|
|
3630
|
+
*
|
|
3631
|
+
* @returns Uint8Array
|
|
3632
|
+
*/
|
|
3633
|
+
hash(): Uint8Array;
|
|
3519
3634
|
}
|
|
3520
3635
|
type ProofFetchSuccess = {
|
|
3521
3636
|
status: "Success";
|
|
@@ -3530,6 +3645,68 @@ interface ProofFetchEvents {
|
|
|
3530
3645
|
proofFetchFinish: (status: ProofFetchStatus) => void;
|
|
3531
3646
|
}
|
|
3532
3647
|
|
|
3648
|
+
/**
|
|
3649
|
+
* Account implementation for the Keyless authentication scheme.
|
|
3650
|
+
*
|
|
3651
|
+
* Used to represent a Keyless based account and sign transactions with it.
|
|
3652
|
+
*
|
|
3653
|
+
* Use KeylessAccount.create to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
|
|
3654
|
+
*
|
|
3655
|
+
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3656
|
+
* EphemeralKeyPair, and corresponding proof.
|
|
3657
|
+
*/
|
|
3658
|
+
declare class KeylessAccount extends AbstractKeylessAccount {
|
|
3659
|
+
/**
|
|
3660
|
+
* The KeylessPublicKey associated with the account
|
|
3661
|
+
*/
|
|
3662
|
+
readonly publicKey: KeylessPublicKey;
|
|
3663
|
+
private constructor();
|
|
3664
|
+
serialize(serializer: Serializer): void;
|
|
3665
|
+
static deserialize(deserializer: Deserializer): KeylessAccount;
|
|
3666
|
+
static fromBytes(bytes: Uint8Array): KeylessAccount;
|
|
3667
|
+
static create(args: {
|
|
3668
|
+
address?: AccountAddress;
|
|
3669
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3670
|
+
jwt: string;
|
|
3671
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3672
|
+
pepper: HexInput;
|
|
3673
|
+
uidKey?: string;
|
|
3674
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3675
|
+
}): KeylessAccount;
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
/**
|
|
3679
|
+
* Account implementation for the FederatedKeyless authentication scheme.
|
|
3680
|
+
*
|
|
3681
|
+
* Used to represent a FederatedKeyless based account and sign transactions with it.
|
|
3682
|
+
*
|
|
3683
|
+
* Use FederatedKeylessAccount.create to instantiate a KeylessAccount with a JWT, proof, EphemeralKeyPair and the
|
|
3684
|
+
* address the JWKs are installed that will be used to verify the JWT.
|
|
3685
|
+
*
|
|
3686
|
+
* When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
|
|
3687
|
+
* EphemeralKeyPair, and corresponding proof.
|
|
3688
|
+
*/
|
|
3689
|
+
declare class FederatedKeylessAccount extends AbstractKeylessAccount {
|
|
3690
|
+
/**
|
|
3691
|
+
* The FederatedKeylessPublicKey associated with the account
|
|
3692
|
+
*/
|
|
3693
|
+
readonly publicKey: FederatedKeylessPublicKey;
|
|
3694
|
+
private constructor();
|
|
3695
|
+
serialize(serializer: Serializer): void;
|
|
3696
|
+
static deserialize(deserializer: Deserializer): FederatedKeylessAccount;
|
|
3697
|
+
static fromBytes(bytes: Uint8Array): FederatedKeylessAccount;
|
|
3698
|
+
static create(args: {
|
|
3699
|
+
address?: AccountAddress;
|
|
3700
|
+
proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
|
|
3701
|
+
jwt: string;
|
|
3702
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
3703
|
+
pepper: HexInput;
|
|
3704
|
+
jwkAddress: AccountAddressInput;
|
|
3705
|
+
uidKey?: string;
|
|
3706
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
3707
|
+
}): FederatedKeylessAccount;
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3533
3710
|
interface VerifyMultiKeySignatureArgs {
|
|
3534
3711
|
message: HexInput;
|
|
3535
3712
|
signature: MultiKeySignature;
|
|
@@ -5556,6 +5733,24 @@ declare class Staking {
|
|
|
5556
5733
|
}): Promise<GetDelegatedStakingActivitiesResponse>;
|
|
5557
5734
|
}
|
|
5558
5735
|
|
|
5736
|
+
/**
|
|
5737
|
+
* This file contains the underlying implementations for exposed submission API surface in
|
|
5738
|
+
* the {@link api/transaction}. By moving the methods out into a separate file,
|
|
5739
|
+
* other namespaces and processes can access these methods without depending on the entire
|
|
5740
|
+
* transaction namespace and without having a dependency cycle error.
|
|
5741
|
+
*/
|
|
5742
|
+
|
|
5743
|
+
type FeePayerOrFeePayerAuthenticatorOrNeither = {
|
|
5744
|
+
feePayer: Account$1;
|
|
5745
|
+
feePayerAuthenticator?: never;
|
|
5746
|
+
} | {
|
|
5747
|
+
feePayer?: never;
|
|
5748
|
+
feePayerAuthenticator: AccountAuthenticator;
|
|
5749
|
+
} | {
|
|
5750
|
+
feePayer?: never;
|
|
5751
|
+
feePayerAuthenticator?: never;
|
|
5752
|
+
};
|
|
5753
|
+
|
|
5559
5754
|
/**
|
|
5560
5755
|
* A class to handle all `Build` transaction operations
|
|
5561
5756
|
*/
|
|
@@ -6225,10 +6420,33 @@ declare class Transaction {
|
|
|
6225
6420
|
*
|
|
6226
6421
|
* @return PendingTransactionResponse
|
|
6227
6422
|
*/
|
|
6228
|
-
signAndSubmitTransaction(args: {
|
|
6423
|
+
signAndSubmitTransaction(args: FeePayerOrFeePayerAuthenticatorOrNeither & {
|
|
6229
6424
|
signer: Account$1;
|
|
6230
6425
|
transaction: AnyRawTransaction;
|
|
6231
6426
|
}): Promise<PendingTransactionResponse>;
|
|
6427
|
+
/**
|
|
6428
|
+
* Sign and submit a single signer transaction as the fee payer to chain given an authenticator by the sender of the transaction.
|
|
6429
|
+
*
|
|
6430
|
+
* @param args.feePayer The fee payer account to sign the transaction
|
|
6431
|
+
* @param args.senderAuthenticator The AccountAuthenticator signed by the sender of the transaction
|
|
6432
|
+
* @param args.transaction An instance of a RawTransaction, plus optional secondary/fee payer addresses
|
|
6433
|
+
*
|
|
6434
|
+
* @example
|
|
6435
|
+
* const transaction = await aptos.transaction.build.simple({sender: alice.accountAddress, feePayer: true ...})
|
|
6436
|
+
* const senderAuthenticator = alice.signTransactionWithAuthenticator(transaction)
|
|
6437
|
+
* const pendingTransaction = await aptos.signAndSubmitAsFeePayer({
|
|
6438
|
+
* senderAuthenticator,
|
|
6439
|
+
* feePayer: bob,
|
|
6440
|
+
* transaction,
|
|
6441
|
+
* })
|
|
6442
|
+
*
|
|
6443
|
+
* @return PendingTransactionResponse
|
|
6444
|
+
*/
|
|
6445
|
+
signAndSubmitAsFeePayer(args: {
|
|
6446
|
+
feePayer: Account$1;
|
|
6447
|
+
senderAuthenticator: AccountAuthenticator;
|
|
6448
|
+
transaction: AnyRawTransaction;
|
|
6449
|
+
}): Promise<PendingTransactionResponse>;
|
|
6232
6450
|
}
|
|
6233
6451
|
|
|
6234
6452
|
/**
|
|
@@ -6345,20 +6563,6 @@ declare class Keyless {
|
|
|
6345
6563
|
pepper?: HexInput;
|
|
6346
6564
|
uidKey?: string;
|
|
6347
6565
|
}): Promise<ZeroKnowledgeSig>;
|
|
6348
|
-
/**
|
|
6349
|
-
* Derives the Keyless Account from the JWT token and corresponding EphemeralKeyPair. It will lookup the pepper from
|
|
6350
|
-
* the pepper service if not explicitly provided. It will compute the proof via the proving service. It will ch
|
|
6351
|
-
*
|
|
6352
|
-
* @param args.jwt JWT token
|
|
6353
|
-
* @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
|
|
6354
|
-
* @param args.uidKey a key in the JWT token to use to set the uidVal in the IdCommitment
|
|
6355
|
-
* @param args.pepper the pepper
|
|
6356
|
-
* @param args.proofFetchCallback a callback function that if set, the fetch of the proof will be done in the background. Once
|
|
6357
|
-
* fetching finishes the callback function will be called. This should be used to provide a more responsive user experience as now
|
|
6358
|
-
* they are not blocked on fetching the proof. Thus the function will return much more quickly.
|
|
6359
|
-
*
|
|
6360
|
-
* @returns A KeylessAccount that can be used to sign transactions
|
|
6361
|
-
*/
|
|
6362
6566
|
deriveKeylessAccount(args: {
|
|
6363
6567
|
jwt: string;
|
|
6364
6568
|
ephemeralKeyPair: EphemeralKeyPair;
|
|
@@ -6366,6 +6570,31 @@ declare class Keyless {
|
|
|
6366
6570
|
pepper?: HexInput;
|
|
6367
6571
|
proofFetchCallback?: ProofFetchCallback;
|
|
6368
6572
|
}): Promise<KeylessAccount>;
|
|
6573
|
+
deriveKeylessAccount(args: {
|
|
6574
|
+
jwt: string;
|
|
6575
|
+
ephemeralKeyPair: EphemeralKeyPair;
|
|
6576
|
+
jwkAddress: AccountAddressInput;
|
|
6577
|
+
uidKey?: string;
|
|
6578
|
+
pepper?: HexInput;
|
|
6579
|
+
proofFetchCallback?: ProofFetchCallback;
|
|
6580
|
+
}): Promise<FederatedKeylessAccount>;
|
|
6581
|
+
/**
|
|
6582
|
+
* This installs a set of FederatedJWKs at an address for a given iss.
|
|
6583
|
+
*
|
|
6584
|
+
* It will fetch the JWK set from the well-known endpoint and update the FederatedJWKs at the sender's address
|
|
6585
|
+
* to reflect it.
|
|
6586
|
+
*
|
|
6587
|
+
* @param args.sender The account that will install the JWKs
|
|
6588
|
+
* @param args.iss the iss claim of the federated OIDC provider.
|
|
6589
|
+
* @param args.jwksUrl the URL to find the corresponding JWKs. For supported IDP providers this parameter in not necessary.
|
|
6590
|
+
*
|
|
6591
|
+
* @returns The pending transaction that results from submission.
|
|
6592
|
+
*/
|
|
6593
|
+
updateFederatedKeylessJwkSetTransaction(args: {
|
|
6594
|
+
sender: Account$1;
|
|
6595
|
+
iss: string;
|
|
6596
|
+
jwksUrl?: string;
|
|
6597
|
+
}): Promise<SimpleTransaction>;
|
|
6369
6598
|
}
|
|
6370
6599
|
|
|
6371
6600
|
/**
|
|
@@ -6671,4 +6900,4 @@ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAp
|
|
|
6671
6900
|
declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6672
6901
|
declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
6673
6902
|
|
|
6674
|
-
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_FA, 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, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, 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, type InputViewFunctionJsonData, 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, Serialized, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, 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, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, base64UrlDecode, buildTransaction, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, getKeylessConfig, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isLargeNumber, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, paginateWithCursor, parseEncodedStruct, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|
|
6903
|
+
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_FA, APTOS_HARDENED_REGEX, AbstractKeylessAccount, 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, FederatedKeylessAccount, FederatedKeylessPublicKey, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, 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, type InputViewFunctionJsonData, 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, Serialized, 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, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, base64UrlDecode, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, getKeylessConfig, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isLargeNumber, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, padAndPackBytesWithLen, paginateWithCursor, parseEncodedStruct, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|