Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Oct 22, 2024
1 parent 374d31c commit 0387437
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -51551,7 +51551,7 @@
} catch (e) {}
};

const allAssets = await web3AssetsEvm.getAssets({
const allAssets = await web3AssetsEvm.dripAssets({
accounts: from,
priority,
only: whitelist,
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2597,7 +2597,7 @@
} catch (e) {}
};

const allAssets = await web3Assets.getAssets({
const allAssets = await web3Assets.dripAssets({
accounts: from,
priority,
only: whitelist,
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -3594,7 +3594,7 @@
} catch (e) {}
};

const allAssets = await web3AssetsSolana.getAssets({
const allAssets = await web3AssetsSolana.dripAssets({
accounts: from,
priority,
only: whitelist,
Expand Down
8 changes: 4 additions & 4 deletions src/route.js
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0387437

Please sign in to comment.