@yodlpay/tokenlists 0.8.20 → 0.8.22

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
@@ -1,3 +1,5 @@
1
+ import { AbiVersion } from 'abis';
2
+ import { Address } from 'viem';
1
3
  declare type ExtensionValue = string | number | boolean | null | undefined;
2
4
  export declare enum TokenListTagNames {
3
5
  MAINNET = "Mainnet",
@@ -19,9 +21,9 @@ export interface CurveRouterInfo {
19
21
  }
20
22
  export interface RouterInfo {
21
23
  readonly chainId: number;
22
- readonly address: string;
24
+ readonly address: Address;
23
25
  readonly timestamp: string;
24
- readonly version: string;
26
+ readonly version: AbiVersion;
25
27
  readonly fee: string;
26
28
  }
27
29
  export interface TestnetFaucetInfo {
@@ -1,4 +1,4 @@
1
- import { Version } from "./types";
1
+ import { Version } from './types';
2
2
  /**
3
3
  * Comparator function that allows sorting version from lowest to highest
4
4
  * @param versionA version A to compare
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yodlpay/tokenlists",
3
- "version": "0.8.20",
3
+ "version": "0.8.22",
4
4
  "description": "Tokenlist typings, schema and lists.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -31,6 +31,7 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/jest": "^29.5.12",
34
+ "@types/node": "^22.15.29",
34
35
  "dotenv": "^16.4.5",
35
36
  "jest": "29",
36
37
  "jest-fetch-mock": "^3.0.3",
@@ -39,7 +40,7 @@
39
40
  "ts-node": "^10.9.2",
40
41
  "tsdx": "^0.14.1",
41
42
  "tsx": "^4.15.6",
42
- "typescript": "^4.8.2",
43
- "viem": "^2.15.1"
43
+ "typescript": "^5.8.3",
44
+ "viem": "^2.30.6"
44
45
  }
45
- }
46
+ }
@@ -1,61 +0,0 @@
1
- {
2
- "name": "Default",
3
- "logoUri": "",
4
- "keywords": [],
5
- "version": {
6
- "major": 0,
7
- "minor": 0,
8
- "patch": 1
9
- },
10
- "routers": [
11
- {
12
- "chainId": 1,
13
- "address": "0x0487C9fE08dB1c21a9c3Cf373a4d93623B8169Ee",
14
- "timestamp": "2025-02-26T00:00:00+00:00",
15
- "version": "0.8",
16
- "fee": "0.002"
17
- },
18
- {
19
- "chainId": 10,
20
- "address": "0x1F7c4f45c8A398381616C74269f9fB8060E3DdC9",
21
- "timestamp": "2025-01-15T00:00:00+00:00",
22
- "version": "0.8",
23
- "fee": "0.002"
24
- },
25
- {
26
- "chainId": 42161,
27
- "address": "0x1F7c4f45c8A398381616C74269f9fB8060E3DdC9",
28
- "timestamp": "2025-01-15T00:00:00+00:00",
29
- "version": "0.8",
30
- "fee": "0.002"
31
- },
32
- {
33
- "chainId": 100,
34
- "address": "0x3160aE35D64c03182cAe1d64626894b563123E94",
35
- "timestamp": "2025-01-15T00:00:00+00:00",
36
- "version": "0.8",
37
- "fee": "0.002"
38
- },
39
- {
40
- "chainId": 137,
41
- "address": "0x1F7c4f45c8A398381616C74269f9fB8060E3DdC9",
42
- "timestamp": "2025-01-15T00:00:00+00:00",
43
- "version": "0.8",
44
- "fee": "0.002"
45
- },
46
- {
47
- "chainId": 8453,
48
- "address": "0x1F7c4f45c8A398381616C74269f9fB8060E3DdC9",
49
- "timestamp": "2025-01-15T00:00:00+00:00",
50
- "version": "0.8",
51
- "fee": "0.002"
52
- },
53
- {
54
- "chainId": 56,
55
- "address": "0x1F7c4f45c8A398381616C74269f9fB8060E3DdC9",
56
- "timestamp": "2025-01-15T00:00:00+00:00",
57
- "version": "0.8",
58
- "fee": "0.002"
59
- }
60
- ]
61
- }