@aptos-labs/ts-sdk 5.1.5 → 5.2.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/{account-DefhsHe3.d.ts → account-DvGDel4s.d.ts} +2 -0
- package/dist/common/{chunk-HO5ESTN4.js → chunk-JQCMXTY7.js} +1 -1
- package/dist/common/chunk-JQCMXTY7.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +4 -3
- package/dist/common/index.js +5 -5
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-CVg5T_jc.d.mts → Ed25519Account-C25CwEJi.d.mts} +1 -1
- package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +2 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +3 -3
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +3 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +3 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/{account-DOs8SpoQ.d.mts → account-Bwu9vUe3.d.mts} +2 -0
- package/dist/esm/api/account/abstraction.d.mts +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +2 -2
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +2 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +4 -4
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +1 -1
- package/dist/esm/api/coin.d.mts +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +2 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +2 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +3 -3
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +3 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +2 -2
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -1
- package/dist/esm/bcs/deserializer.d.mts +1 -1
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +1 -1
- package/dist/esm/{chunk-VO3JD6U6.mjs → chunk-2LCPW76G.mjs} +2 -2
- package/dist/esm/{chunk-GRF3NBRO.mjs → chunk-52PWWLJJ.mjs} +2 -2
- package/dist/esm/{chunk-3JDGB4IL.mjs → chunk-6XLLQB5P.mjs} +2 -2
- package/dist/esm/chunk-6XLLQB5P.mjs.map +1 -0
- package/dist/esm/{chunk-NV35GUIY.mjs → chunk-76PXED26.mjs} +3 -3
- package/dist/esm/{chunk-NV35GUIY.mjs.map → chunk-76PXED26.mjs.map} +1 -1
- package/dist/esm/{chunk-YDWD2GVM.mjs → chunk-A2G3V23K.mjs} +2 -2
- package/dist/esm/chunk-AEXYYFIZ.mjs +2 -0
- package/dist/esm/{chunk-JYXE7MWR.mjs.map → chunk-AEXYYFIZ.mjs.map} +1 -1
- package/dist/esm/{chunk-3Q4MUGFR.mjs → chunk-BIQOJ3OK.mjs} +2 -2
- package/dist/esm/{chunk-L5EMB6TN.mjs → chunk-G2VFBYHG.mjs} +2 -2
- package/dist/esm/{chunk-UQT4B7EQ.mjs → chunk-HIAEKFG6.mjs} +2 -2
- package/dist/esm/{chunk-I7UCQWRH.mjs → chunk-IFWE34P5.mjs} +2 -2
- package/dist/esm/{chunk-Z7NBE6RR.mjs → chunk-IKTH33UN.mjs} +2 -2
- package/dist/esm/{chunk-SQW3MYZL.mjs → chunk-J426EZGD.mjs} +2 -2
- package/dist/esm/chunk-K2TQQFRV.mjs +2 -0
- package/dist/esm/chunk-K2TQQFRV.mjs.map +1 -0
- package/dist/esm/{chunk-M2R4ECLZ.mjs → chunk-LND3GTJ3.mjs} +2 -2
- package/dist/esm/{chunk-XP66F4IY.mjs → chunk-TRIYATBI.mjs} +2 -2
- package/dist/esm/{chunk-EM7NAPDX.mjs → chunk-UXUMXAUZ.mjs} +2 -2
- package/dist/esm/cli/index.d.mts +1 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +1 -1
- package/dist/esm/client/core.d.mts +2 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +2 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256r1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/types.d.mts +1 -1
- package/dist/esm/core/crypto/utils.d.mts +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +1 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/{federatedKeyless-CxdU4W95.d.mts → federatedKeyless-BfOrG2BM.d.mts} +1 -1
- package/dist/esm/index.d.mts +3 -3
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.d.mts +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.d.mts +2 -2
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +2 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +2 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +3 -3
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/utils/index.d.mts +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/utils.d.mts +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +1 -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.d.mts +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/chainId.d.mts +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +1 -1
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +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/api/aptos.ts +0 -2
- package/src/client/core.ts +2 -0
- package/src/types/types.ts +2 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-HO5ESTN4.js.map +0 -1
- package/dist/esm/chunk-3JDGB4IL.mjs.map +0 -1
- package/dist/esm/chunk-JYXE7MWR.mjs +0 -2
- package/dist/esm/chunk-KNVQ5OJ7.mjs +0 -2
- package/dist/esm/chunk-KNVQ5OJ7.mjs.map +0 -1
- /package/dist/esm/{chunk-VO3JD6U6.mjs.map → chunk-2LCPW76G.mjs.map} +0 -0
- /package/dist/esm/{chunk-GRF3NBRO.mjs.map → chunk-52PWWLJJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-YDWD2GVM.mjs.map → chunk-A2G3V23K.mjs.map} +0 -0
- /package/dist/esm/{chunk-3Q4MUGFR.mjs.map → chunk-BIQOJ3OK.mjs.map} +0 -0
- /package/dist/esm/{chunk-L5EMB6TN.mjs.map → chunk-G2VFBYHG.mjs.map} +0 -0
- /package/dist/esm/{chunk-UQT4B7EQ.mjs.map → chunk-HIAEKFG6.mjs.map} +0 -0
- /package/dist/esm/{chunk-I7UCQWRH.mjs.map → chunk-IFWE34P5.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z7NBE6RR.mjs.map → chunk-IKTH33UN.mjs.map} +0 -0
- /package/dist/esm/{chunk-SQW3MYZL.mjs.map → chunk-J426EZGD.mjs.map} +0 -0
- /package/dist/esm/{chunk-M2R4ECLZ.mjs.map → chunk-LND3GTJ3.mjs.map} +0 -0
- /package/dist/esm/{chunk-XP66F4IY.mjs.map → chunk-TRIYATBI.mjs.map} +0 -0
- /package/dist/esm/{chunk-EM7NAPDX.mjs.map → chunk-UXUMXAUZ.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as u}from"./chunk-K2TQQFRV.mjs";async function i(e){let{aptosConfig:t,overrides:s,params:r,contentType:n,acceptType:a,path:p,originMethod:o,type:R}=e,d=t.getRequestUrl(R);return u({url:d,method:"GET",originMethod:o,path:p,contentType:n,acceptType:a,params:r,overrides:{...t.clientConfig,...s}},t,e.type)}async function y(e){let{aptosConfig:t}=e;return i({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function l(e){return i({...e,type:"Pepper"})}async function q(e){let t=new Array(0),s,r=e.params;do{let n=await i({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:r,overrides:e.overrides});s=n.headers["x-aptos-cursor"],delete n.headers,t.push(...n.data),r.start=s}while(s!=null);return t}async function A(e){let t=new Array(0),s,r=e.params,n=r.limit;do{let{response:a,cursor:p}=await m({...e});if(s=p,t.push(...a.data),e?.params&&(e.params.start=s),n!==void 0){let o=n-t.length;if(o<=0)break;r.limit=o}}while(s!=null);return t}async function m(e){let t,s={};typeof e.params?.cursor=="string"&&(s.start=e.params.cursor),typeof e.params?.limit=="number"&&(s.limit=e.params.limit);let r=await i({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:s,overrides:e.overrides});return t=r.headers["x-aptos-cursor"],{response:r,cursor:t}}export{i as a,y as b,l as c,q as d,A as e,m as f};
|
|
2
|
+
//# sourceMappingURL=chunk-A2G3V23K.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 = \"5.
|
|
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 = \"5.2.0\";\n"],"mappings":"AAQO,IAAMA,EAAU","names":["VERSION"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c,b as o,c as d,d as z,e as m,f as U,g as y}from"./chunk-5ABS6RDR.mjs";import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as c,b as o,c as d,d as z,e as m,f as U,g as y}from"./chunk-5ABS6RDR.mjs";import{a as b}from"./chunk-Y426VCPM.mjs";import{a as s}from"./chunk-I42Z32Q2.mjs";import{b as u}from"./chunk-STY74NUA.mjs";var t=class i extends s{constructor(e){super(),this.values=e}serializeForEntryFunction(e){let r=this.bcsToBytes();e.serializeBytes(r)}serializeForScriptFunction(e){if(this.values[0]!==void 0&&!(this.values[0]instanceof o)){new p(this.bcsToBytes()).serializeForScriptFunction(e);return}e.serializeU32AsUleb128(4),e.serialize(this)}static U8(e){let r;if(Array.isArray(e)&&e.length===0)r=[];else if(Array.isArray(e)&&typeof e[0]=="number")r=e;else if(typeof e=="string"){let n=u.fromHexInput(e);r=Array.from(n.toUint8Array())}else if(e instanceof Uint8Array)r=Array.from(e);else throw new Error("Invalid input type, must be an number[], Uint8Array, or hex string");return new i(r.map(n=>new o(n)))}static U16(e){return new i(e.map(r=>new d(r)))}static U32(e){return new i(e.map(r=>new z(r)))}static U64(e){return new i(e.map(r=>new m(r)))}static U128(e){return new i(e.map(r=>new U(r)))}static U256(e){return new i(e.map(r=>new y(r)))}static Bool(e){return new i(e.map(r=>new c(r)))}static MoveString(e){return new i(e.map(r=>new a(r)))}serialize(e){e.serializeVector(this.values)}static deserialize(e,r){let n=e.deserializeUleb128AsU32(),l=new Array;for(let w=0;w<n;w+=1)l.push(r.deserialize(e));return new i(l)}},p=class i extends s{constructor(e){super(),this.value=u.fromHexInput(e).toUint8Array()}serialize(e){e.serializeBytes(this.value)}serializeForEntryFunction(e){this.serialize(e)}serializeForScriptFunction(e){e.serializeU32AsUleb128(9),this.serialize(e)}static deserialize(e){return new i(e.deserializeBytes())}toMoveVector(e){let r=new b(this.bcsToBytes());r.deserializeUleb128AsU32();let n=r.deserializeVector(e);return new t(n)}},a=class i extends s{constructor(e){super(),this.value=e}serialize(e){e.serializeStr(this.value)}serializeForEntryFunction(e){let r=this.bcsToBytes();e.serializeBytes(r)}serializeForScriptFunction(e){let n=new TextEncoder().encode(this.value);t.U8(n).serializeForScriptFunction(e)}static deserialize(e){return new i(e.deserializeStr())}},A=class i extends s{constructor(e){super(),typeof e<"u"&&e!==null?this.vec=new t([e]):this.vec=new t([]),[this.value]=this.vec.values}serializeForEntryFunction(e){let r=this.bcsToBytes();e.serializeBytes(r)}unwrap(){if(this.isSome())return this.vec.values[0];throw new Error("Called unwrap on a MoveOption with no value")}isSome(){return this.vec.values.length===1}serialize(e){this.vec.serialize(e)}static U8(e){return new i(e!=null?new o(e):void 0)}static U16(e){return new i(e!=null?new d(e):void 0)}static U32(e){return new i(e!=null?new z(e):void 0)}static U64(e){return new i(e!=null?new m(e):void 0)}static U128(e){return new i(e!=null?new U(e):void 0)}static U256(e){return new i(e!=null?new y(e):void 0)}static Bool(e){return new i(e!=null?new c(e):void 0)}static MoveString(e){return new i(e!=null?new a(e):void 0)}static deserialize(e,r){let n=t.deserialize(e,r);return new i(n.values[0])}};export{t as a,p as b,a as c,A as d};
|
|
2
|
+
//# sourceMappingURL=chunk-BIQOJ3OK.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d}from"./chunk-YOZBVVKL.mjs";import{b as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as d}from"./chunk-YOZBVVKL.mjs";import{b as s}from"./chunk-A2G3V23K.mjs";import{b as r}from"./chunk-MEG27LEV.mjs";async function g(o){let{aptosConfig:e,accountAddress:t}=o,{data:n}=await s({aptosConfig:e,originMethod:"getInfo",path:`accounts/${r.from(t).toString()}`});return n}async function f(o){return o.options?.ledgerVersion!==void 0?c(o):d(async()=>c(o),`module-${o.accountAddress}-${o.moduleName}`,1e3*60*5)()}async function c(o){let{aptosConfig:e,accountAddress:t,moduleName:n,options:i}=o,{data:u}=await s({aptosConfig:e,originMethod:"getModule",path:`accounts/${r.from(t).toString()}/module/${n}`,params:{ledger_version:i?.ledgerVersion}});return u}export{g as a,f as b};
|
|
2
|
+
//# sourceMappingURL=chunk-G2VFBYHG.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as p}from"./chunk-K2TQQFRV.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-HIAEKFG6.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o,b as r,c as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o,b as r,c as s}from"./chunk-TRIYATBI.mjs";import{a as t}from"./chunk-LND3GTJ3.mjs";var a=class{constructor(e){this.config=e}async getTableItem(e){return o({aptosConfig:this.config,...e})}async getTableItemsData(e){return await t({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),r({aptosConfig:this.config,...e})}async getTableItemsMetadata(e){return await t({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),s({aptosConfig:this.config,...e})}};export{a};
|
|
2
|
+
//# sourceMappingURL=chunk-IFWE34P5.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u,c as r}from"./chunk-BIQOJ3OK.mjs";import{e as t}from"./chunk-5ABS6RDR.mjs";import{b as o}from"./chunk-MEG27LEV.mjs";import{a as i}from"./chunk-I42Z32Q2.mjs";var c=class extends i{constructor(e){super();this.accountAddress=o.ONE;this.moduleName=new r("account");this.structName=new r("RotationProofChallenge");this.sequenceNumber=new t(e.sequenceNumber),this.originator=e.originator,this.currentAuthKey=e.currentAuthKey,this.newPublicKey=u.U8(e.newPublicKey.toUint8Array())}serialize(e){e.serialize(this.accountAddress),e.serialize(this.moduleName),e.serialize(this.structName),e.serialize(this.sequenceNumber),e.serialize(this.originator),e.serialize(this.currentAuthKey),e.serialize(this.newPublicKey)}};export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-IKTH33UN.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as c,x as n}from"./chunk-UL777LTI.mjs";import{b as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as c,x as n}from"./chunk-UL777LTI.mjs";import{b as i}from"./chunk-A2G3V23K.mjs";import{c as p}from"./chunk-HIAEKFG6.mjs";async function d(o){let{aptosConfig:s}=o,{data:e}=await i({aptosConfig:s,originMethod:"getLedgerInfo",path:""});return e}async function C(o){let{aptosConfig:s,limit:e}=o;return(await a({aptosConfig:s,query:{query:c,variables:{limit:e}},originMethod:"getChainTopUserTransactions"})).user_transactions}async function a(o){let{aptosConfig:s,query:e,originMethod:t}=o,{data:r}=await p({aptosConfig:s,originMethod:t??"queryIndexer",path:"",body:e,overrides:{WITH_CREDENTIALS:!1}});return r}async function u(o){let{aptosConfig:s}=o;return(await a({aptosConfig:s,query:{query:n},originMethod:"getProcessorStatuses"})).processor_status}async function h(o){let s=await u({aptosConfig:o.aptosConfig});return BigInt(s[0].last_success_version)}async function T(o){let{aptosConfig:s,processorType:e}=o;return(await a({aptosConfig:s,query:{query:n,variables:{where_condition:{processor:{_eq:e}}}},originMethod:"getProcessorStatus"})).processor_status[0]}export{d as a,C as b,a as c,u as d,h as e,T as f};
|
|
2
|
+
//# sourceMappingURL=chunk-J426EZGD.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{e as r}from"./chunk-G3HAIETV.mjs";import{a as d}from"./chunk-AEXYYFIZ.mjs";async function A(s,p){let{url:t,method:n,body:i,contentType:a,params:o,overrides:e,originMethod:R}=s,u={...e?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${d}`,"content-type":a??"application/json","x-aptos-typescript-sdk-origin-method":R};return e?.AUTH_TOKEN&&(u.Authorization=`Bearer ${e?.AUTH_TOKEN}`),e?.API_KEY&&(u.Authorization=`Bearer ${e?.API_KEY}`),p.provider({url:t,method:n,body:i,params:o,headers:u,overrides:e,http2:e?.http2})}async function P(s,p,t){let{url:n,path:i}=s,a=i?`${n}/${i}`:n,o=await A({...s,url:a},p.client),e={status:o.status,statusText:o.statusText??"No status text provided",data:o.data,headers:o.headers,config:o.config,request:o.request,url:a};if(e.status===401)throw new r({apiType:t,aptosRequest:s,aptosResponse:e});if(t==="Indexer"){let R=e.data;if(R.errors)throw new r({apiType:t,aptosRequest:s,aptosResponse:e});e.data=R.data}else if((t==="Pepper"||t==="Prover")&&e.status>=400)throw new r({apiType:t,aptosRequest:s,aptosResponse:e});if(e.status>=200&&e.status<300)return e;throw new r({apiType:t,aptosRequest:s,aptosResponse:e})}export{A as a,P as b};
|
|
2
|
+
//# sourceMappingURL=chunk-K2TQQFRV.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/client/core.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { VERSION } from \"../version\";\nimport { AnyNumber, AptosRequest, AptosResponse, Client, ClientRequest, ClientResponse, MimeType } from \"../types\";\nimport { AptosApiType } from \"../utils\";\nimport { AptosApiError } from \"../errors\";\n\n/**\n * Sends a request using the specified options and returns the response.\n *\n * @param options - The options for the request.\n * @param options.url - The URL to send the request to.\n * @param options.method - The HTTP method to use for the request.\n * @param options.body - The body of the request.\n * @param options.contentType - The content type of the request.\n * @param options.params - The query parameters to include in the request.\n * @param options.overrides - Additional overrides for the request.\n * @param options.overrides.HEADERS - Custom headers to include in the request.\n * @param options.overrides.AUTH_TOKEN - The authorization token for the request.\n * @param options.overrides.API_KEY - The API key for the request.\n * @param options.overrides.http2 - Whether to use HTTP/2 for the request.\n * @param options.originMethod - The origin method for the request.\n * @param client - The client used to make the request.\n *\n * @returns The response from the request.\n * @group Implementation\n * @category Client\n */\nexport async function request<Req, Res>(options: ClientRequest<Req>, client: Client): Promise<ClientResponse<Res>> {\n const { url, method, body, contentType, params, overrides, originMethod } = options;\n const headers: Record<string, string | AnyNumber | boolean | undefined> = {\n ...overrides?.HEADERS,\n \"x-aptos-client\": `aptos-typescript-sdk/${VERSION}`,\n \"content-type\": contentType ?? MimeType.JSON,\n \"x-aptos-typescript-sdk-origin-method\": originMethod,\n };\n\n if (overrides?.AUTH_TOKEN) {\n headers.Authorization = `Bearer ${overrides?.AUTH_TOKEN}`;\n }\n if (overrides?.API_KEY) {\n headers.Authorization = `Bearer ${overrides?.API_KEY}`;\n }\n\n /*\n * make a call using the @aptos-labs/aptos-client package\n * {@link https://www.npmjs.com/package/@aptos-labs/aptos-client}\n */\n return client.provider<Req, Res>({\n url,\n method,\n body,\n params,\n headers,\n overrides,\n http2: overrides?.http2,\n });\n}\n\n/**\n * The main function to use when making an API request, returning the response or throwing an AptosApiError on failure.\n *\n * @param aptosRequestOpts - Options for the Aptos request, including the URL and path.\n * @param aptosConfig - The configuration information for the SDK client instance.\n * @param apiType - The type of API being accessed, which determines how the response is handled.\n * @returns The response from the API request or throws an AptosApiError if the request fails.\n * @group Implementation\n * @category Client\n */\nexport async function aptosRequest<Req extends {}, Res extends {}>(\n aptosRequestOpts: AptosRequest,\n aptosConfig: AptosConfig,\n apiType: AptosApiType,\n): Promise<AptosResponse<Req, Res>> {\n const { url, path } = aptosRequestOpts;\n const fullUrl = path ? `${url}/${path}` : url;\n const clientResponse = await request<Req, Res>({ ...aptosRequestOpts, url: fullUrl }, aptosConfig.client);\n\n const aptosResponse: AptosResponse<Req, Res> = {\n status: clientResponse.status,\n statusText: clientResponse.statusText ?? \"No status text provided\",\n data: clientResponse.data,\n headers: clientResponse.headers,\n config: clientResponse.config,\n request: clientResponse.request,\n url: fullUrl,\n };\n\n // Handle case for `Unauthorized` error (i.e. API_KEY error)\n if (aptosResponse.status === 401) {\n throw new AptosApiError({ apiType, aptosRequest: aptosRequestOpts, aptosResponse });\n }\n\n // to support both fullnode and indexer responses,\n // check if it is an indexer query, and adjust response.data\n if (apiType === AptosApiType.INDEXER) {\n const indexerResponse = aptosResponse.data as any;\n // Handle Indexer general errors\n if (indexerResponse.errors) {\n throw new AptosApiError({\n apiType,\n aptosRequest: aptosRequestOpts,\n aptosResponse,\n });\n }\n aptosResponse.data = indexerResponse.data as Res;\n } else if (apiType === AptosApiType.PEPPER || apiType === AptosApiType.PROVER) {\n if (aptosResponse.status >= 400) {\n throw new AptosApiError({ apiType, aptosRequest: aptosRequestOpts, aptosResponse });\n }\n }\n\n if (aptosResponse.status >= 200 && aptosResponse.status < 300) {\n return aptosResponse;\n }\n\n // We have to explicitly check for all request types, because if the error is a non-indexer error, but\n // comes from an indexer request (e.g. 404), we'll need to mention it appropriately\n throw new AptosApiError({ apiType, aptosRequest: aptosRequestOpts, aptosResponse });\n}\n"],"mappings":"kFA8BA,eAAsBA,EAAkBC,EAA6BC,EAA8C,CACjH,GAAM,CAAE,IAAAC,EAAK,OAAAC,EAAQ,KAAAC,EAAM,YAAAC,EAAa,OAAAC,EAAQ,UAAAC,EAAW,aAAAC,CAAa,EAAIR,EACtES,EAAoE,CACxE,GAAGF,GAAW,QACd,iBAAkB,wBAAwBG,CAAO,GACjD,eAAgBL,GAAe,mBAC/B,uCAAwCG,CAC1C,EAEA,OAAID,GAAW,aACbE,EAAQ,cAAgB,UAAUF,GAAW,UAAU,IAErDA,GAAW,UACbE,EAAQ,cAAgB,UAAUF,GAAW,OAAO,IAO/CN,EAAO,SAAmB,CAC/B,IAAAC,EACA,OAAAC,EACA,KAAAC,EACA,OAAAE,EACA,QAAAG,EACA,UAAAF,EACA,MAAOA,GAAW,KACpB,CAAC,CACH,CAYA,eAAsBI,EACpBC,EACAC,EACAC,EACkC,CAClC,GAAM,CAAE,IAAAZ,EAAK,KAAAa,CAAK,EAAIH,EAChBI,EAAUD,EAAO,GAAGb,CAAG,IAAIa,CAAI,GAAKb,EACpCe,EAAiB,MAAMlB,EAAkB,CAAE,GAAGa,EAAkB,IAAKI,CAAQ,EAAGH,EAAY,MAAM,EAElGK,EAAyC,CAC7C,OAAQD,EAAe,OACvB,WAAYA,EAAe,YAAc,0BACzC,KAAMA,EAAe,KACrB,QAASA,EAAe,QACxB,OAAQA,EAAe,OACvB,QAASA,EAAe,QACxB,IAAKD,CACP,EAGA,GAAIE,EAAc,SAAW,IAC3B,MAAM,IAAIC,EAAc,CAAE,QAAAL,EAAS,aAAcF,EAAkB,cAAAM,CAAc,CAAC,EAKpF,GAAIJ,IAAY,UAAsB,CACpC,IAAMM,EAAkBF,EAAc,KAEtC,GAAIE,EAAgB,OAClB,MAAM,IAAID,EAAc,CACtB,QAAAL,EACA,aAAcF,EACd,cAAAM,CACF,CAAC,EAEHA,EAAc,KAAOE,EAAgB,IACvC,UAAWN,IAAY,UAAuBA,IAAY,WACpDI,EAAc,QAAU,IAC1B,MAAM,IAAIC,EAAc,CAAE,QAAAL,EAAS,aAAcF,EAAkB,cAAAM,CAAc,CAAC,EAItF,GAAIA,EAAc,QAAU,KAAOA,EAAc,OAAS,IACxD,OAAOA,EAKT,MAAM,IAAIC,EAAc,CAAE,QAAAL,EAAS,aAAcF,EAAkB,cAAAM,CAAc,CAAC,CACpF","names":["request","options","client","url","method","body","contentType","params","overrides","originMethod","headers","VERSION","aptosRequest","aptosRequestOpts","aptosConfig","apiType","path","fullUrl","clientResponse","aptosResponse","AptosApiError","indexerResponse"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{h as e}from"./chunk-UXUMXAUZ.mjs";async function i(o){o.minimumLedgerVersion!==void 0&&await e({aptosConfig:o.config,minimumLedgerVersion:o.minimumLedgerVersion,processorType:o.processorType})}export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-LND3GTJ3.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as s}from"./chunk-J426EZGD.mjs";import{y as i,z as m}from"./chunk-UL777LTI.mjs";import{b as n}from"./chunk-HIAEKFG6.mjs";async function b(t){let{aptosConfig:a,handle:e,data:o,options:r}=t;return(await n({aptosConfig:a,originMethod:"getTableItem",path:`tables/${e}/item`,params:{ledger_version:r?.ledgerVersion},body:o})).data}async function f(t){let{aptosConfig:a,options:e}=t,o={query:i,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsData"})).table_items}async function T(t){let{aptosConfig:a,options:e}=t,o={query:m,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsMetadata"})).table_metadatas}export{b as a,f as b,T as c};
|
|
2
|
+
//# sourceMappingURL=chunk-TRIYATBI.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as k}from"./chunk-YOZBVVKL.mjs";import{e as x,f as B}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as k}from"./chunk-YOZBVVKL.mjs";import{e as x,f as B}from"./chunk-J426EZGD.mjs";import{b as f,d as A}from"./chunk-A2G3V23K.mjs";import{e as b}from"./chunk-G3HAIETV.mjs";import{d as C}from"./chunk-OLILO7VD.mjs";import{a as d}from"./chunk-PYVKCTUN.mjs";async function H(o){let{aptosConfig:n,options:t}=o;return A({aptosConfig:n,originMethod:"getTransactions",path:"transactions",params:{start:t?.offset,limit:t?.limit}})}async function W(o){let{aptosConfig:n}=o;return k(async()=>{let{data:t}=await f({aptosConfig:n,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return t},`gas-price-${n.network}`,1e3*60*5)()}async function O(o){let{aptosConfig:n,ledgerVersion:t}=o,{data:s}=await f({aptosConfig:n,originMethod:"getTransactionByVersion",path:`transactions/by_version/${t}`});return s}async function y(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/by_hash/${t}`,originMethod:"getTransactionByHash"});return s}async function q(o){let{aptosConfig:n,transactionHash:t}=o;try{return(await y({aptosConfig:n,transactionHash:t})).type==="pending_transaction"}catch(s){if(s?.status===404)return!0;throw s}}async function R(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/wait_by_hash/${t}`,originMethod:"longWaitForTransaction"});return s}async function z(o){let{aptosConfig:n,transactionHash:t,options:s}=o,r=s?.timeoutSecs??20,u=s?.checkSuccess??!0,e=!0,p=0,i,g,l=200,h=1.5;function c(a){if(!(a instanceof b)||(g=a,a.status!==404&&a.status>=400&&a.status<500))throw a}try{i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(a){c(a)}if(e){let a=Date.now();try{i=await R({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(w){c(w)}p=(Date.now()-a)/1e3}for(;e&&!(p>=r);){try{if(i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction",!e)break}catch(a){c(a)}await d(l),p+=l/1e3,l*=h}if(i===void 0)throw g||new m(`Fetching transaction ${t} failed and timed out after ${r} seconds`,i);if(i.type==="pending_transaction")throw new m(`Transaction ${t} timed out in pending state after ${r} seconds`,i);if(!u)return i;if(!i.success)throw new T(`Transaction ${t} failed with an error: ${i.vm_status}`,i);return i}async function U(o){let{aptosConfig:n,processorType:t}=o,s=BigInt(o.minimumLedgerVersion),r=3e3,u=new Date().getTime(),e=BigInt(-1);for(;e<s;){if(new Date().getTime()-u>r)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(t===void 0?e=await x({aptosConfig:n}):e=(await B({aptosConfig:n,processorType:t})).last_success_version,e>=s)break;await d(200)}}var m=class extends Error{constructor(n,t){super(n),this.lastSubmittedTransaction=t}},T=class extends Error{constructor(n,t){super(n),this.transaction=t}};async function X(o){let{aptosConfig:n,ledgerVersion:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByVersion",path:`blocks/by_version/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function j(o){let{aptosConfig:n,blockHeight:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByHeight",path:`blocks/by_height/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function P(o){let{aptosConfig:n,block:t,options:s}=o;if(s?.withTransactions){t.transactions=t.transactions??[];let r=t.transactions[t.transactions.length-1],u=BigInt(t.first_version),e=BigInt(t.last_version),p=r?.version,i;if(p===void 0?i=u-1n:i=BigInt(p),i===e)return t;let g=[],l=100n;for(let c=i+1n;c<e;c+=BigInt(100))g.push(H({aptosConfig:n,options:{offset:c,limit:Math.min(Number(l),Number(e-c+1n))}}));let h=await Promise.all(g);for(let c of h)t.transactions.push(...c)}return t}export{H as a,W as b,O as c,y as d,q as e,R as f,z as g,U as h,m as i,T as j,X as k,j as l};
|
|
2
|
+
//# sourceMappingURL=chunk-UXUMXAUZ.mjs.map
|
package/dist/esm/cli/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { LocalNode } from './localNode.mjs';
|
|
2
2
|
export { Move } from './move.mjs';
|
|
3
3
|
import 'child_process';
|
|
4
|
-
import '../account-
|
|
4
|
+
import '../account-Bwu9vUe3.mjs';
|
|
5
5
|
import '../types/indexer.mjs';
|
|
6
6
|
import '../types/generated/operations.mjs';
|
|
7
7
|
import '../types/generated/types.mjs';
|
package/dist/esm/cli/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"../chunk-VS5NYRHW.mjs";import{a as r}from"../chunk-35DKMW7Q.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-VS5NYRHW.mjs";import{a as r}from"../chunk-35DKMW7Q.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{o as LocalNode,r as Move};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-VS5NYRHW.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-VS5NYRHW.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as LocalNode};
|
|
2
2
|
//# sourceMappingURL=localNode.mjs.map
|
package/dist/esm/cli/move.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cj as ClientRequest, cl as Client, ck as ClientResponse, cm as AptosRequest, A as AptosConfig, cn as AptosResponse } from '../account-
|
|
1
|
+
import { cj as ClientRequest, cl as Client, ck as ClientResponse, cm as AptosRequest, A as AptosConfig, cn as AptosResponse } from '../account-Bwu9vUe3.mjs';
|
|
2
2
|
import { AptosApiType } from '../utils/const.mjs';
|
|
3
3
|
import '../types/indexer.mjs';
|
|
4
4
|
import '../types/generated/operations.mjs';
|
|
@@ -19,6 +19,7 @@ import '../core/common.mjs';
|
|
|
19
19
|
* @param options.overrides.HEADERS - Custom headers to include in the request.
|
|
20
20
|
* @param options.overrides.AUTH_TOKEN - The authorization token for the request.
|
|
21
21
|
* @param options.overrides.API_KEY - The API key for the request.
|
|
22
|
+
* @param options.overrides.http2 - Whether to use HTTP/2 for the request.
|
|
22
23
|
* @param options.originMethod - The origin method for the request.
|
|
23
24
|
* @param client - The client used to make the request.
|
|
24
25
|
*
|
package/dist/esm/client/core.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-K2TQQFRV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AEXYYFIZ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
|
|
2
2
|
//# sourceMappingURL=core.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-
|
|
1
|
+
import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-Bwu9vUe3.mjs';
|
|
2
2
|
import { AptosApiType } from '../utils/const.mjs';
|
|
3
3
|
import '../types/indexer.mjs';
|
|
4
4
|
import '../types/generated/operations.mjs';
|
package/dist/esm/client/get.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-A2G3V23K.mjs";import"../chunk-K2TQQFRV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AEXYYFIZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,f as getPageWithObfuscatedCursor,d as paginateWithCursor,e as paginateWithObfuscatedCursor};
|
|
2
2
|
//# sourceMappingURL=get.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { aptosRequest, request } from './core.mjs';
|
|
2
2
|
export { GetAptosRequestOptions, GetRequestOptions, get, getAptosFullNode, getAptosPepperService, getPageWithObfuscatedCursor, paginateWithCursor, paginateWithObfuscatedCursor } from './get.mjs';
|
|
3
3
|
export { PostAptosRequestOptions, PostRequestOptions, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService } from './post.mjs';
|
|
4
|
-
import '../account-
|
|
4
|
+
import '../account-Bwu9vUe3.mjs';
|
|
5
5
|
import '../types/indexer.mjs';
|
|
6
6
|
import '../types/generated/operations.mjs';
|
|
7
7
|
import '../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f,e as g,f as h}from"../chunk-
|
|
1
|
+
import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f,e as g,f as h}from"../chunk-A2G3V23K.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n}from"../chunk-HIAEKFG6.mjs";import{a,b}from"../chunk-K2TQQFRV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AEXYYFIZ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,h as getPageWithObfuscatedCursor,f as paginateWithCursor,g as paginateWithObfuscatedCursor,i as post,l as postAptosFaucet,j as postAptosFullNode,k as postAptosIndexer,m as postAptosPepperService,n as postAptosProvingService,a as request};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-
|
|
1
|
+
import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-Bwu9vUe3.mjs';
|
|
2
2
|
import { AptosApiType } from '../utils/const.mjs';
|
|
3
3
|
import '../types/indexer.mjs';
|
|
4
4
|
import '../types/generated/operations.mjs';
|
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-HIAEKFG6.mjs";import"../chunk-K2TQQFRV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AEXYYFIZ.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,5 +1,5 @@
|
|
|
1
1
|
export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './utils/address.mjs';
|
|
2
|
-
import '../../account-
|
|
2
|
+
import '../../account-Bwu9vUe3.mjs';
|
|
3
3
|
import '../../types/indexer.mjs';
|
|
4
4
|
import '../../types/generated/operations.mjs';
|
|
5
5
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-
|
|
1
|
+
import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AccountAddress } from '../../../account-
|
|
1
|
+
import { t as AccountAddress } from '../../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import '../../../types/indexer.mjs';
|
|
3
3
|
import '../../../types/generated/operations.mjs';
|
|
4
4
|
import '../../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-6XLLQB5P.mjs";import"../../../chunk-I42Z32Q2.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-X2TPNKLV.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
|
|
2
2
|
//# sourceMappingURL=address.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './address.mjs';
|
|
2
|
-
import '../../../account-
|
|
2
|
+
import '../../../account-Bwu9vUe3.mjs';
|
|
3
3
|
import '../../../types/indexer.mjs';
|
|
4
4
|
import '../../../types/generated/operations.mjs';
|
|
5
5
|
import '../../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-
|
|
1
|
+
import"../../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-6XLLQB5P.mjs";import"../../../chunk-I42Z32Q2.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-X2TPNKLV.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { t as AccountAddress, s as AccountAddressInput, r as AddressInvalidReason } from '../account-
|
|
1
|
+
export { t as AccountAddress, s as AccountAddressInput, r as AddressInvalidReason } from '../account-Bwu9vUe3.mjs';
|
|
2
2
|
import './common.mjs';
|
|
3
3
|
import '../types/indexer.mjs';
|
|
4
4
|
import '../types/generated/operations.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.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-RYOICF37.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-RYOICF37.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
|
|
2
2
|
//# sourceMappingURL=authenticationKey.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as AccountPublicKey, t as AccountAddress, u as AuthenticationKey, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, b as Serializer, T as Signature, bB as HexInput, a as Deserializer } from '../../account-
|
|
1
|
+
import { N as AccountPublicKey, t as AccountAddress, u as AuthenticationKey, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, b as Serializer, T as Signature, bB as HexInput, a as Deserializer } from '../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import '../../types/indexer.mjs';
|
|
3
3
|
import '../../types/generated/operations.mjs';
|
|
4
4
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AbstractPublicKey,a as AbstractSignature};
|
|
2
2
|
//# sourceMappingURL=abstraction.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bB as HexInput, L as PublicKey, T as Signature } from '../../account-
|
|
1
|
+
import { bB as HexInput, L as PublicKey, T as Signature } from '../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import '../../types/indexer.mjs';
|
|
3
3
|
import '../../types/generated/operations.mjs';
|
|
4
4
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as a,U as b}from"../../chunk-
|
|
1
|
+
import{T as a,U as b}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as deserializePublicKey,b as deserializeSignature};
|
|
2
2
|
//# sourceMappingURL=deserializationUtils.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, w as isCanonicalEd25519Signature } from '../../account-
|
|
1
|
+
export { x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, w as isCanonicalEd25519Signature } from '../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import '../../types/indexer.mjs';
|
|
3
3
|
import '../../types/generated/operations.mjs';
|
|
4
4
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{P as a,Q as b,R as c,S as d}from"../../chunk-
|
|
1
|
+
import{P as a,Q as b,R as c,S as d}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.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,4 +1,4 @@
|
|
|
1
|
-
import { L as PublicKey, bP as EphemeralPublicKeyVariant, bB as HexInput, T as Signature, b as Serializer, a as Deserializer, A as AptosConfig } from '../../account-
|
|
1
|
+
import { L as PublicKey, bP as EphemeralPublicKeyVariant, bB as HexInput, T as Signature, b as Serializer, a as Deserializer, A as AptosConfig } from '../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import '../../types/indexer.mjs';
|
|
3
3
|
import '../../types/generated/operations.mjs';
|
|
4
4
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
|
|
2
2
|
//# sourceMappingURL=ephemeral.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../../account-
|
|
2
|
-
export { F as FederatedKeylessPublicKey } from '../../federatedKeyless-
|
|
1
|
+
import '../../account-Bwu9vUe3.mjs';
|
|
2
|
+
export { F as FederatedKeylessPublicKey } from '../../federatedKeyless-BfOrG2BM.mjs';
|
|
3
3
|
import '../../types/indexer.mjs';
|
|
4
4
|
import '../../types/generated/operations.mjs';
|
|
5
5
|
import '../../types/generated/types.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{B as a}from"../../chunk-
|
|
1
|
+
import{B as a}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
|
|
2
2
|
//# sourceMappingURL=federatedKeyless.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AbstractPublicKey, AbstractSignature } from './abstraction.mjs';
|
|
2
|
-
export { G as AbstractMultiKey, N as AccountPublicKey, X as AnyPublicKey, Y as AnySignature, x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, z as MultiEd25519PublicKey, C as MultiEd25519Signature, H as MultiKey, J as MultiKeySignature, P as PrivateKey, W as PrivateKeyInput, L as PublicKey, Q as Secp256k1PrivateKey, O as Secp256k1PublicKey, R as Secp256k1Signature, T as Signature, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, w as isCanonicalEd25519Signature } from '../../account-
|
|
2
|
+
export { G as AbstractMultiKey, N as AccountPublicKey, X as AnyPublicKey, Y as AnySignature, x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, z as MultiEd25519PublicKey, C as MultiEd25519Signature, H as MultiKey, J as MultiKeySignature, P as PrivateKey, W as PrivateKeyInput, L as PublicKey, Q as Secp256k1PrivateKey, O as Secp256k1PublicKey, R as Secp256k1Signature, T as Signature, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, w as isCanonicalEd25519Signature } from '../../account-Bwu9vUe3.mjs';
|
|
3
3
|
export { EphemeralPublicKey, EphemeralSignature } from './ephemeral.mjs';
|
|
4
|
-
export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, F as FederatedKeylessPublicKey, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-
|
|
4
|
+
export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, F as FederatedKeylessPublicKey, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-BfOrG2BM.mjs';
|
|
5
5
|
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, CKDPriv, DerivedKeys, HARDENED_OFFSET, KeyType, deriveKey, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, splitPath } from './hdKey.mjs';
|
|
6
6
|
export { bigIntToBytesLE, bytesToBigIntLE, hashStrToField, padAndPackBytesWithLen, poseidonHash } from './poseidon.mjs';
|
|
7
7
|
export { Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, WebAuthnSignature } from './secp256r1.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A as V,B as W,C as X,D as Y,E as Z,F as ca,G as da,H as ea,I as fa,J as ga,K as ha,L as ia,P as ja,Q as ka,R as la,S as ma,T as na,U as oa,a as q,b as r,c as x,d as y,e as z,f as A,g as B,h as C,i as D,j as E,k as F,l as G,m as H,n as I,o as J,p as K,q as L,r as M,s as N,t as O,u as P,v as Q,w as R,x as S,y as T,z as U}from"../../chunk-
|
|
1
|
+
import{A as V,B as W,C as X,D as Y,E as Z,F as ca,G as da,H as ea,I as fa,J as ga,K as ha,L as ia,P as ja,Q as ka,R as la,S as ma,T as na,U as oa,a as q,b as r,c as x,d as y,e as z,f as A,g as B,h as C,i as D,j as E,k as F,l as G,m as H,n as I,o as J,p as K,q as L,r as M,s as N,t as O,u as P,v as Q,w as R,x as S,y as T,z as U}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import{a as _,b as $,c as aa,d as ba}from"../../chunk-2LCPW76G.mjs";import{a as p}from"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import{a as f,b as g,c as h,d as i,e as j,f as k,g as l,h as m,i as n,j as o}from"../../chunk-C3Q23D22.mjs";import{a as s,b as t,c as u,d as v,e as w}from"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a as d,b as e}from"../../chunk-52PWWLJJ.mjs";import{a,b}from"../../chunk-5FNZUL2Y.mjs";import{a as c}from"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{g as APTOS_BIP44_REGEX,f as APTOS_HARDENED_REGEX,ea as AbstractMultiKey,e as AbstractPublicKey,d as AbstractSignature,b as AccountPublicKey,ca as AnyPublicKey,da as AnySignature,m as CKDPriv,x as EPK_HORIZON_SECS,la as Ed25519PrivateKey,ka as Ed25519PublicKey,ma as Ed25519Signature,K as EphemeralCertificate,q as EphemeralPublicKey,r as EphemeralSignature,W as FederatedKeylessPublicKey,M as Groth16ProofAndStatement,Q as Groth16VerificationKey,L as Groth16Zkp,i as HARDENED_OFFSET,h as KeyType,P as KeylessConfiguration,F as KeylessPublicKey,J as KeylessSignature,y as MAX_AUD_VAL_BYTES,E as MAX_COMMITED_EPK_BYTES,C as MAX_EXTRA_FIELD_BYTES,B as MAX_ISS_VAL_BYTES,D as MAX_JWT_HEADER_B64_BYTES,z as MAX_UID_KEY_BYTES,A as MAX_UID_VAL_BYTES,U as MoveJWK,ha as MultiEd25519PublicKey,ia as MultiEd25519Signature,fa as MultiKey,ga as MultiKeySignature,p as PrivateKey,a as PublicKey,Y as Secp256k1PrivateKey,X as Secp256k1PublicKey,Z as Secp256k1Signature,$ as Secp256r1PrivateKey,_ as Secp256r1PublicKey,ba as Secp256r1Signature,c as Signature,aa as WebAuthnSignature,O as ZeroKnowledgeSig,N as ZkProof,v as bigIntToBytesLE,u as bytesToBigIntLE,l as deriveKey,na as deserializePublicKey,oa as deserializeSignature,I as fetchJWK,S as getIssAudAndUidVal,R as getKeylessConfig,T as getKeylessJWKs,s as hashStrToField,ja as isCanonicalEd25519Signature,j as isValidBIP44Path,k as isValidHardenedPath,o as mnemonicToSeed,t as padAndPackBytesWithLen,V as parseJwtHeader,w as poseidonHash,n as splitPath,G as verifyKeylessSignature,H as verifyKeylessSignatureWithJwkAndConfig};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../../account-
|
|
1
|
+
import '../../account-Bwu9vUe3.mjs';
|
|
2
2
|
import './ephemeral.mjs';
|
|
3
3
|
import './proof.mjs';
|
|
4
4
|
import '../../types/keyless.mjs';
|
|
5
|
-
export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-
|
|
5
|
+
export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-BfOrG2BM.mjs';
|
|
6
6
|
import '@noble/curves/abstract/weierstrass';
|
|
7
7
|
import '@noble/curves/abstract/tower';
|
|
8
8
|
import '../../types/indexer.mjs';
|