@lifi/types 9.0.0-alpha.10 → 9.0.0-alpha.11
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/README.md +0 -6
- package/dist/chains/base.d.ts +2 -0
- package/dist/chains/base.js +2 -0
- package/dist/cjs/chains/base.d.ts +2 -0
- package/dist/cjs/chains/base.js +2 -0
- package/package.json +39 -39
package/README.md
CHANGED
|
@@ -20,8 +20,6 @@ Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releas
|
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
|
-
Install dependencies with yarn:
|
|
24
|
-
|
|
25
23
|
```bash
|
|
26
24
|
yarn add @lifi/types
|
|
27
25
|
```
|
|
@@ -31,7 +29,3 @@ or
|
|
|
31
29
|
```bash
|
|
32
30
|
npm install --save @lifi/types
|
|
33
31
|
```
|
|
34
|
-
|
|
35
|
-
## Summary
|
|
36
|
-
|
|
37
|
-
This package contains type definitions for LI.FI projects (https://github.com/lifinance).
|
package/dist/chains/base.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare enum ChainKey {
|
|
|
38
38
|
ERA = "era",
|
|
39
39
|
PZE = "pze",
|
|
40
40
|
LNA = "lna",
|
|
41
|
+
BAS = "bas",
|
|
41
42
|
GOR = "gor",
|
|
42
43
|
METT = "mett",
|
|
43
44
|
DIOT = "diot",
|
|
@@ -99,6 +100,7 @@ export declare enum ChainId {
|
|
|
99
100
|
ERA = 324,
|
|
100
101
|
PZE = 1101,
|
|
101
102
|
LNA = 59144,
|
|
103
|
+
BAS = 8453,
|
|
102
104
|
GOR = 5,
|
|
103
105
|
METT = 12,
|
|
104
106
|
DIOT = 13,
|
package/dist/chains/base.js
CHANGED
|
@@ -39,6 +39,7 @@ export var ChainKey;
|
|
|
39
39
|
ChainKey["ERA"] = "era";
|
|
40
40
|
ChainKey["PZE"] = "pze";
|
|
41
41
|
ChainKey["LNA"] = "lna";
|
|
42
|
+
ChainKey["BAS"] = "bas";
|
|
42
43
|
// Testnets
|
|
43
44
|
ChainKey["GOR"] = "gor";
|
|
44
45
|
ChainKey["METT"] = "mett";
|
|
@@ -102,6 +103,7 @@ export var ChainId;
|
|
|
102
103
|
ChainId[ChainId["ERA"] = 324] = "ERA";
|
|
103
104
|
ChainId[ChainId["PZE"] = 1101] = "PZE";
|
|
104
105
|
ChainId[ChainId["LNA"] = 59144] = "LNA";
|
|
106
|
+
ChainId[ChainId["BAS"] = 8453] = "BAS";
|
|
105
107
|
// Testnets
|
|
106
108
|
ChainId[ChainId["GOR"] = 5] = "GOR";
|
|
107
109
|
ChainId[ChainId["METT"] = 12] = "METT";
|
|
@@ -38,6 +38,7 @@ export declare enum ChainKey {
|
|
|
38
38
|
ERA = "era",
|
|
39
39
|
PZE = "pze",
|
|
40
40
|
LNA = "lna",
|
|
41
|
+
BAS = "bas",
|
|
41
42
|
GOR = "gor",
|
|
42
43
|
METT = "mett",
|
|
43
44
|
DIOT = "diot",
|
|
@@ -99,6 +100,7 @@ export declare enum ChainId {
|
|
|
99
100
|
ERA = 324,
|
|
100
101
|
PZE = 1101,
|
|
101
102
|
LNA = 59144,
|
|
103
|
+
BAS = 8453,
|
|
102
104
|
GOR = 5,
|
|
103
105
|
METT = 12,
|
|
104
106
|
DIOT = 13,
|
package/dist/cjs/chains/base.js
CHANGED
|
@@ -42,6 +42,7 @@ var ChainKey;
|
|
|
42
42
|
ChainKey["ERA"] = "era";
|
|
43
43
|
ChainKey["PZE"] = "pze";
|
|
44
44
|
ChainKey["LNA"] = "lna";
|
|
45
|
+
ChainKey["BAS"] = "bas";
|
|
45
46
|
// Testnets
|
|
46
47
|
ChainKey["GOR"] = "gor";
|
|
47
48
|
ChainKey["METT"] = "mett";
|
|
@@ -105,6 +106,7 @@ var ChainId;
|
|
|
105
106
|
ChainId[ChainId["ERA"] = 324] = "ERA";
|
|
106
107
|
ChainId[ChainId["PZE"] = 1101] = "PZE";
|
|
107
108
|
ChainId[ChainId["LNA"] = 59144] = "LNA";
|
|
109
|
+
ChainId[ChainId["BAS"] = 8453] = "BAS";
|
|
108
110
|
// Testnets
|
|
109
111
|
ChainId[ChainId["GOR"] = 5] = "GOR";
|
|
110
112
|
ChainId[ChainId["METT"] = 12] = "METT";
|
package/package.json
CHANGED
|
@@ -1,42 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/types",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.11",
|
|
4
4
|
"description": "Types for the LI.FI stack",
|
|
5
|
-
"main": "./dist/cjs/index.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
"require": "./dist/cjs/index.js",
|
|
10
|
-
"import": "./dist/index.js"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
|
|
14
|
-
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
|
|
15
|
-
"package": "npm run build && npm pack",
|
|
16
|
-
"prettier:fix": "prettier --write ./src/.",
|
|
17
|
-
"release": "standard-version -a",
|
|
18
|
-
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
|
|
19
|
-
"release:beta": "standard-version -a --prerelease beta --skip.changelog",
|
|
20
|
-
"_postinstall": "husky install",
|
|
21
|
-
"pre-commit": "lint-staged",
|
|
22
|
-
"pre-push": "yarn build",
|
|
23
|
-
"prepack": "pinst --disable",
|
|
24
|
-
"postpack": "pinst --enable"
|
|
25
|
-
},
|
|
26
|
-
"lint-staged": {
|
|
27
|
-
"src/**/*.{ts,tsx}": [
|
|
28
|
-
"yarn run lint:fix",
|
|
29
|
-
"yarn run prettier:fix"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"files": [
|
|
33
|
-
"dist"
|
|
34
|
-
],
|
|
35
|
-
"publishConfig": {
|
|
36
|
-
"access": "public"
|
|
37
|
-
},
|
|
38
|
-
"author": "LI.FI <github@li.finance>",
|
|
39
|
-
"license": "Apache-2.0",
|
|
40
5
|
"keywords": [
|
|
41
6
|
"sdk",
|
|
42
7
|
"ethereum",
|
|
@@ -56,12 +21,44 @@
|
|
|
56
21
|
"metamask"
|
|
57
22
|
],
|
|
58
23
|
"homepage": "https://github.com/lifinance/types",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/lifinance/types"
|
|
26
|
+
},
|
|
59
27
|
"repository": {
|
|
60
28
|
"type": "git",
|
|
61
29
|
"url": "git+ssh://git@github.com/lifinance/types.git"
|
|
62
30
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
31
|
+
"license": "Apache-2.0",
|
|
32
|
+
"author": "LI.FI <github@li.finance>",
|
|
33
|
+
"exports": {
|
|
34
|
+
"require": "./dist/cjs/index.js",
|
|
35
|
+
"import": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"main": "./dist/cjs/index.js",
|
|
38
|
+
"module": "./dist/index.js",
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"files": [
|
|
41
|
+
"dist"
|
|
42
|
+
],
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
|
|
45
|
+
"_postinstall": "husky install",
|
|
46
|
+
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
|
|
47
|
+
"prepack": "pinst --disable",
|
|
48
|
+
"postpack": "pinst --enable",
|
|
49
|
+
"package": "npm run build && npm pack",
|
|
50
|
+
"pre-commit": "lint-staged",
|
|
51
|
+
"pre-push": "yarn build",
|
|
52
|
+
"prettier:fix": "prettier --write ./src/.",
|
|
53
|
+
"release": "standard-version -a",
|
|
54
|
+
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
|
|
55
|
+
"release:beta": "standard-version -a --prerelease beta --skip.changelog"
|
|
56
|
+
},
|
|
57
|
+
"lint-staged": {
|
|
58
|
+
"src/**/*.{ts,tsx}": [
|
|
59
|
+
"yarn run lint:fix",
|
|
60
|
+
"yarn run prettier:fix"
|
|
61
|
+
]
|
|
65
62
|
},
|
|
66
63
|
"devDependencies": {
|
|
67
64
|
"@commitlint/cli": "^17.7.1",
|
|
@@ -78,5 +75,8 @@
|
|
|
78
75
|
"standard-version": "^9.5.0",
|
|
79
76
|
"typescript": "^5.2.2"
|
|
80
77
|
},
|
|
81
|
-
"packageManager": "yarn@3.6.3"
|
|
78
|
+
"packageManager": "yarn@3.6.3",
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
}
|
|
82
82
|
}
|