Skip to content

Commit 313ffee

Browse files
authored
Merge pull request #65 from DimensionDev/chore/lower-case
2 parents 8460e9e + 22c1399 commit 313ffee

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/providers/NFTScan.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export class NFTScanCollection implements NonFungibleCollectionProvider {
267267
id: collection.contract_address,
268268
address: collection.contract_address,
269269
name: collection.name,
270-
name_underscore: joinName(collection.name, '_'),
271-
name_connect: joinName(collection.name, ''),
270+
name_underscore: joinName(collection.name, '_').toLowerCase(),
271+
name_connect: joinName(collection.name, '').toLowerCase(),
272272
chainId: config.chainId,
273273
symbol: collection.symbol,
274274
logoURL: collection.logo_url,

src/providers/coingecko-collection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ export class CoinGeckoCollection implements NonFungibleCollectionProvider {
197197
id: x.id,
198198
address: x.contract_address,
199199
name: x.name,
200-
name_underscore: joinName(x.name, '_'),
201-
name_connect: joinName(x.name, ''),
200+
name_underscore: joinName(x.name, '_').toLowerCase(),
201+
name_connect: joinName(x.name, '').toLowerCase(),
202202
logoURL: x.image.small_2x || x.image.small,
203203
slug: detail?.web_slug,
204204
symbol: x.symbol,

src/providers/coingecko.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ export class CoinGecko implements FungibleTokenProvider {
132132
id: x.id,
133133
symbol: x.symbol,
134134
name: x.name,
135-
name_underscore: joinName(x.name, '_'),
136-
name_connect: joinName(x.name, ''),
135+
name_underscore: joinName(x.name, '_').toLowerCase(),
136+
name_connect: joinName(x.name, '').toLowerCase(),
137137
source: SourceType.CoinGecko,
138138
type: SearchResultType.FungibleToken,
139139
logoURL: x.image,

src/providers/coinmarketcap.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export class CoinMarketCap implements FungibleTokenProvider {
9494
pluginID: NetworkPluginID.PLUGIN_EVM,
9595
id: x.id,
9696
name: x.name,
97-
name_underscore: joinName(x.name, '_'),
98-
name_connect: joinName(x.name, ''),
97+
name_underscore: joinName(x.name, '_').toLowerCase(),
98+
name_connect: joinName(x.name, '').toLowerCase(),
9999
symbol: x.symbol,
100100
source: SourceType.CoinMarketCap,
101101
type: SearchResultType.FungibleToken,

0 commit comments

Comments
 (0)