@lifi/perps-types 0.0.0-preview-873c740 → 0.0.0-preview-c903f1e
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 +6 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,48 +1,24 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
[](/LICENSE)
|
|
4
4
|
[](https://www.npmjs.com/package/@lifi/perps-types)
|
|
5
5
|
[](https://www.npmjs.com/package/@lifi/perps-types)
|
|
6
6
|
[](https://twitter.com/lifiprotocol)
|
|
7
7
|
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# `@lifi/perps-types`
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Types for the LI.FI Perps SDK.
|
|
13
13
|
|
|
14
14
|
## Summary
|
|
15
15
|
|
|
16
|
-
This package contains
|
|
17
|
-
|
|
18
|
-
Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.
|
|
16
|
+
This package contains the shared, zero-dependency types for the [LI.FI Perps SDK](https://www.npmjs.com/package/@lifi/perps-sdk) and its provider plugins — a workspace package of the `perps-sdk` monorepo. You rarely install it directly; it arrives transitively with `@lifi/perps-sdk`.
|
|
19
17
|
|
|
20
18
|
## Installation
|
|
21
19
|
|
|
22
20
|
```bash
|
|
23
21
|
pnpm add @lifi/perps-types
|
|
22
|
+
# or
|
|
23
|
+
npm install @lifi/perps-types
|
|
24
24
|
```
|
|
25
|
-
|
|
26
|
-
or
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm install --save @lifi/perps-types
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Release
|
|
33
|
-
|
|
34
|
-
The package uses `standard-version` to generate a changelog based on semantic commit history. The `standard-version` package also handles version numbering.
|
|
35
|
-
|
|
36
|
-
Once main is up to date with the changes to be released execute the following command on the main branch to invoke `standard-version`:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
pnpm release
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Then to release:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
git push --follow-tags origin main
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
This will push a newly created git tag to the remote repository, which will trigger a github action which will publish the new version to npm.
|