File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2323 "@tanstack/vue-query" : " 5.62.7" ,
2424 "interchain-vue" : " 1.6.2" ,
2525 "osmojs" : " ^16.15.0" ,
26+ "bignumber.js" : " 9.1.0" ,
2627 "vue" : " ^3.5.13" ,
2728 "vue-router" : " ^4.5.0"
2829 },
Original file line number Diff line number Diff line change 1- import { Asset , AssetList } from '@chain-registry/types' ;
2- import { asset_lists as ibcAssetLists } from '@chain-registry/assets ' ;
3- import { assets as chainAssets } from 'chain-registry' ;
1+ import { Asset , AssetList } from '@chain-registry/v2- types' ;
2+ import { assetLists as ibcAssetLists } from '@chain-registry/v2 ' ;
3+ import { assetLists as chainAssets } from '@ chain-registry/v2 ' ;
44import { Ref } from 'vue'
55
66
77export const useAssets = ( chainName : Ref < string > ) => {
88 const filterAssets = ( assetList : AssetList [ ] ) : Asset [ ] => {
99 return (
1010 assetList
11- . find ( ( { chain_name } ) => chain_name === chainName . value )
12- ?. assets ?. filter ( ( { type_asset } ) => type_asset !== 'ics20' ) || [ ]
11+ . find ( ( { chainName : name } ) => name === chainName . value )
12+ ?. assets ?. filter ( ( { typeAsset : ta } ) => ta !== 'ics20' ) || [ ]
1313 ) ;
1414 } ;
1515
You can’t perform that action at this time.
0 commit comments