@uniswap/token-list-bridge-utils 2.12.0 → 3.0.1

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/package.json CHANGED
@@ -51,7 +51,7 @@
51
51
  "deduplicate": "yarn-deduplicate --strategy=highest"
52
52
  },
53
53
  "typings": "dist/index.d.ts",
54
- "version": "2.12.0",
54
+ "version": "3.0.1",
55
55
  "dependencies": {
56
56
  "@arbitrum/sdk": "^3.1.6",
57
57
  "@uniswap/sdk-core": "^4.0.6",
@@ -11,37 +11,7 @@ export interface MappedToken {
11
11
 
12
12
  export type GenericMappedTokenData = { [key: string]: string | undefined }
13
13
 
14
- // Polygon has its own type here since their api gives us more info than just the mapped token address
14
+ // Polygon has its own type here since its mappings carry more info than just the mapped token address
15
15
  export type PolygonMappedTokenData = { [key: string]: PolygonMappedToken }
16
16
 
17
17
  export type MappedTokenData = { [key: string]: MappedToken }
18
-
19
- export interface PolygonWrappedToken {
20
- wrappedTokenAddress: string
21
- wrappedNetworkId?: number
22
- tags: string[]
23
- originChainBridgeAdapter?: string
24
- wrappedChainBridgeAdapter?: string
25
- }
26
-
27
- export interface PolygonTokenMapping {
28
- chainId: number
29
- name: string
30
- symbol: string
31
- decimals: number
32
- originTokenAddress: string
33
- originNetworkId: number
34
- tags: string[]
35
- wrappedTokens: PolygonWrappedToken[]
36
- logoURI: string
37
- }
38
-
39
- export interface PolygonTokenListResponse {
40
- name: string
41
- version: number
42
- logoURI: string
43
- description: string
44
- tags: Record<string, { name: string; description: string }>
45
- timestamp: string
46
- tokens: PolygonTokenMapping[]
47
- }