@yodlpay/tokenlists 0.9.0-alpha.1 → 0.9.0-alpha.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/types.d.ts CHANGED
@@ -100,6 +100,7 @@ export interface PriceFeed {
100
100
  export interface FiatCurrency {
101
101
  readonly name: string;
102
102
  readonly symbol: string;
103
- readonly sign: string;
103
+ readonly code: string;
104
+ readonly decimals: number;
104
105
  }
105
106
  export {};
package/dist/update.d.ts CHANGED
@@ -26,6 +26,13 @@ export declare const CONFLICT_OVERRIDES: {
26
26
  BNB: string;
27
27
  USDC: string;
28
28
  USDT: string;
29
+ APE: string;
30
+ FRAX: string;
31
+ TRUMP: string;
32
+ NEIRO: string;
33
+ SHIB: string;
34
+ RAI: string;
35
+ UNI: string;
29
36
  };
30
37
  10: {
31
38
  USDC: string;
@@ -33,12 +40,30 @@ export declare const CONFLICT_OVERRIDES: {
33
40
  137: {
34
41
  USDC: string;
35
42
  WBTC: string;
43
+ BAT: string;
44
+ FRAX: string;
45
+ QUICK: string;
36
46
  };
37
47
  42161: {
38
48
  USDC: string;
49
+ FRAX: string;
50
+ USDS: string;
51
+ AI: string;
52
+ MAGIC: string;
53
+ };
54
+ 56: {
55
+ AVAX: string;
56
+ FRAX: string;
57
+ SHIB: string;
58
+ TUSD: string;
59
+ SOL: string;
60
+ GMT: string;
39
61
  };
40
62
  8453: {
41
63
  USDC: string;
64
+ PEPE: string;
65
+ ANON: string;
66
+ DOGE: string;
42
67
  };
43
68
  };
44
69
  export declare const setTimestamp: () => void;
@@ -47,5 +72,6 @@ export declare const fetchChainLinkFeed: (chainName: string) => Promise<any>;
47
72
  export declare const splitFeeds: (feeds: any, chainId: number) => any[];
48
73
  export declare const resolveChainData: (chainId: number, fetchFeed?: any, fetchCoinGecko?: any) => Promise<any[]>;
49
74
  export declare const fetchTokenData: (chainName: string) => Promise<any>;
50
- export declare const resolveTokens: (chainId: number, tokenSymbolList: string[], fetchTokensFunc?: any) => Promise<TokenInfo[]>;
75
+ export declare const resolveTokens: (chainId: number, tokenSymbolList: string[], fetchTokensFunc?: any, coinGeckoIdMap?: Map<string, string> | undefined) => Promise<TokenInfo[]>;
51
76
  export declare const hydrateFiatCurrencies: (fiatSymbols: string[]) => Promise<any>;
77
+ export declare const fetchCoinGeckoIds: () => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yodlpay/tokenlists",
3
- "version": "0.9.0-alpha.1",
3
+ "version": "0.9.0-alpha.2",
4
4
  "description": "Tokenlist typings, schema and lists.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",