File tree Expand file tree Collapse file tree 5 files changed +4
-6
lines changed Expand file tree Collapse file tree 5 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
export * from "./validate" ;
2
- export * from "./evm" ;
3
2
export * from "./request" ;
4
3
export * from "./error" ;
5
4
export * from "./misc" ;
6
- export * from "./near" ;
7
5
export * from "./openai" ;
Original file line number Diff line number Diff line change 4
4
erc20Approve ,
5
5
checkAllowance ,
6
6
getTokenInfo ,
7
- } from "../../src" ;
7
+ } from "../../src/evm " ;
8
8
import { getClientForChain } from "../../src/evm/client" ;
9
9
10
10
describe ( "ERC20 Utilities" , ( ) => {
Original file line number Diff line number Diff line change 2
2
getSafeBalances ,
3
3
flatSafeBalances ,
4
4
zerionToTokenBalance ,
5
- } from "../../src" ;
5
+ } from "../../src/evm " ;
6
6
describe ( "getSafeBalances" , ( ) => {
7
7
const originalWarn = console . warn ;
8
8
Original file line number Diff line number Diff line change 1
1
import { zeroAddress } from "viem" ;
2
- import { getTokenDetails , getTokenInfo } from "../../src" ;
2
+ import { getTokenDetails , getTokenInfo } from "../../src/evm " ;
3
3
describe ( "getTokenDetails" , ( ) => {
4
4
it ( "should fail to get token details for zero address" , async ( ) => {
5
5
await expect ( getTokenDetails ( 100 , zeroAddress ) ) . rejects . toThrow ( ) ; // or .rejects.toThrow("specific error message") if you want to check the message
Original file line number Diff line number Diff line change 4
4
getNativeAsset ,
5
5
unwrapMetaTransaction ,
6
6
wrapMetaTransaction ,
7
- } from "../../src/evm/weth " ;
7
+ } from "../../src/evm" ;
8
8
9
9
describe ( "evm/weth" , ( ) => {
10
10
// Existing tests
You can’t perform that action at this time.
0 commit comments