@argent/x-shared 1.77.0 → 1.77.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("./src/bigdecimal/index.cjs"),ne=require("./src/errors/baseErrors.cjs"),se=require("./src/accountNameGenerator/index.cjs"),A=require("./src/account/account.model.cjs"),f=require("./src/account/accountv4.cjs"),V=require("./src/account/preferences.model.cjs"),p=require("./src/backend/schema.cjs"),T=require("./src/backend/sessionKeys/schema.cjs"),ie=require("./src/cache/CacheService.cjs"),e=require("./src/chains/starknet/address.cjs"),d=require("./src/chains/starknet/addressDomain.cjs"),H=require("./src/chains/starknet/addressInput.cjs"),k=require("./src/chains/starknet/argentName.cjs"),ce=require("./src/chains/starknet/cairoVersionSchema.cjs"),S=require("./src/chains/starknet/constants.cjs"),L=require("./src/chains/starknet/getAddressFromArgentName.cjs"),y=require("./src/chains/starknet/getAddressFromStarkName.cjs"),M=require("./src/chains/starknet/network.cjs"),oe=require("./src/chains/starknet/services/address/StarknetAddressService.cjs"),P=require("./src/chains/starknet/services/deploymentData/constants.cjs"),R=require("./src/chains/starknet/services/deploymentData/deploymentData.schema.cjs"),u=require("./src/chains/starknet/services/deploymentData/findImplementationForAccount.cjs"),o=require("./src/chains/starknet/services/deploymentData/getAccountClassHash.cjs"),C=require("./src/chains/starknet/starknetId.cjs"),me=require("./src/http/DateService.cjs"),Se=require("./src/http/HttpError.cjs"),de=require("./src/http/HttpService.cjs"),le=require("./src/http/IHttpService.cjs"),he=require("./src/http/SWRService.cjs"),F=require("./src/http/fetcher.cjs"),W=require("./src/http/time.cjs"),ue=require("./src/knownDapps/KnownDappsBackendService.cjs"),E=require("./src/knownDapps/schema.cjs"),x=require("./src/knownDapps/utils/getDapplandUrl.cjs"),ge=require("./src/nameResolution/ResolveNameService.cjs"),l=require("./src/nameResolution/schema.cjs"),Ae=require("./src/nfts/BackendNftService.cjs"),U=require("./src/nfts/utils.cjs"),pe=require("./src/onchainRecovery/OnchainRecoveryService.cjs"),c=require("./src/onchainRecovery/schema.cjs"),Te=require("./src/platform/isBraveBrowser.cjs"),h=require("./src/platform/isBrowser.cjs"),ke=require("./src/signer/seedphrase.cjs"),G=require("./src/signer/multisigner.cjs"),ye=require("./src/signer/mergeOwnerGuardianSignatures.cjs"),i=require("./src/staking/schema.cjs"),z=require("./src/storage/utils.cjs"),K=require("./src/storage/base.cjs"),v=require("./src/tokens/balances.cjs"),Ce=require("./src/tokens/constants.cjs"),Ee=require("./src/tokens/convertCurrencyValueToTokenAmount.cjs"),ve=require("./src/tokens/convertTokenAmountToCurrencyValue.cjs"),De=require("./src/tokens/convertTokenUnitAmountWithDecimals.cjs"),qe=require("./src/tokens/ensureDecimals.cjs"),be=require("./src/tokens/isUnlimitedAmount.cjs"),Ne=require("./src/tokens/prettifyCurrencyValue.cjs"),X=require("./src/tokens/prettifyTokenAmount.cjs"),fe=require("./src/tokens/getCurrencySymbol.cjs"),Pe=require("./src/tokens/service/implementation.cjs"),$=require("./src/tokens/service/tokenError.cjs"),a=require("./src/tokens/service/types/backend.model.cjs"),s=require("./src/tokens/service/types/defiPosition.model.cjs"),Re=require("./src/tokens/service/types/defiPositionType.model.cjs"),j=require("./src/tokens/service/types/unclaimedRewards.model.cjs"),m=require("./src/tokens/service/types/webToken.model.cjs"),g=require("./src/tokens/utils.cjs"),B=require("./src/transactions/amount.cjs"),I=require("./src/transactions/buildTransactions.cjs"),Y=require("./src/transactions/errors.cjs"),_=require("./src/transactions/estimate/argentMaxFee.cjs"),Z=require("./src/transactions/estimate/error.cjs"),Fe=require("./src/transactions/estimate/model.cjs"),n=require("./src/transactions/estimate/utils.cjs"),Q=require("./src/transactions/findTransfersAndApprovals.cjs"),Be=require("./src/transactions/getPrettyRcpError.cjs"),Ie=require("./src/transactions/service/implementation.cjs"),_e=require("./src/transactions/service/types.cjs"),we=require("./src/transactions/service/utils.cjs"),Oe=require("./src/transactions/transactionReviewTypes.cjs"),w=require("./src/transactions/transactionVersion.cjs"),J=require("./src/transactions/txv3.cjs"),O=require("./src/transactions/transactionExecuteTypes.cjs"),Ve=require("./src/utils/address.cjs"),He=require("./src/utils/arrays.cjs"),D=require("./src/utils/avatarImage.cjs"),q=require("./src/utils/base58.cjs"),Le=require("./src/utils/bigNumber.cjs"),Me=require("./src/utils/daysBetween.cjs"),We=require("./src/utils/env.cjs"),ee=require("./src/utils/hex.cjs"),xe=require("./src/utils/id.cjs"),Ue=require("./src/utils/initials.cjs"),Ge=require("./src/utils/isContractDeployed.cjs"),ze=require("./src/utils/nonNullable.cjs"),Ke=require("./src/utils/number/isAllowedAddressHexInputValue.cjs"),Xe=require("./src/utils/number/isAllowedNumericInputValue.cjs"),$e=require("./src/utils/number/isNumeric.cjs"),b=require("./src/utils/number/prettifyNumber.cjs"),je=require("./src/utils/number/abbreviateNumber.cjs"),ae=require("./src/utils/parseAmount.cjs"),Ye=require("./src/utils/pluralise.cjs"),Ze=require("./src/utils/readFileAsString.cjs"),N=require("./src/utils/schemas.cjs"),r=require("./src/utils/starknet/starknet.cjs"),t=require("./src/utils/starknet/starknetSchemas.cjs"),Qe=require("./src/utils/transactions.cjs"),Je=require("./src/utils/url/urlWithQuery.cjs"),ea=require("./src/utils/voidify.cjs"),aa=require("./src/utils/bips.cjs"),ta=require("./src/utils/retryUntilInitialised.cjs"),ra=require("./src/currencyFetchService/CurrencyFetchService.cjs"),te=require("./src/currencyFetchService/types.ts.cjs");exports.bigDecimal=re;exports.BaseError=ne.BaseError;exports.AccountNameGenerator=se.AccountNameGenerator;exports.AddSmartAccountResponseSchema=A.AddSmartAccountResponseSchema;exports.AddSmartAcountRequestSchema=A.AddSmartAcountRequestSchema;exports.BackendAccountSchema=A.BackendAccountSchema;exports.baseWalletAccountSchema=A.baseWalletAccountSchema;exports.isAccountV4=f.isAccountV4;exports.isAccountV5=f.isAccountV5;exports.isAccountV6=f.isAccountV6;exports.preferencesEndpointPayload=V.preferencesEndpointPayload;exports.preferencesSchema=V.preferencesSchema;exports.argentBackendNetworkIdSchema=p.argentBackendNetworkIdSchema;exports.argentNetworkIdSchema=p.argentNetworkIdSchema;exports.isArgentBackendNetworkId=p.isArgentBackendNetworkId;exports.isArgentNetworkId=p.isArgentNetworkId;exports.backendSessionAllowedMethodSchema=T.backendSessionAllowedMethodSchema;exports.backendSessionMetadataSchema=T.backendSessionMetadataSchema;exports.backendSessionSchema=T.backendSessionSchema;exports.backendSessionTxFeeSchema=T.backendSessionTxFeeSchema;exports.CacheService=ie.CacheService;exports.addressOrEmptyUndefinedSchema=e.addressOrEmptyUndefinedSchema;exports.addressSchema=e.addressSchema;exports.addressSchemaArgentBackend=e.addressSchemaArgentBackend;exports.addressSchemaBase=e.addressSchemaBase;exports.addressSchemaLooseLength=e.addressSchemaLooseLength;exports.addressSchemaStrictLength=e.addressSchemaStrictLength;exports.formatFullAddress=e.formatFullAddress;exports.formatTruncatedAddress=e.formatTruncatedAddress;exports.formatTruncatedSignerKey=e.formatTruncatedSignerKey;exports.formatTruncatedString=e.formatTruncatedString;exports.getAddressOrEmptyUndefinedSchema=e.getAddressOrEmptyUndefinedSchema;exports.getAddressSchema=e.getAddressSchema;exports.getAddressSchemaArgentBackend=e.getAddressSchemaArgentBackend;exports.getAddressSchemaBase=e.getAddressSchemaBase;exports.getAddressSchemaLooseLength=e.getAddressSchemaLooseLength;exports.getAddressSchemaStrictLength=e.getAddressSchemaStrictLength;exports.getAddressValidationSchemas=e.getAddressValidationSchemas;exports.getValidChecksumAddressSchema=e.getValidChecksumAddressSchema;exports.getValidateAddressRangeSchema=e.getValidateAddressRangeSchema;exports.includesAddress=e.includesAddress;exports.isAddress=e.isAddress;exports.isBase58Address=e.isBase58Address;exports.isEqualAddress=e.isEqualAddress;exports.isValidAddress=e.isValidAddress;exports.isValidHexString=e.isValidHexString;exports.isZeroAddress=e.isZeroAddress;exports.normalizeAddress=e.normalizeAddress;exports.normalizeAddressForCompare=e.normalizeAddressForCompare;exports.validChecksumAddressSchema=e.validChecksumAddressSchema;exports.validateAddressRangeSchema=e.validateAddressRangeSchema;exports.addressOrDomainInputSchema=d.addressOrDomainInputSchema;exports.addressOrDomainSchema=d.addressOrDomainSchema;exports.isEqualStarknetDomainName=d.isEqualStarknetDomainName;exports.isStarknetDomainName=d.isStarknetDomainName;exports.normalizeAddressOrDomain=d.normalizeAddressOrDomain;exports.starknetDomainNameSchema=d.starknetDomainNameSchema;exports.addressInputCharactersAndLengthSchema=H.addressInputCharactersAndLengthSchema;exports.addressInputSchema=H.addressInputSchema;exports.argentNameSchema=k.argentNameSchema;exports.isArgentName=k.isArgentName;exports.isEqualArgentName=k.isEqualArgentName;exports.normalizeArgentName=k.normalizeArgentName;exports.cairoVersionSchema=ce.cairoVersionSchema;exports.ETH_TOKEN_ADDRESS=S.ETH_TOKEN_ADDRESS;exports.STANDARD_DEVNET_ACCOUNT_CLASS_HASH=S.STANDARD_DEVNET_ACCOUNT_CLASS_HASH;exports.STRK_TOKEN_ADDRESS=S.STRK_TOKEN_ADDRESS;exports.TXV1_ACCOUNT_CLASS_HASH=S.TXV1_ACCOUNT_CLASS_HASH;exports.TXV1_MULTISIG_CLASS_HASH=S.TXV1_MULTISIG_CLASS_HASH;exports.TXV3_ACCOUNT_CLASS_HASH=S.TXV3_ACCOUNT_CLASS_HASH;exports.TXV3_MULTISIG_CLASS_HASH=S.TXV3_MULTISIG_CLASS_HASH;exports.apiWalletResponseSchema=L.apiWalletResponseSchema;exports.getAddressFromArgentName=L.getAddressFromArgentName;exports.getAddressFromStarkName=y.getAddressFromStarkName;exports.getCallFromStarkName=y.getCallFromStarkName;exports.getStarknetIdContractAddressFromNetworkId=y.getStarknetIdContractAddressFromNetworkId;exports.starkNameToCallDataDomain=y.starkNameToCallDataDomain;exports.getArgentNetwork=M.getArgentNetwork;exports.getChainIdFromNetworkId=M.getChainIdFromNetworkId;exports.StarknetAddressService=oe.StarknetAddressService;exports.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES=P.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES;exports.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES=P.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES;exports.C0_PROXY_CONTRACT_CLASS_HASHES=P.C0_PROXY_CONTRACT_CLASS_HASHES;exports.constructorCallDataSchemaC0=R.constructorCallDataSchemaC0;exports.constructorCallDataSchemaC1V1=R.constructorCallDataSchemaC1V1;exports.implementationSchema=R.implementationSchema;exports.buildConstructorCalldata=u.buildConstructorCalldata;exports.findImplementationForAccount=u.findImplementationForAccount;exports.getAccountContractAddress=u.getAccountContractAddress;exports.getAccountDeploymentPayload=u.getAccountDeploymentPayload;exports.isEqualImplementation=u.isEqualImplementation;exports.getAccountVersionByClasshash=o.getAccountVersionByClasshash;exports.getArgentAccountClassHashes=o.getArgentAccountClassHashes;exports.getArgentAccountClassHashesWithTxV3Support=o.getArgentAccountClassHashesWithTxV3Support;exports.getArgentAccountWithMultiSignerClassHashes=o.getArgentAccountWithMultiSignerClassHashes;exports.getLastCairo0ArgentAccountClassHash=o.getLastCairo0ArgentAccountClassHash;exports.getLatestArgentAccountClassHash=o.getLatestArgentAccountClassHash;exports.getLatestArgentMultisigClassHash=o.getLatestArgentMultisigClassHash;exports.getLatestLedgerAccountClassHash=o.getLatestLedgerAccountClassHash;exports.getLedgerAccountClassHashes=o.getLedgerAccountClassHashes;exports.isEqualStarknetId=C.isEqualStarknetId;exports.isStarknetId=C.isStarknetId;exports.normalizeStarknetId=C.normalizeStarknetId;exports.starknetIdSchema=C.starknetIdSchema;exports.DateService=me.DateService;exports.HttpError=Se.HttpError;exports.HTTPService=de.HTTPService;Object.defineProperty(exports,"HTTP_ERROR_MESSAGE",{enumerable:!0,get:()=>le.HTTP_ERROR_MESSAGE});exports.SWRService=he.SWRService;exports.fetchData=F.fetchData;exports.fetcherError=F.fetcherError;exports.postData=F.postData;exports.getBackendTimeNowSeconds=W.getBackendTimeNowSeconds;exports.getBackendTimeSeconds=W.getBackendTimeSeconds;exports.KnownDappsBackendService=ue.KnownDappsBackendService;exports.dappContractSchema=E.dappContractSchema;exports.dappLinkSchema=E.dappLinkSchema;exports.knownDappSchema=E.knownDappSchema;exports.knownDappsSchema=E.knownDappsSchema;exports.getDapplandLinkForDapp=x.getDapplandLinkForDapp;exports.getDapplandUrlForDapp=x.getDapplandUrlForDapp;exports.ResolveNameService=ge.ResolveNameService;exports.nameProviderResolutionSchema=l.nameProviderResolutionSchema;exports.nameResolutionAddressSchema=l.nameResolutionAddressSchema;exports.nameResolutionAddressesSchema=l.nameResolutionAddressesSchema;exports.nameResolutionStarknetIdSchema=l.nameResolutionStarknetIdSchema;exports.nameResolutionStarknetIdsSchema=l.nameResolutionStarknetIdsSchema;exports.providersNamesSchema=l.providersNamesSchema;exports.BackendNftService=Ae.BackendNftService;exports.equalNft=U.equalNft;exports.getNftPicture=U.getNftPicture;exports.OnchainRecoveryService=pe.OnchainRecoveryService;Object.defineProperty(exports,"RecoveryStatusEnum",{enumerable:!0,get:()=>c.RecoveryStatusEnum});Object.defineProperty(exports,"StartOnchainRecoveryErrorStatusEnum",{enumerable:!0,get:()=>c.StartOnchainRecoveryErrorStatusEnum});exports.activeOnchainRecoverySchema=c.activeOnchainRecoverySchema;exports.onchainRecoverySchema=c.onchainRecoverySchema;exports.recoveryBaseSchema=c.recoveryBaseSchema;exports.recoveryBodySchema=c.recoveryBodySchema;exports.recoveryStatusSchema=c.recoveryStatusSchema;exports.startOnchainRecoveryErrorSchema=c.startOnchainRecoveryErrorSchema;exports.startOnchainRecoveryErrorStatusSchema=c.startOnchainRecoveryErrorStatusSchema;exports.startOnchainRecoverySchema=c.startOnchainRecoverySchema;exports.isBraveBrowser=Te.isBraveBrowser;exports.getUAParserResult=h.getUAParserResult;exports.isBrowser=h.isBrowser;exports.isChromeBrowser=h.isChromeBrowser;exports.isEdgeBrowser=h.isEdgeBrowser;exports.isFirefoxBrowser=h.isFirefoxBrowser;exports.isSafariBrowser=h.isSafariBrowser;exports.seedphraseSchema=ke.seedphraseSchema;Object.defineProperty(exports,"MultiSigner",{enumerable:!0,get:()=>G.MultiSigner});exports.getSignerForMultiSigner=G.getSignerForMultiSigner;exports.mergeOwnerGuardianSignatures=ye.mergeOwnerGuardianSignatures;exports.buildSellOptsSchema=i.buildSellOptsSchema;exports.investmentMetaSchema=i.investmentMetaSchema;exports.investmentSchema=i.investmentSchema;exports.investmentsResponseSchema=i.investmentsResponseSchema;exports.lendingInvestmentSchema=i.lendingInvestmentSchema;exports.liquidStakingInvestmentSchema=i.liquidStakingInvestmentSchema;exports.stakerInfoSchema=i.stakerInfoSchema;exports.stakingActionSchema=i.stakingActionSchema;exports.strkDelegatedStakingInvestmentSchema=i.strkDelegatedStakingInvestmentSchema;exports.strkStakingCalldataResponseSchema=i.strkStakingCalldataResponseSchema;exports.strkStakingCalldataSchema=i.strkStakingCalldataSchema;exports.containsValue=z.containsValue;exports.replaceValueRecursively=z.replaceValueRecursively;exports.mergeArrayStableWith=K.mergeArrayStableWith;exports.optionsWithDefaults=K.optionsWithDefaults;exports.getTokenBalance=v.getTokenBalance;exports.getTokens=v.getTokens;exports.getTokensBalances=v.getTokensBalances;exports.useToken=v.useToken;exports.DEFAULT_TOKEN_DECIMALS=Ce.DEFAULT_TOKEN_DECIMALS;exports.convertCurrencyValueToTokenAmount=Ee.convertCurrencyValueToTokenAmount;exports.convertTokenAmountToCurrencyValue=ve.convertTokenAmountToCurrencyValue;exports.convertTokenUnitAmountWithDecimals=De.convertTokenUnitAmountWithDecimals;exports.ensureDecimals=qe.ensureDecimals;exports.isUnlimitedAmount=be.isUnlimitedAmount;exports.prettifyCurrencyValue=Ne.prettifyCurrencyValue;exports.PRETTY_UNLIMITED=X.PRETTY_UNLIMITED;exports.prettifyTokenAmount=X.prettifyTokenAmount;exports.getCurrencySymbol=fe.getCurrencySymbol;exports.TokenServiceWeb=Pe.TokenServiceWeb;Object.defineProperty(exports,"TOKEN_ERROR_MESSAGES",{enumerable:!0,get:()=>$.TOKEN_ERROR_MESSAGES});exports.TokenError=$.TokenError;exports.apiAccountTokenBalancesSchema=a.apiAccountTokenBalancesSchema;exports.apiAirdropSchema=a.apiAirdropSchema;exports.apiCollateralizedDebtPositionSchema=a.apiCollateralizedDebtPositionSchema;exports.apiCollateralizedDebtPositionsSchema=a.apiCollateralizedDebtPositionsSchema;exports.apiConcentratedLiquidityPositionSchema=a.apiConcentratedLiquidityPositionSchema;exports.apiConcentratedLiquidityPositionsSchema=a.apiConcentratedLiquidityPositionsSchema;exports.apiDefiDecompositionProduct=a.apiDefiDecompositionProduct;exports.apiDefiDecompositionProducts=a.apiDefiDecompositionProducts;exports.apiDefiDecompositionSchema=a.apiDefiDecompositionSchema;exports.apiDefiDecompositionToken=a.apiDefiDecompositionToken;exports.apiDefiPositionSchema=a.apiDefiPositionSchema;exports.apiDefiPositionsSchema=a.apiDefiPositionsSchema;exports.apiDelegatedTokensArraySchema=a.apiDelegatedTokensArraySchema;exports.apiDelegatedTokensSchema=a.apiDelegatedTokensSchema;exports.apiPriceDataResponseSchema=a.apiPriceDataResponseSchema;exports.apiPriceDetailsSchema=a.apiPriceDetailsSchema;exports.apiStakingPositionSchema=a.apiStakingPositionSchema;exports.apiStakingPositionsSchema=a.apiStakingPositionsSchema;exports.apiStrkDelegatedStakingPositionsSchema=a.apiStrkDelegatedStakingPositionsSchema;exports.apiStrkDelegatedStakingSchema=a.apiStrkDelegatedStakingSchema;exports.apiTokenInfoResponseSchema=a.apiTokenInfoResponseSchema;exports.apiTokenInfoSchema=a.apiTokenInfoSchema;exports.apiTokensInfoResponseSchema=a.apiTokensInfoResponseSchema;exports.apiUnclaimedRewardsSchema=a.apiUnclaimedRewardsSchema;exports.collateralizedDebtGroupSchema=s.collateralizedDebtGroupSchema;exports.collateralizedDebtPositionSchema=s.collateralizedDebtPositionSchema;exports.collateralizedDebtPositionsSchema=s.collateralizedDebtPositionsSchema;exports.concentratedLiquidityPositionSchema=s.concentratedLiquidityPositionSchema;exports.concentratedLiquidityPositionsSchema=s.concentratedLiquidityPositionsSchema;exports.defiDappsProductsSchema=s.defiDappsProductsSchema;exports.defiPositionSchema=s.defiPositionSchema;exports.defiProductSchema=s.defiProductSchema;exports.defiProductsSchema=s.defiProductsSchema;exports.delegatedTokensArraySchema=s.delegatedTokensArraySchema;exports.delegatedTokensSchema=s.delegatedTokensSchema;exports.productGroupsSchema=s.productGroupsSchema;exports.stakingPositionSchema=s.stakingPositionSchema;exports.stakingPositionsSchema=s.stakingPositionsSchema;exports.strkDelegatedStakingPositionArraySchema=s.strkDelegatedStakingPositionArraySchema;exports.strkDelegatedStakingPositionSchema=s.strkDelegatedStakingPositionSchema;exports.defiPositionTypeSchema=Re.defiPositionTypeSchema;exports.airdropSchema=j.airdropSchema;exports.unclaimedRewardsSchema=j.unclaimedRewardsSchema;exports.webBaseTokenSchema=m.webBaseTokenSchema;exports.webBaseTokenWithBalanceSchema=m.webBaseTokenWithBalanceSchema;exports.webTokenInfoDetailsSchema=m.webTokenInfoDetailsSchema;exports.webTokenPriceDetailsSchema=m.webTokenPriceDetailsSchema;exports.webTokenSchema=m.webTokenSchema;exports.webTokenWithBalanceAndPriceSchema=m.webTokenWithBalanceAndPriceSchema;exports.webTokenWithBalanceSchema=m.webTokenWithBalanceSchema;exports.webTokenWithPriceSchema=m.webTokenWithPriceSchema;exports.webTokensWithBalanceAndPriceSchema=m.webTokensWithBalanceAndPriceSchema;exports.isCollateralizedDebtPosition=g.isCollateralizedDebtPosition;exports.isConcentratedLiquidityPosition=g.isConcentratedLiquidityPosition;exports.isDelegatedTokens=g.isDelegatedTokens;exports.isStaking=g.isStaking;exports.isStrkDelegatedStaking=g.isStrkDelegatedStaking;exports.inputAmountSchema=B.inputAmountSchema;exports.isValidInputAmount=B.isValidInputAmount;exports.parseAmount=B.parseAmount;exports.erc20TransferTransaction=I.erc20TransferTransaction;exports.erc721SafeTransferFromTransaction=I.erc721SafeTransferFromTransaction;exports.erc721TransferFromTransaction=I.erc721TransferFromTransaction;exports.getMessageFromTrpcError=Y.getMessageFromTrpcError;exports.trpcErrorSchema=Y.trpcErrorSchema;exports.FEE_OVERHEAD=_.FEE_OVERHEAD;exports.argentMaxFee=_.argentMaxFee;exports.modifySnjsFeeOverhead=_.modifySnjsFeeOverhead;Object.defineProperty(exports,"ESTIMATE_ERROR_MESSAGES",{enumerable:!0,get:()=>Z.ESTIMATE_ERROR_MESSAGES});exports.EstimateError=Z.EstimateError;exports.transactionReviewTransactionsSchema=Fe.transactionReviewTransactionsSchema;exports.estimatedFeeToMaxFeeTotal=n.estimatedFeeToMaxFeeTotal;exports.estimatedFeeToMaxResourceBounds=n.estimatedFeeToMaxResourceBounds;exports.estimatedFeeToMaxResourceBoundsBN=n.estimatedFeeToMaxResourceBoundsBN;exports.estimatedFeeToTotal=n.estimatedFeeToTotal;exports.estimatedFeesToMaxFeeTotalV2=n.estimatedFeesToMaxFeeTotalV2;exports.estimatedFeesToTotal=n.estimatedFeesToTotal;exports.estimatedFeesToTotalWithOverallFee=n.estimatedFeesToTotalWithOverallFee;exports.filterPaymasterEstimatedFees=n.filterPaymasterEstimatedFees;exports.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2=n.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2;exports.getNativeEstimatedFeeByFeeToken=n.getNativeEstimatedFeeByFeeToken;exports.getNativeEstimatedFeeByTxVersion=n.getNativeEstimatedFeeByTxVersion;exports.getNativeEstimatedFeeForAccount=n.getNativeEstimatedFeeForAccount;exports.getNativeEstimatedFees=n.getNativeEstimatedFees;exports.getNativeFeeFromSimulation=n.getNativeFeeFromSimulation;exports.getNativeFeeTokenAddress=n.getNativeFeeTokenAddress;exports.getPaymasterFeeFromSimulation=n.getPaymasterFeeFromSimulation;exports.toMaxFeeEstimation=n.toMaxFeeEstimation;exports.EventsBySelector=Q.EventsBySelector;exports.findTransfersAndApprovals=Q.findTransfersAndApprovals;exports.getPrettyRpcError=Be.getPrettyRpcError;exports.TransactionReviewServiceWeb=Ie.TransactionReviewServiceWeb;exports.transactionReviewWarningSchema=_e.transactionReviewWarningSchema;exports.getPayloadFromTransaction=we.getPayloadFromTransaction;exports.apiTransactionReviewActivityType=Oe.apiTransactionReviewActivityType;exports.FEE_TX_VERSION=w.FEE_TX_VERSION;exports.TX_VERSION=w.TX_VERSION;exports.txVersionSchema=w.txVersionSchema;exports.classHashSupportsTxV3=J.classHashSupportsTxV3;exports.feeTokenNeedsTxV3Support=J.feeTokenNeedsTxV3Support;exports.transactionExecutionResponseSchema=O.transactionExecutionResponseSchema;exports.transactionPromotionPrizeSchema=O.transactionPromotionPrizeSchema;exports.transactionPromotionSchema=O.transactionPromotionSchema;exports.formatAddress=Ve.formatAddress;exports.ensureArray=He.ensureArray;exports.generateAvatarImage=D.generateAvatarImage;exports.getColor=D.getColor;exports.getNetworkAccountImageUrl=D.getNetworkAccountImageUrl;exports.stripAddressZeroPadding=D.stripAddressZeroPadding;exports.decodeBase58=q.decodeBase58;exports.decodeBase58Array=q.decodeBase58Array;exports.encodeBase58=q.encodeBase58;exports.encodeBase58Array=q.encodeBase58Array;exports.bigNumberSchema=Le.bigNumberSchema;exports.daysBetween=Me.daysBetween;exports.isFeatureEnabled=We.isFeatureEnabled;exports.hexSchema=ee.hexSchema;exports.hexSchemaBase=ee.hexSchemaBase;exports.id=xe.id;exports.getInitials=Ue.getInitials;exports.isContractDeployed=Ge.isContractDeployed;exports.nonNullable=ze.nonNullable;exports.isAllowedAddressHexInputValue=Ke.isAllowedAddressHexInputValue;exports.isAllowedNumericInputValue=Xe.isAllowedNumericInputValue;exports.isNumeric=$e.isNumeric;exports.prettifyCurrencyNumber=b.prettifyCurrencyNumber;exports.prettifyNumber=b.prettifyNumber;exports.prettifyNumberConfig=b.prettifyNumberConfig;exports.prettifyTokenNumber=b.prettifyTokenNumber;exports.abbreviateNumber=je.abbreviateNumber;exports.getUint256CalldataFromBN=ae.getUint256CalldataFromBN;exports.parseAmountValue=ae.parseAmountValue;exports.pluralise=Ye.pluralise;exports.readFileAsString=Ze.readFileAsString;exports.booleanToStringSchema=N.booleanToStringSchema;exports.createSchemaWithWarnings=N.createSchemaWithWarnings;exports.safeParseAndWarn=N.safeParseAndWarn;exports.stringToBooleanSchema=N.stringToBooleanSchema;exports.addOwnersCalldataSchema=r.addOwnersCalldataSchema;exports.addPluginCalldataSchema=r.addPluginCalldataSchema;exports.bigNumberishSchema=r.bigNumberishSchema;exports.callDetailsSchema=r.callDetailsSchema;exports.callSchema=r.callSchema;exports.calldataSchema=r.calldataSchema;exports.changeGuardianCalldataSchema=r.changeGuardianCalldataSchema;exports.changeThresholdCalldataSchema=r.changeThresholdCalldataSchema;exports.escapeGuardianCalldataSchema=r.escapeGuardianCalldataSchema;exports.executeOnPluginCalldataSchema=r.executeOnPluginCalldataSchema;exports.feltSchema=r.feltSchema;exports.looseCalldataSchema=r.looseCalldataSchema;exports.multiTypeSchema=r.multiTypeSchema;exports.rawArgsArraySchema=r.rawArgsArraySchema;exports.rawArgsObjectSchema=r.rawArgsObjectSchema;exports.rawArgsSchema=r.rawArgsSchema;exports.removeOwnersCalldataSchema=r.removeOwnersCalldataSchema;exports.removePluginCalldataSchema=r.removePluginCalldataSchema;exports.replaceSignerCalldataSchema=r.replaceSignerCalldataSchema;exports.transferCalldataSchema=r.transferCalldataSchema;exports.typedDataSchema=r.typedDataSchema;exports.uint256Schema=r.uint256Schema;exports.abiEntrySchema=t.abiEntrySchema;exports.abiSchema=t.abiSchema;exports.builtinsSchema=t.builtinsSchema;exports.byteCodeSchema=t.byteCodeSchema;exports.cairo1EventSchema=t.cairo1EventSchema;exports.cairoAssemblySchema=t.cairoAssemblySchema;exports.compiledContractClassSchema=t.compiledContractClassSchema;exports.compiledSierraCasmSchema=t.compiledSierraCasmSchema;exports.compiledSierraSchema=t.compiledSierraSchema;exports.compressedProgramSchema=t.compressedProgramSchema;exports.contractEntryPointFieldsSchema=t.contractEntryPointFieldsSchema;exports.entryPointsByTypeSchema=t.entryPointsByTypeSchema;exports.eventAbiSchema=t.eventAbiSchema;exports.eventEntrySchema=t.eventEntrySchema;exports.functionAbiSchema=t.functionAbiSchema;exports.functionAbiTypeSchema=t.functionAbiTypeSchema;exports.legacyContractClassSchema=t.legacyContractClassSchema;exports.legacyEventSchema=t.legacyEventSchema;exports.programSchema=t.programSchema;exports.pythonicHintsSchema=t.pythonicHintsSchema;exports.sierraContractEntryPointFieldsSchema=t.sierraContractEntryPointFieldsSchema;exports.sierraEntryPointsByTypeSchema=t.sierraEntryPointsByTypeSchema;exports.sierraProgramDebugInfoSchema=t.sierraProgramDebugInfoSchema;exports.structAbiSchema=t.structAbiSchema;exports.entryPointToHumanReadable=Qe.entryPointToHumanReadable;exports.urlWithQuery=Je.urlWithQuery;exports.voidify=ea.voidify;exports.bipsToPercent=aa.bipsToPercent;exports.retryUntilInitialised=ta.retryUntilInitialised;exports.CurrencyFetchService=ra.CurrencyFetchService;exports.currenciesDetailsSchema=te.currenciesDetailsSchema;exports.currencyDetailsSchema=te.currencyDetailsSchema;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("./src/bigdecimal/index.cjs"),re=require("./src/errors/baseErrors.cjs"),ne=require("./src/accountNameGenerator/index.cjs"),A=require("./src/account/account.model.cjs"),f=require("./src/account/accountv4.cjs"),O=require("./src/account/preferences.model.cjs"),p=require("./src/backend/schema.cjs"),T=require("./src/backend/sessionKeys/schema.cjs"),se=require("./src/cache/CacheService.cjs"),e=require("./src/chains/starknet/address.cjs"),d=require("./src/chains/starknet/addressDomain.cjs"),V=require("./src/chains/starknet/addressInput.cjs"),k=require("./src/chains/starknet/argentName.cjs"),ie=require("./src/chains/starknet/cairoVersionSchema.cjs"),S=require("./src/chains/starknet/constants.cjs"),H=require("./src/chains/starknet/getAddressFromArgentName.cjs"),y=require("./src/chains/starknet/getAddressFromStarkName.cjs"),L=require("./src/chains/starknet/network.cjs"),ce=require("./src/chains/starknet/services/address/StarknetAddressService.cjs"),R=require("./src/chains/starknet/services/deploymentData/constants.cjs"),P=require("./src/chains/starknet/services/deploymentData/deploymentData.schema.cjs"),u=require("./src/chains/starknet/services/deploymentData/findImplementationForAccount.cjs"),o=require("./src/chains/starknet/services/deploymentData/getAccountClassHash.cjs"),C=require("./src/chains/starknet/starknetId.cjs"),oe=require("./src/http/DateService.cjs"),me=require("./src/http/HttpError.cjs"),Se=require("./src/http/HttpService.cjs"),de=require("./src/http/IHttpService.cjs"),le=require("./src/http/SWRService.cjs"),F=require("./src/http/fetcher.cjs"),M=require("./src/http/time.cjs"),he=require("./src/knownDapps/KnownDappsBackendService.cjs"),E=require("./src/knownDapps/schema.cjs"),W=require("./src/knownDapps/utils/getDapplandUrl.cjs"),ue=require("./src/nameResolution/ResolveNameService.cjs"),l=require("./src/nameResolution/schema.cjs"),ge=require("./src/nfts/BackendNftService.cjs"),x=require("./src/nfts/utils.cjs"),Ae=require("./src/onchainRecovery/OnchainRecoveryService.cjs"),c=require("./src/onchainRecovery/schema.cjs"),pe=require("./src/platform/isBraveBrowser.cjs"),h=require("./src/platform/isBrowser.cjs"),Te=require("./src/signer/seedphrase.cjs"),U=require("./src/signer/multisigner.cjs"),ke=require("./src/signer/mergeOwnerGuardianSignatures.cjs"),i=require("./src/staking/schema.cjs"),G=require("./src/storage/utils.cjs"),z=require("./src/storage/base.cjs"),v=require("./src/tokens/balances.cjs"),ye=require("./src/tokens/constants.cjs"),Ce=require("./src/tokens/convertCurrencyValueToTokenAmount.cjs"),Ee=require("./src/tokens/convertTokenAmountToCurrencyValue.cjs"),ve=require("./src/tokens/convertTokenUnitAmountWithDecimals.cjs"),De=require("./src/tokens/ensureDecimals.cjs"),qe=require("./src/tokens/isUnlimitedAmount.cjs"),be=require("./src/tokens/prettifyCurrencyValue.cjs"),K=require("./src/tokens/prettifyTokenAmount.cjs"),Ne=require("./src/tokens/getCurrencySymbol.cjs"),fe=require("./src/tokens/service/implementation.cjs"),X=require("./src/tokens/service/tokenError.cjs"),a=require("./src/tokens/service/types/backend.model.cjs"),s=require("./src/tokens/service/types/defiPosition.model.cjs"),Re=require("./src/tokens/service/types/defiPositionType.model.cjs"),$=require("./src/tokens/service/types/unclaimedRewards.model.cjs"),m=require("./src/tokens/service/types/webToken.model.cjs"),g=require("./src/tokens/utils.cjs"),B=require("./src/transactions/amount.cjs"),I=require("./src/transactions/buildTransactions.cjs"),j=require("./src/transactions/errors.cjs"),_=require("./src/transactions/estimate/argentMaxFee.cjs"),Y=require("./src/transactions/estimate/error.cjs"),Pe=require("./src/transactions/estimate/model.cjs"),n=require("./src/transactions/estimate/utils.cjs"),Z=require("./src/transactions/findTransfersAndApprovals.cjs"),Fe=require("./src/transactions/getPrettyRcpError.cjs"),Be=require("./src/transactions/service/implementation.cjs"),Ie=require("./src/transactions/service/types.cjs"),_e=require("./src/transactions/service/utils.cjs"),we=require("./src/transactions/transactionReviewTypes.cjs"),w=require("./src/transactions/transactionVersion.cjs"),Q=require("./src/transactions/txv3.cjs"),Oe=require("./src/transactions/transactionExecuteTypes.cjs"),Ve=require("./src/utils/address.cjs"),He=require("./src/utils/arrays.cjs"),D=require("./src/utils/avatarImage.cjs"),q=require("./src/utils/base58.cjs"),Le=require("./src/utils/bigNumber.cjs"),Me=require("./src/utils/daysBetween.cjs"),We=require("./src/utils/env.cjs"),J=require("./src/utils/hex.cjs"),xe=require("./src/utils/id.cjs"),Ue=require("./src/utils/initials.cjs"),Ge=require("./src/utils/isContractDeployed.cjs"),ze=require("./src/utils/nonNullable.cjs"),Ke=require("./src/utils/number/isAllowedAddressHexInputValue.cjs"),Xe=require("./src/utils/number/isAllowedNumericInputValue.cjs"),$e=require("./src/utils/number/isNumeric.cjs"),b=require("./src/utils/number/prettifyNumber.cjs"),je=require("./src/utils/number/abbreviateNumber.cjs"),ee=require("./src/utils/parseAmount.cjs"),Ye=require("./src/utils/pluralise.cjs"),Ze=require("./src/utils/readFileAsString.cjs"),N=require("./src/utils/schemas.cjs"),r=require("./src/utils/starknet/starknet.cjs"),t=require("./src/utils/starknet/starknetSchemas.cjs"),Qe=require("./src/utils/transactions.cjs"),Je=require("./src/utils/url/urlWithQuery.cjs"),ea=require("./src/utils/voidify.cjs"),aa=require("./src/utils/bips.cjs"),ta=require("./src/utils/retryUntilInitialised.cjs"),ra=require("./src/currencyFetchService/CurrencyFetchService.cjs"),ae=require("./src/currencyFetchService/types.ts.cjs");exports.bigDecimal=te;exports.BaseError=re.BaseError;exports.AccountNameGenerator=ne.AccountNameGenerator;exports.AddSmartAccountResponseSchema=A.AddSmartAccountResponseSchema;exports.AddSmartAcountRequestSchema=A.AddSmartAcountRequestSchema;exports.BackendAccountSchema=A.BackendAccountSchema;exports.baseWalletAccountSchema=A.baseWalletAccountSchema;exports.isAccountV4=f.isAccountV4;exports.isAccountV5=f.isAccountV5;exports.isAccountV6=f.isAccountV6;exports.preferencesEndpointPayload=O.preferencesEndpointPayload;exports.preferencesSchema=O.preferencesSchema;exports.argentBackendNetworkIdSchema=p.argentBackendNetworkIdSchema;exports.argentNetworkIdSchema=p.argentNetworkIdSchema;exports.isArgentBackendNetworkId=p.isArgentBackendNetworkId;exports.isArgentNetworkId=p.isArgentNetworkId;exports.backendSessionAllowedMethodSchema=T.backendSessionAllowedMethodSchema;exports.backendSessionMetadataSchema=T.backendSessionMetadataSchema;exports.backendSessionSchema=T.backendSessionSchema;exports.backendSessionTxFeeSchema=T.backendSessionTxFeeSchema;exports.CacheService=se.CacheService;exports.addressOrEmptyUndefinedSchema=e.addressOrEmptyUndefinedSchema;exports.addressSchema=e.addressSchema;exports.addressSchemaArgentBackend=e.addressSchemaArgentBackend;exports.addressSchemaBase=e.addressSchemaBase;exports.addressSchemaLooseLength=e.addressSchemaLooseLength;exports.addressSchemaStrictLength=e.addressSchemaStrictLength;exports.formatFullAddress=e.formatFullAddress;exports.formatTruncatedAddress=e.formatTruncatedAddress;exports.formatTruncatedSignerKey=e.formatTruncatedSignerKey;exports.formatTruncatedString=e.formatTruncatedString;exports.getAddressOrEmptyUndefinedSchema=e.getAddressOrEmptyUndefinedSchema;exports.getAddressSchema=e.getAddressSchema;exports.getAddressSchemaArgentBackend=e.getAddressSchemaArgentBackend;exports.getAddressSchemaBase=e.getAddressSchemaBase;exports.getAddressSchemaLooseLength=e.getAddressSchemaLooseLength;exports.getAddressSchemaStrictLength=e.getAddressSchemaStrictLength;exports.getAddressValidationSchemas=e.getAddressValidationSchemas;exports.getValidChecksumAddressSchema=e.getValidChecksumAddressSchema;exports.getValidateAddressRangeSchema=e.getValidateAddressRangeSchema;exports.includesAddress=e.includesAddress;exports.isAddress=e.isAddress;exports.isBase58Address=e.isBase58Address;exports.isEqualAddress=e.isEqualAddress;exports.isValidAddress=e.isValidAddress;exports.isValidHexString=e.isValidHexString;exports.isZeroAddress=e.isZeroAddress;exports.normalizeAddress=e.normalizeAddress;exports.normalizeAddressForCompare=e.normalizeAddressForCompare;exports.validChecksumAddressSchema=e.validChecksumAddressSchema;exports.validateAddressRangeSchema=e.validateAddressRangeSchema;exports.addressOrDomainInputSchema=d.addressOrDomainInputSchema;exports.addressOrDomainSchema=d.addressOrDomainSchema;exports.isEqualStarknetDomainName=d.isEqualStarknetDomainName;exports.isStarknetDomainName=d.isStarknetDomainName;exports.normalizeAddressOrDomain=d.normalizeAddressOrDomain;exports.starknetDomainNameSchema=d.starknetDomainNameSchema;exports.addressInputCharactersAndLengthSchema=V.addressInputCharactersAndLengthSchema;exports.addressInputSchema=V.addressInputSchema;exports.argentNameSchema=k.argentNameSchema;exports.isArgentName=k.isArgentName;exports.isEqualArgentName=k.isEqualArgentName;exports.normalizeArgentName=k.normalizeArgentName;exports.cairoVersionSchema=ie.cairoVersionSchema;exports.ETH_TOKEN_ADDRESS=S.ETH_TOKEN_ADDRESS;exports.STANDARD_DEVNET_ACCOUNT_CLASS_HASH=S.STANDARD_DEVNET_ACCOUNT_CLASS_HASH;exports.STRK_TOKEN_ADDRESS=S.STRK_TOKEN_ADDRESS;exports.TXV1_ACCOUNT_CLASS_HASH=S.TXV1_ACCOUNT_CLASS_HASH;exports.TXV1_MULTISIG_CLASS_HASH=S.TXV1_MULTISIG_CLASS_HASH;exports.TXV3_ACCOUNT_CLASS_HASH=S.TXV3_ACCOUNT_CLASS_HASH;exports.TXV3_MULTISIG_CLASS_HASH=S.TXV3_MULTISIG_CLASS_HASH;exports.apiWalletResponseSchema=H.apiWalletResponseSchema;exports.getAddressFromArgentName=H.getAddressFromArgentName;exports.getAddressFromStarkName=y.getAddressFromStarkName;exports.getCallFromStarkName=y.getCallFromStarkName;exports.getStarknetIdContractAddressFromNetworkId=y.getStarknetIdContractAddressFromNetworkId;exports.starkNameToCallDataDomain=y.starkNameToCallDataDomain;exports.getArgentNetwork=L.getArgentNetwork;exports.getChainIdFromNetworkId=L.getChainIdFromNetworkId;exports.StarknetAddressService=ce.StarknetAddressService;exports.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES=R.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES;exports.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES=R.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES;exports.C0_PROXY_CONTRACT_CLASS_HASHES=R.C0_PROXY_CONTRACT_CLASS_HASHES;exports.constructorCallDataSchemaC0=P.constructorCallDataSchemaC0;exports.constructorCallDataSchemaC1V1=P.constructorCallDataSchemaC1V1;exports.implementationSchema=P.implementationSchema;exports.buildConstructorCalldata=u.buildConstructorCalldata;exports.findImplementationForAccount=u.findImplementationForAccount;exports.getAccountContractAddress=u.getAccountContractAddress;exports.getAccountDeploymentPayload=u.getAccountDeploymentPayload;exports.isEqualImplementation=u.isEqualImplementation;exports.getAccountVersionByClasshash=o.getAccountVersionByClasshash;exports.getArgentAccountClassHashes=o.getArgentAccountClassHashes;exports.getArgentAccountClassHashesWithTxV3Support=o.getArgentAccountClassHashesWithTxV3Support;exports.getArgentAccountWithMultiSignerClassHashes=o.getArgentAccountWithMultiSignerClassHashes;exports.getLastCairo0ArgentAccountClassHash=o.getLastCairo0ArgentAccountClassHash;exports.getLatestArgentAccountClassHash=o.getLatestArgentAccountClassHash;exports.getLatestArgentMultisigClassHash=o.getLatestArgentMultisigClassHash;exports.getLatestLedgerAccountClassHash=o.getLatestLedgerAccountClassHash;exports.getLedgerAccountClassHashes=o.getLedgerAccountClassHashes;exports.isEqualStarknetId=C.isEqualStarknetId;exports.isStarknetId=C.isStarknetId;exports.normalizeStarknetId=C.normalizeStarknetId;exports.starknetIdSchema=C.starknetIdSchema;exports.DateService=oe.DateService;exports.HttpError=me.HttpError;exports.HTTPService=Se.HTTPService;Object.defineProperty(exports,"HTTP_ERROR_MESSAGE",{enumerable:!0,get:()=>de.HTTP_ERROR_MESSAGE});exports.SWRService=le.SWRService;exports.fetchData=F.fetchData;exports.fetcherError=F.fetcherError;exports.postData=F.postData;exports.getBackendTimeNowSeconds=M.getBackendTimeNowSeconds;exports.getBackendTimeSeconds=M.getBackendTimeSeconds;exports.KnownDappsBackendService=he.KnownDappsBackendService;exports.dappContractSchema=E.dappContractSchema;exports.dappLinkSchema=E.dappLinkSchema;exports.knownDappSchema=E.knownDappSchema;exports.knownDappsSchema=E.knownDappsSchema;exports.getDapplandLinkForDapp=W.getDapplandLinkForDapp;exports.getDapplandUrlForDapp=W.getDapplandUrlForDapp;exports.ResolveNameService=ue.ResolveNameService;exports.nameProviderResolutionSchema=l.nameProviderResolutionSchema;exports.nameResolutionAddressSchema=l.nameResolutionAddressSchema;exports.nameResolutionAddressesSchema=l.nameResolutionAddressesSchema;exports.nameResolutionStarknetIdSchema=l.nameResolutionStarknetIdSchema;exports.nameResolutionStarknetIdsSchema=l.nameResolutionStarknetIdsSchema;exports.providersNamesSchema=l.providersNamesSchema;exports.BackendNftService=ge.BackendNftService;exports.equalNft=x.equalNft;exports.getNftPicture=x.getNftPicture;exports.OnchainRecoveryService=Ae.OnchainRecoveryService;Object.defineProperty(exports,"RecoveryStatusEnum",{enumerable:!0,get:()=>c.RecoveryStatusEnum});Object.defineProperty(exports,"StartOnchainRecoveryErrorStatusEnum",{enumerable:!0,get:()=>c.StartOnchainRecoveryErrorStatusEnum});exports.activeOnchainRecoverySchema=c.activeOnchainRecoverySchema;exports.onchainRecoverySchema=c.onchainRecoverySchema;exports.recoveryBaseSchema=c.recoveryBaseSchema;exports.recoveryBodySchema=c.recoveryBodySchema;exports.recoveryStatusSchema=c.recoveryStatusSchema;exports.startOnchainRecoveryErrorSchema=c.startOnchainRecoveryErrorSchema;exports.startOnchainRecoveryErrorStatusSchema=c.startOnchainRecoveryErrorStatusSchema;exports.startOnchainRecoverySchema=c.startOnchainRecoverySchema;exports.isBraveBrowser=pe.isBraveBrowser;exports.getUAParserResult=h.getUAParserResult;exports.isBrowser=h.isBrowser;exports.isChromeBrowser=h.isChromeBrowser;exports.isEdgeBrowser=h.isEdgeBrowser;exports.isFirefoxBrowser=h.isFirefoxBrowser;exports.isSafariBrowser=h.isSafariBrowser;exports.seedphraseSchema=Te.seedphraseSchema;Object.defineProperty(exports,"MultiSigner",{enumerable:!0,get:()=>U.MultiSigner});exports.getSignerForMultiSigner=U.getSignerForMultiSigner;exports.mergeOwnerGuardianSignatures=ke.mergeOwnerGuardianSignatures;exports.buildSellOptsSchema=i.buildSellOptsSchema;exports.investmentMetaSchema=i.investmentMetaSchema;exports.investmentSchema=i.investmentSchema;exports.investmentsResponseSchema=i.investmentsResponseSchema;exports.lendingInvestmentSchema=i.lendingInvestmentSchema;exports.liquidStakingInvestmentSchema=i.liquidStakingInvestmentSchema;exports.stakerInfoSchema=i.stakerInfoSchema;exports.stakingActionSchema=i.stakingActionSchema;exports.strkDelegatedStakingInvestmentSchema=i.strkDelegatedStakingInvestmentSchema;exports.strkStakingCalldataResponseSchema=i.strkStakingCalldataResponseSchema;exports.strkStakingCalldataSchema=i.strkStakingCalldataSchema;exports.containsValue=G.containsValue;exports.replaceValueRecursively=G.replaceValueRecursively;exports.mergeArrayStableWith=z.mergeArrayStableWith;exports.optionsWithDefaults=z.optionsWithDefaults;exports.getTokenBalance=v.getTokenBalance;exports.getTokens=v.getTokens;exports.getTokensBalances=v.getTokensBalances;exports.useToken=v.useToken;exports.DEFAULT_TOKEN_DECIMALS=ye.DEFAULT_TOKEN_DECIMALS;exports.convertCurrencyValueToTokenAmount=Ce.convertCurrencyValueToTokenAmount;exports.convertTokenAmountToCurrencyValue=Ee.convertTokenAmountToCurrencyValue;exports.convertTokenUnitAmountWithDecimals=ve.convertTokenUnitAmountWithDecimals;exports.ensureDecimals=De.ensureDecimals;exports.isUnlimitedAmount=qe.isUnlimitedAmount;exports.prettifyCurrencyValue=be.prettifyCurrencyValue;exports.PRETTY_UNLIMITED=K.PRETTY_UNLIMITED;exports.prettifyTokenAmount=K.prettifyTokenAmount;exports.getCurrencySymbol=Ne.getCurrencySymbol;exports.TokenServiceWeb=fe.TokenServiceWeb;Object.defineProperty(exports,"TOKEN_ERROR_MESSAGES",{enumerable:!0,get:()=>X.TOKEN_ERROR_MESSAGES});exports.TokenError=X.TokenError;exports.apiAccountTokenBalancesSchema=a.apiAccountTokenBalancesSchema;exports.apiAirdropSchema=a.apiAirdropSchema;exports.apiCollateralizedDebtPositionSchema=a.apiCollateralizedDebtPositionSchema;exports.apiCollateralizedDebtPositionsSchema=a.apiCollateralizedDebtPositionsSchema;exports.apiConcentratedLiquidityPositionSchema=a.apiConcentratedLiquidityPositionSchema;exports.apiConcentratedLiquidityPositionsSchema=a.apiConcentratedLiquidityPositionsSchema;exports.apiDefiDecompositionProduct=a.apiDefiDecompositionProduct;exports.apiDefiDecompositionProducts=a.apiDefiDecompositionProducts;exports.apiDefiDecompositionSchema=a.apiDefiDecompositionSchema;exports.apiDefiDecompositionToken=a.apiDefiDecompositionToken;exports.apiDefiPositionSchema=a.apiDefiPositionSchema;exports.apiDefiPositionsSchema=a.apiDefiPositionsSchema;exports.apiDelegatedTokensArraySchema=a.apiDelegatedTokensArraySchema;exports.apiDelegatedTokensSchema=a.apiDelegatedTokensSchema;exports.apiPriceDataResponseSchema=a.apiPriceDataResponseSchema;exports.apiPriceDetailsSchema=a.apiPriceDetailsSchema;exports.apiStakingPositionSchema=a.apiStakingPositionSchema;exports.apiStakingPositionsSchema=a.apiStakingPositionsSchema;exports.apiStrkDelegatedStakingPositionsSchema=a.apiStrkDelegatedStakingPositionsSchema;exports.apiStrkDelegatedStakingSchema=a.apiStrkDelegatedStakingSchema;exports.apiTokenInfoResponseSchema=a.apiTokenInfoResponseSchema;exports.apiTokenInfoSchema=a.apiTokenInfoSchema;exports.apiTokensInfoResponseSchema=a.apiTokensInfoResponseSchema;exports.apiUnclaimedRewardsSchema=a.apiUnclaimedRewardsSchema;exports.collateralizedDebtGroupSchema=s.collateralizedDebtGroupSchema;exports.collateralizedDebtPositionSchema=s.collateralizedDebtPositionSchema;exports.collateralizedDebtPositionsSchema=s.collateralizedDebtPositionsSchema;exports.concentratedLiquidityPositionSchema=s.concentratedLiquidityPositionSchema;exports.concentratedLiquidityPositionsSchema=s.concentratedLiquidityPositionsSchema;exports.defiDappsProductsSchema=s.defiDappsProductsSchema;exports.defiPositionSchema=s.defiPositionSchema;exports.defiProductSchema=s.defiProductSchema;exports.defiProductsSchema=s.defiProductsSchema;exports.delegatedTokensArraySchema=s.delegatedTokensArraySchema;exports.delegatedTokensSchema=s.delegatedTokensSchema;exports.productGroupsSchema=s.productGroupsSchema;exports.stakingPositionSchema=s.stakingPositionSchema;exports.stakingPositionsSchema=s.stakingPositionsSchema;exports.strkDelegatedStakingPositionArraySchema=s.strkDelegatedStakingPositionArraySchema;exports.strkDelegatedStakingPositionSchema=s.strkDelegatedStakingPositionSchema;exports.defiPositionTypeSchema=Re.defiPositionTypeSchema;exports.airdropSchema=$.airdropSchema;exports.unclaimedRewardsSchema=$.unclaimedRewardsSchema;exports.webBaseTokenSchema=m.webBaseTokenSchema;exports.webBaseTokenWithBalanceSchema=m.webBaseTokenWithBalanceSchema;exports.webTokenInfoDetailsSchema=m.webTokenInfoDetailsSchema;exports.webTokenPriceDetailsSchema=m.webTokenPriceDetailsSchema;exports.webTokenSchema=m.webTokenSchema;exports.webTokenWithBalanceAndPriceSchema=m.webTokenWithBalanceAndPriceSchema;exports.webTokenWithBalanceSchema=m.webTokenWithBalanceSchema;exports.webTokenWithPriceSchema=m.webTokenWithPriceSchema;exports.webTokensWithBalanceAndPriceSchema=m.webTokensWithBalanceAndPriceSchema;exports.isCollateralizedDebtPosition=g.isCollateralizedDebtPosition;exports.isConcentratedLiquidityPosition=g.isConcentratedLiquidityPosition;exports.isDelegatedTokens=g.isDelegatedTokens;exports.isStaking=g.isStaking;exports.isStrkDelegatedStaking=g.isStrkDelegatedStaking;exports.inputAmountSchema=B.inputAmountSchema;exports.isValidInputAmount=B.isValidInputAmount;exports.parseAmount=B.parseAmount;exports.erc20TransferTransaction=I.erc20TransferTransaction;exports.erc721SafeTransferFromTransaction=I.erc721SafeTransferFromTransaction;exports.erc721TransferFromTransaction=I.erc721TransferFromTransaction;exports.getMessageFromTrpcError=j.getMessageFromTrpcError;exports.trpcErrorSchema=j.trpcErrorSchema;exports.FEE_OVERHEAD=_.FEE_OVERHEAD;exports.argentMaxFee=_.argentMaxFee;exports.modifySnjsFeeOverhead=_.modifySnjsFeeOverhead;Object.defineProperty(exports,"ESTIMATE_ERROR_MESSAGES",{enumerable:!0,get:()=>Y.ESTIMATE_ERROR_MESSAGES});exports.EstimateError=Y.EstimateError;exports.transactionReviewTransactionsSchema=Pe.transactionReviewTransactionsSchema;exports.estimatedFeeToMaxFeeTotal=n.estimatedFeeToMaxFeeTotal;exports.estimatedFeeToMaxResourceBounds=n.estimatedFeeToMaxResourceBounds;exports.estimatedFeeToMaxResourceBoundsBN=n.estimatedFeeToMaxResourceBoundsBN;exports.estimatedFeeToTotal=n.estimatedFeeToTotal;exports.estimatedFeesToMaxFeeTotalV2=n.estimatedFeesToMaxFeeTotalV2;exports.estimatedFeesToTotal=n.estimatedFeesToTotal;exports.estimatedFeesToTotalWithOverallFee=n.estimatedFeesToTotalWithOverallFee;exports.filterPaymasterEstimatedFees=n.filterPaymasterEstimatedFees;exports.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2=n.getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2;exports.getNativeEstimatedFeeByFeeToken=n.getNativeEstimatedFeeByFeeToken;exports.getNativeEstimatedFeeByTxVersion=n.getNativeEstimatedFeeByTxVersion;exports.getNativeEstimatedFeeForAccount=n.getNativeEstimatedFeeForAccount;exports.getNativeEstimatedFees=n.getNativeEstimatedFees;exports.getNativeFeeFromSimulation=n.getNativeFeeFromSimulation;exports.getNativeFeeTokenAddress=n.getNativeFeeTokenAddress;exports.getPaymasterFeeFromSimulation=n.getPaymasterFeeFromSimulation;exports.toMaxFeeEstimation=n.toMaxFeeEstimation;exports.EventsBySelector=Z.EventsBySelector;exports.findTransfersAndApprovals=Z.findTransfersAndApprovals;exports.getPrettyRpcError=Fe.getPrettyRpcError;exports.TransactionReviewServiceWeb=Be.TransactionReviewServiceWeb;exports.transactionReviewWarningSchema=Ie.transactionReviewWarningSchema;exports.getPayloadFromTransaction=_e.getPayloadFromTransaction;exports.apiTransactionReviewActivityType=we.apiTransactionReviewActivityType;exports.FEE_TX_VERSION=w.FEE_TX_VERSION;exports.TX_VERSION=w.TX_VERSION;exports.txVersionSchema=w.txVersionSchema;exports.classHashSupportsTxV3=Q.classHashSupportsTxV3;exports.feeTokenNeedsTxV3Support=Q.feeTokenNeedsTxV3Support;exports.transactionExecutionResponseSchema=Oe.transactionExecutionResponseSchema;exports.formatAddress=Ve.formatAddress;exports.ensureArray=He.ensureArray;exports.generateAvatarImage=D.generateAvatarImage;exports.getColor=D.getColor;exports.getNetworkAccountImageUrl=D.getNetworkAccountImageUrl;exports.stripAddressZeroPadding=D.stripAddressZeroPadding;exports.decodeBase58=q.decodeBase58;exports.decodeBase58Array=q.decodeBase58Array;exports.encodeBase58=q.encodeBase58;exports.encodeBase58Array=q.encodeBase58Array;exports.bigNumberSchema=Le.bigNumberSchema;exports.daysBetween=Me.daysBetween;exports.isFeatureEnabled=We.isFeatureEnabled;exports.hexSchema=J.hexSchema;exports.hexSchemaBase=J.hexSchemaBase;exports.id=xe.id;exports.getInitials=Ue.getInitials;exports.isContractDeployed=Ge.isContractDeployed;exports.nonNullable=ze.nonNullable;exports.isAllowedAddressHexInputValue=Ke.isAllowedAddressHexInputValue;exports.isAllowedNumericInputValue=Xe.isAllowedNumericInputValue;exports.isNumeric=$e.isNumeric;exports.prettifyCurrencyNumber=b.prettifyCurrencyNumber;exports.prettifyNumber=b.prettifyNumber;exports.prettifyNumberConfig=b.prettifyNumberConfig;exports.prettifyTokenNumber=b.prettifyTokenNumber;exports.abbreviateNumber=je.abbreviateNumber;exports.getUint256CalldataFromBN=ee.getUint256CalldataFromBN;exports.parseAmountValue=ee.parseAmountValue;exports.pluralise=Ye.pluralise;exports.readFileAsString=Ze.readFileAsString;exports.booleanToStringSchema=N.booleanToStringSchema;exports.createSchemaWithWarnings=N.createSchemaWithWarnings;exports.safeParseAndWarn=N.safeParseAndWarn;exports.stringToBooleanSchema=N.stringToBooleanSchema;exports.addOwnersCalldataSchema=r.addOwnersCalldataSchema;exports.addPluginCalldataSchema=r.addPluginCalldataSchema;exports.bigNumberishSchema=r.bigNumberishSchema;exports.callDetailsSchema=r.callDetailsSchema;exports.callSchema=r.callSchema;exports.calldataSchema=r.calldataSchema;exports.changeGuardianCalldataSchema=r.changeGuardianCalldataSchema;exports.changeThresholdCalldataSchema=r.changeThresholdCalldataSchema;exports.escapeGuardianCalldataSchema=r.escapeGuardianCalldataSchema;exports.executeOnPluginCalldataSchema=r.executeOnPluginCalldataSchema;exports.feltSchema=r.feltSchema;exports.looseCalldataSchema=r.looseCalldataSchema;exports.multiTypeSchema=r.multiTypeSchema;exports.rawArgsArraySchema=r.rawArgsArraySchema;exports.rawArgsObjectSchema=r.rawArgsObjectSchema;exports.rawArgsSchema=r.rawArgsSchema;exports.removeOwnersCalldataSchema=r.removeOwnersCalldataSchema;exports.removePluginCalldataSchema=r.removePluginCalldataSchema;exports.replaceSignerCalldataSchema=r.replaceSignerCalldataSchema;exports.transferCalldataSchema=r.transferCalldataSchema;exports.typedDataSchema=r.typedDataSchema;exports.uint256Schema=r.uint256Schema;exports.abiEntrySchema=t.abiEntrySchema;exports.abiSchema=t.abiSchema;exports.builtinsSchema=t.builtinsSchema;exports.byteCodeSchema=t.byteCodeSchema;exports.cairo1EventSchema=t.cairo1EventSchema;exports.cairoAssemblySchema=t.cairoAssemblySchema;exports.compiledContractClassSchema=t.compiledContractClassSchema;exports.compiledSierraCasmSchema=t.compiledSierraCasmSchema;exports.compiledSierraSchema=t.compiledSierraSchema;exports.compressedProgramSchema=t.compressedProgramSchema;exports.contractEntryPointFieldsSchema=t.contractEntryPointFieldsSchema;exports.entryPointsByTypeSchema=t.entryPointsByTypeSchema;exports.eventAbiSchema=t.eventAbiSchema;exports.eventEntrySchema=t.eventEntrySchema;exports.functionAbiSchema=t.functionAbiSchema;exports.functionAbiTypeSchema=t.functionAbiTypeSchema;exports.legacyContractClassSchema=t.legacyContractClassSchema;exports.legacyEventSchema=t.legacyEventSchema;exports.programSchema=t.programSchema;exports.pythonicHintsSchema=t.pythonicHintsSchema;exports.sierraContractEntryPointFieldsSchema=t.sierraContractEntryPointFieldsSchema;exports.sierraEntryPointsByTypeSchema=t.sierraEntryPointsByTypeSchema;exports.sierraProgramDebugInfoSchema=t.sierraProgramDebugInfoSchema;exports.structAbiSchema=t.structAbiSchema;exports.entryPointToHumanReadable=Qe.entryPointToHumanReadable;exports.urlWithQuery=Je.urlWithQuery;exports.voidify=ea.voidify;exports.bipsToPercent=aa.bipsToPercent;exports.retryUntilInitialised=ta.retryUntilInitialised;exports.CurrencyFetchService=ra.CurrencyFetchService;exports.currenciesDetailsSchema=ae.currenciesDetailsSchema;exports.currencyDetailsSchema=ae.currencyDetailsSchema;
package/dist/index.js CHANGED
@@ -79,37 +79,37 @@ import { getPayloadFromTransaction as Im } from "./src/transactions/service/util
79
79
  import { apiTransactionReviewActivityType as wm } from "./src/transactions/transactionReviewTypes.js";
80
80
  import { FEE_TX_VERSION as Vm, TX_VERSION as Hm, txVersionSchema as Lm } from "./src/transactions/transactionVersion.js";
81
81
  import { classHashSupportsTxV3 as Wm, feeTokenNeedsTxV3Support as Um } from "./src/transactions/txv3.js";
82
- import { transactionExecutionResponseSchema as qm, transactionPromotionPrizeSchema as zm, transactionPromotionSchema as Km } from "./src/transactions/transactionExecuteTypes.js";
83
- import { formatAddress as jm } from "./src/utils/address.js";
84
- import { ensureArray as Zm } from "./src/utils/arrays.js";
85
- import { generateAvatarImage as Jm, getColor as $m, getNetworkAccountImageUrl as en, stripAddressZeroPadding as an } from "./src/utils/avatarImage.js";
86
- import { decodeBase58 as tn, decodeBase58Array as on, encodeBase58 as mn, encodeBase58Array as nn } from "./src/utils/base58.js";
87
- import { bigNumberSchema as cn } from "./src/utils/bigNumber.js";
88
- import { daysBetween as dn } from "./src/utils/daysBetween.js";
89
- import { isFeatureEnabled as hn } from "./src/utils/env.js";
90
- import { hexSchema as fn, hexSchemaBase as un } from "./src/utils/hex.js";
91
- import { id as gn } from "./src/utils/id.js";
92
- import { getInitials as Tn } from "./src/utils/initials.js";
93
- import { isContractDeployed as Cn } from "./src/utils/isContractDeployed.js";
94
- import { nonNullable as En } from "./src/utils/nonNullable.js";
95
- import { isAllowedAddressHexInputValue as vn } from "./src/utils/number/isAllowedAddressHexInputValue.js";
96
- import { isAllowedNumericInputValue as Rn } from "./src/utils/number/isAllowedNumericInputValue.js";
97
- import { isNumeric as bn } from "./src/utils/number/isNumeric.js";
98
- import { prettifyCurrencyNumber as Bn, prettifyNumber as In, prettifyNumberConfig as _n, prettifyTokenNumber as wn } from "./src/utils/number/prettifyNumber.js";
99
- import { abbreviateNumber as Vn } from "./src/utils/number/abbreviateNumber.js";
100
- import { getUint256CalldataFromBN as Ln, parseAmountValue as Mn } from "./src/utils/parseAmount.js";
101
- import { pluralise as Un } from "./src/utils/pluralise.js";
102
- import { readFileAsString as qn } from "./src/utils/readFileAsString.js";
103
- import { booleanToStringSchema as Kn, createSchemaWithWarnings as Xn, safeParseAndWarn as jn, stringToBooleanSchema as Yn } from "./src/utils/schemas.js";
104
- import { addOwnersCalldataSchema as Qn, addPluginCalldataSchema as Jn, bigNumberishSchema as $n, callDetailsSchema as es, callSchema as as, calldataSchema as rs, changeGuardianCalldataSchema as ts, changeThresholdCalldataSchema as os, escapeGuardianCalldataSchema as ms, executeOnPluginCalldataSchema as ns, feltSchema as ss, looseCalldataSchema as is, multiTypeSchema as cs, rawArgsArraySchema as Ss, rawArgsObjectSchema as ds, rawArgsSchema as ps, removeOwnersCalldataSchema as hs, removePluginCalldataSchema as ls, replaceSignerCalldataSchema as fs, transferCalldataSchema as us, typedDataSchema as As, uint256Schema as gs } from "./src/utils/starknet/starknet.js";
105
- import { abiEntrySchema as Ts, abiSchema as ks, builtinsSchema as Cs, byteCodeSchema as ys, cairo1EventSchema as Es, cairoAssemblySchema as Ds, compiledContractClassSchema as vs, compiledSierraCasmSchema as Ns, compiledSierraSchema as Rs, compressedProgramSchema as Ps, contractEntryPointFieldsSchema as bs, entryPointsByTypeSchema as Fs, eventAbiSchema as Bs, eventEntrySchema as Is, functionAbiSchema as _s, functionAbiTypeSchema as ws, legacyContractClassSchema as Os, legacyEventSchema as Vs, programSchema as Hs, pythonicHintsSchema as Ls, sierraContractEntryPointFieldsSchema as Ms, sierraEntryPointsByTypeSchema as Ws, sierraProgramDebugInfoSchema as Us, structAbiSchema as Gs } from "./src/utils/starknet/starknetSchemas.js";
106
- import { entryPointToHumanReadable as zs } from "./src/utils/transactions.js";
107
- import { urlWithQuery as Xs } from "./src/utils/url/urlWithQuery.js";
108
- import { voidify as Ys } from "./src/utils/voidify.js";
109
- import { bipsToPercent as Qs } from "./src/utils/bips.js";
110
- import { retryUntilInitialised as $s } from "./src/utils/retryUntilInitialised.js";
111
- import { CurrencyFetchService as ai } from "./src/currencyFetchService/CurrencyFetchService.js";
112
- import { currenciesDetailsSchema as ti, currencyDetailsSchema as oi } from "./src/currencyFetchService/types.ts.js";
82
+ import { transactionExecutionResponseSchema as qm } from "./src/transactions/transactionExecuteTypes.js";
83
+ import { formatAddress as Km } from "./src/utils/address.js";
84
+ import { ensureArray as jm } from "./src/utils/arrays.js";
85
+ import { generateAvatarImage as Zm, getColor as Qm, getNetworkAccountImageUrl as Jm, stripAddressZeroPadding as $m } from "./src/utils/avatarImage.js";
86
+ import { decodeBase58 as an, decodeBase58Array as rn, encodeBase58 as tn, encodeBase58Array as on } from "./src/utils/base58.js";
87
+ import { bigNumberSchema as nn } from "./src/utils/bigNumber.js";
88
+ import { daysBetween as cn } from "./src/utils/daysBetween.js";
89
+ import { isFeatureEnabled as dn } from "./src/utils/env.js";
90
+ import { hexSchema as hn, hexSchemaBase as ln } from "./src/utils/hex.js";
91
+ import { id as un } from "./src/utils/id.js";
92
+ import { getInitials as gn } from "./src/utils/initials.js";
93
+ import { isContractDeployed as Tn } from "./src/utils/isContractDeployed.js";
94
+ import { nonNullable as Cn } from "./src/utils/nonNullable.js";
95
+ import { isAllowedAddressHexInputValue as En } from "./src/utils/number/isAllowedAddressHexInputValue.js";
96
+ import { isAllowedNumericInputValue as vn } from "./src/utils/number/isAllowedNumericInputValue.js";
97
+ import { isNumeric as Rn } from "./src/utils/number/isNumeric.js";
98
+ import { prettifyCurrencyNumber as bn, prettifyNumber as Fn, prettifyNumberConfig as Bn, prettifyTokenNumber as In } from "./src/utils/number/prettifyNumber.js";
99
+ import { abbreviateNumber as wn } from "./src/utils/number/abbreviateNumber.js";
100
+ import { getUint256CalldataFromBN as Vn, parseAmountValue as Hn } from "./src/utils/parseAmount.js";
101
+ import { pluralise as Mn } from "./src/utils/pluralise.js";
102
+ import { readFileAsString as Un } from "./src/utils/readFileAsString.js";
103
+ import { booleanToStringSchema as qn, createSchemaWithWarnings as zn, safeParseAndWarn as Kn, stringToBooleanSchema as Xn } from "./src/utils/schemas.js";
104
+ import { addOwnersCalldataSchema as Yn, addPluginCalldataSchema as Zn, bigNumberishSchema as Qn, callDetailsSchema as Jn, callSchema as $n, calldataSchema as es, changeGuardianCalldataSchema as as, changeThresholdCalldataSchema as rs, escapeGuardianCalldataSchema as ts, executeOnPluginCalldataSchema as os, feltSchema as ms, looseCalldataSchema as ns, multiTypeSchema as ss, rawArgsArraySchema as is, rawArgsObjectSchema as cs, rawArgsSchema as Ss, removeOwnersCalldataSchema as ds, removePluginCalldataSchema as ps, replaceSignerCalldataSchema as hs, transferCalldataSchema as ls, typedDataSchema as fs, uint256Schema as us } from "./src/utils/starknet/starknet.js";
105
+ import { abiEntrySchema as gs, abiSchema as xs, builtinsSchema as Ts, byteCodeSchema as ks, cairo1EventSchema as Cs, cairoAssemblySchema as ys, compiledContractClassSchema as Es, compiledSierraCasmSchema as Ds, compiledSierraSchema as vs, compressedProgramSchema as Ns, contractEntryPointFieldsSchema as Rs, entryPointsByTypeSchema as Ps, eventAbiSchema as bs, eventEntrySchema as Fs, functionAbiSchema as Bs, functionAbiTypeSchema as Is, legacyContractClassSchema as _s, legacyEventSchema as ws, programSchema as Os, pythonicHintsSchema as Vs, sierraContractEntryPointFieldsSchema as Hs, sierraEntryPointsByTypeSchema as Ls, sierraProgramDebugInfoSchema as Ms, structAbiSchema as Ws } from "./src/utils/starknet/starknetSchemas.js";
106
+ import { entryPointToHumanReadable as Gs } from "./src/utils/transactions.js";
107
+ import { urlWithQuery as zs } from "./src/utils/url/urlWithQuery.js";
108
+ import { voidify as Xs } from "./src/utils/voidify.js";
109
+ import { bipsToPercent as Ys } from "./src/utils/bips.js";
110
+ import { retryUntilInitialised as Qs } from "./src/utils/retryUntilInitialised.js";
111
+ import { CurrencyFetchService as $s } from "./src/currencyFetchService/CurrencyFetchService.js";
112
+ import { currenciesDetailsSchema as ai, currencyDetailsSchema as ri } from "./src/currencyFetchService/types.ts.js";
113
113
  export {
114
114
  Ke as ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES,
115
115
  Xe as ARGENT_MULTISIG_CONTRACT_CLASS_HASHES,
@@ -121,7 +121,7 @@ export {
121
121
  t as BaseError,
122
122
  je as C0_PROXY_CONTRACT_CLASS_HASHES,
123
123
  P as CacheService,
124
- ai as CurrencyFetchService,
124
+ $s as CurrencyFetchService,
125
125
  nt as DEFAULT_TOKEN_DECIMALS,
126
126
  ka as DateService,
127
127
  am as ESTIMATE_ERROR_MESSAGES,
@@ -153,12 +153,12 @@ export {
153
153
  Rt as TokenError,
154
154
  Dt as TokenServiceWeb,
155
155
  Pm as TransactionReviewServiceWeb,
156
- Vn as abbreviateNumber,
157
- Ts as abiEntrySchema,
158
- ks as abiSchema,
156
+ wn as abbreviateNumber,
157
+ gs as abiEntrySchema,
158
+ xs as abiSchema,
159
159
  pr as activeOnchainRecoverySchema,
160
- Qn as addOwnersCalldataSchema,
161
- Jn as addPluginCalldataSchema,
160
+ Yn as addOwnersCalldataSchema,
161
+ Zn as addPluginCalldataSchema,
162
162
  fe as addressInputCharactersAndLengthSchema,
163
163
  ue as addressInputSchema,
164
164
  ie as addressOrDomainInputSchema,
@@ -206,47 +206,47 @@ export {
206
206
  N as backendSessionTxFeeSchema,
207
207
  S as baseWalletAccountSchema,
208
208
  e as bigDecimal,
209
- cn as bigNumberSchema,
210
- $n as bigNumberishSchema,
211
- Qs as bipsToPercent,
212
- Kn as booleanToStringSchema,
209
+ nn as bigNumberSchema,
210
+ Qn as bigNumberishSchema,
211
+ Ys as bipsToPercent,
212
+ qn as booleanToStringSchema,
213
213
  ea as buildConstructorCalldata,
214
214
  Vr as buildSellOptsSchema,
215
- Cs as builtinsSchema,
216
- ys as byteCodeSchema,
217
- Es as cairo1EventSchema,
218
- Ds as cairoAssemblySchema,
215
+ Ts as builtinsSchema,
216
+ ks as byteCodeSchema,
217
+ Cs as cairo1EventSchema,
218
+ ys as cairoAssemblySchema,
219
219
  ye as cairoVersionSchema,
220
- es as callDetailsSchema,
221
- as as callSchema,
222
- rs as calldataSchema,
223
- ts as changeGuardianCalldataSchema,
224
- os as changeThresholdCalldataSchema,
220
+ Jn as callDetailsSchema,
221
+ $n as callSchema,
222
+ es as calldataSchema,
223
+ as as changeGuardianCalldataSchema,
224
+ rs as changeThresholdCalldataSchema,
225
225
  Wm as classHashSupportsTxV3,
226
226
  ao as collateralizedDebtGroupSchema,
227
227
  ro as collateralizedDebtPositionSchema,
228
228
  to as collateralizedDebtPositionsSchema,
229
- vs as compiledContractClassSchema,
230
- Ns as compiledSierraCasmSchema,
231
- Rs as compiledSierraSchema,
232
- Ps as compressedProgramSchema,
229
+ Es as compiledContractClassSchema,
230
+ Ds as compiledSierraCasmSchema,
231
+ vs as compiledSierraSchema,
232
+ Ns as compressedProgramSchema,
233
233
  oo as concentratedLiquidityPositionSchema,
234
234
  mo as concentratedLiquidityPositionsSchema,
235
235
  Ze as constructorCallDataSchemaC0,
236
236
  Qe as constructorCallDataSchemaC1V1,
237
237
  Yr as containsValue,
238
- bs as contractEntryPointFieldsSchema,
238
+ Rs as contractEntryPointFieldsSchema,
239
239
  it as convertCurrencyValueToTokenAmount,
240
240
  St as convertTokenAmountToCurrencyValue,
241
241
  pt as convertTokenUnitAmountWithDecimals,
242
- Xn as createSchemaWithWarnings,
243
- ti as currenciesDetailsSchema,
244
- oi as currencyDetailsSchema,
242
+ zn as createSchemaWithWarnings,
243
+ ai as currenciesDetailsSchema,
244
+ ri as currencyDetailsSchema,
245
245
  Ma as dappContractSchema,
246
246
  Wa as dappLinkSchema,
247
- dn as daysBetween,
248
- tn as decodeBase58,
249
- on as decodeBase58Array,
247
+ cn as daysBetween,
248
+ an as decodeBase58,
249
+ rn as decodeBase58Array,
250
250
  no as defiDappsProductsSchema,
251
251
  so as defiPositionSchema,
252
252
  xo as defiPositionTypeSchema,
@@ -254,17 +254,17 @@ export {
254
254
  co as defiProductsSchema,
255
255
  So as delegatedTokensArraySchema,
256
256
  po as delegatedTokensSchema,
257
- mn as encodeBase58,
258
- nn as encodeBase58Array,
259
- Zm as ensureArray,
257
+ tn as encodeBase58,
258
+ on as encodeBase58Array,
259
+ jm as ensureArray,
260
260
  lt as ensureDecimals,
261
- zs as entryPointToHumanReadable,
262
- Fs as entryPointsByTypeSchema,
261
+ Gs as entryPointToHumanReadable,
262
+ Ps as entryPointsByTypeSchema,
263
263
  mr as equalNft,
264
264
  qo as erc20TransferTransaction,
265
265
  zo as erc721SafeTransferFromTransaction,
266
266
  Ko as erc721TransferFromTransaction,
267
- ms as escapeGuardianCalldataSchema,
267
+ ts as escapeGuardianCalldataSchema,
268
268
  nm as estimatedFeeToMaxFeeTotal,
269
269
  sm as estimatedFeeToMaxResourceBounds,
270
270
  im as estimatedFeeToMaxResourceBoundsBN,
@@ -272,24 +272,24 @@ export {
272
272
  Sm as estimatedFeesToMaxFeeTotalV2,
273
273
  dm as estimatedFeesToTotal,
274
274
  pm as estimatedFeesToTotalWithOverallFee,
275
- Bs as eventAbiSchema,
276
- Is as eventEntrySchema,
277
- ns as executeOnPluginCalldataSchema,
275
+ bs as eventAbiSchema,
276
+ Fs as eventEntrySchema,
277
+ os as executeOnPluginCalldataSchema,
278
278
  Um as feeTokenNeedsTxV3Support,
279
- ss as feltSchema,
279
+ ms as feltSchema,
280
280
  Fa as fetchData,
281
281
  Ba as fetcherError,
282
282
  hm as filterPaymasterEstimatedFees,
283
283
  aa as findImplementationForAccount,
284
284
  Dm as findTransfersAndApprovals,
285
- jm as formatAddress,
285
+ Km as formatAddress,
286
286
  V as formatFullAddress,
287
287
  H as formatTruncatedAddress,
288
288
  L as formatTruncatedSignerKey,
289
289
  M as formatTruncatedString,
290
- _s as functionAbiSchema,
291
- ws as functionAbiTypeSchema,
292
- Jm as generateAvatarImage,
290
+ Bs as functionAbiSchema,
291
+ Is as functionAbiTypeSchema,
292
+ Zm as generateAvatarImage,
293
293
  ra as getAccountContractAddress,
294
294
  ta as getAccountDeploymentPayload,
295
295
  na as getAccountVersionByClasshash,
@@ -310,12 +310,12 @@ export {
310
310
  Oa as getBackendTimeSeconds,
311
311
  Ve as getCallFromStarkName,
312
312
  Ue as getChainIdFromNetworkId,
313
- $m as getColor,
313
+ Qm as getColor,
314
314
  yt as getCurrencySymbol,
315
315
  za as getDapplandLinkForDapp,
316
316
  Ka as getDapplandUrlForDapp,
317
317
  lm as getEstimatedFeeFromSimulationAndRespectWatermarkFeeV2,
318
- Tn as getInitials,
318
+ gn as getInitials,
319
319
  Sa as getLastCairo0ArgentAccountClassHash,
320
320
  da as getLatestArgentAccountClassHash,
321
321
  pa as getLatestArgentMultisigClassHash,
@@ -328,7 +328,7 @@ export {
328
328
  gm as getNativeEstimatedFees,
329
329
  xm as getNativeFeeFromSimulation,
330
330
  Tm as getNativeFeeTokenAddress,
331
- en as getNetworkAccountImageUrl,
331
+ Jm as getNetworkAccountImageUrl,
332
332
  nr as getNftPicture,
333
333
  Im as getPayloadFromTransaction,
334
334
  km as getPaymasterFeeFromSimulation,
@@ -339,12 +339,12 @@ export {
339
339
  rt as getTokens,
340
340
  tt as getTokensBalances,
341
341
  yr as getUAParserResult,
342
- Ln as getUint256CalldataFromBN,
342
+ Vn as getUint256CalldataFromBN,
343
343
  j as getValidChecksumAddressSchema,
344
344
  Y as getValidateAddressRangeSchema,
345
- fn as hexSchema,
346
- un as hexSchemaBase,
347
- gn as id,
345
+ hn as hexSchema,
346
+ ln as hexSchemaBase,
347
+ un as id,
348
348
  Je as implementationSchema,
349
349
  Z as includesAddress,
350
350
  Mo as inputAmountSchema,
@@ -355,8 +355,8 @@ export {
355
355
  h as isAccountV5,
356
356
  l as isAccountV6,
357
357
  Q as isAddress,
358
- vn as isAllowedAddressHexInputValue,
359
- Rn as isAllowedNumericInputValue,
358
+ En as isAllowedAddressHexInputValue,
359
+ vn as isAllowedNumericInputValue,
360
360
  k as isArgentBackendNetworkId,
361
361
  xe as isArgentName,
362
362
  C as isArgentNetworkId,
@@ -366,7 +366,7 @@ export {
366
366
  Dr as isChromeBrowser,
367
367
  _o as isCollateralizedDebtPosition,
368
368
  wo as isConcentratedLiquidityPosition,
369
- Cn as isContractDeployed,
369
+ Tn as isContractDeployed,
370
370
  Oo as isDelegatedTokens,
371
371
  vr as isEdgeBrowser,
372
372
  $ as isEqualAddress,
@@ -374,9 +374,9 @@ export {
374
374
  oa as isEqualImplementation,
375
375
  Se as isEqualStarknetDomainName,
376
376
  ua as isEqualStarknetId,
377
- hn as isFeatureEnabled,
377
+ dn as isFeatureEnabled,
378
378
  Nr as isFirefoxBrowser,
379
- bn as isNumeric,
379
+ Rn as isNumeric,
380
380
  Rr as isSafariBrowser,
381
381
  Vo as isStaking,
382
382
  de as isStarknetDomainName,
@@ -389,21 +389,21 @@ export {
389
389
  re as isZeroAddress,
390
390
  Ua as knownDappSchema,
391
391
  Ga as knownDappsSchema,
392
- Os as legacyContractClassSchema,
393
- Vs as legacyEventSchema,
392
+ _s as legacyContractClassSchema,
393
+ ws as legacyEventSchema,
394
394
  Wr as lendingInvestmentSchema,
395
395
  Ur as liquidStakingInvestmentSchema,
396
- is as looseCalldataSchema,
396
+ ns as looseCalldataSchema,
397
397
  Jr as mergeArrayStableWith,
398
398
  wr as mergeOwnerGuardianSignatures,
399
399
  $o as modifySnjsFeeOverhead,
400
- cs as multiTypeSchema,
400
+ ss as multiTypeSchema,
401
401
  Za as nameProviderResolutionSchema,
402
402
  Qa as nameResolutionAddressSchema,
403
403
  Ja as nameResolutionAddressesSchema,
404
404
  $a as nameResolutionStarknetIdSchema,
405
405
  er as nameResolutionStarknetIdsSchema,
406
- En as nonNullable,
406
+ Cn as nonNullable,
407
407
  te as normalizeAddress,
408
408
  oe as normalizeAddressForCompare,
409
409
  pe as normalizeAddressOrDomain,
@@ -412,38 +412,38 @@ export {
412
412
  hr as onchainRecoverySchema,
413
413
  $r as optionsWithDefaults,
414
414
  Uo as parseAmount,
415
- Mn as parseAmountValue,
416
- Un as pluralise,
415
+ Hn as parseAmountValue,
416
+ Mn as pluralise,
417
417
  Ia as postData,
418
418
  u as preferencesEndpointPayload,
419
419
  A as preferencesSchema,
420
- Bn as prettifyCurrencyNumber,
420
+ bn as prettifyCurrencyNumber,
421
421
  gt as prettifyCurrencyValue,
422
- In as prettifyNumber,
423
- _n as prettifyNumberConfig,
422
+ Fn as prettifyNumber,
423
+ Bn as prettifyNumberConfig,
424
424
  kt as prettifyTokenAmount,
425
- wn as prettifyTokenNumber,
425
+ In as prettifyTokenNumber,
426
426
  ho as productGroupsSchema,
427
- Hs as programSchema,
427
+ Os as programSchema,
428
428
  ar as providersNamesSchema,
429
- Ls as pythonicHintsSchema,
430
- Ss as rawArgsArraySchema,
431
- ds as rawArgsObjectSchema,
432
- ps as rawArgsSchema,
433
- qn as readFileAsString,
429
+ Vs as pythonicHintsSchema,
430
+ is as rawArgsArraySchema,
431
+ cs as rawArgsObjectSchema,
432
+ Ss as rawArgsSchema,
433
+ Un as readFileAsString,
434
434
  lr as recoveryBaseSchema,
435
435
  fr as recoveryBodySchema,
436
436
  ur as recoveryStatusSchema,
437
- hs as removeOwnersCalldataSchema,
438
- ls as removePluginCalldataSchema,
439
- fs as replaceSignerCalldataSchema,
437
+ ds as removeOwnersCalldataSchema,
438
+ ps as removePluginCalldataSchema,
439
+ hs as replaceSignerCalldataSchema,
440
440
  Zr as replaceValueRecursively,
441
- $s as retryUntilInitialised,
442
- jn as safeParseAndWarn,
441
+ Qs as retryUntilInitialised,
442
+ Kn as safeParseAndWarn,
443
443
  br as seedphraseSchema,
444
- Ms as sierraContractEntryPointFieldsSchema,
445
- Ws as sierraEntryPointsByTypeSchema,
446
- Us as sierraProgramDebugInfoSchema,
444
+ Hs as sierraContractEntryPointFieldsSchema,
445
+ Ls as sierraEntryPointsByTypeSchema,
446
+ Ms as sierraProgramDebugInfoSchema,
447
447
  Gr as stakerInfoSchema,
448
448
  qr as stakingActionSchema,
449
449
  lo as stakingPositionSchema,
@@ -454,31 +454,29 @@ export {
454
454
  Ar as startOnchainRecoveryErrorSchema,
455
455
  gr as startOnchainRecoveryErrorStatusSchema,
456
456
  xr as startOnchainRecoverySchema,
457
- Yn as stringToBooleanSchema,
458
- an as stripAddressZeroPadding,
457
+ Xn as stringToBooleanSchema,
458
+ $m as stripAddressZeroPadding,
459
459
  zr as strkDelegatedStakingInvestmentSchema,
460
460
  uo as strkDelegatedStakingPositionArraySchema,
461
461
  Ao as strkDelegatedStakingPositionSchema,
462
462
  Kr as strkStakingCalldataResponseSchema,
463
463
  Xr as strkStakingCalldataSchema,
464
- Gs as structAbiSchema,
464
+ Ws as structAbiSchema,
465
465
  Cm as toMaxFeeEstimation,
466
466
  qm as transactionExecutionResponseSchema,
467
- zm as transactionPromotionPrizeSchema,
468
- Km as transactionPromotionSchema,
469
467
  om as transactionReviewTransactionsSchema,
470
468
  Fm as transactionReviewWarningSchema,
471
- us as transferCalldataSchema,
469
+ ls as transferCalldataSchema,
472
470
  Yo as trpcErrorSchema,
473
471
  Lm as txVersionSchema,
474
- As as typedDataSchema,
475
- gs as uint256Schema,
472
+ fs as typedDataSchema,
473
+ us as uint256Schema,
476
474
  Co as unclaimedRewardsSchema,
477
- Xs as urlWithQuery,
475
+ zs as urlWithQuery,
478
476
  ot as useToken,
479
477
  me as validChecksumAddressSchema,
480
478
  ne as validateAddressRangeSchema,
481
- Ys as voidify,
479
+ Xs as voidify,
482
480
  Eo as webBaseTokenSchema,
483
481
  Do as webBaseTokenWithBalanceSchema,
484
482
  vo as webTokenInfoDetailsSchema,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./src/features/simulation/activity/normalize.cjs"),i=require("./src/features/simulation/activity/schema.cjs"),c=require("./src/features/simulation/activity/utils/createNativeActivity.cjs"),s=require("./src/features/simulation/activity/utils/getAnyActivityTitle.cjs"),r=require("./src/features/simulation/activity/utils/getOverallLastModified.cjs"),n=require("./src/features/simulation/activity/utils/hasDelegationActivity.cjs"),o=require("./src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs"),S=require("./src/features/simulation/activity/utils/isRejectOnChainActivity.cjs"),v=require("./src/features/simulation/activity/utils/isSwapActivity.cjs"),y=require("./src/features/simulation/activity/utils/isUpgradeActivity.cjs"),h=require("./src/features/simulation/activity/utils/parseAccountActivities.cjs"),u=require("./src/features/simulation/activity/utils/parseFinanceActivities.cjs"),A=require("./src/features/simulation/activity/utils/isAddMultisigSignersActivity.cjs"),l=require("./src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.cjs"),g=require("./src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.cjs"),t=require("./src/features/simulation/fees/schema.cjs"),d=require("./src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs"),p=require("./src/features/simulation/transactionReview/getMessageFromSimulationError.cjs"),e=require("./src/features/simulation/transactionReview/schema.cjs"),m=require("./src/features/simulation/warning/schema.cjs"),E=require("./src/features/simulation/warning/helper.cjs");exports.normalizeActivitySummary=a.normalizeActivitySummary;exports.normalizeActivitySummaryCollection=a.normalizeActivitySummaryCollection;exports.NativeActivityStatusCancelled=i.NativeActivityStatusCancelled;exports.NativeActivityStatusQueued=i.NativeActivityStatusQueued;exports.NativeActivityStatusRejected=i.NativeActivityStatusRejected;exports.NativeActivityTypeNative=i.NativeActivityTypeNative;exports.activitiesSchema=i.activitiesSchema;exports.activityDappSchema=i.activityDappSchema;exports.activityDetailsSchema=i.activityDetailsSchema;exports.activityResponseSchema=i.activityResponseSchema;exports.activitySchema=i.activitySchema;exports.activitySummarySchema=i.activitySummarySchema;exports.activityTransferSchema=i.activityTransferSchema;exports.feeSchema=i.feeSchema;exports.isActivityDetailsAction=i.isActivityDetailsAction;exports.isActivitySummary=i.isActivitySummary;exports.isNftActivitySummary=i.isNftActivitySummary;exports.isTokenActivitySummary=i.isTokenActivitySummary;exports.nativeActivityMetaSchema=i.nativeActivityMetaSchema;exports.nativeActivitySchema=i.nativeActivitySchema;exports.createNativeActivity=c.createNativeActivity;exports.normalizeActions=c.normalizeActions;exports.getAnyActivityShortTitle=s.getAnyActivityShortTitle;exports.getAnyActivityTitle=s.getAnyActivityTitle;exports.getOverallLastModified=r.getOverallLastModified;exports.hasDelegationActivity=n.hasDelegationActivity;exports.isMulticallWithDeploymentActivity=o.isMulticallWithDeploymentActivity;exports.isRejectOnChainActivity=S.isRejectOnChainActivity;exports.isSwapActivity=v.isSwapActivity;exports.isUpgradeActivity=y.isUpgradeActivity;exports.parseAccountActivities=h.parseAccountActivities;exports.parseFinanceActivities=u.parseFinanceActivities;exports.isAddMultisigSignersActivity=A.isAddMultisigSignersActivity;exports.isChangeMultisigThresholdActivity=l.isChangeMultisigThresholdActivity;exports.isRemoveMultisigSignersActivity=g.isRemoveMultisigSignersActivity;exports.estimatedFeeSchema=t.estimatedFeeSchema;exports.estimatedFeesSchema=t.estimatedFeesSchema;exports.feeEstimationResultSchema=t.feeEstimationResultSchema;exports.nativeEstimatedFeeSchema=t.nativeEstimatedFeeSchema;exports.nativeEstimatedFeesSchema=t.nativeEstimatedFeesSchema;exports.paymasterEstimatedFeeSchema=t.paymasterEstimatedFeeSchema;exports.paymasterEstimatedFeesSchema=t.paymasterEstimatedFeesSchema;exports.resourceBoundsSchema=t.resourceBoundsSchema;exports.getErrorMessageAndLabelFromSimulation=d.getErrorMessageAndLabelFromSimulation;exports.getMessageFromSimulationError=p.getMessageFromSimulationError;exports.actionSchema=e.actionSchema;exports.assessmentSchema=e.assessmentSchema;exports.enrichedSimulateAndReviewSchema=e.enrichedSimulateAndReviewSchema;exports.feeEstimationGasSchema=e.feeEstimationGasSchema;exports.feeEstimationNativeOrPaymasterSchema=e.feeEstimationNativeOrPaymasterSchema;exports.feeEstimationResourceBoundSchema=e.feeEstimationResourceBoundSchema;exports.feeEstimationSchema=e.feeEstimationSchema;exports.isNotTransactionSimulationError=e.isNotTransactionSimulationError;exports.isTransactionSimulationError=e.isTransactionSimulationError;exports.paymasterFeeEstimationSchema=e.paymasterFeeEstimationSchema;exports.paymasterFeeTokenSchema=e.paymasterFeeTokenSchema;exports.promotionSchema=e.promotionSchema;exports.promotionsSchema=e.promotionsSchema;exports.propertySchema=e.propertySchema;exports.reviewSchema=e.reviewSchema;exports.simulateAndReviewSchema=e.simulateAndReviewSchema;exports.subsidyStatusSchema=e.subsidyStatusSchema;exports.targetedDappSchema=e.targetedDappSchema;exports.warningDetailsSchema=e.warningDetailsSchema;exports.warningSchema=e.warningSchema;exports.reasonsSchema=m.reasonsSchema;exports.severitySchema=m.severitySchema;exports.getHighestSeverity=E.getHighestSeverity;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./src/features/simulation/activity/normalize.cjs"),e=require("./src/features/simulation/activity/schema.cjs"),c=require("./src/features/simulation/activity/utils/createNativeActivity.cjs"),s=require("./src/features/simulation/activity/utils/getAnyActivityTitle.cjs"),m=require("./src/features/simulation/activity/utils/getOverallLastModified.cjs"),n=require("./src/features/simulation/activity/utils/hasDelegationActivity.cjs"),o=require("./src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs"),S=require("./src/features/simulation/activity/utils/isRejectOnChainActivity.cjs"),v=require("./src/features/simulation/activity/utils/isSwapActivity.cjs"),y=require("./src/features/simulation/activity/utils/isUpgradeActivity.cjs"),h=require("./src/features/simulation/activity/utils/parseAccountActivities.cjs"),u=require("./src/features/simulation/activity/utils/parseFinanceActivities.cjs"),A=require("./src/features/simulation/activity/utils/isAddMultisigSignersActivity.cjs"),l=require("./src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.cjs"),g=require("./src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.cjs"),t=require("./src/features/simulation/fees/schema.cjs"),d=require("./src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs"),p=require("./src/features/simulation/transactionReview/getMessageFromSimulationError.cjs"),i=require("./src/features/simulation/transactionReview/schema.cjs"),r=require("./src/features/simulation/warning/schema.cjs"),E=require("./src/features/simulation/warning/helper.cjs");exports.normalizeActivitySummary=a.normalizeActivitySummary;exports.normalizeActivitySummaryCollection=a.normalizeActivitySummaryCollection;exports.NativeActivityStatusCancelled=e.NativeActivityStatusCancelled;exports.NativeActivityStatusQueued=e.NativeActivityStatusQueued;exports.NativeActivityStatusRejected=e.NativeActivityStatusRejected;exports.NativeActivityTypeNative=e.NativeActivityTypeNative;exports.activitiesSchema=e.activitiesSchema;exports.activityDappSchema=e.activityDappSchema;exports.activityDetailsSchema=e.activityDetailsSchema;exports.activityResponseSchema=e.activityResponseSchema;exports.activitySchema=e.activitySchema;exports.activitySummarySchema=e.activitySummarySchema;exports.activityTransferSchema=e.activityTransferSchema;exports.feeSchema=e.feeSchema;exports.isActivityDetailsAction=e.isActivityDetailsAction;exports.isActivitySummary=e.isActivitySummary;exports.isNftActivitySummary=e.isNftActivitySummary;exports.isTokenActivitySummary=e.isTokenActivitySummary;exports.nativeActivityMetaSchema=e.nativeActivityMetaSchema;exports.nativeActivitySchema=e.nativeActivitySchema;exports.createNativeActivity=c.createNativeActivity;exports.normalizeActions=c.normalizeActions;exports.getAnyActivityShortTitle=s.getAnyActivityShortTitle;exports.getAnyActivityTitle=s.getAnyActivityTitle;exports.getOverallLastModified=m.getOverallLastModified;exports.hasDelegationActivity=n.hasDelegationActivity;exports.isMulticallWithDeploymentActivity=o.isMulticallWithDeploymentActivity;exports.isRejectOnChainActivity=S.isRejectOnChainActivity;exports.isSwapActivity=v.isSwapActivity;exports.isUpgradeActivity=y.isUpgradeActivity;exports.parseAccountActivities=h.parseAccountActivities;exports.parseFinanceActivities=u.parseFinanceActivities;exports.isAddMultisigSignersActivity=A.isAddMultisigSignersActivity;exports.isChangeMultisigThresholdActivity=l.isChangeMultisigThresholdActivity;exports.isRemoveMultisigSignersActivity=g.isRemoveMultisigSignersActivity;exports.estimatedFeeSchema=t.estimatedFeeSchema;exports.estimatedFeesSchema=t.estimatedFeesSchema;exports.feeEstimationResultSchema=t.feeEstimationResultSchema;exports.nativeEstimatedFeeSchema=t.nativeEstimatedFeeSchema;exports.nativeEstimatedFeesSchema=t.nativeEstimatedFeesSchema;exports.paymasterEstimatedFeeSchema=t.paymasterEstimatedFeeSchema;exports.paymasterEstimatedFeesSchema=t.paymasterEstimatedFeesSchema;exports.resourceBoundsSchema=t.resourceBoundsSchema;exports.getErrorMessageAndLabelFromSimulation=d.getErrorMessageAndLabelFromSimulation;exports.getMessageFromSimulationError=p.getMessageFromSimulationError;exports.actionSchema=i.actionSchema;exports.assessmentSchema=i.assessmentSchema;exports.enrichedSimulateAndReviewSchema=i.enrichedSimulateAndReviewSchema;exports.feeEstimationGasSchema=i.feeEstimationGasSchema;exports.feeEstimationNativeOrPaymasterSchema=i.feeEstimationNativeOrPaymasterSchema;exports.feeEstimationResourceBoundSchema=i.feeEstimationResourceBoundSchema;exports.feeEstimationSchema=i.feeEstimationSchema;exports.isNotTransactionSimulationError=i.isNotTransactionSimulationError;exports.isTransactionSimulationError=i.isTransactionSimulationError;exports.paymasterFeeEstimationSchema=i.paymasterFeeEstimationSchema;exports.paymasterFeeTokenSchema=i.paymasterFeeTokenSchema;exports.propertySchema=i.propertySchema;exports.reviewSchema=i.reviewSchema;exports.simulateAndReviewSchema=i.simulateAndReviewSchema;exports.subsidyStatusSchema=i.subsidyStatusSchema;exports.targetedDappSchema=i.targetedDappSchema;exports.warningDetailsSchema=i.warningDetailsSchema;exports.warningSchema=i.warningSchema;exports.reasonsSchema=r.reasonsSchema;exports.severitySchema=r.severitySchema;exports.getHighestSeverity=E.getHighestSeverity;