@aptos-labs/ts-sdk 1.32.1 → 1.33.0-zeta.0
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-6RqI8Aam.d.ts → accountAddress-fJZJVSBc.d.ts} +2 -1
- package/dist/common/chunk-F43XVDYJ.js.map +1 -1
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +25 -14
- package/dist/common/index.js +31 -31
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- 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.mjs +1 -1
- 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.mjs +1 -1
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.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.mjs +1 -1
- 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.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.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.d.mts +9 -8
- 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/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/{chunk-UKVH4UGL.mjs → chunk-2E3EAJPC.mjs} +2 -2
- package/dist/esm/chunk-2GGFVBI5.mjs +2 -0
- package/dist/esm/chunk-2GGFVBI5.mjs.map +1 -0
- package/dist/esm/{chunk-VGITSRT6.mjs → chunk-33QDVO4S.mjs} +2 -2
- package/dist/esm/{chunk-O4MRRWRI.mjs → chunk-362NFXZR.mjs} +2 -2
- package/dist/esm/{chunk-AGEJNSEX.mjs → chunk-3HFCZKFI.mjs} +2 -2
- package/dist/esm/{chunk-NF7ZQQE3.mjs → chunk-3KTA3VSY.mjs} +2 -2
- package/dist/esm/{chunk-VGJIATTB.mjs → chunk-3Q3PLPP7.mjs} +2 -2
- package/dist/esm/{chunk-ETF76XA3.mjs → chunk-3QIOEU3Z.mjs} +2 -2
- package/dist/esm/chunk-3SW3LBCD.mjs +2 -0
- package/dist/esm/chunk-3SW3LBCD.mjs.map +1 -0
- package/dist/esm/{chunk-MBEWPBGN.mjs → chunk-4ZNSNWQL.mjs} +2 -2
- package/dist/esm/{chunk-WYOFF5DJ.mjs → chunk-5E6BP7QB.mjs} +2 -2
- package/dist/esm/{chunk-RLH25IDA.mjs → chunk-5UZJ7D4E.mjs} +2 -2
- package/dist/esm/{chunk-KM6IOJ6Y.mjs → chunk-5XLZACVT.mjs} +2 -2
- package/dist/esm/{chunk-U3GE6IPF.mjs → chunk-6GAGDQV2.mjs} +2 -2
- package/dist/esm/{chunk-ERDYU5YQ.mjs → chunk-6V5C626M.mjs} +2 -2
- package/dist/esm/{chunk-4IQZOAN7.mjs → chunk-7BKLEHKL.mjs} +2 -2
- package/dist/esm/{chunk-4J2JYRV3.mjs → chunk-7Z7GBETY.mjs} +2 -2
- package/dist/esm/{chunk-FFCCBAEZ.mjs → chunk-A6X5JIYN.mjs} +2 -2
- package/dist/esm/{chunk-OVI7L7OG.mjs → chunk-AL623KXR.mjs} +2 -2
- package/dist/esm/{chunk-TQA6HY6A.mjs → chunk-B2OF42B3.mjs} +2 -2
- package/dist/esm/{chunk-IQ4SCMB6.mjs → chunk-BVGHNXLS.mjs} +2 -2
- package/dist/esm/{chunk-JGLEKXFP.mjs → chunk-BVUMR7DQ.mjs} +2 -2
- package/dist/esm/{chunk-HPZQGMSH.mjs → chunk-CK5NDXQT.mjs} +2 -2
- package/dist/esm/{chunk-BP45UJII.mjs → chunk-CW6P2DDJ.mjs} +2 -2
- package/dist/esm/{chunk-SY4HK6CC.mjs → chunk-DR6SBICQ.mjs} +2 -2
- package/dist/esm/chunk-DR6SBICQ.mjs.map +1 -0
- package/dist/esm/chunk-EGY3Z6AS.mjs +2 -0
- package/dist/esm/chunk-EGY3Z6AS.mjs.map +1 -0
- package/dist/esm/{chunk-JIT2FYGE.mjs → chunk-F2T7YJ3B.mjs} +2 -2
- package/dist/esm/{chunk-KCEI5JYS.mjs → chunk-F3K245DZ.mjs} +2 -2
- package/dist/esm/{chunk-5O3RHPER.mjs → chunk-FFBC7GFN.mjs} +2 -2
- package/dist/esm/{chunk-P2FTRAK3.mjs → chunk-FVFOFRRN.mjs} +2 -2
- package/dist/esm/{chunk-LHBMBCFC.mjs → chunk-GC3D425D.mjs} +2 -2
- package/dist/esm/{chunk-EJKX6MGV.mjs → chunk-GPLXBFQZ.mjs} +2 -2
- package/dist/esm/chunk-IHGA5KAD.mjs +2 -0
- package/dist/esm/{chunk-I2NMCLNW.mjs.map → chunk-IHGA5KAD.mjs.map} +1 -1
- package/dist/esm/{chunk-RSO5YIDW.mjs → chunk-IKJAX5KQ.mjs} +2 -2
- package/dist/esm/{chunk-H7AALSJ7.mjs → chunk-IROVNEYF.mjs} +2 -2
- package/dist/esm/{chunk-5KCKWL2C.mjs → chunk-J2NQJ34O.mjs} +2 -2
- package/dist/esm/{chunk-RC43EXC4.mjs → chunk-JDXMBUTF.mjs} +2 -2
- package/dist/esm/{chunk-IUSAYAEI.mjs → chunk-K5PQAXHZ.mjs} +2 -2
- package/dist/esm/{chunk-KX43GEAB.mjs → chunk-KVLA3ISL.mjs} +2 -2
- package/dist/esm/{chunk-X7JNNNMC.mjs → chunk-LDRUV6XT.mjs} +2 -2
- package/dist/esm/{chunk-II26BNYA.mjs → chunk-LIIVEZUZ.mjs} +2 -2
- package/dist/esm/chunk-LIIVEZUZ.mjs.map +1 -0
- package/dist/esm/{chunk-CPKG25HX.mjs → chunk-LRN4ALMT.mjs} +2 -2
- package/dist/esm/{chunk-KTM6KVUJ.mjs → chunk-N42NK6XN.mjs} +2 -2
- package/dist/esm/{chunk-GZBVXXUL.mjs → chunk-NNWPYX3K.mjs} +2 -2
- package/dist/esm/{chunk-E2GPZCQI.mjs → chunk-OXVYLFVH.mjs} +2 -2
- package/dist/esm/{chunk-A3USS2NC.mjs → chunk-OZK26LTY.mjs} +2 -2
- package/dist/esm/{chunk-SPX2YFZN.mjs → chunk-P6RNNESB.mjs} +2 -2
- package/dist/esm/{chunk-YIQ3JFHW.mjs → chunk-QDNJTKUD.mjs} +2 -2
- package/dist/esm/{chunk-2YTHKFJZ.mjs → chunk-QHTVAKKJ.mjs} +2 -2
- package/dist/esm/{chunk-FYYTCJS4.mjs → chunk-R7XZO3D4.mjs} +2 -2
- package/dist/esm/{chunk-CEW2NI3K.mjs → chunk-S22QVNK7.mjs} +2 -2
- package/dist/esm/{chunk-XIB6LX22.mjs → chunk-SHWQNDDG.mjs} +2 -2
- package/dist/esm/chunk-U2PRGW4O.mjs +2 -0
- package/dist/esm/chunk-U2PRGW4O.mjs.map +1 -0
- package/dist/esm/{chunk-L25CRR2W.mjs → chunk-U7UTBXJD.mjs} +2 -2
- package/dist/esm/{chunk-ML7D2CVG.mjs → chunk-UHZIG47E.mjs} +2 -2
- package/dist/esm/{chunk-I5GENJBA.mjs → chunk-UTOO6IVJ.mjs} +2 -2
- package/dist/esm/{chunk-YP3VO6GM.mjs → chunk-UZ4ZCDKC.mjs} +2 -2
- package/dist/esm/{chunk-2LQ4FTSR.mjs → chunk-VERWSU2L.mjs} +2 -2
- package/dist/esm/{chunk-D54FD6XE.mjs → chunk-WIDWY7A2.mjs} +2 -2
- package/dist/esm/{chunk-7OHMMGS6.mjs → chunk-WR32WE74.mjs} +2 -2
- package/dist/esm/{chunk-JONEH52T.mjs → chunk-WRA5OMO4.mjs} +2 -2
- package/dist/esm/{chunk-2REHS35S.mjs → chunk-X44XJ5HE.mjs} +2 -2
- package/dist/esm/{chunk-LYO22HMF.mjs → chunk-XA5MAMKN.mjs} +2 -2
- package/dist/esm/{chunk-TGW36YOD.mjs → chunk-YFU5DWSN.mjs} +2 -2
- package/dist/esm/{chunk-GX4CYRK4.mjs → chunk-YJ6FXOSK.mjs} +2 -2
- package/dist/esm/chunk-YQHOQJRQ.mjs +2 -0
- package/dist/esm/{chunk-RZGTHCJY.mjs.map → chunk-YQHOQJRQ.mjs.map} +1 -1
- package/dist/esm/{chunk-UWLW2VLZ.mjs → chunk-YSJDKZXO.mjs} +2 -2
- package/dist/esm/{chunk-UWLW2VLZ.mjs.map → chunk-YSJDKZXO.mjs.map} +1 -1
- package/dist/esm/{chunk-LGHPJTF3.mjs → chunk-YT3IP57B.mjs} +2 -2
- package/dist/esm/{chunk-HBWIDPNN.mjs → chunk-ZYUUEOBS.mjs} +2 -2
- 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.mjs +1 -1
- 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/privateKey.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.mjs +1 -1
- package/dist/esm/index.d.mts +1 -1
- 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.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 +1 -1
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +10 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +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 -1
- package/dist/esm/transactions/index.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.d.mts +2 -2
- 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/transactions/types.d.mts +3 -2
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/types.d.mts +2 -1
- package/dist/esm/types/types.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 +2 -2
- package/src/account/AbstractKeylessAccount.ts +2 -1
- package/src/api/transactionSubmission/helpers.ts +0 -6
- package/src/api/transactionSubmission/simulate.ts +9 -8
- package/src/core/crypto/keyless.ts +60 -11
- package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +56 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +1533 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +280 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +443 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +204 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +1387 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +394 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +41 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +367 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +2214 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +101 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +77 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +5568 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +121 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +92 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +100 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +1566 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +176 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +550 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +23 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +68 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +817 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +312 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +205 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +2477 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +1073 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +147 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +405 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +574 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +153 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +49 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +237 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +132 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +69 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +267 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +3286 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +686 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +1618 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +90 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +622 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +82 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +457 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +501 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +16 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +42 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +115 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +2183 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +1279 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +469 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +985 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +802 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +855 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +193 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +173 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +45 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +278 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +447 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +91 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +381 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +336 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +139 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +142 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +482 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +571 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +270 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +1310 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +234 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +158 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +114 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +319 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +769 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +766 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +152 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +141 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +46 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +27 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +239 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +780 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +8 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +356 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +93 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +669 -0
- package/src/internal/move/jwks/build/jwk/sources/main.move +20 -0
- package/src/internal/transactionSubmission.ts +1 -1
- package/src/transactions/authenticator/account.ts +19 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +25 -17
- package/src/transactions/types.ts +3 -2
- package/src/types/types.ts +1 -0
- package/src/version.ts +1 -1
- package/dist/esm/chunk-26WX3UFP.mjs +0 -2
- package/dist/esm/chunk-26WX3UFP.mjs.map +0 -1
- package/dist/esm/chunk-DYELAVMR.mjs +0 -2
- package/dist/esm/chunk-DYELAVMR.mjs.map +0 -1
- package/dist/esm/chunk-I2NMCLNW.mjs +0 -2
- package/dist/esm/chunk-II26BNYA.mjs.map +0 -1
- package/dist/esm/chunk-K62JTXWQ.mjs +0 -2
- package/dist/esm/chunk-K62JTXWQ.mjs.map +0 -1
- package/dist/esm/chunk-RZGTHCJY.mjs +0 -2
- package/dist/esm/chunk-SY4HK6CC.mjs.map +0 -1
- package/dist/esm/chunk-WQF3IOXC.mjs +0 -2
- package/dist/esm/chunk-WQF3IOXC.mjs.map +0 -1
- /package/dist/esm/{chunk-UKVH4UGL.mjs.map → chunk-2E3EAJPC.mjs.map} +0 -0
- /package/dist/esm/{chunk-VGITSRT6.mjs.map → chunk-33QDVO4S.mjs.map} +0 -0
- /package/dist/esm/{chunk-O4MRRWRI.mjs.map → chunk-362NFXZR.mjs.map} +0 -0
- /package/dist/esm/{chunk-AGEJNSEX.mjs.map → chunk-3HFCZKFI.mjs.map} +0 -0
- /package/dist/esm/{chunk-NF7ZQQE3.mjs.map → chunk-3KTA3VSY.mjs.map} +0 -0
- /package/dist/esm/{chunk-VGJIATTB.mjs.map → chunk-3Q3PLPP7.mjs.map} +0 -0
- /package/dist/esm/{chunk-ETF76XA3.mjs.map → chunk-3QIOEU3Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-MBEWPBGN.mjs.map → chunk-4ZNSNWQL.mjs.map} +0 -0
- /package/dist/esm/{chunk-WYOFF5DJ.mjs.map → chunk-5E6BP7QB.mjs.map} +0 -0
- /package/dist/esm/{chunk-RLH25IDA.mjs.map → chunk-5UZJ7D4E.mjs.map} +0 -0
- /package/dist/esm/{chunk-KM6IOJ6Y.mjs.map → chunk-5XLZACVT.mjs.map} +0 -0
- /package/dist/esm/{chunk-U3GE6IPF.mjs.map → chunk-6GAGDQV2.mjs.map} +0 -0
- /package/dist/esm/{chunk-ERDYU5YQ.mjs.map → chunk-6V5C626M.mjs.map} +0 -0
- /package/dist/esm/{chunk-4IQZOAN7.mjs.map → chunk-7BKLEHKL.mjs.map} +0 -0
- /package/dist/esm/{chunk-4J2JYRV3.mjs.map → chunk-7Z7GBETY.mjs.map} +0 -0
- /package/dist/esm/{chunk-FFCCBAEZ.mjs.map → chunk-A6X5JIYN.mjs.map} +0 -0
- /package/dist/esm/{chunk-OVI7L7OG.mjs.map → chunk-AL623KXR.mjs.map} +0 -0
- /package/dist/esm/{chunk-TQA6HY6A.mjs.map → chunk-B2OF42B3.mjs.map} +0 -0
- /package/dist/esm/{chunk-IQ4SCMB6.mjs.map → chunk-BVGHNXLS.mjs.map} +0 -0
- /package/dist/esm/{chunk-JGLEKXFP.mjs.map → chunk-BVUMR7DQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-HPZQGMSH.mjs.map → chunk-CK5NDXQT.mjs.map} +0 -0
- /package/dist/esm/{chunk-BP45UJII.mjs.map → chunk-CW6P2DDJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-JIT2FYGE.mjs.map → chunk-F2T7YJ3B.mjs.map} +0 -0
- /package/dist/esm/{chunk-KCEI5JYS.mjs.map → chunk-F3K245DZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-5O3RHPER.mjs.map → chunk-FFBC7GFN.mjs.map} +0 -0
- /package/dist/esm/{chunk-P2FTRAK3.mjs.map → chunk-FVFOFRRN.mjs.map} +0 -0
- /package/dist/esm/{chunk-LHBMBCFC.mjs.map → chunk-GC3D425D.mjs.map} +0 -0
- /package/dist/esm/{chunk-EJKX6MGV.mjs.map → chunk-GPLXBFQZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-RSO5YIDW.mjs.map → chunk-IKJAX5KQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-H7AALSJ7.mjs.map → chunk-IROVNEYF.mjs.map} +0 -0
- /package/dist/esm/{chunk-5KCKWL2C.mjs.map → chunk-J2NQJ34O.mjs.map} +0 -0
- /package/dist/esm/{chunk-RC43EXC4.mjs.map → chunk-JDXMBUTF.mjs.map} +0 -0
- /package/dist/esm/{chunk-IUSAYAEI.mjs.map → chunk-K5PQAXHZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-KX43GEAB.mjs.map → chunk-KVLA3ISL.mjs.map} +0 -0
- /package/dist/esm/{chunk-X7JNNNMC.mjs.map → chunk-LDRUV6XT.mjs.map} +0 -0
- /package/dist/esm/{chunk-CPKG25HX.mjs.map → chunk-LRN4ALMT.mjs.map} +0 -0
- /package/dist/esm/{chunk-KTM6KVUJ.mjs.map → chunk-N42NK6XN.mjs.map} +0 -0
- /package/dist/esm/{chunk-GZBVXXUL.mjs.map → chunk-NNWPYX3K.mjs.map} +0 -0
- /package/dist/esm/{chunk-E2GPZCQI.mjs.map → chunk-OXVYLFVH.mjs.map} +0 -0
- /package/dist/esm/{chunk-A3USS2NC.mjs.map → chunk-OZK26LTY.mjs.map} +0 -0
- /package/dist/esm/{chunk-SPX2YFZN.mjs.map → chunk-P6RNNESB.mjs.map} +0 -0
- /package/dist/esm/{chunk-YIQ3JFHW.mjs.map → chunk-QDNJTKUD.mjs.map} +0 -0
- /package/dist/esm/{chunk-2YTHKFJZ.mjs.map → chunk-QHTVAKKJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-FYYTCJS4.mjs.map → chunk-R7XZO3D4.mjs.map} +0 -0
- /package/dist/esm/{chunk-CEW2NI3K.mjs.map → chunk-S22QVNK7.mjs.map} +0 -0
- /package/dist/esm/{chunk-XIB6LX22.mjs.map → chunk-SHWQNDDG.mjs.map} +0 -0
- /package/dist/esm/{chunk-L25CRR2W.mjs.map → chunk-U7UTBXJD.mjs.map} +0 -0
- /package/dist/esm/{chunk-ML7D2CVG.mjs.map → chunk-UHZIG47E.mjs.map} +0 -0
- /package/dist/esm/{chunk-I5GENJBA.mjs.map → chunk-UTOO6IVJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-YP3VO6GM.mjs.map → chunk-UZ4ZCDKC.mjs.map} +0 -0
- /package/dist/esm/{chunk-2LQ4FTSR.mjs.map → chunk-VERWSU2L.mjs.map} +0 -0
- /package/dist/esm/{chunk-D54FD6XE.mjs.map → chunk-WIDWY7A2.mjs.map} +0 -0
- /package/dist/esm/{chunk-7OHMMGS6.mjs.map → chunk-WR32WE74.mjs.map} +0 -0
- /package/dist/esm/{chunk-JONEH52T.mjs.map → chunk-WRA5OMO4.mjs.map} +0 -0
- /package/dist/esm/{chunk-2REHS35S.mjs.map → chunk-X44XJ5HE.mjs.map} +0 -0
- /package/dist/esm/{chunk-LYO22HMF.mjs.map → chunk-XA5MAMKN.mjs.map} +0 -0
- /package/dist/esm/{chunk-TGW36YOD.mjs.map → chunk-YFU5DWSN.mjs.map} +0 -0
- /package/dist/esm/{chunk-GX4CYRK4.mjs.map → chunk-YJ6FXOSK.mjs.map} +0 -0
- /package/dist/esm/{chunk-LGHPJTF3.mjs.map → chunk-YT3IP57B.mjs.map} +0 -0
- /package/dist/esm/{chunk-HBWIDPNN.mjs.map → chunk-ZYUUEOBS.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as t,d as a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as t,d as a}from"./chunk-3Q3PLPP7.mjs";import{a as l}from"./chunk-MHN6XY4Z.mjs";import{a as u}from"./chunk-4O5XDQDO.mjs";import{a as s}from"./chunk-D52UKPQF.mjs";import{b as o}from"./chunk-SPRNSFUV.mjs";var c=class i extends l{constructor(e){super();let r=e.constructor.name;switch(r){case t.name:this.publicKey=e,this.variant=0;break;default:throw new Error(`Unsupported key for EphemeralPublicKey - ${r}`)}}verifySignature(e){let{message:r,signature:n}=e;return this.publicKey.verifySignature({message:r,signature:n.signature})}serialize(e){if(this.publicKey instanceof t)e.serializeU32AsUleb128(0),this.publicKey.serialize(e);else throw new Error("Unknown public key type")}static deserialize(e){let r=e.deserializeUleb128AsU32();switch(r){case 0:return new i(t.deserialize(e));default:throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`)}}static isPublicKey(e){return e instanceof i}},p=class i extends u{constructor(e){super();let r=e.constructor.name;switch(r){case a.name:this.signature=e;break;default:throw new Error(`Unsupported signature for EphemeralSignature - ${r}`)}}static fromHex(e){let r=o.fromHexInput(e),n=new s(r.toUint8Array());return i.deserialize(n)}serialize(e){if(this.signature instanceof a)e.serializeU32AsUleb128(0),this.signature.serialize(e);else throw new Error("Unknown signature type")}static deserialize(e){let r=e.deserializeUleb128AsU32();switch(r){case 0:return new i(a.deserialize(e));default:throw new Error(`Unknown variant index for EphemeralSignature: ${r}`)}}};export{c as a,p as b};
|
|
2
|
+
//# sourceMappingURL=chunk-YJ6FXOSK.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/version.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * The current version of the SDK\n *\n * hardcoded for now, we would want to have it injected dynamically\n */\nexport const VERSION = \"1.
|
|
1
|
+
{"version":3,"sources":["../../src/version.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * The current version of the SDK\n *\n * hardcoded for now, we would want to have it injected dynamically\n */\nexport const VERSION = \"1.33.0\";\n"],"mappings":"AAQO,IAAMA,EAAU","names":["VERSION"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as O,b as _}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as O,b as _}from"./chunk-B2OF42B3.mjs";import{d as E}from"./chunk-EGY3Z6AS.mjs";import{a as R}from"./chunk-GPLXBFQZ.mjs";import{a as P,b as w}from"./chunk-FVFOFRRN.mjs";import{a as I}from"./chunk-BVGHNXLS.mjs";import{i as T,j as b,k as x,n as g,q as v,s as k}from"./chunk-3SW3LBCD.mjs";import{b as m}from"./chunk-JNO7KPMG.mjs";import{a as K}from"./chunk-AJ5JHBAE.mjs";import{b as h}from"./chunk-SPRNSFUV.mjs";import{d as r}from"./chunk-F45G3GP3.mjs";import{e as F}from"./chunk-V4FKFCBL.mjs";import C from"eventemitter3";import{jwtDecode as D}from"jwt-decode";function se(f){return f!=null&&typeof f.checkKeylessAccountValidity=="function"}var p=class p extends K{constructor(e){super();let{address:i,ephemeralKeyPair:t,publicKey:o,uidKey:d,uidVal:n,aud:c,pepper:s,proof:a,proofFetchCallback:y,jwt:l,verificationKeyHash:u}=e;if(this.ephemeralKeyPair=t,this.publicKey=o,this.accountAddress=i?m.from(i):this.publicKey.authKey().derivedAddress(),this.uidKey=d,this.uidVal=n,this.aud=c,this.jwt=l,this.emitter=new C,this.proofOrPromise=a,a instanceof g)this.proof=a;else{if(y===void 0)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",async N=>{await y(N),this.emitter.removeAllListeners()}),this.init(a)}this.signingScheme=2;let S=h.fromHexInput(s).toUint8Array();if(S.length!==p.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${p.PEPPER_LENGTH}`);if(this.pepper=S,u!==void 0){if(h.hexInputToUint8Array(u).length!==32)throw new Error("verificationKeyHash must be 32 bytes");this.verificationKeyHash=h.hexInputToUint8Array(u)}}async init(e){try{this.proof=await e,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(i){i instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:i.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(e){if(this.accountAddress.serialize(e),e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e),e.serializeOption(this.verificationKeyHash,32)}static partialDeserialize(e){let i=m.deserialize(e),t=e.deserializeStr(),o=e.deserializeStr(),d=e.deserializeFixedBytes(31),n=R.deserialize(e),c=g.deserialize(e),s=e.deserializeOption("fixedBytes",32);return{address:i,jwt:t,uidKey:o,pepper:d,ephemeralKeyPair:n,proof:c,verificationKeyHash:s}}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(e){let i=new w(this.sign(e)),t=new P(this.publicKey);return new E(t,i)}signTransactionWithAuthenticator(e){let i=new w(this.signTransaction(e)),t=new P(this.publicKey);return new E(t,i)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}async checkKeylessAccountValidity(e){if(this.isExpired())throw r.fromErrorType({type:0});if(await this.waitForProofFetch(),this.proof===void 0)throw r.fromErrorType({type:2});let i=D(this.jwt,{header:!0});if(i.kid===void 0)throw r.fromErrorType({type:12,details:"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen."});if(this.verificationKeyHash!==void 0){let{verificationKey:t}=await v({aptosConfig:e});if(h.hexInputToString(t.hash())!==h.hexInputToString(this.verificationKeyHash))throw r.fromErrorType({type:4})}else console.warn("[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.");await p.fetchJWK({aptosConfig:e,publicKey:this.publicKey,kid:i.kid})}sign(e){let{expiryDateSecs:i}=this.ephemeralKeyPair;if(this.isExpired())throw r.fromErrorType({type:0});if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let t=this.ephemeralKeyPair.getPublicKey(),o=this.ephemeralKeyPair.sign(e);return new b({jwtHeader:F(this.jwt.split(".")[0]),ephemeralCertificate:new x(this.proof,0),expiryDateSecs:i,ephemeralPublicKey:t,ephemeralSignature:o})}signTransaction(e){if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let i=O(e),o=new A(i,this.proof.proof).hash();return this.sign(o)}verifySignature(e){let{message:i,signature:t}=e;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:i,signature:t.ephemeralSignature}))}static async fetchJWK(e){let{aptosConfig:i,publicKey:t,kid:o}=e,d=t instanceof T?t:t.keylessPublicKey,{iss:n}=d,c,s=t instanceof I?t.jwkAddress:void 0;try{c=await k({aptosConfig:i,jwkAddr:s})}catch(l){throw r.fromErrorType({type:24,error:l,details:`Failed to fetch ${s?"Federated":"Patched"}JWKs ${s?`for address ${s}`:"0x1"}`})}let a=c.get(n);if(a===void 0)throw r.fromErrorType({type:7,details:`JWKs for issuer ${n} not found at address ${s?`${s}. Make sure the JWK set for the issuer is registered at this address.`:"0x1. This issuer is not supported for use with Keyless."}`});let y=a.find(l=>l.kid===o);if(y===void 0)throw r.fromErrorType({type:6,details:`JWK with kid '${o}' for issuer '${n}' not found.`});return y}};p.PEPPER_LENGTH=31;var H=p,A=class extends K{constructor(i,t){super();this.domainSeparator="APTOS::TransactionAndProof";this.transaction=i,this.proof=t}serialize(i){i.serializeFixedBytes(this.transaction.bcsToBytes()),i.serializeOption(this.proof)}hash(){return _(this.bcsToBytes(),this.domainSeparator)}};export{se as a,H as b,A as c};
|
|
2
|
+
//# sourceMappingURL=chunk-YSJDKZXO.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/account/AbstractKeylessAccount.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport EventEmitter from \"eventemitter3\";\nimport { jwtDecode } from \"jwt-decode\";\nimport { EphemeralCertificateVariant, HexInput, SigningScheme } from \"../types\";\nimport { AccountAddress } from \"../core/accountAddress\";\nimport {\n AnyPublicKey,\n AnySignature,\n KeylessPublicKey,\n KeylessSignature,\n EphemeralCertificate,\n ZeroKnowledgeSig,\n ZkProof,\n getKeylessJWKs,\n MoveJWK,\n getKeylessConfig,\n} from \"../core/crypto\";\n\nimport { EphemeralKeyPair } from \"./EphemeralKeyPair\";\nimport { Hex } from \"../core/hex\";\nimport { AccountAuthenticatorSingleKey } from \"../transactions/authenticator/account\";\nimport { Deserializer, Serializable, Serializer } from \"../bcs\";\nimport { deriveTransactionType, generateSigningMessage } from \"../transactions/transactionBuilder/signingMessage\";\nimport { AnyRawTransaction, AnyRawTransactionInstance } from \"../transactions/types\";\nimport { base64UrlDecode } from \"../utils/helpers\";\nimport { FederatedKeylessPublicKey } from \"../core/crypto/federatedKeyless\";\nimport { Account } from \"./Account\";\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { KeylessError, KeylessErrorType } from \"../errors\";\n\n/**\n * An interface which defines if an Account utilizes Keyless signing.\n */\nexport interface KeylessSigner extends Account {\n checkKeylessAccountValidity(aptosConfig: AptosConfig): Promise<void>;\n}\n\nexport function isKeylessSigner(obj: any): obj is KeylessSigner {\n return obj !== null && obj !== undefined && typeof obj.checkKeylessAccountValidity === \"function\";\n}\n\n/**\n * Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts\n * and Federated Keyless Accounts.\n */\nexport abstract class AbstractKeylessAccount extends Serializable implements KeylessSigner {\n static readonly PEPPER_LENGTH: number = 31;\n\n /**\n * The KeylessPublicKey associated with the account\n */\n readonly publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n\n /**\n * The EphemeralKeyPair used to generate sign.\n */\n readonly ephemeralKeyPair: EphemeralKeyPair;\n\n /**\n * The claim on the JWT to identify a user. This is typically 'sub' or 'email'.\n */\n readonly uidKey: string;\n\n /**\n * The value of the uidKey claim on the JWT. This intended to be a stable user identifier.\n */\n readonly uidVal: string;\n\n /**\n * The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's\n * OIDC registration with the identity provider.\n */\n readonly aud: string;\n\n /**\n * A value contains 31 bytes of entropy that preserves privacy of the account. Typically fetched from a pepper provider.\n */\n readonly pepper: Uint8Array;\n\n /**\n * Account address associated with the account\n */\n readonly accountAddress: AccountAddress;\n\n /**\n * The zero knowledge signature (if ready) which contains the proof used to validate the EphemeralKeyPair.\n */\n proof: ZeroKnowledgeSig | undefined;\n\n /**\n * The proof of the EphemeralKeyPair or a promise that provides the proof. This is used to allow for awaiting on\n * fetching the proof.\n */\n readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;\n\n /**\n * Signing scheme used to sign transactions\n */\n readonly signingScheme: SigningScheme;\n\n /**\n * The JWT token used to derive the account\n */\n readonly jwt: string;\n\n /**\n * The hash of the verification key used to verify the proof. This is optional and can be used to check verifying key\n * rotations which may invalidate the proof.\n */\n readonly verificationKeyHash?: Uint8Array;\n\n /**\n * An event emitter used to assist in handling asynchronous proof fetching.\n */\n private readonly emitter: EventEmitter<ProofFetchEvents>;\n\n /**\n * Use the static generator `create(...)` instead.\n * Creates an instance of the KeylessAccount with an optional proof.\n *\n * @param args - The parameters for creating a KeylessAccount.\n * @param args.address - Optional account address associated with the KeylessAccount.\n * @param args.publicKey - A KeylessPublicKey or FederatedKeylessPublicKey.\n * @param args.ephemeralKeyPair - The ephemeral key pair used in the account creation.\n * @param args.iss - A JWT issuer.\n * @param args.uidKey - The claim on the JWT to identify a user. This is typically 'sub' or 'email'.\n * @param args.uidVal - The unique id for this user, intended to be a stable user identifier.\n * @param args.aud - The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's\n * OIDC registration with the identity provider.\n * @param args.pepper - A hexadecimal input used for additional security.\n * @param args.proof - A Zero Knowledge Signature or a promise that resolves to one.\n * @param args.proofFetchCallback - Optional callback function for fetching proof.\n * @param args.jwt - A JSON Web Token used for authentication.\n * @param args.verificationKeyHash Optional 32-byte verification key hash as hex input used to check proof validity.\n */\n protected constructor(args: {\n address?: AccountAddress;\n publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n ephemeralKeyPair: EphemeralKeyPair;\n iss: string;\n uidKey: string;\n uidVal: string;\n aud: string;\n pepper: HexInput;\n proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;\n proofFetchCallback?: ProofFetchCallback;\n jwt: string;\n verificationKeyHash?: HexInput;\n }) {\n super();\n const {\n address,\n ephemeralKeyPair,\n publicKey,\n uidKey,\n uidVal,\n aud,\n pepper,\n proof,\n proofFetchCallback,\n jwt,\n verificationKeyHash,\n } = args;\n this.ephemeralKeyPair = ephemeralKeyPair;\n this.publicKey = publicKey;\n this.accountAddress = address ? AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();\n this.uidKey = uidKey;\n this.uidVal = uidVal;\n this.aud = aud;\n this.jwt = jwt;\n this.emitter = new EventEmitter<ProofFetchEvents>();\n this.proofOrPromise = proof;\n if (proof instanceof ZeroKnowledgeSig) {\n this.proof = proof;\n } else {\n if (proofFetchCallback === undefined) {\n throw new Error(\"Must provide callback for async proof fetch\");\n }\n this.emitter.on(\"proofFetchFinish\", async (status) => {\n await proofFetchCallback(status);\n this.emitter.removeAllListeners();\n });\n // Note, this is purposely not awaited to be non-blocking. The caller should await on the proofFetchCallback.\n this.init(proof);\n }\n this.signingScheme = SigningScheme.SingleKey;\n const pepperBytes = Hex.fromHexInput(pepper).toUint8Array();\n if (pepperBytes.length !== AbstractKeylessAccount.PEPPER_LENGTH) {\n throw new Error(`Pepper length in bytes should be ${AbstractKeylessAccount.PEPPER_LENGTH}`);\n }\n this.pepper = pepperBytes;\n if (verificationKeyHash !== undefined) {\n if (Hex.hexInputToUint8Array(verificationKeyHash).length !== 32) {\n throw new Error(\"verificationKeyHash must be 32 bytes\");\n }\n this.verificationKeyHash = Hex.hexInputToUint8Array(verificationKeyHash);\n }\n }\n\n /**\n * This initializes the asynchronous proof fetch.\n * @return Emits whether the proof succeeds or fails, but has no return.\n */\n async init(promise: Promise<ZeroKnowledgeSig>) {\n try {\n this.proof = await promise;\n this.emitter.emit(\"proofFetchFinish\", { status: \"Success\" });\n } catch (error) {\n if (error instanceof Error) {\n this.emitter.emit(\"proofFetchFinish\", { status: \"Failed\", error: error.toString() });\n } else {\n this.emitter.emit(\"proofFetchFinish\", { status: \"Failed\", error: \"Unknown\" });\n }\n }\n }\n\n /**\n * Serializes the jwt data into a format suitable for transmission or storage.\n * This function ensures that both the jwt data and the proof are properly serialized.\n *\n * @param serializer - The serializer instance used to convert the jwt data into bytes.\n */\n serialize(serializer: Serializer): void {\n this.accountAddress.serialize(serializer);\n serializer.serializeStr(this.jwt);\n serializer.serializeStr(this.uidKey);\n serializer.serializeFixedBytes(this.pepper);\n this.ephemeralKeyPair.serialize(serializer);\n if (this.proof === undefined) {\n throw new Error(\"Cannot serialize - proof undefined\");\n }\n this.proof.serialize(serializer);\n serializer.serializeOption(this.verificationKeyHash, 32);\n }\n\n static partialDeserialize(deserializer: Deserializer): {\n address: AccountAddress;\n jwt: string;\n uidKey: string;\n pepper: Uint8Array;\n ephemeralKeyPair: EphemeralKeyPair;\n proof: ZeroKnowledgeSig;\n verificationKeyHash?: Uint8Array;\n } {\n const address = AccountAddress.deserialize(deserializer);\n const jwt = deserializer.deserializeStr();\n const uidKey = deserializer.deserializeStr();\n const pepper = deserializer.deserializeFixedBytes(31);\n const ephemeralKeyPair = EphemeralKeyPair.deserialize(deserializer);\n const proof = ZeroKnowledgeSig.deserialize(deserializer);\n const verificationKeyHash = deserializer.deserializeOption(\"fixedBytes\", 32);\n\n return { address, jwt, uidKey, pepper, ephemeralKeyPair, proof, verificationKeyHash };\n }\n\n /**\n * Checks if the proof is expired. If so the account must be re-derived with a new EphemeralKeyPair\n * and JWT token.\n * @return boolean\n */\n isExpired(): boolean {\n return this.ephemeralKeyPair.isExpired();\n }\n\n /**\n * Sign a message using Keyless.\n * @param message the message to sign, as binary input\n * @return the AccountAuthenticator containing the signature, together with the account's public key\n */\n signWithAuthenticator(message: HexInput): AccountAuthenticatorSingleKey {\n const signature = new AnySignature(this.sign(message));\n const publicKey = new AnyPublicKey(this.publicKey);\n return new AccountAuthenticatorSingleKey(publicKey, signature);\n }\n\n /**\n * Sign a transaction using Keyless.\n * @param transaction the raw transaction\n * @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key\n */\n signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorSingleKey {\n const signature = new AnySignature(this.signTransaction(transaction));\n const publicKey = new AnyPublicKey(this.publicKey);\n return new AccountAuthenticatorSingleKey(publicKey, signature);\n }\n\n /**\n * Waits for asynchronous proof fetching to finish.\n * @return\n */\n async waitForProofFetch() {\n if (this.proofOrPromise instanceof Promise) {\n await this.proofOrPromise;\n }\n }\n\n /**\n * Validates that the Keyless Account can be used to sign transactions.\n * @return\n */\n async checkKeylessAccountValidity(aptosConfig: AptosConfig): Promise<void> {\n if (this.isExpired()) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.EPHEMERAL_KEY_PAIR_EXPIRED,\n });\n }\n await this.waitForProofFetch();\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.ASYNC_PROOF_FETCH_FAILED,\n });\n }\n const header = jwtDecode(this.jwt, { header: true });\n if (header.kid === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.JWT_PARSING_ERROR,\n details: \"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen.\",\n });\n }\n if (this.verificationKeyHash !== undefined) {\n const { verificationKey } = await getKeylessConfig({ aptosConfig });\n if (Hex.hexInputToString(verificationKey.hash()) !== Hex.hexInputToString(this.verificationKeyHash)) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND,\n });\n }\n } else {\n // eslint-disable-next-line no-console\n console.warn(\n \"[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.\",\n );\n }\n await AbstractKeylessAccount.fetchJWK({ aptosConfig, publicKey: this.publicKey, kid: header.kid });\n }\n\n /**\n * Sign the given message using Keyless.\n * @param message in HexInput format\n * @returns Signature\n */\n sign(message: HexInput): KeylessSignature {\n const { expiryDateSecs } = this.ephemeralKeyPair;\n if (this.isExpired()) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.EPHEMERAL_KEY_PAIR_EXPIRED,\n });\n }\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.PROOF_NOT_FOUND,\n details: \"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing.\",\n });\n }\n const ephemeralPublicKey = this.ephemeralKeyPair.getPublicKey();\n const ephemeralSignature = this.ephemeralKeyPair.sign(message);\n\n return new KeylessSignature({\n jwtHeader: base64UrlDecode(this.jwt.split(\".\")[0]),\n ephemeralCertificate: new EphemeralCertificate(this.proof, EphemeralCertificateVariant.ZkProof),\n expiryDateSecs,\n ephemeralPublicKey,\n ephemeralSignature,\n });\n }\n\n /**\n * Sign the given transaction with Keyless.\n * Signs the transaction and proof to guard against proof malleability.\n * @param transaction the transaction to be signed\n * @returns KeylessSignature\n */\n signTransaction(transaction: AnyRawTransaction): KeylessSignature {\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.PROOF_NOT_FOUND,\n details: \"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing.\",\n });\n }\n const raw = deriveTransactionType(transaction);\n const txnAndProof = new TransactionAndProof(raw, this.proof.proof);\n const signMess = txnAndProof.hash();\n return this.sign(signMess);\n }\n\n /**\n * Note - This function is currently incomplete and should only be used to verify ownership of the KeylessAccount\n *\n * Verifies a signature given the message.\n *\n * TODO: Groth16 proof verification\n *\n * @param args.message the message that was signed.\n * @param args.signature the KeylessSignature to verify\n * @returns boolean\n */\n verifySignature(args: { message: HexInput; signature: KeylessSignature }): boolean {\n const { message, signature } = args;\n if (this.isExpired()) {\n return false;\n }\n if (!this.ephemeralKeyPair.getPublicKey().verifySignature({ message, signature: signature.ephemeralSignature })) {\n return false;\n }\n return true;\n }\n\n /**\n * Fetches the JWK from the issuer's well-known JWKS endpoint.\n *\n * @param args.publicKey The keyless public key to query\n * @param args.kid The kid of the JWK to fetch\n * @returns A JWK matching the `kid` in the JWT header.\n * @throws {KeylessError} If the JWK cannot be fetched\n */\n static async fetchJWK(args: {\n aptosConfig: AptosConfig;\n publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n kid: string;\n }): Promise<MoveJWK> {\n const { aptosConfig, publicKey, kid } = args;\n const keylessPubKey = publicKey instanceof KeylessPublicKey ? publicKey : publicKey.keylessPublicKey;\n const { iss } = keylessPubKey;\n\n let allJWKs: Map<string, MoveJWK[]>;\n const jwkAddr = publicKey instanceof FederatedKeylessPublicKey ? publicKey.jwkAddress : undefined;\n try {\n allJWKs = await getKeylessJWKs({ aptosConfig, jwkAddr });\n } catch (error) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.FULL_NODE_JWKS_LOOKUP_ERROR,\n error,\n details: `Failed to fetch ${jwkAddr ? \"Federated\" : \"Patched\"}JWKs ${jwkAddr ? `for address ${jwkAddr}` : \"0x1\"}`,\n });\n }\n\n // Find the corresponding JWK set by `iss`\n const jwksForIssuer = allJWKs.get(iss);\n\n if (jwksForIssuer === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_JWT_ISS_NOT_RECOGNIZED,\n details: `JWKs for issuer ${iss} not found.`,\n });\n }\n\n // Find the corresponding JWK by `kid`\n const jwk = jwksForIssuer.find((key) => key.kid === kid);\n\n if (jwk === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_JWT_JWK_NOT_FOUND,\n details: `JWK with kid '${kid}' for issuer '${iss}' not found.`,\n });\n }\n\n return jwk;\n }\n}\n\n/**\n * A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create\n * the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.\n */\nexport class TransactionAndProof extends Serializable {\n /**\n * The transaction to sign.\n */\n transaction: AnyRawTransactionInstance;\n\n /**\n * The zero knowledge proof used in signing the transaction.\n */\n proof?: ZkProof;\n\n /**\n * The domain separator prefix used when hashing.\n */\n readonly domainSeparator = \"APTOS::TransactionAndProof\";\n\n constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof) {\n super();\n this.transaction = transaction;\n this.proof = proof;\n }\n\n /**\n * Serializes the transaction data into a format suitable for transmission or storage.\n * This function ensures that both the transaction bytes and the proof are properly serialized.\n *\n * @param serializer - The serializer instance used to convert the transaction data into bytes.\n */\n serialize(serializer: Serializer): void {\n serializer.serializeFixedBytes(this.transaction.bcsToBytes());\n serializer.serializeOption(this.proof);\n }\n\n /**\n * Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.\n *\n * @returns Uint8Array\n */\n hash(): Uint8Array {\n return generateSigningMessage(this.bcsToBytes(), this.domainSeparator);\n }\n}\n\nexport type ProofFetchSuccess = {\n status: \"Success\";\n};\n\nexport type ProofFetchFailure = {\n status: \"Failed\";\n error: string;\n};\n\nexport type ProofFetchStatus = ProofFetchSuccess | ProofFetchFailure;\n\nexport type ProofFetchCallback = (status: ProofFetchStatus) => Promise<void>;\n\nexport interface ProofFetchEvents {\n proofFetchFinish: (status: ProofFetchStatus) => void;\n}\n"],"mappings":"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","names":["EventEmitter","jwtDecode","isKeylessSigner","obj","_AbstractKeylessAccount","Serializable","args","address","ephemeralKeyPair","publicKey","uidKey","uidVal","aud","pepper","proof","proofFetchCallback","jwt","verificationKeyHash","AccountAddress","EventEmitter","ZeroKnowledgeSig","status","pepperBytes","Hex","promise","error","serializer","deserializer","EphemeralKeyPair","message","signature","AnySignature","AnyPublicKey","AccountAuthenticatorSingleKey","transaction","aptosConfig","KeylessError","header","jwtDecode","verificationKey","getKeylessConfig","expiryDateSecs","ephemeralPublicKey","ephemeralSignature","KeylessSignature","base64UrlDecode","EphemeralCertificate","raw","deriveTransactionType","signMess","TransactionAndProof","kid","keylessPubKey","KeylessPublicKey","iss","allJWKs","jwkAddr","FederatedKeylessPublicKey","getKeylessJWKs","jwksForIssuer","jwk","key","AbstractKeylessAccount","generateSigningMessage"]}
|
|
1
|
+
{"version":3,"sources":["../../src/account/AbstractKeylessAccount.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport EventEmitter from \"eventemitter3\";\nimport { jwtDecode } from \"jwt-decode\";\nimport { EphemeralCertificateVariant, HexInput, SigningScheme } from \"../types\";\nimport { AccountAddress } from \"../core/accountAddress\";\nimport {\n AnyPublicKey,\n AnySignature,\n KeylessPublicKey,\n KeylessSignature,\n EphemeralCertificate,\n ZeroKnowledgeSig,\n ZkProof,\n getKeylessJWKs,\n MoveJWK,\n getKeylessConfig,\n} from \"../core/crypto\";\n\nimport { EphemeralKeyPair } from \"./EphemeralKeyPair\";\nimport { Hex } from \"../core/hex\";\nimport { AccountAuthenticatorSingleKey } from \"../transactions/authenticator/account\";\nimport { Deserializer, Serializable, Serializer } from \"../bcs\";\nimport { deriveTransactionType, generateSigningMessage } from \"../transactions/transactionBuilder/signingMessage\";\nimport { AnyRawTransaction, AnyRawTransactionInstance } from \"../transactions/types\";\nimport { base64UrlDecode } from \"../utils/helpers\";\nimport { FederatedKeylessPublicKey } from \"../core/crypto/federatedKeyless\";\nimport { Account } from \"./Account\";\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { KeylessError, KeylessErrorType } from \"../errors\";\n\n/**\n * An interface which defines if an Account utilizes Keyless signing.\n */\nexport interface KeylessSigner extends Account {\n checkKeylessAccountValidity(aptosConfig: AptosConfig): Promise<void>;\n}\n\nexport function isKeylessSigner(obj: any): obj is KeylessSigner {\n return obj !== null && obj !== undefined && typeof obj.checkKeylessAccountValidity === \"function\";\n}\n\n/**\n * Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts\n * and Federated Keyless Accounts.\n */\nexport abstract class AbstractKeylessAccount extends Serializable implements KeylessSigner {\n static readonly PEPPER_LENGTH: number = 31;\n\n /**\n * The KeylessPublicKey associated with the account\n */\n readonly publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n\n /**\n * The EphemeralKeyPair used to generate sign.\n */\n readonly ephemeralKeyPair: EphemeralKeyPair;\n\n /**\n * The claim on the JWT to identify a user. This is typically 'sub' or 'email'.\n */\n readonly uidKey: string;\n\n /**\n * The value of the uidKey claim on the JWT. This intended to be a stable user identifier.\n */\n readonly uidVal: string;\n\n /**\n * The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's\n * OIDC registration with the identity provider.\n */\n readonly aud: string;\n\n /**\n * A value contains 31 bytes of entropy that preserves privacy of the account. Typically fetched from a pepper provider.\n */\n readonly pepper: Uint8Array;\n\n /**\n * Account address associated with the account\n */\n readonly accountAddress: AccountAddress;\n\n /**\n * The zero knowledge signature (if ready) which contains the proof used to validate the EphemeralKeyPair.\n */\n proof: ZeroKnowledgeSig | undefined;\n\n /**\n * The proof of the EphemeralKeyPair or a promise that provides the proof. This is used to allow for awaiting on\n * fetching the proof.\n */\n readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;\n\n /**\n * Signing scheme used to sign transactions\n */\n readonly signingScheme: SigningScheme;\n\n /**\n * The JWT token used to derive the account\n */\n readonly jwt: string;\n\n /**\n * The hash of the verification key used to verify the proof. This is optional and can be used to check verifying key\n * rotations which may invalidate the proof.\n */\n readonly verificationKeyHash?: Uint8Array;\n\n /**\n * An event emitter used to assist in handling asynchronous proof fetching.\n */\n private readonly emitter: EventEmitter<ProofFetchEvents>;\n\n /**\n * Use the static generator `create(...)` instead.\n * Creates an instance of the KeylessAccount with an optional proof.\n *\n * @param args - The parameters for creating a KeylessAccount.\n * @param args.address - Optional account address associated with the KeylessAccount.\n * @param args.publicKey - A KeylessPublicKey or FederatedKeylessPublicKey.\n * @param args.ephemeralKeyPair - The ephemeral key pair used in the account creation.\n * @param args.iss - A JWT issuer.\n * @param args.uidKey - The claim on the JWT to identify a user. This is typically 'sub' or 'email'.\n * @param args.uidVal - The unique id for this user, intended to be a stable user identifier.\n * @param args.aud - The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's\n * OIDC registration with the identity provider.\n * @param args.pepper - A hexadecimal input used for additional security.\n * @param args.proof - A Zero Knowledge Signature or a promise that resolves to one.\n * @param args.proofFetchCallback - Optional callback function for fetching proof.\n * @param args.jwt - A JSON Web Token used for authentication.\n * @param args.verificationKeyHash Optional 32-byte verification key hash as hex input used to check proof validity.\n */\n protected constructor(args: {\n address?: AccountAddress;\n publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n ephemeralKeyPair: EphemeralKeyPair;\n iss: string;\n uidKey: string;\n uidVal: string;\n aud: string;\n pepper: HexInput;\n proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;\n proofFetchCallback?: ProofFetchCallback;\n jwt: string;\n verificationKeyHash?: HexInput;\n }) {\n super();\n const {\n address,\n ephemeralKeyPair,\n publicKey,\n uidKey,\n uidVal,\n aud,\n pepper,\n proof,\n proofFetchCallback,\n jwt,\n verificationKeyHash,\n } = args;\n this.ephemeralKeyPair = ephemeralKeyPair;\n this.publicKey = publicKey;\n this.accountAddress = address ? AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();\n this.uidKey = uidKey;\n this.uidVal = uidVal;\n this.aud = aud;\n this.jwt = jwt;\n this.emitter = new EventEmitter<ProofFetchEvents>();\n this.proofOrPromise = proof;\n if (proof instanceof ZeroKnowledgeSig) {\n this.proof = proof;\n } else {\n if (proofFetchCallback === undefined) {\n throw new Error(\"Must provide callback for async proof fetch\");\n }\n this.emitter.on(\"proofFetchFinish\", async (status) => {\n await proofFetchCallback(status);\n this.emitter.removeAllListeners();\n });\n // Note, this is purposely not awaited to be non-blocking. The caller should await on the proofFetchCallback.\n this.init(proof);\n }\n this.signingScheme = SigningScheme.SingleKey;\n const pepperBytes = Hex.fromHexInput(pepper).toUint8Array();\n if (pepperBytes.length !== AbstractKeylessAccount.PEPPER_LENGTH) {\n throw new Error(`Pepper length in bytes should be ${AbstractKeylessAccount.PEPPER_LENGTH}`);\n }\n this.pepper = pepperBytes;\n if (verificationKeyHash !== undefined) {\n if (Hex.hexInputToUint8Array(verificationKeyHash).length !== 32) {\n throw new Error(\"verificationKeyHash must be 32 bytes\");\n }\n this.verificationKeyHash = Hex.hexInputToUint8Array(verificationKeyHash);\n }\n }\n\n /**\n * This initializes the asynchronous proof fetch.\n * @return Emits whether the proof succeeds or fails, but has no return.\n */\n async init(promise: Promise<ZeroKnowledgeSig>) {\n try {\n this.proof = await promise;\n this.emitter.emit(\"proofFetchFinish\", { status: \"Success\" });\n } catch (error) {\n if (error instanceof Error) {\n this.emitter.emit(\"proofFetchFinish\", { status: \"Failed\", error: error.toString() });\n } else {\n this.emitter.emit(\"proofFetchFinish\", { status: \"Failed\", error: \"Unknown\" });\n }\n }\n }\n\n /**\n * Serializes the jwt data into a format suitable for transmission or storage.\n * This function ensures that both the jwt data and the proof are properly serialized.\n *\n * @param serializer - The serializer instance used to convert the jwt data into bytes.\n */\n serialize(serializer: Serializer): void {\n this.accountAddress.serialize(serializer);\n serializer.serializeStr(this.jwt);\n serializer.serializeStr(this.uidKey);\n serializer.serializeFixedBytes(this.pepper);\n this.ephemeralKeyPair.serialize(serializer);\n if (this.proof === undefined) {\n throw new Error(\"Cannot serialize - proof undefined\");\n }\n this.proof.serialize(serializer);\n serializer.serializeOption(this.verificationKeyHash, 32);\n }\n\n static partialDeserialize(deserializer: Deserializer): {\n address: AccountAddress;\n jwt: string;\n uidKey: string;\n pepper: Uint8Array;\n ephemeralKeyPair: EphemeralKeyPair;\n proof: ZeroKnowledgeSig;\n verificationKeyHash?: Uint8Array;\n } {\n const address = AccountAddress.deserialize(deserializer);\n const jwt = deserializer.deserializeStr();\n const uidKey = deserializer.deserializeStr();\n const pepper = deserializer.deserializeFixedBytes(31);\n const ephemeralKeyPair = EphemeralKeyPair.deserialize(deserializer);\n const proof = ZeroKnowledgeSig.deserialize(deserializer);\n const verificationKeyHash = deserializer.deserializeOption(\"fixedBytes\", 32);\n\n return { address, jwt, uidKey, pepper, ephemeralKeyPair, proof, verificationKeyHash };\n }\n\n /**\n * Checks if the proof is expired. If so the account must be re-derived with a new EphemeralKeyPair\n * and JWT token.\n * @return boolean\n */\n isExpired(): boolean {\n return this.ephemeralKeyPair.isExpired();\n }\n\n /**\n * Sign a message using Keyless.\n * @param message the message to sign, as binary input\n * @return the AccountAuthenticator containing the signature, together with the account's public key\n */\n signWithAuthenticator(message: HexInput): AccountAuthenticatorSingleKey {\n const signature = new AnySignature(this.sign(message));\n const publicKey = new AnyPublicKey(this.publicKey);\n return new AccountAuthenticatorSingleKey(publicKey, signature);\n }\n\n /**\n * Sign a transaction using Keyless.\n * @param transaction the raw transaction\n * @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key\n */\n signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorSingleKey {\n const signature = new AnySignature(this.signTransaction(transaction));\n const publicKey = new AnyPublicKey(this.publicKey);\n return new AccountAuthenticatorSingleKey(publicKey, signature);\n }\n\n /**\n * Waits for asynchronous proof fetching to finish.\n * @return\n */\n async waitForProofFetch() {\n if (this.proofOrPromise instanceof Promise) {\n await this.proofOrPromise;\n }\n }\n\n /**\n * Validates that the Keyless Account can be used to sign transactions.\n * @return\n */\n async checkKeylessAccountValidity(aptosConfig: AptosConfig): Promise<void> {\n if (this.isExpired()) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.EPHEMERAL_KEY_PAIR_EXPIRED,\n });\n }\n await this.waitForProofFetch();\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.ASYNC_PROOF_FETCH_FAILED,\n });\n }\n const header = jwtDecode(this.jwt, { header: true });\n if (header.kid === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.JWT_PARSING_ERROR,\n details: \"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen.\",\n });\n }\n if (this.verificationKeyHash !== undefined) {\n const { verificationKey } = await getKeylessConfig({ aptosConfig });\n if (Hex.hexInputToString(verificationKey.hash()) !== Hex.hexInputToString(this.verificationKeyHash)) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND,\n });\n }\n } else {\n // eslint-disable-next-line no-console\n console.warn(\n \"[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.\",\n );\n }\n await AbstractKeylessAccount.fetchJWK({ aptosConfig, publicKey: this.publicKey, kid: header.kid });\n }\n\n /**\n * Sign the given message using Keyless.\n * @param message in HexInput format\n * @returns Signature\n */\n sign(message: HexInput): KeylessSignature {\n const { expiryDateSecs } = this.ephemeralKeyPair;\n if (this.isExpired()) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.EPHEMERAL_KEY_PAIR_EXPIRED,\n });\n }\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.PROOF_NOT_FOUND,\n details: \"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing.\",\n });\n }\n const ephemeralPublicKey = this.ephemeralKeyPair.getPublicKey();\n const ephemeralSignature = this.ephemeralKeyPair.sign(message);\n\n return new KeylessSignature({\n jwtHeader: base64UrlDecode(this.jwt.split(\".\")[0]),\n ephemeralCertificate: new EphemeralCertificate(this.proof, EphemeralCertificateVariant.ZkProof),\n expiryDateSecs,\n ephemeralPublicKey,\n ephemeralSignature,\n });\n }\n\n /**\n * Sign the given transaction with Keyless.\n * Signs the transaction and proof to guard against proof malleability.\n * @param transaction the transaction to be signed\n * @returns KeylessSignature\n */\n signTransaction(transaction: AnyRawTransaction): KeylessSignature {\n if (this.proof === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.PROOF_NOT_FOUND,\n details: \"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing.\",\n });\n }\n const raw = deriveTransactionType(transaction);\n const txnAndProof = new TransactionAndProof(raw, this.proof.proof);\n const signMess = txnAndProof.hash();\n return this.sign(signMess);\n }\n\n /**\n * Note - This function is currently incomplete and should only be used to verify ownership of the KeylessAccount\n *\n * Verifies a signature given the message.\n *\n * TODO: Groth16 proof verification\n *\n * @param args.message the message that was signed.\n * @param args.signature the KeylessSignature to verify\n * @returns boolean\n */\n verifySignature(args: { message: HexInput; signature: KeylessSignature }): boolean {\n const { message, signature } = args;\n if (this.isExpired()) {\n return false;\n }\n if (!this.ephemeralKeyPair.getPublicKey().verifySignature({ message, signature: signature.ephemeralSignature })) {\n return false;\n }\n return true;\n }\n\n /**\n * Fetches the JWK from the issuer's well-known JWKS endpoint.\n *\n * @param args.publicKey The keyless public key to query\n * @param args.kid The kid of the JWK to fetch\n * @returns A JWK matching the `kid` in the JWT header.\n * @throws {KeylessError} If the JWK cannot be fetched\n */\n static async fetchJWK(args: {\n aptosConfig: AptosConfig;\n publicKey: KeylessPublicKey | FederatedKeylessPublicKey;\n kid: string;\n }): Promise<MoveJWK> {\n const { aptosConfig, publicKey, kid } = args;\n const keylessPubKey = publicKey instanceof KeylessPublicKey ? publicKey : publicKey.keylessPublicKey;\n const { iss } = keylessPubKey;\n\n let allJWKs: Map<string, MoveJWK[]>;\n const jwkAddr = publicKey instanceof FederatedKeylessPublicKey ? publicKey.jwkAddress : undefined;\n try {\n allJWKs = await getKeylessJWKs({ aptosConfig, jwkAddr });\n } catch (error) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.FULL_NODE_JWKS_LOOKUP_ERROR,\n error,\n details: `Failed to fetch ${jwkAddr ? \"Federated\" : \"Patched\"}JWKs ${jwkAddr ? `for address ${jwkAddr}` : \"0x1\"}`,\n });\n }\n\n // Find the corresponding JWK set by `iss`\n const jwksForIssuer = allJWKs.get(iss);\n\n if (jwksForIssuer === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_JWT_ISS_NOT_RECOGNIZED,\n // eslint-disable-next-line max-len\n details: `JWKs for issuer ${iss} not found at address ${jwkAddr ? `${jwkAddr}. Make sure the JWK set for the issuer is registered at this address.` : \"0x1. This issuer is not supported for use with Keyless.\"}`,\n });\n }\n\n // Find the corresponding JWK by `kid`\n const jwk = jwksForIssuer.find((key) => key.kid === kid);\n\n if (jwk === undefined) {\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.INVALID_JWT_JWK_NOT_FOUND,\n details: `JWK with kid '${kid}' for issuer '${iss}' not found.`,\n });\n }\n\n return jwk;\n }\n}\n\n/**\n * A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create\n * the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.\n */\nexport class TransactionAndProof extends Serializable {\n /**\n * The transaction to sign.\n */\n transaction: AnyRawTransactionInstance;\n\n /**\n * The zero knowledge proof used in signing the transaction.\n */\n proof?: ZkProof;\n\n /**\n * The domain separator prefix used when hashing.\n */\n readonly domainSeparator = \"APTOS::TransactionAndProof\";\n\n constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof) {\n super();\n this.transaction = transaction;\n this.proof = proof;\n }\n\n /**\n * Serializes the transaction data into a format suitable for transmission or storage.\n * This function ensures that both the transaction bytes and the proof are properly serialized.\n *\n * @param serializer - The serializer instance used to convert the transaction data into bytes.\n */\n serialize(serializer: Serializer): void {\n serializer.serializeFixedBytes(this.transaction.bcsToBytes());\n serializer.serializeOption(this.proof);\n }\n\n /**\n * Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.\n *\n * @returns Uint8Array\n */\n hash(): Uint8Array {\n return generateSigningMessage(this.bcsToBytes(), this.domainSeparator);\n }\n}\n\nexport type ProofFetchSuccess = {\n status: \"Success\";\n};\n\nexport type ProofFetchFailure = {\n status: \"Failed\";\n error: string;\n};\n\nexport type ProofFetchStatus = ProofFetchSuccess | ProofFetchFailure;\n\nexport type ProofFetchCallback = (status: ProofFetchStatus) => Promise<void>;\n\nexport interface ProofFetchEvents {\n proofFetchFinish: (status: ProofFetchStatus) => void;\n}\n"],"mappings":"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","names":["EventEmitter","jwtDecode","isKeylessSigner","obj","_AbstractKeylessAccount","Serializable","args","address","ephemeralKeyPair","publicKey","uidKey","uidVal","aud","pepper","proof","proofFetchCallback","jwt","verificationKeyHash","AccountAddress","EventEmitter","ZeroKnowledgeSig","status","pepperBytes","Hex","promise","error","serializer","deserializer","EphemeralKeyPair","message","signature","AnySignature","AnyPublicKey","AccountAuthenticatorSingleKey","transaction","aptosConfig","KeylessError","header","jwtDecode","verificationKey","getKeylessConfig","expiryDateSecs","ephemeralPublicKey","ephemeralSignature","KeylessSignature","base64UrlDecode","EphemeralCertificate","raw","deriveTransactionType","signMess","TransactionAndProof","kid","keylessPubKey","KeylessPublicKey","iss","allJWKs","jwkAddr","FederatedKeylessPublicKey","getKeylessJWKs","jwksForIssuer","jwk","key","AbstractKeylessAccount","generateSigningMessage"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as p}from"./chunk-P6RNNESB.mjs";async function o(e){let{type:t,originMethod:s,path:i,body:r,acceptType:R,contentType:f,params:c,aptosConfig:n,overrides:A}=e,d=n.getRequestUrl(t);return p({url:d,method:"POST",originMethod:s,path:i,body:r,contentType:f,acceptType:R,params:c,overrides:A},n,e.type)}async function q(e){let{aptosConfig:t}=e;return o({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function C(e){let{aptosConfig:t}=e;return o({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.indexerConfig?.HEADERS}}})}async function E(e){let{aptosConfig:t}=e,s={...t,clientConfig:{...t.clientConfig}};return delete s?.clientConfig?.API_KEY,o({...e,type:"Faucet",overrides:{...s.clientConfig,...s.faucetConfig,...e.overrides,HEADERS:{...s.clientConfig?.HEADERS,...s.faucetConfig?.HEADERS}}})}async function a(e){return o({...e,type:"Pepper"})}async function m(e){return o({...e,type:"Prover"})}export{o as a,q as b,C as c,E as d,a as e,m as f};
|
|
2
|
+
//# sourceMappingURL=chunk-YT3IP57B.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i,b as o,c as a,d as c,e as p,f as d,g,h as u,i as A,j as y,k as m,l,m as T,n as f,o as C,p as I,q as O,r as P,s as D,t as V,u as S,v as h,w as R,x as G}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i,b as o,c as a,d as c,e as p,f as d,g,h as u,i as A,j as y,k as m,l,m as T,n as f,o as C,p as I,q as O,r as P,s as D,t as V,u as S,v as h,w as R,x as G}from"./chunk-3HFCZKFI.mjs";import{a as e}from"./chunk-CW6P2DDJ.mjs";import{b as s}from"./chunk-JNO7KPMG.mjs";var L=class{constructor(t){this.config=t}async getCollectionData(t){await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"});let{creatorAddress:N,collectionName:_,options:n}=t,w=s.from(N),r={collection_name:{_eq:_},creator_address:{_eq:w.toStringLong()}};return n?.tokenStandard&&(r.token_standard={_eq:n?.tokenStandard??"v2"}),d({aptosConfig:this.config,options:{where:r}})}async getCollectionDataByCreatorAddressAndCollectionName(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),g({aptosConfig:this.config,...t})}async getCollectionDataByCreatorAddress(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),u({aptosConfig:this.config,...t})}async getCollectionDataByCollectionId(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),A({aptosConfig:this.config,...t})}async getCollectionId(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),y({aptosConfig:this.config,...t})}async getDigitalAssetData(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),i({aptosConfig:this.config,...t})}async getCurrentDigitalAssetOwnership(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),o({aptosConfig:this.config,...t})}async getOwnedDigitalAssets(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),a({aptosConfig:this.config,...t})}async getDigitalAssetActivity(t){return await e({config:this.config,minimumLedgerVersion:t.minimumLedgerVersion,processorType:"token_v2_processor"}),c({aptosConfig:this.config,...t})}async createCollectionTransaction(t){return p({aptosConfig:this.config,...t})}async mintDigitalAssetTransaction(t){return m({aptosConfig:this.config,...t})}async transferDigitalAssetTransaction(t){return l({aptosConfig:this.config,...t})}async mintSoulBoundTransaction(t){return T({aptosConfig:this.config,...t})}async burnDigitalAssetTransaction(t){return f({aptosConfig:this.config,...t})}async freezeDigitalAssetTransaferTransaction(t){return C({aptosConfig:this.config,...t})}async unfreezeDigitalAssetTransaferTransaction(t){return I({aptosConfig:this.config,...t})}async setDigitalAssetDescriptionTransaction(t){return O({aptosConfig:this.config,...t})}async setDigitalAssetNameTransaction(t){return P({aptosConfig:this.config,...t})}async setDigitalAssetURITransaction(t){return D({aptosConfig:this.config,...t})}async addDigitalAssetPropertyTransaction(t){return V({aptosConfig:this.config,...t})}async removeDigitalAssetPropertyTransaction(t){return S({aptosConfig:this.config,...t})}async updateDigitalAssetPropertyTransaction(t){return h({aptosConfig:this.config,...t})}async addDigitalAssetTypedPropertyTransaction(t){return R({aptosConfig:this.config,...t})}async updateDigitalAssetTypedPropertyTransaction(t){return G({aptosConfig:this.config,...t})}};export{L as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZYUUEOBS.mjs.map
|
package/dist/esm/client/core.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-P6RNNESB.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-YQHOQJRQ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
|
|
2
2
|
//# sourceMappingURL=core.mjs.map
|
package/dist/esm/client/get.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-LRN4ALMT.mjs";import"../chunk-P6RNNESB.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-YQHOQJRQ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,d as paginateWithCursor};
|
|
2
2
|
//# sourceMappingURL=get.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f}from"../chunk-
|
|
1
|
+
import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f}from"../chunk-LRN4ALMT.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l}from"../chunk-YT3IP57B.mjs";import{a,b}from"../chunk-P6RNNESB.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-YQHOQJRQ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,f as paginateWithCursor,g as post,j as postAptosFaucet,h as postAptosFullNode,i as postAptosIndexer,k as postAptosPepperService,l as postAptosProvingService,a as request};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/client/post.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-YT3IP57B.mjs";import"../chunk-P6RNNESB.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-YQHOQJRQ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
|
|
2
2
|
//# sourceMappingURL=post.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-6ZOVTYLJ.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-
|
|
1
|
+
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-6ZOVTYLJ.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-
|
|
1
|
+
import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-U2PRGW4O.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=address.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-
|
|
1
|
+
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-U2PRGW4O.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
|
|
2
2
|
//# sourceMappingURL=accountAddress.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-AKIO3OIT.mjs";import"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-AKIO3OIT.mjs";import"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
|
|
2
2
|
//# sourceMappingURL=authenticationKey.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
|
|
2
2
|
//# sourceMappingURL=ed25519.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-YJ6FXOSK.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
|
|
2
2
|
//# sourceMappingURL=ephemeral.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-BVGHNXLS.mjs";import"../../chunk-3SW3LBCD.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-YJ6FXOSK.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
|
|
2
2
|
//# sourceMappingURL=federatedKeyless.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-
|
|
1
|
+
import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-QHTVAKKJ.mjs";import{a as aa,b as ba}from"../../chunk-AL623KXR.mjs";import{a as _,b as $}from"../../chunk-FVFOFRRN.mjs";import{a as u,b as v,c as w}from"../../chunk-QDNJTKUD.mjs";import{a as Z}from"../../chunk-BVGHNXLS.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K,h as L,i as M,j as N,k as O,l as P,m as Q,n as R,o as S,p as T,q as U,r as V,s as W,t as X,u as Y}from"../../chunk-3SW3LBCD.mjs";import"../../chunk-UGTIALNW.mjs";import{a as z,b as A,c as B,d as C,e as D}from"../../chunk-GMKKHGXK.mjs";import{a as x,b as y}from"../../chunk-YJ6FXOSK.mjs";import{a as o,b as p,c as q,d as r}from"../../chunk-3Q3PLPP7.mjs";import{a as l,b as m}from"../../chunk-MHN6XY4Z.mjs";import{a as n}from"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-OIOGOW6I.mjs";import{a as k}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as APTOS_BIP44_REGEX,a as APTOS_HARDENED_REGEX,m as AccountPublicKey,_ as AnyPublicKey,$ as AnySignature,h as CKDPriv,E as EPK_HORIZON_SECS,q as Ed25519PrivateKey,p as Ed25519PublicKey,r as Ed25519Signature,O as EphemeralCertificate,x as EphemeralPublicKey,y as EphemeralSignature,Z as FederatedKeylessPublicKey,T as Groth16VerificationKey,P as Groth16Zkp,d as HARDENED_OFFSET,c as KeyType,S as KeylessConfiguration,M as KeylessPublicKey,N as KeylessSignature,F as MAX_AUD_VAL_BYTES,L as MAX_COMMITED_EPK_BYTES,J as MAX_EXTRA_FIELD_BYTES,I as MAX_ISS_VAL_BYTES,K as MAX_JWT_HEADER_B64_BYTES,G as MAX_UID_KEY_BYTES,H as MAX_UID_VAL_BYTES,X as MoveJWK,s as MultiEd25519PublicKey,t as MultiEd25519Signature,aa as MultiKey,ba as MultiKeySignature,k as PrivateKey,l as PublicKey,v as Secp256k1PrivateKey,u as Secp256k1PublicKey,w as Secp256k1Signature,n as Signature,R as ZeroKnowledgeSig,Q as ZkProof,C as bigIntToBytesLE,B as bytesToBigIntLE,g as deriveKey,V as getIssAudAndUidVal,U as getKeylessConfig,W as getKeylessJWKs,z as hashStrToField,o as isCanonicalEd25519Signature,e as isValidBIP44Path,f as isValidHardenedPath,j as mnemonicToSeed,A as padAndPackBytesWithLen,Y as parseJwtHeader,D as poseidonHash,i as splitPath};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-3SW3LBCD.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-YJ6FXOSK.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EPK_HORIZON_SECS,k as EphemeralCertificate,p as Groth16VerificationKey,l as Groth16Zkp,o as KeylessConfiguration,i as KeylessPublicKey,j as KeylessSignature,b as MAX_AUD_VAL_BYTES,h as MAX_COMMITED_EPK_BYTES,f as MAX_EXTRA_FIELD_BYTES,e as MAX_ISS_VAL_BYTES,g as MAX_JWT_HEADER_B64_BYTES,c as MAX_UID_KEY_BYTES,d as MAX_UID_VAL_BYTES,t as MoveJWK,n as ZeroKnowledgeSig,m as ZkProof,r as getIssAudAndUidVal,q as getKeylessConfig,s as getKeylessJWKs,u as parseJwtHeader};
|
|
2
2
|
//# sourceMappingURL=keyless.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-QHTVAKKJ.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiEd25519PublicKey,b as MultiEd25519Signature};
|
|
2
2
|
//# sourceMappingURL=multiEd25519.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-AL623KXR.mjs";import"../../chunk-FVFOFRRN.mjs";import"../../chunk-QDNJTKUD.mjs";import"../../chunk-BVGHNXLS.mjs";import"../../chunk-3SW3LBCD.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-YJ6FXOSK.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiKey,b as MultiKeySignature};
|
|
2
2
|
//# sourceMappingURL=multiKey.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
|
|
2
2
|
//# sourceMappingURL=privateKey.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-UGTIALNW.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-UGTIALNW.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Proof};
|
|
2
2
|
//# sourceMappingURL=proof.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-MHN6XY4Z.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-MHN6XY4Z.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
|
|
2
2
|
//# sourceMappingURL=publicKey.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-QDNJTKUD.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as Secp256k1PrivateKey,a as Secp256k1PublicKey,c as Secp256k1Signature};
|
|
2
2
|
//# sourceMappingURL=secp256k1.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-4O5XDQDO.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-4O5XDQDO.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Signature};
|
|
2
2
|
//# sourceMappingURL=signature.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-FVFOFRRN.mjs";import"../../chunk-QDNJTKUD.mjs";import"../../chunk-BVGHNXLS.mjs";import"../../chunk-3SW3LBCD.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-YJ6FXOSK.mjs";import"../../chunk-3Q3PLPP7.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AnyPublicKey,b as AnySignature};
|
|
2
2
|
//# sourceMappingURL=singleKey.mjs.map
|
package/dist/esm/core/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import{a as ja,b as ka,c as la}from"../chunk-6ZOVTYLJ.mjs";import"../chunk-HEZ2ZYZA.mjs";import{a as z,b as A}from"../chunk-
|
|
1
|
+
import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import{a as ja,b as ka,c as la}from"../chunk-6ZOVTYLJ.mjs";import"../chunk-HEZ2ZYZA.mjs";import{a as z,b as A}from"../chunk-QHTVAKKJ.mjs";import{a as ha,b as ia}from"../chunk-AL623KXR.mjs";import{a as fa,b as ga}from"../chunk-FVFOFRRN.mjs";import{a as B,b as C,c as D}from"../chunk-QDNJTKUD.mjs";import{a as ea}from"../chunk-BVGHNXLS.mjs";import{a as L,b as M,c as N,d as O,e as P,f as Q,g as R,h as S,i as T,j as U,k as V,l as W,m as X,n as Y,o as Z,p as _,q as $,r as aa,s as ba,t as ca,u as da}from"../chunk-3SW3LBCD.mjs";import"../chunk-UGTIALNW.mjs";import{a as G,b as H,c as I,d as J,e as K}from"../chunk-GMKKHGXK.mjs";import{a as E,b as F}from"../chunk-YJ6FXOSK.mjs";import{a as v,b as w,c as x,d as y}from"../chunk-3Q3PLPP7.mjs";import{a as s,b as t}from"../chunk-MHN6XY4Z.mjs";import{a as u}from"../chunk-4O5XDQDO.mjs";import"../chunk-5B3SMBXQ.mjs";import{a as h,b as i,c as j,d as k,e as l,f as m,g as n,h as o,i as p,j as q}from"../chunk-OIOGOW6I.mjs";import{a as r}from"../chunk-AVZYJAXR.mjs";import{a as g}from"../chunk-AKIO3OIT.mjs";import{a as e,b as f}from"../chunk-JNO7KPMG.mjs";import"../chunk-HBIDHQ2M.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-LRN4ALMT.mjs";import"../chunk-YT3IP57B.mjs";import"../chunk-P6RNNESB.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import{a as b,b as c,c as d}from"../chunk-SPRNSFUV.mjs";import{a}from"../chunk-6Q2O5G3J.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-YQHOQJRQ.mjs";import"../chunk-KDMSOCZY.mjs";export{i as APTOS_BIP44_REGEX,h as APTOS_HARDENED_REGEX,f as AccountAddress,t as AccountPublicKey,e as AddressInvalidReason,fa as AnyPublicKey,ga as AnySignature,g as AuthenticationKey,o as CKDPriv,L as EPK_HORIZON_SECS,x as Ed25519PrivateKey,w as Ed25519PublicKey,y as Ed25519Signature,V as EphemeralCertificate,E as EphemeralPublicKey,F as EphemeralSignature,ea as FederatedKeylessPublicKey,_ as Groth16VerificationKey,W as Groth16Zkp,k as HARDENED_OFFSET,c as Hex,b as HexInvalidReason,j as KeyType,Z as KeylessConfiguration,T as KeylessPublicKey,U as KeylessSignature,M as MAX_AUD_VAL_BYTES,S as MAX_COMMITED_EPK_BYTES,Q as MAX_EXTRA_FIELD_BYTES,P as MAX_ISS_VAL_BYTES,R as MAX_JWT_HEADER_B64_BYTES,N as MAX_UID_KEY_BYTES,O as MAX_UID_VAL_BYTES,ca as MoveJWK,z as MultiEd25519PublicKey,A as MultiEd25519Signature,ha as MultiKey,ia as MultiKeySignature,a as ParsingError,r as PrivateKey,s as PublicKey,C as Secp256k1PrivateKey,B as Secp256k1PublicKey,D as Secp256k1Signature,u as Signature,Y as ZeroKnowledgeSig,X as ZkProof,J as bigIntToBytesLE,I as bytesToBigIntLE,ja as createObjectAddress,ka as createResourceAddress,la as createTokenAddress,n as deriveKey,aa as getIssAudAndUidVal,$ as getKeylessConfig,ba as getKeylessJWKs,G as hashStrToField,d as hexToAsciiString,v as isCanonicalEd25519Signature,l as isValidBIP44Path,m as isValidHardenedPath,q as mnemonicToSeed,H as padAndPackBytesWithLen,da as parseJwtHeader,K as poseidonHash,p as splitPath};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ export { Signature } from './core/crypto/signature.mjs';
|
|
|
33
33
|
export { AnyPublicKey, AnySignature } from './core/crypto/singleKey.mjs';
|
|
34
34
|
export { Hex, HexInvalidReason, hexToAsciiString } from './core/hex.mjs';
|
|
35
35
|
export { AptosApiError, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType } from './errors/index.mjs';
|
|
36
|
-
export { AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey } from './transactions/authenticator/account.mjs';
|
|
36
|
+
export { AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey } from './transactions/authenticator/account.mjs';
|
|
37
37
|
export { TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender } from './transactions/authenticator/transaction.mjs';
|
|
38
38
|
export { ChainId } from './transactions/instances/chainId.mjs';
|
|
39
39
|
export { Identifier } from './transactions/instances/identifier.mjs';
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./chunk-RMMOF53Q.mjs";import{a as pm}from"./chunk-ML7D2CVG.mjs";import"./chunk-7OHMMGS6.mjs";import"./chunk-E2GPZCQI.mjs";import"./chunk-WYOFF5DJ.mjs";import"./chunk-RSO5YIDW.mjs";import"./chunk-MBEWPBGN.mjs";import"./chunk-ETF76XA3.mjs";import"./chunk-KM6IOJ6Y.mjs";import"./chunk-UKVH4UGL.mjs";import"./chunk-JONEH52T.mjs";import"./chunk-II26BNYA.mjs";import"./chunk-U3GE6IPF.mjs";import"./chunk-XIB6LX22.mjs";import"./chunk-I2NMCLNW.mjs";import"./chunk-KCEI5JYS.mjs";import"./chunk-IHYTP2EW.mjs";import{a as em,b as fm,c as mm}from"./chunk-RC43EXC4.mjs";import{a as rm}from"./chunk-4J2JYRV3.mjs";import"./chunk-2CJC43CV.mjs";import"./chunk-2REHS35S.mjs";import"./chunk-JIT2FYGE.mjs";import{a as om}from"./chunk-V5NDNR36.mjs";import"./chunk-VGITSRT6.mjs";import"./chunk-ERDYU5YQ.mjs";import"./chunk-HBWIDPNN.mjs";import"./chunk-AGEJNSEX.mjs";import"./chunk-JGLEKXFP.mjs";import"./chunk-L25CRR2W.mjs";import"./chunk-GZBVXXUL.mjs";import"./chunk-5KCKWL2C.mjs";import"./chunk-FFCCBAEZ.mjs";import"./chunk-H7AALSJ7.mjs";import"./chunk-SY4HK6CC.mjs";import"./chunk-IUSAYAEI.mjs";import"./chunk-X7JNNNMC.mjs";import"./chunk-I5OYNCZS.mjs";import"./chunk-JXCZTOYC.mjs";import{a as Rf,b as Sf,c as Tf,d as Uf,e as Vf,f as Wf,g as Xf,h as Yf,i as Zf,j as _f,k as $f}from"./chunk-26WX3UFP.mjs";import{a as Lf,b as Mf,c as Nf,d as Of,e as Pf,f as Qf}from"./chunk-KTM6KVUJ.mjs";import{a as If,b as Jf,c as Kf}from"./chunk-AOROYJ74.mjs";import{a as gf,b as hf,c as jf,d as kf,e as lf,f as nf,g as qf,h as sf,i as uf,j as vf,k as wf,l as yf,m as zf,n as Af,o as Bf,p as Cf,q as Df,r as Ef,s as Ff,t as Gf,u as Hf}from"./chunk-5O3RHPER.mjs";import"./chunk-BSCOVLWS.mjs";import"./chunk-V3MBJJTL.mjs";import"./chunk-FYYTCJS4.mjs";import"./chunk-CEW2NI3K.mjs";import"./chunk-BP45UJII.mjs";import"./chunk-I5GENJBA.mjs";import"./chunk-HPZQGMSH.mjs";import"./chunk-VHNX2NUR.mjs";import"./chunk-GAEAYY44.mjs";import{a as df}from"./chunk-NF7ZQQE3.mjs";import{a as mf}from"./chunk-TGW36YOD.mjs";import{a as ff}from"./chunk-RLH25IDA.mjs";import{a as ef}from"./chunk-2LQ4FTSR.mjs";import{a as cf}from"./chunk-LHBMBCFC.mjs";import{a as bf}from"./chunk-YP3VO6GM.mjs";import{a as tf,b as xf,c as af}from"./chunk-UWLW2VLZ.mjs";import{a as _e,b as $e,c as of,d as rf}from"./chunk-TQA6HY6A.mjs";import"./chunk-4NMDYPUD.mjs";import{a as Ze}from"./chunk-4IQZOAN7.mjs";import{a as Qe}from"./chunk-2E3BT4YW.mjs";import{a as Xe}from"./chunk-LYO22HMF.mjs";import{a as Ye}from"./chunk-O4MRRWRI.mjs";import{a as Me,b as Ne,c as Oe,d as Pe}from"./chunk-D54FD6XE.mjs";import{a as De,b as Ee,c as Fe,d as Ge,e as He,f as Ie,g as Je,h as Ke,i as Le}from"./chunk-A3USS2NC.mjs";import{a as ce,b as de,c as ge,d as he,e as ie,f as je,g as ke,h as le,i as ne,j as qe,k as se,l as ue,m as ve,n as we,o as ye,p as ze,q as Ae,r as Be,s as Ce}from"./chunk-T6ADNZE5.mjs";import{a as be}from"./chunk-ACVIE7IE.mjs";import"./chunk-UYVPNUH3.mjs";import{a as Re,b as Se,c as Te,d as Ue,e as Ve,f as We}from"./chunk-KX43GEAB.mjs";import{a as $r,b as oe,c as re,d as ee,e as fe}from"./chunk-DYELAVMR.mjs";import{a as me}from"./chunk-OPO5EYF7.mjs";import{a as pe}from"./chunk-LGTOOAQI.mjs";import"./chunk-E7FWVXGX.mjs";import"./chunk-NECL5FCQ.mjs";import"./chunk-4QMXOWHP.mjs";import{a as te,b as xe,c as ae}from"./chunk-6ZOVTYLJ.mjs";import{a as pf}from"./chunk-EJKX6MGV.mjs";import"./chunk-HEZ2ZYZA.mjs";import{a as yo,b as zo}from"./chunk-2YTHKFJZ.mjs";import{a as Zr,b as _r}from"./chunk-OVI7L7OG.mjs";import{a as Xr,b as Yr}from"./chunk-P2FTRAK3.mjs";import{a as Ao,b as Bo,c as Co}from"./chunk-YIQ3JFHW.mjs";import{a as Wr}from"./chunk-IQ4SCMB6.mjs";import{a as Br,b as Cr,c as Dr,d as Er,e as Fr,f as Gr,g as Hr,h as Ir,i as Jr,j as Kr,k as Lr,l as Mr,m as Nr,n as Or,o as Pr,p as Qr,q as Rr,r as Sr,s as Tr,t as Ur,u as Vr}from"./chunk-K62JTXWQ.mjs";import{a as Fo,b as Go,c as Ho,d as Io,e as Jo}from"./chunk-GMKKHGXK.mjs";import"./chunk-UGTIALNW.mjs";import{a as Do,b as Eo}from"./chunk-GX4CYRK4.mjs";import{a as so,b as uo,c as vo,d as wo}from"./chunk-VGJIATTB.mjs";import{a as qo}from"./chunk-4O5XDQDO.mjs";import"./chunk-5B3SMBXQ.mjs";import{a as ko}from"./chunk-AVZYJAXR.mjs";import{a as lo,b as no}from"./chunk-MHN6XY4Z.mjs";import{a as po,b as to,c as xo,d as ao,e as bo,f as co,g as go,h as ho,i as io,j as jo}from"./chunk-OIOGOW6I.mjs";import{a as mo}from"./chunk-AKIO3OIT.mjs";import{a as eo,b as fo}from"./chunk-JNO7KPMG.mjs";import"./chunk-HBIDHQ2M.mjs";import"./chunk-7ECCT6PK.mjs";import{a as lr,b as nr,c as qr,d as sr}from"./chunk-CPKG25HX.mjs";import{a as ur,b as vr,c as wr,d as yr,e as zr,f as Ar}from"./chunk-LGHPJTF3.mjs";import{a as jr,b as kr}from"./chunk-SPX2YFZN.mjs";import"./chunk-HGLO5LDS.mjs";import{a as or}from"./chunk-UZTJWOLS.mjs";import{a as cr,b as dr,c as gr,d as hr,e as ir}from"./chunk-F45G3GP3.mjs";import{a as rr,b as er,c as fr,d as mr,e as pr,f as tr,g as xr,h as ar,i as br}from"./chunk-V4FKFCBL.mjs";import{a as Ko,b as Lo,c as Mo,d as No,e as Oo,f as Po,g as Qo,h as Ro}from"./chunk-D3OEQLUE.mjs";import{a as So,b as To,c as Uo,d as Vo,e as Wo,f as Xo,g as Yo,h as Zo,i as _o,j as $o}from"./chunk-J7PJSK3J.mjs";import"./chunk-FZY4PMEE.mjs";import{a as d}from"./chunk-ZMBXHMVQ.mjs";import{a as c}from"./chunk-BRV3RLKW.mjs";import{a as _,b as $,c as oo,d as ro}from"./chunk-Q3CWUEXI.mjs";import{a as T,b as U,c as V,d as W,e as X,f as Y,g as Z}from"./chunk-42H7WETG.mjs";import"./chunk-FD6FGKYY.mjs";import{A as M,B as N,C as O,D as P,E as Q,F as R,G as S,a as g,b as h,c as i,d as j,e as k,f as l,g as n,h as q,i as s,j as u,k as v,l as w,m as y,n as z,o as A,p as B,q as C,r as D,s as E,t as F,u as G,v as H,w as I,x as J,y as K,z as L}from"./chunk-WQF3IOXC.mjs";import"./chunk-4WPQQPUF.mjs";import{a as o}from"./chunk-D52UKPQF.mjs";import{a as p,b as t,c as x,d as a,e as b}from"./chunk-AJ5JHBAE.mjs";import{a as e,b as f,c as m}from"./chunk-SPRNSFUV.mjs";import{a as r}from"./chunk-6Q2O5G3J.mjs";import"./chunk-56CNRT2K.mjs";import"./chunk-RZGTHCJY.mjs";import"./chunk-KDMSOCZY.mjs";export{to as APTOS_BIP44_REGEX,Wo as APTOS_COIN,Xo as APTOS_FA,po as APTOS_HARDENED_REGEX,xf as AbstractKeylessAccount,mf as Account,fo as AccountAddress,$r as AccountAuthenticator,oe as AccountAuthenticatorEd25519,re as AccountAuthenticatorMultiEd25519,fe as AccountAuthenticatorMultiKey,ee as AccountAuthenticatorSingleKey,n as AccountAuthenticatorVariant,no as AccountPublicKey,rm as AccountSequenceNumber,eo as AddressInvalidReason,Xr as AnyPublicKey,s as AnyPublicKeyVariant,Yr as AnySignature,u as AnySignatureVariant,pm as Aptos,ir as AptosApiError,So as AptosApiType,om as AptosConfig,mo as AuthenticationKey,T as Bool,ho as CKDPriv,me as ChainId,To as DEFAULT_MAX_GAS_AMOUNT,Uo as DEFAULT_TXN_EXP_SEC_FROM_NOW,Vo as DEFAULT_TXN_TIMEOUT_SEC,S as DeriveScheme,o as Deserializer,Br as EPK_HORIZON_SECS,ef as Ed25519Account,vo as Ed25519PrivateKey,uo as Ed25519PublicKey,wo as Ed25519Signature,Ie as EntryFunction,d as EntryFunctionBytes,Lr as EphemeralCertificate,y as EphemeralCertificateVariant,pf as EphemeralKeyPair,Do as EphemeralPublicKey,v as EphemeralPublicKeyVariant,Eo as EphemeralSignature,w as EphemeralSignatureVariant,$o as FIREBASE_AUTH_ISS_PATTERN,cf as FederatedKeylessAccount,Wr as FederatedKeylessPublicKey,Pe as FeePayerRawTransaction,c as FixedBytes,Qr as Groth16VerificationKey,Mr as Groth16Zkp,ao as HARDENED_OFFSET,f as Hex,e as HexInvalidReason,pe as Identifier,xo as KeyType,bf as KeylessAccount,Pr as KeylessConfiguration,hr as KeylessError,cr as KeylessErrorCategory,dr as KeylessErrorResolutionTip,gr as KeylessErrorType,Jr as KeylessPublicKey,Kr as KeylessSignature,Cr as MAX_AUD_VAL_BYTES,Ir as MAX_COMMITED_EPK_BYTES,Gr as MAX_EXTRA_FIELD_BYTES,Fr as MAX_ISS_VAL_BYTES,Hr as MAX_JWT_HEADER_B64_BYTES,Dr as MAX_UID_KEY_BYTES,Er as MAX_UID_VAL_BYTES,g as MimeType,be as ModuleId,O as MoveAbility,N as MoveFunctionVisibility,Ur as MoveJWK,ro as MoveOption,oo as MoveString,_ as MoveVector,Oe as MultiAgentRawTransaction,Ze as MultiAgentTransaction,yo as MultiEd25519PublicKey,zo as MultiEd25519Signature,Zr as MultiKey,df as MultiKeyAccount,_r as MultiKeySignature,Ke as MultiSig,Le as MultiSigTransactionPayload,Po as Network,Qo as NetworkToChainId,Mo as NetworkToFaucetAPI,Ko as NetworkToIndexerAPI,Ro as NetworkToNetworkName,Lo as NetworkToNodeAPI,No as NetworkToPepperAPI,Oo as NetworkToProverAPI,r as ParsingError,ko as PrivateKey,q as PrivateKeyVariants,_o as ProcessorType,lo as PublicKey,Yo as RAW_TRANSACTION_SALT,Zo as RAW_TRANSACTION_WITH_DATA_SALT,Me as RawTransaction,Ne as RawTransactionWithData,P as RoleType,Qe as RotationProofChallenge,Je as Script,i as ScriptTransactionArgumentVariants,Bo as Secp256k1PrivateKey,Ao as Secp256k1PublicKey,Co as Secp256k1Signature,p as Serializable,$ as Serialized,t as Serializer,qo as Signature,Xe as SignedTransaction,Q as SigningScheme,R as SigningSchemeInput,Ye as SimpleTransaction,ff as SingleKeyAccount,ye as StructTag,af as TransactionAndProof,Re as TransactionAuthenticator,Se as TransactionAuthenticatorEd25519,Ve as TransactionAuthenticatorFeePayer,Ue as TransactionAuthenticatorMultiAgent,Te as TransactionAuthenticatorMultiEd25519,We as TransactionAuthenticatorSingleSender,l as TransactionAuthenticatorVariant,Ee as TransactionPayload,Ge as TransactionPayloadEntryFunction,He as TransactionPayloadMultiSig,Fe as TransactionPayloadScript,j as TransactionPayloadVariants,A as TransactionResponseType,k as TransactionVariants,mm as TransactionWorker,fm as TransactionWorkerEventsEnum,ce as TypeTag,ne as TypeTagAddress,de as TypeTagBool,ue as TypeTagGeneric,Jf as TypeTagParserError,If as TypeTagParserErrorType,se as TypeTagReference,qe as TypeTagSigner,we as TypeTagStruct,ke as TypeTagU128,he as TypeTagU16,le as TypeTagU256,ie as TypeTagU32,je as TypeTagU64,ge as TypeTagU8,h as TypeTagVariants,ve as TypeTagVector,Y as U128,V as U16,Z as U256,W as U32,X as U64,U as U8,Or as ZeroKnowledgeSig,Nr as ZkProof,z as ZkpVariant,ze as aptosCoinStructTag,kr as aptosRequest,pr as base64UrlDecode,Io as bigIntToBytesLE,Wf as buildTransaction,Ho as bytesToBigIntLE,Qf as checkOrConvertArgument,tr as convertAmountFromHumanReadableToOnChain,xr as convertAmountFromOnChainToHumanReadable,Pf as convertArgument,kf as convertNumber,te as createObjectAddress,xe as createResourceAddress,ae as createTokenAddress,go as deriveKey,_e as deriveTransactionType,De as deserializeFromScriptArgument,x as ensureBoolean,Nf as fetchEntryFunctionAbi,Mf as fetchFunctionAbi,Of as fetchViewFunctionAbi,Gf as findFirstNonSignerArg,mr as floorToWholeHour,Vf as generateRawTransaction,Zf as generateSignedTransaction,Xf as generateSignedTransactionForSimulation,$e as generateSigningMessage,of as generateSigningMessageForSerializable,rf as generateSigningMessageForTransaction,Rf as generateTransactionPayload,Sf as generateTransactionPayloadWithABI,$f as generateUserTransactionHash,Tf as generateViewFunctionPayload,Uf as generateViewFunctionPayloadWithABI,lr as get,nr as getAptosFullNode,qr as getAptosPepperService,Yf as getAuthenticatorForSimulation,er as getErrorMessage,Hf as getFunctionParts,Sr as getIssAudAndUidVal,Rr as getKeylessConfig,Tr as getKeylessJWKs,Fo as hashStrToField,_f as hashValues,m as hexToAsciiString,uf as isBcsAddress,sf as isBcsBool,wf as isBcsFixedBytes,vf as isBcsString,Cf as isBcsU128,zf as isBcsU16,Df as isBcsU256,Af as isBcsU32,Bf as isBcsU64,yf as isBcsU8,H as isBlockEpilogueTransactionResponse,E as isBlockMetadataTransactionResponse,gf as isBool,so as isCanonicalEd25519Signature,I as isEd25519Signature,nf as isEmptyOption,qf as isEncodedEntryFunctionArgument,br as isEncodedStruct,L as isFeePayerSignature,D as isGenesisTransactionResponse,tf as isKeylessSigner,lf as isLargeNumber,K as isMultiAgentSignature,M as isMultiEd25519Signature,jf as isNumber,B as isPendingTransactionResponse,Ef as isScriptDataInput,J as isSecp256k1Signature,F as isStateCheckpointTransactionResponse,hf as isString,C as isUserTransactionResponse,bo as isValidBIP44Path,co as isValidHardenedPath,G as isValidatorTransactionResponse,jo as mnemonicToSeed,or as normalizeBundle,fr as nowInSeconds,Ce as objectStructTag,Be as optionStructTag,a as outOfRangeErrorMessage,Go as padAndPackBytesWithLen,sr as paginateWithCursor,ar as parseEncodedStruct,Vr as parseJwtHeader,Kf as parseTypeTag,Jo as poseidonHash,ur as post,yr as postAptosFaucet,vr as postAptosFullNode,wr as postAptosIndexer,zr as postAptosPepperService,Ar as postAptosProvingService,em as promiseFulfilledStatus,jr as request,rr as sleep,io as splitPath,Lf as standardizeTypeTags,Ae as stringStructTag,Ff as throwTypeMismatch,b as validateNumberInRange};
|
|
1
|
+
import"./chunk-RMMOF53Q.mjs";import{a as tm}from"./chunk-UHZIG47E.mjs";import"./chunk-3QIOEU3Z.mjs";import"./chunk-5XLZACVT.mjs";import"./chunk-2E3EAJPC.mjs";import"./chunk-WRA5OMO4.mjs";import"./chunk-SHWQNDDG.mjs";import"./chunk-F3K245DZ.mjs";import"./chunk-IHYTP2EW.mjs";import{a as fm,b as mm,c as pm}from"./chunk-JDXMBUTF.mjs";import{a as em}from"./chunk-7Z7GBETY.mjs";import"./chunk-2CJC43CV.mjs";import"./chunk-LIIVEZUZ.mjs";import"./chunk-6GAGDQV2.mjs";import"./chunk-IHGA5KAD.mjs";import"./chunk-ZYUUEOBS.mjs";import"./chunk-3HFCZKFI.mjs";import"./chunk-BVUMR7DQ.mjs";import"./chunk-U7UTBXJD.mjs";import"./chunk-NNWPYX3K.mjs";import"./chunk-J2NQJ34O.mjs";import"./chunk-A6X5JIYN.mjs";import"./chunk-IROVNEYF.mjs";import"./chunk-WR32WE74.mjs";import"./chunk-OXVYLFVH.mjs";import"./chunk-5E6BP7QB.mjs";import"./chunk-IKJAX5KQ.mjs";import"./chunk-4ZNSNWQL.mjs";import"./chunk-K5PQAXHZ.mjs";import"./chunk-CW6P2DDJ.mjs";import"./chunk-X44XJ5HE.mjs";import"./chunk-F2T7YJ3B.mjs";import"./chunk-LDRUV6XT.mjs";import{a as rm}from"./chunk-V5NDNR36.mjs";import"./chunk-33QDVO4S.mjs";import"./chunk-6V5C626M.mjs";import"./chunk-DR6SBICQ.mjs";import"./chunk-I5OYNCZS.mjs";import"./chunk-JXCZTOYC.mjs";import{a as Sf,b as Tf,c as Uf,d as Vf,e as Wf,f as Xf,g as Yf,h as Zf,i as _f,j as $f,k as om}from"./chunk-2GGFVBI5.mjs";import{a as Mf,b as Nf,c as Of,d as Pf,e as Qf,f as Rf}from"./chunk-N42NK6XN.mjs";import{a as Jf,b as Kf,c as Lf}from"./chunk-AOROYJ74.mjs";import{a as hf,b as jf,c as kf,d as lf,e as nf,f as qf,g as sf,h as uf,i as vf,j as wf,k as yf,l as zf,m as Af,n as Bf,o as Cf,p as Df,q as Ef,r as Ff,s as Gf,t as Hf,u as If}from"./chunk-FFBC7GFN.mjs";import"./chunk-BSCOVLWS.mjs";import"./chunk-V3MBJJTL.mjs";import"./chunk-R7XZO3D4.mjs";import"./chunk-S22QVNK7.mjs";import"./chunk-UTOO6IVJ.mjs";import"./chunk-CK5NDXQT.mjs";import"./chunk-VHNX2NUR.mjs";import"./chunk-GAEAYY44.mjs";import{a as gf}from"./chunk-3KTA3VSY.mjs";import{a as pf}from"./chunk-YFU5DWSN.mjs";import{a as mf}from"./chunk-5UZJ7D4E.mjs";import{a as ff}from"./chunk-VERWSU2L.mjs";import{a as df}from"./chunk-GC3D425D.mjs";import{a as cf}from"./chunk-UZ4ZCDKC.mjs";import{a as xf,b as af,c as bf}from"./chunk-YSJDKZXO.mjs";import{a as $e,b as of,c as rf,d as ef}from"./chunk-B2OF42B3.mjs";import"./chunk-4NMDYPUD.mjs";import{a as _e}from"./chunk-7BKLEHKL.mjs";import{a as Re}from"./chunk-2E3BT4YW.mjs";import{a as Ye}from"./chunk-XA5MAMKN.mjs";import{a as Ze}from"./chunk-362NFXZR.mjs";import{a as Ne,b as Oe,c as Pe,d as Qe}from"./chunk-WIDWY7A2.mjs";import{a as Ee,b as Fe,c as Ge,d as He,e as Ie,f as Je,g as Ke,h as Le,i as Me}from"./chunk-OZK26LTY.mjs";import{a as de,b as ge,c as he,d as ie,e as je,f as ke,g as le,h as ne,i as qe,j as se,k as ue,l as ve,m as we,n as ye,o as ze,p as Ae,q as Be,r as Ce,s as De}from"./chunk-T6ADNZE5.mjs";import{a as ce}from"./chunk-ACVIE7IE.mjs";import"./chunk-UYVPNUH3.mjs";import{a as pe}from"./chunk-OPO5EYF7.mjs";import{a as te}from"./chunk-LGTOOAQI.mjs";import{a as Se,b as Te,c as Ue,d as Ve,e as We,f as Xe}from"./chunk-KVLA3ISL.mjs";import{a as $r,b as oe,c as re,d as ee,e as fe,f as me}from"./chunk-EGY3Z6AS.mjs";import"./chunk-E7FWVXGX.mjs";import"./chunk-NECL5FCQ.mjs";import"./chunk-4QMXOWHP.mjs";import{a as xe,b as ae,c as be}from"./chunk-6ZOVTYLJ.mjs";import{a as tf}from"./chunk-GPLXBFQZ.mjs";import"./chunk-HEZ2ZYZA.mjs";import{a as yo,b as zo}from"./chunk-QHTVAKKJ.mjs";import{a as Zr,b as _r}from"./chunk-AL623KXR.mjs";import{a as Xr,b as Yr}from"./chunk-FVFOFRRN.mjs";import{a as Ao,b as Bo,c as Co}from"./chunk-QDNJTKUD.mjs";import{a as Wr}from"./chunk-BVGHNXLS.mjs";import{a as Br,b as Cr,c as Dr,d as Er,e as Fr,f as Gr,g as Hr,h as Ir,i as Jr,j as Kr,k as Lr,l as Mr,m as Nr,n as Or,o as Pr,p as Qr,q as Rr,r as Sr,s as Tr,t as Ur,u as Vr}from"./chunk-3SW3LBCD.mjs";import"./chunk-UGTIALNW.mjs";import{a as Fo,b as Go,c as Ho,d as Io,e as Jo}from"./chunk-GMKKHGXK.mjs";import{a as Do,b as Eo}from"./chunk-YJ6FXOSK.mjs";import{a as so,b as uo,c as vo,d as wo}from"./chunk-3Q3PLPP7.mjs";import{a as lo,b as no}from"./chunk-MHN6XY4Z.mjs";import{a as qo}from"./chunk-4O5XDQDO.mjs";import"./chunk-5B3SMBXQ.mjs";import{a as po,b as to,c as xo,d as ao,e as bo,f as co,g as go,h as ho,i as io,j as jo}from"./chunk-OIOGOW6I.mjs";import{a as ko}from"./chunk-AVZYJAXR.mjs";import{a as mo}from"./chunk-AKIO3OIT.mjs";import{a as eo,b as fo}from"./chunk-JNO7KPMG.mjs";import"./chunk-HBIDHQ2M.mjs";import"./chunk-7ECCT6PK.mjs";import{a as lr,b as nr,c as qr,d as sr}from"./chunk-LRN4ALMT.mjs";import{a as ur,b as vr,c as wr,d as yr,e as zr,f as Ar}from"./chunk-YT3IP57B.mjs";import{a as jr,b as kr}from"./chunk-P6RNNESB.mjs";import"./chunk-HGLO5LDS.mjs";import{a as or}from"./chunk-UZTJWOLS.mjs";import"./chunk-FZY4PMEE.mjs";import{a as _,b as $,c as oo,d as ro}from"./chunk-Q3CWUEXI.mjs";import{a as T,b as U,c as V,d as W,e as X,f as Y,g as Z}from"./chunk-42H7WETG.mjs";import{a as d}from"./chunk-ZMBXHMVQ.mjs";import{a as c}from"./chunk-BRV3RLKW.mjs";import"./chunk-FD6FGKYY.mjs";import{A as M,B as N,C as O,D as P,E as Q,F as R,G as S,a as g,b as h,c as i,d as j,e as k,f as l,g as n,h as q,i as s,j as u,k as v,l as w,m as y,n as z,o as A,p as B,q as C,r as D,s as E,t as F,u as G,v as H,w as I,x as J,y as K,z as L}from"./chunk-U2PRGW4O.mjs";import"./chunk-4WPQQPUF.mjs";import{a as o}from"./chunk-D52UKPQF.mjs";import{a as p,b as t,c as x,d as a,e as b}from"./chunk-AJ5JHBAE.mjs";import{a as e,b as f,c as m}from"./chunk-SPRNSFUV.mjs";import{a as r}from"./chunk-6Q2O5G3J.mjs";import{a as cr,b as dr,c as gr,d as hr,e as ir}from"./chunk-F45G3GP3.mjs";import{a as rr,b as er,c as fr,d as mr,e as pr,f as tr,g as xr,h as ar,i as br}from"./chunk-V4FKFCBL.mjs";import"./chunk-56CNRT2K.mjs";import{a as Ko,b as Lo,c as Mo,d as No,e as Oo,f as Po,g as Qo,h as Ro}from"./chunk-D3OEQLUE.mjs";import{a as So,b as To,c as Uo,d as Vo,e as Wo,f as Xo,g as Yo,h as Zo,i as _o,j as $o}from"./chunk-J7PJSK3J.mjs";import"./chunk-YQHOQJRQ.mjs";import"./chunk-KDMSOCZY.mjs";export{to as APTOS_BIP44_REGEX,Wo as APTOS_COIN,Xo as APTOS_FA,po as APTOS_HARDENED_REGEX,af as AbstractKeylessAccount,pf as Account,fo as AccountAddress,$r as AccountAuthenticator,oe as AccountAuthenticatorEd25519,re as AccountAuthenticatorMultiEd25519,fe as AccountAuthenticatorMultiKey,me as AccountAuthenticatorNoAccountAuthenticator,ee as AccountAuthenticatorSingleKey,n as AccountAuthenticatorVariant,no as AccountPublicKey,em as AccountSequenceNumber,eo as AddressInvalidReason,Xr as AnyPublicKey,s as AnyPublicKeyVariant,Yr as AnySignature,u as AnySignatureVariant,tm as Aptos,ir as AptosApiError,So as AptosApiType,rm as AptosConfig,mo as AuthenticationKey,T as Bool,ho as CKDPriv,pe as ChainId,To as DEFAULT_MAX_GAS_AMOUNT,Uo as DEFAULT_TXN_EXP_SEC_FROM_NOW,Vo as DEFAULT_TXN_TIMEOUT_SEC,S as DeriveScheme,o as Deserializer,Br as EPK_HORIZON_SECS,ff as Ed25519Account,vo as Ed25519PrivateKey,uo as Ed25519PublicKey,wo as Ed25519Signature,Je as EntryFunction,d as EntryFunctionBytes,Lr as EphemeralCertificate,y as EphemeralCertificateVariant,tf as EphemeralKeyPair,Do as EphemeralPublicKey,v as EphemeralPublicKeyVariant,Eo as EphemeralSignature,w as EphemeralSignatureVariant,$o as FIREBASE_AUTH_ISS_PATTERN,df as FederatedKeylessAccount,Wr as FederatedKeylessPublicKey,Qe as FeePayerRawTransaction,c as FixedBytes,Qr as Groth16VerificationKey,Mr as Groth16Zkp,ao as HARDENED_OFFSET,f as Hex,e as HexInvalidReason,te as Identifier,xo as KeyType,cf as KeylessAccount,Pr as KeylessConfiguration,hr as KeylessError,cr as KeylessErrorCategory,dr as KeylessErrorResolutionTip,gr as KeylessErrorType,Jr as KeylessPublicKey,Kr as KeylessSignature,Cr as MAX_AUD_VAL_BYTES,Ir as MAX_COMMITED_EPK_BYTES,Gr as MAX_EXTRA_FIELD_BYTES,Fr as MAX_ISS_VAL_BYTES,Hr as MAX_JWT_HEADER_B64_BYTES,Dr as MAX_UID_KEY_BYTES,Er as MAX_UID_VAL_BYTES,g as MimeType,ce as ModuleId,O as MoveAbility,N as MoveFunctionVisibility,Ur as MoveJWK,ro as MoveOption,oo as MoveString,_ as MoveVector,Pe as MultiAgentRawTransaction,_e as MultiAgentTransaction,yo as MultiEd25519PublicKey,zo as MultiEd25519Signature,Zr as MultiKey,gf as MultiKeyAccount,_r as MultiKeySignature,Le as MultiSig,Me as MultiSigTransactionPayload,Po as Network,Qo as NetworkToChainId,Mo as NetworkToFaucetAPI,Ko as NetworkToIndexerAPI,Ro as NetworkToNetworkName,Lo as NetworkToNodeAPI,No as NetworkToPepperAPI,Oo as NetworkToProverAPI,r as ParsingError,ko as PrivateKey,q as PrivateKeyVariants,_o as ProcessorType,lo as PublicKey,Yo as RAW_TRANSACTION_SALT,Zo as RAW_TRANSACTION_WITH_DATA_SALT,Ne as RawTransaction,Oe as RawTransactionWithData,P as RoleType,Re as RotationProofChallenge,Ke as Script,i as ScriptTransactionArgumentVariants,Bo as Secp256k1PrivateKey,Ao as Secp256k1PublicKey,Co as Secp256k1Signature,p as Serializable,$ as Serialized,t as Serializer,qo as Signature,Ye as SignedTransaction,Q as SigningScheme,R as SigningSchemeInput,Ze as SimpleTransaction,mf as SingleKeyAccount,ze as StructTag,bf as TransactionAndProof,Se as TransactionAuthenticator,Te as TransactionAuthenticatorEd25519,We as TransactionAuthenticatorFeePayer,Ve as TransactionAuthenticatorMultiAgent,Ue as TransactionAuthenticatorMultiEd25519,Xe as TransactionAuthenticatorSingleSender,l as TransactionAuthenticatorVariant,Fe as TransactionPayload,He as TransactionPayloadEntryFunction,Ie as TransactionPayloadMultiSig,Ge as TransactionPayloadScript,j as TransactionPayloadVariants,A as TransactionResponseType,k as TransactionVariants,pm as TransactionWorker,mm as TransactionWorkerEventsEnum,de as TypeTag,qe as TypeTagAddress,ge as TypeTagBool,ve as TypeTagGeneric,Kf as TypeTagParserError,Jf as TypeTagParserErrorType,ue as TypeTagReference,se as TypeTagSigner,ye as TypeTagStruct,le as TypeTagU128,ie as TypeTagU16,ne as TypeTagU256,je as TypeTagU32,ke as TypeTagU64,he as TypeTagU8,h as TypeTagVariants,we as TypeTagVector,Y as U128,V as U16,Z as U256,W as U32,X as U64,U as U8,Or as ZeroKnowledgeSig,Nr as ZkProof,z as ZkpVariant,Ae as aptosCoinStructTag,kr as aptosRequest,pr as base64UrlDecode,Io as bigIntToBytesLE,Xf as buildTransaction,Ho as bytesToBigIntLE,Rf as checkOrConvertArgument,tr as convertAmountFromHumanReadableToOnChain,xr as convertAmountFromOnChainToHumanReadable,Qf as convertArgument,lf as convertNumber,xe as createObjectAddress,ae as createResourceAddress,be as createTokenAddress,go as deriveKey,$e as deriveTransactionType,Ee as deserializeFromScriptArgument,x as ensureBoolean,Of as fetchEntryFunctionAbi,Nf as fetchFunctionAbi,Pf as fetchViewFunctionAbi,Hf as findFirstNonSignerArg,mr as floorToWholeHour,Wf as generateRawTransaction,_f as generateSignedTransaction,Yf as generateSignedTransactionForSimulation,of as generateSigningMessage,rf as generateSigningMessageForSerializable,ef as generateSigningMessageForTransaction,Sf as generateTransactionPayload,Tf as generateTransactionPayloadWithABI,om as generateUserTransactionHash,Uf as generateViewFunctionPayload,Vf as generateViewFunctionPayloadWithABI,lr as get,nr as getAptosFullNode,qr as getAptosPepperService,Zf as getAuthenticatorForSimulation,er as getErrorMessage,If as getFunctionParts,Sr as getIssAudAndUidVal,Rr as getKeylessConfig,Tr as getKeylessJWKs,Fo as hashStrToField,$f as hashValues,m as hexToAsciiString,vf as isBcsAddress,uf as isBcsBool,yf as isBcsFixedBytes,wf as isBcsString,Df as isBcsU128,Af as isBcsU16,Ef as isBcsU256,Bf as isBcsU32,Cf as isBcsU64,zf as isBcsU8,H as isBlockEpilogueTransactionResponse,E as isBlockMetadataTransactionResponse,hf as isBool,so as isCanonicalEd25519Signature,I as isEd25519Signature,qf as isEmptyOption,sf as isEncodedEntryFunctionArgument,br as isEncodedStruct,L as isFeePayerSignature,D as isGenesisTransactionResponse,xf as isKeylessSigner,nf as isLargeNumber,K as isMultiAgentSignature,M as isMultiEd25519Signature,kf as isNumber,B as isPendingTransactionResponse,Ff as isScriptDataInput,J as isSecp256k1Signature,F as isStateCheckpointTransactionResponse,jf as isString,C as isUserTransactionResponse,bo as isValidBIP44Path,co as isValidHardenedPath,G as isValidatorTransactionResponse,jo as mnemonicToSeed,or as normalizeBundle,fr as nowInSeconds,De as objectStructTag,Ce as optionStructTag,a as outOfRangeErrorMessage,Go as padAndPackBytesWithLen,sr as paginateWithCursor,ar as parseEncodedStruct,Vr as parseJwtHeader,Lf as parseTypeTag,Jo as poseidonHash,ur as post,yr as postAptosFaucet,vr as postAptosFullNode,wr as postAptosIndexer,zr as postAptosPepperService,Ar as postAptosProvingService,fm as promiseFulfilledStatus,jr as request,rr as sleep,io as splitPath,Mf as standardizeTypeTags,Be as stringStructTag,Gf as throwTypeMismatch,b as validateNumberInRange};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|