Closed kamalbuilds closed 3 weeks ago
@chillios-dev Please help fix this error , stuck at this from many hours
@kamalbuilds try newest build versions - it seems like @swapkit/helpers
didn't release properly with rest packages
@chillios-dev theres one more coming from inside the packages.
By debugging I found it to occur from this file , https://github.com/thorswap/SwapKit/blob/develop/packages/wallets/keystore/src/keystore.ts#L253
The core of this issue has been resolved - if there are any new ones - please create new issue with info of versions used and setup of framework with code samples
Current behavior
ModuleDependencyError: export 'getMemoForNamePreferredAssetRegister' (imported as 'j1') was not found in '@swapkit/helpers' (possible exports: AGG_SWAP, ApproveMode, AssetValue, BaseDecimal, BigIntArithmetics, Chain, ChainId, ChainIdToChain, ChainToChainId, ChainToExplorerUrl, ChainToHexChainId, ChainToRPC, CommonAssetStrings, ContractAddress, CosmosChains, DerivationPath, EVMChains, EVMTransactionDetailsParamsSchema, EVMTransactionDetailsSchema, EstimatedTimeSchema, ExplorerUrl, FeeOption, FeeTypeEnum, FeesSchema, LedgerErrorCode, MAYASupportedChains, MayaArbitrumVaultAbi, MayaEthereumVaultAbi, MemoType, NetworkDerivationPath, ProviderName, QuoteMode, QuoteRequestSchema, QuoteResponseSchema, RPCUrl, RequestClient, RouteLegSchema, RouteLegWithoutAddressesSchema, RouteQuoteLegSchema, RouteQuoteMetadataAssetSchema, RouteQuoteMetadataSchema, RouteQuoteSchema, RouteQuoteWarningSchema, SWAP_IN, SWAP_OUT, SubstrateChains, SwapKitError, SwapKitNumber, TCAvalancheDepositABI, TCBscDepositABI, TCEthereumVaultAbi, TCSupportedChains, UTXOChains, WalletOption, WarningCodeEnum, addAccountsChangedCallback, addEVMWalletNetwork, assetFromString, defaultRequestHeaders, derivationPathToString, erc20ABI, filterAssets, findAssetBy, formatBigIntToSafeValue, getAssetType, getAsymmetricAssetShare, getAsymmetricAssetWithdrawAmount, getAsymmetricRuneShare, getAsymmetricRuneWithdrawAmount, getChainIdentifier, getCommonAssetInfo, getDecimal, getDerivationPathFor, getEIP6963Wallets, getETHDefaultWallet, getEstimatedPoolShare, getGasAsset, getLiquiditySlippage, getMAYANameCost, getMemoFor, getMemoForDeposit, getMemoForLeaveAndBond, getMemoForLoan, getMemoForNameRegister, getMemoForSaverDeposit, getMemoForSaverWithdraw, getMemoForUnbond, getMemoForWithdraw, getMinAmountByChain, getSymmetricPoolShare, getSymmetricWithdraw, getTHORNameCost, getWalletFormatFor, isDetected, isGasAsset, isWeb3Detected, listWeb3EVMWallets, okxMobileEnabled, prepareNetworkSwitch, setRequestClientConfig, switchEVMWalletNetwork, validateIdentifier, validateTNS, warnOnce, wrapMethodWithNetworkSwitch, wrapWithThrow)
Expected behavior
This error should not come
Functionality
Packages
Details
Package versions: