@lifi/types 9.0.0-alpha.7 → 9.0.0-alpha.9
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 +30 -2
- package/dist/cjs/exchanges.d.ts +1 -1
- package/dist/cjs/step.d.ts +1 -1
- package/dist/exchanges.d.ts +1 -1
- package/dist/step.d.ts +1 -1
- package/package.json +14 -25
- package/CHANGELOG.md +0 -1291
package/README.md
CHANGED
|
@@ -1,9 +1,37 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
+
[](/LICENSE.md)
|
|
4
|
+
[](https://www.npmjs.com/package/@lifi/types)
|
|
5
|
+
[](https://www.npmjs.com/package/@lifi/types)
|
|
6
|
+
[](https://twitter.com/lifiprotocol)
|
|
7
|
+
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
# LI.FI - Types
|
|
11
|
+
|
|
12
|
+
Types for the LI.FI stack.
|
|
13
|
+
|
|
14
|
+
## Summary
|
|
15
|
+
|
|
16
|
+
This package contains all common types for the [LI.FI SDK](https://github.com/lifinance/sdk).
|
|
17
|
+
Learn more about LI.FI on (https://li.fi).
|
|
18
|
+
|
|
19
|
+
Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
Install dependencies with yarn:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
yarn add @lifi/types
|
|
3
27
|
```
|
|
28
|
+
|
|
29
|
+
or
|
|
30
|
+
|
|
31
|
+
```bash
|
|
4
32
|
npm install --save @lifi/types
|
|
5
33
|
```
|
|
6
34
|
|
|
7
|
-
|
|
35
|
+
## Summary
|
|
8
36
|
|
|
9
37
|
This package contains type definitions for LI.FI projects (https://github.com/lifinance).
|
package/dist/cjs/exchanges.d.ts
CHANGED
package/dist/cjs/step.d.ts
CHANGED
package/dist/exchanges.d.ts
CHANGED
package/dist/step.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/types",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.9",
|
|
4
4
|
"description": "Types for the LI.FI stack",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -10,23 +10,15 @@
|
|
|
10
10
|
"import": "./dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"
|
|
14
|
-
"build": "node tools/cleanup types && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
|
|
15
|
-
"clean": "node tools/cleanup",
|
|
13
|
+
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json",
|
|
16
14
|
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
|
|
17
15
|
"package": "npm run build && npm pack",
|
|
18
|
-
"postpublish": "npm run use:gitReadme && pinst --enable",
|
|
19
16
|
"pre-commit": "lint-staged",
|
|
20
17
|
"pre-push": "yarn build",
|
|
21
|
-
"prepare": "husky install",
|
|
22
|
-
"prepublishOnly": "run-s build use:npmReadme && pinst --enable",
|
|
23
18
|
"prettier:fix": "prettier --write ./src/.",
|
|
24
19
|
"release": "standard-version -a",
|
|
25
20
|
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
|
|
26
|
-
"release:beta": "standard-version -a --prerelease beta --skip.changelog"
|
|
27
|
-
"use:gitReadme": "mv 'README.md' 'npm.README.md' && mv 'git.README.md' 'README.md'",
|
|
28
|
-
"use:npmReadme": "mv 'README.md' 'git.README.md' && mv 'npm.README.md' 'README.md'",
|
|
29
|
-
"watch": "tsc -w -p ./tsconfig.json"
|
|
21
|
+
"release:beta": "standard-version -a --prerelease beta --skip.changelog"
|
|
30
22
|
},
|
|
31
23
|
"lint-staged": {
|
|
32
24
|
"src/**/*.{ts,tsx}": [
|
|
@@ -69,20 +61,17 @@
|
|
|
69
61
|
"url": "https://github.com/lifinance/types"
|
|
70
62
|
},
|
|
71
63
|
"devDependencies": {
|
|
72
|
-
"@commitlint/cli": "^17.
|
|
73
|
-
"@commitlint/config-conventional": "^17.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
75
|
-
"@typescript-eslint/parser": "^
|
|
76
|
-
"eslint": "^8.
|
|
77
|
-
"eslint-config-prettier": "^
|
|
78
|
-
"eslint-plugin-prettier": "^
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"npm-run-all": "^4.1.5",
|
|
82
|
-
"pinst": "^3.0.0",
|
|
83
|
-
"prettier": "^2.8.7",
|
|
64
|
+
"@commitlint/cli": "^17.7.1",
|
|
65
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
67
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
68
|
+
"eslint": "^8.48.0",
|
|
69
|
+
"eslint-config-prettier": "^9.0.0",
|
|
70
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
71
|
+
"lint-staged": "^14.0.1",
|
|
72
|
+
"prettier": "^3.0.2",
|
|
84
73
|
"standard-version": "^9.5.0",
|
|
85
|
-
"typescript": "^5.
|
|
74
|
+
"typescript": "^5.2.2"
|
|
86
75
|
},
|
|
87
|
-
"packageManager": "yarn@3.
|
|
76
|
+
"packageManager": "yarn@3.6.3"
|
|
88
77
|
}
|