diff --git a/dist/esm/index.evm.js b/dist/esm/index.evm.js index c58af3a..801650e 100644 --- a/dist/esm/index.evm.js +++ b/dist/esm/index.evm.js @@ -1,6 +1,6 @@ import Blockchains from '@depay/web3-blockchains'; import { ethers } from 'ethers'; -import { getAssets } from '@depay/web3-assets-evm'; +import { dripAssets } from '@depay/web3-assets-evm'; import Exchanges from '@depay/web3-exchanges-evm'; import Token$1 from '@depay/web3-tokens-evm'; @@ -51545,7 +51545,7 @@ function route({ accept, from, whitelist, blacklist, drip }) { } catch (e) {} }; - const allAssets = await getAssets({ + const allAssets = await dripAssets({ accounts: from, priority, only: whitelist, diff --git a/dist/esm/index.js b/dist/esm/index.js index 4bbe28d..436462e 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -2,7 +2,7 @@ import Blockchains from '@depay/web3-blockchains'; import { BN, struct, u64, i64, u128, bool, Connection, ACCOUNT_LAYOUT, PublicKey, Keypair, SystemProgram, Buffer, TransactionInstruction, publicKey } from '@depay/solana-web3.js'; import { ethers } from 'ethers'; import Token from '@depay/web3-tokens'; -import { getAssets } from '@depay/web3-assets'; +import { dripAssets } from '@depay/web3-assets'; import Exchanges from '@depay/web3-exchanges'; var solanaRouters = { @@ -2592,7 +2592,7 @@ function route({ accept, from, whitelist, blacklist, drip }) { } catch (e) {} }; - const allAssets = await getAssets({ + const allAssets = await dripAssets({ accounts: from, priority, only: whitelist, diff --git a/dist/esm/index.solana.js b/dist/esm/index.solana.js index edb325c..63a8fd2 100644 --- a/dist/esm/index.solana.js +++ b/dist/esm/index.solana.js @@ -1,7 +1,7 @@ import Blockchains from '@depay/web3-blockchains'; import { BN, struct, u64, i64, u128, bool, ACCOUNT_LAYOUT, PublicKey, Connection, u32, publicKey, u8, rustEnum, str, u16, option, vec, Buffer, TransactionInstruction, SystemProgram, Keypair } from '@depay/solana-web3.js'; import { ethers } from 'ethers'; -import { getAssets } from '@depay/web3-assets-solana'; +import { dripAssets } from '@depay/web3-assets-solana'; import Exchanges from '@depay/web3-exchanges-solana'; import Token$1 from '@depay/web3-tokens-solana'; @@ -3589,7 +3589,7 @@ function route({ accept, from, whitelist, blacklist, drip }) { } catch (e) {} }; - const allAssets = await getAssets({ + const allAssets = await dripAssets({ accounts: from, priority, only: whitelist, diff --git a/dist/umd/index.evm.js b/dist/umd/index.evm.js index 1a628e2..b08d9dc 100644 --- a/dist/umd/index.evm.js +++ b/dist/umd/index.evm.js @@ -51551,7 +51551,7 @@ } catch (e) {} }; - const allAssets = await web3AssetsEvm.getAssets({ + const allAssets = await web3AssetsEvm.dripAssets({ accounts: from, priority, only: whitelist, diff --git a/dist/umd/index.js b/dist/umd/index.js index 578077c..77727fd 100644 --- a/dist/umd/index.js +++ b/dist/umd/index.js @@ -2597,7 +2597,7 @@ } catch (e) {} }; - const allAssets = await web3Assets.getAssets({ + const allAssets = await web3Assets.dripAssets({ accounts: from, priority, only: whitelist, diff --git a/dist/umd/index.solana.js b/dist/umd/index.solana.js index eaab55d..867dfc4 100644 --- a/dist/umd/index.solana.js +++ b/dist/umd/index.solana.js @@ -3594,7 +3594,7 @@ } catch (e) {} }; - const allAssets = await web3AssetsSolana.getAssets({ + const allAssets = await web3AssetsSolana.dripAssets({ accounts: from, priority, only: whitelist, diff --git a/src/route.js b/src/route.js index 2d1f722..c4c5bc3 100644 --- a/src/route.js +++ b/src/route.js @@ -1,18 +1,18 @@ /*#if _EVM -import { getAssets } from '@depay/web3-assets-evm' +import { dripAssets } from '@depay/web3-assets-evm' import Exchanges from '@depay/web3-exchanges-evm' import Token from '@depay/web3-tokens-evm' /*#elif _SOLANA -import { getAssets } from '@depay/web3-assets-solana' +import { dripAssets } from '@depay/web3-assets-solana' import Exchanges from '@depay/web3-exchanges-solana' import Token from '@depay/web3-tokens-solana' //#else */ -import { getAssets } from '@depay/web3-assets' +import { dripAssets } from '@depay/web3-assets' import Exchanges from '@depay/web3-exchanges' import Token from '@depay/web3-tokens' @@ -243,7 +243,7 @@ function route({ accept, from, whitelist, blacklist, drip }) { } catch {} } - const allAssets = await getAssets({ + const allAssets = await dripAssets({ accounts: from, priority, only: whitelist,