@yodlpay/tokenlists 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,18 +1,15 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var index = require('./index-Cy6vXO61.cjs');
3
+ var index = require('./index-DexvUg55.cjs');
4
4
 
5
5
 
6
6
 
7
- exports.COINGECKO_PLATFORM_TO_CHAIN_ID = index.COINGECKO_PLATFORM_TO_CHAIN_ID;
8
7
  exports.FEATURED_TOKEN_OVERRIDES = index.FEATURED_TOKEN_OVERRIDES;
9
8
  exports.NATIVE_TOKEN_ADDRESS = index.NATIVE_TOKEN_ADDRESS;
10
9
  exports.YODL_ROUTER_ABIS = index.YODL_ROUTER_ABIS;
11
10
  exports.chains = index.chains;
12
11
  exports.computeDisplayDecimals = index.computeDisplayDecimals;
13
- exports.getChain = index.getChain;
14
12
  exports.getChainById = index.getChainById;
15
- exports.getChains = index.getChains;
16
13
  exports.getFeaturedTokenBySymbol = index.getFeaturedTokenBySymbol;
17
14
  exports.getNativeToken = index.getNativeToken;
18
15
  exports.getNativeWrappedToken = index.getNativeWrappedToken;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Chain, Address, PublicClient } from 'viem';
1
+ import { Address, Chain, PublicClient } from 'viem';
2
2
 
3
3
  declare const yodlRouterAbiV01: readonly [{
4
4
  readonly inputs: readonly [{
@@ -5422,7 +5422,7 @@ declare function getStablecoinsByPeg(currency: FiatCurrency): string[];
5422
5422
 
5423
5423
  interface TokenInfo {
5424
5424
  readonly chainId: number;
5425
- readonly address: string;
5425
+ readonly address: Address;
5426
5426
  readonly name: string;
5427
5427
  readonly decimals: number;
5428
5428
  readonly symbol: string;
@@ -5449,9 +5449,9 @@ declare const FEATURED_TOKEN_OVERRIDES: Array<{
5449
5449
  */
5450
5450
  declare function computeDisplayDecimals(symbol: string, decimals: number, coinGeckoId?: string): number;
5451
5451
  declare const tokenlist: TokenInfo[];
5452
- declare function getTokenByAddress(tokenAddress: string, chainId?: number): TokenInfo | undefined;
5453
- declare function getFeaturedTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo | undefined;
5454
- declare function getTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo | null;
5452
+ declare function getTokenByAddress(tokenAddress: Address, chainId?: number): TokenInfo;
5453
+ declare function getFeaturedTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo;
5454
+ declare function getTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo;
5455
5455
  declare function getTokens(chainId?: number): TokenInfo[];
5456
5456
  declare function getNativeWrappedToken(chainId: number): TokenInfo;
5457
5457
 
@@ -5462,6 +5462,7 @@ interface RouterConfig {
5462
5462
  }
5463
5463
  interface YodlChainExtension {
5464
5464
  shortName: string;
5465
+ coinGeckoPlatform?: string;
5465
5466
  logoUri: string;
5466
5467
  wrappedNativeToken: Address;
5467
5468
  feeTreasury: Address;
@@ -5469,27 +5470,24 @@ interface YodlChainExtension {
5469
5470
  }
5470
5471
  type YodlChain = Chain & YodlChainExtension;
5471
5472
  declare const chains: YodlChain[];
5472
- declare function getChainById(chainId: number): YodlChain | undefined;
5473
+ declare function getChainById(chainId: number): YodlChain;
5473
5474
 
5474
5475
  declare const NATIVE_TOKEN_ADDRESS: Address;
5475
5476
  /**
5476
5477
  * Check if an address is the native token placeholder address
5477
5478
  */
5478
5479
  declare function isNativeToken(address: string): boolean;
5479
- declare const COINGECKO_PLATFORM_TO_CHAIN_ID: Record<string, number>;
5480
5480
  /**
5481
5481
  * Get or create a PublicClient for a given chain using viem's chain definitions
5482
5482
  */
5483
5483
  declare function getPublicClient(chainId: number): PublicClient | null;
5484
- declare function getChains(): YodlChain[];
5485
- declare function getChain(chainId: number): YodlChain;
5486
5484
  declare function getShortNames(): string[];
5487
- declare function getNativeToken(chainId: number): string | undefined;
5485
+ declare function getNativeToken(chainId: number): string;
5488
5486
  declare function getRouter(chainId: number): {
5489
5487
  address: Address;
5490
5488
  version: AbiVersion;
5491
5489
  fee: string;
5492
- } | undefined;
5490
+ };
5493
5491
  declare function getRouterByAddress(address: string, chainId?: number): {
5494
5492
  address: Address;
5495
5493
  version: AbiVersion;
@@ -10855,5 +10853,5 @@ declare function getRouterAbi(version: AbiVersion): readonly [{
10855
10853
  readonly type: "receive";
10856
10854
  }];
10857
10855
 
10858
- export { COINGECKO_PLATFORM_TO_CHAIN_ID, FEATURED_TOKEN_OVERRIDES, NATIVE_TOKEN_ADDRESS, YODL_ROUTER_ABIS, chains, computeDisplayDecimals, getChain, getChainById, getChains, getFeaturedTokenBySymbol, getNativeToken, getNativeWrappedToken, getPublicClient, getRouter, getRouterAbi, getRouterByAddress, getShortNames, getStablecoinCurrency, getStablecoinInfo, getStablecoinsByPeg, getTokenByAddress, getTokenBySymbol, getTokens, isNativeToken, isStablecoin, tokenlist };
10856
+ export { FEATURED_TOKEN_OVERRIDES, NATIVE_TOKEN_ADDRESS, YODL_ROUTER_ABIS, chains, computeDisplayDecimals, getChainById, getFeaturedTokenBySymbol, getNativeToken, getNativeWrappedToken, getPublicClient, getRouter, getRouterAbi, getRouterByAddress, getShortNames, getStablecoinCurrency, getStablecoinInfo, getStablecoinsByPeg, getTokenByAddress, getTokenBySymbol, getTokens, isNativeToken, isStablecoin, tokenlist };
10859
10857
  export type { AbiVersion, FiatCurrency, NotStablecoinInfo, RouterAbiMap, StablecoinCheckResult, StablecoinInfo, TokenInfo, YodlChain };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { C as COINGECKO_PLATFORM_TO_CHAIN_ID, F as FEATURED_TOKEN_OVERRIDES, N as NATIVE_TOKEN_ADDRESS, Y as YODL_ROUTER_ABIS, h as chains, j as computeDisplayDecimals, k as getChain, m as getChainById, n as getChains, o as getFeaturedTokenBySymbol, p as getNativeToken, q as getNativeWrappedToken, r as getPublicClient, t as getRouter, u as getRouterAbi, v as getRouterByAddress, w as getShortNames, x as getStablecoinCurrency, y as getStablecoinInfo, z as getStablecoinsByPeg, A as getTokenByAddress, D as getTokenBySymbol, E as getTokens, G as isNativeToken, I as isStablecoin, J as tokenlist } from './index-BJWL_ASb.js';
1
+ export { F as FEATURED_TOKEN_OVERRIDES, N as NATIVE_TOKEN_ADDRESS, Y as YODL_ROUTER_ABIS, h as chains, j as computeDisplayDecimals, k as getChainById, m as getFeaturedTokenBySymbol, n as getNativeToken, o as getNativeWrappedToken, p as getPublicClient, q as getRouter, r as getRouterAbi, t as getRouterByAddress, u as getShortNames, v as getStablecoinCurrency, w as getStablecoinInfo, x as getStablecoinsByPeg, y as getTokenByAddress, z as getTokenBySymbol, A as getTokens, C as isNativeToken, D as isStablecoin, E as tokenlist } from './index-DDrpnhH2.js';
@@ -1,37 +1,66 @@
1
1
  {
2
- "timestamp": "2026-01-27T16:08:06.492Z",
2
+ "timestamp": "2026-01-27T17:51:16.448Z",
3
3
  "stablecoins": {
4
+ "aegis-yusd": "USD",
4
5
  "ageur": "EUR",
5
6
  "agora-dollar": "USD",
6
7
  "alchemix-usd": "USD",
7
8
  "binance-peg-busd": "USD",
9
+ "bitcoin-usd-btcfi": "USD",
8
10
  "crvusd": "USD",
9
11
  "dai": "USD",
10
12
  "dola-usd": "USD",
11
13
  "dollar-on-chain": "USD",
12
14
  "electronic-usd": "USD",
15
+ "ethena-usde": "USD",
13
16
  "euro-coin": "EUR",
17
+ "f-x-protocol-fxusd": "USD",
18
+ "falcon-finance": "USD",
19
+ "first-digital-usd": "USD",
20
+ "frax": "USD",
14
21
  "frax-usd": "USD",
22
+ "gemini-dollar": "USD",
15
23
  "gho": "USD",
24
+ "global-dollar": "USD",
16
25
  "idrx": "IDR",
17
26
  "jpycoin": "JPY",
18
27
  "krwt": "KRW",
19
28
  "liquity-bold-2": "USD",
20
29
  "liquity-usd": "USD",
30
+ "lumi-finance-luausd": "USD",
21
31
  "monerium-eur-money": "EUR",
22
32
  "nusd": "USD",
33
+ "openusdt": "USD",
34
+ "origin-dollar": "USD",
35
+ "overnight-fi-usd-arbitrum-one": "USD",
36
+ "overnight-fi-usd-base": "USD",
23
37
  "parallel-usdp": "USD",
38
+ "paxos-standard": "USD",
39
+ "paypal-usd": "USD",
40
+ "quantoz-eurq": "EUR",
24
41
  "quantoz-usdq": "USD",
25
- "satoshi-stablecoin": "USD",
42
+ "ripple-usd": "USD",
26
43
  "schuman-europ": "EUR",
27
44
  "sigma-bnb-usd": "USD",
28
- "sperax-usd": "USD",
45
+ "societe-generale-forge-eurcv": "EUR",
29
46
  "stablr-euro": "EUR",
47
+ "stablr-usd": "USD",
48
+ "standx-dusd": "USD",
49
+ "stasis-eurs": "EUR",
30
50
  "tether": "USD",
51
+ "true-usd": "USD",
31
52
  "usd-coin": "USD",
32
53
  "usd-coinvertible": "USD",
33
54
  "usd1-wlfi": "USD",
55
+ "usda-3": "USD",
56
+ "usdd": "USD",
57
+ "usdkg": "USD",
58
+ "usds": "USD",
59
+ "usdtb": "USD",
60
+ "usual-usd": "USD",
61
+ "vai": "USD",
34
62
  "vnx-euro": "EUR",
63
+ "web-3-dollar": "USD",
35
64
  "xdai": "USD",
36
65
  "xsgd": "SGD"
37
66
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-01-27T16:05:18.239Z",
2
+ "timestamp": "2026-01-28T10:44:29.880Z",
3
3
  "tokens": [
4
4
  {
5
5
  "chainId": 1,