@ocap/tx-util 1.20.2 → 1.20.4
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 -11
- package/package.json +10 -8
package/README.md
CHANGED
|
@@ -2,40 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/prettier/prettier)
|
|
4
4
|
[](https://docs.arcblock.io)
|
|
5
|
-
[](https://gitter.im/ArcBlock/community?utm_source=badge
|
|
5
|
+
[](https://gitter.im/ArcBlock/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
|
6
6
|
|
|
7
7
|
> Utility to parse forge config
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
## Table of Contents
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
- [Install](#install)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Documentation](#documentation)
|
|
14
|
+
- [Contributors](#contributors)
|
|
17
15
|
|
|
18
16
|
## Install
|
|
19
17
|
|
|
20
18
|
```sh
|
|
21
19
|
npm install @ocap/tx-util
|
|
22
20
|
// or
|
|
23
|
-
|
|
21
|
+
pnpm install @ocap/tx-util
|
|
24
22
|
```
|
|
25
23
|
|
|
26
|
-
|
|
27
24
|
## Usage
|
|
28
25
|
|
|
29
26
|
```js
|
|
30
27
|
const { createVerifier } = require('@ocap/tx-util');
|
|
31
28
|
```
|
|
32
29
|
|
|
33
|
-
|
|
34
30
|
## Documentation
|
|
35
31
|
|
|
36
32
|
For full documentation, checkout [https://asset-chain.netlify.com](https://asset-chain.netlify.com/)
|
|
37
33
|
|
|
38
|
-
|
|
39
34
|
## Contributors
|
|
40
35
|
|
|
41
36
|
| Name | Website |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/tx-util",
|
|
3
3
|
"description": "Utility to work with forge transactions",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,13 +18,15 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"debug": "^4.3.6",
|
|
22
|
+
"@ocap/client": "1.20.4",
|
|
23
|
+
"@ocap/tx-protocols": "1.20.4"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"jest": "^29.7.0",
|
|
26
27
|
"remark-cli": "^10.0.1",
|
|
27
|
-
"remark-preset-github": "^4.0.4"
|
|
28
|
+
"remark-preset-github": "^4.0.4",
|
|
29
|
+
"@ocap/e2e-test": "1.20.4"
|
|
28
30
|
},
|
|
29
31
|
"remarkConfig": {
|
|
30
32
|
"plugins": [
|
|
@@ -52,16 +54,16 @@
|
|
|
52
54
|
"type": "git",
|
|
53
55
|
"url": "https://github.com/ArcBlock/blockchain/tree/master/core/tx-util"
|
|
54
56
|
},
|
|
57
|
+
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
55
58
|
"scripts": {
|
|
56
59
|
"lint": "eslint lib tests",
|
|
57
60
|
"lint:fix": "eslint --fix lib tests",
|
|
58
|
-
"docs": "
|
|
61
|
+
"docs": "pnpm run gen-dts && pnpm run gen-docs && pnpm run cleanup-docs && pnpm run format-docs",
|
|
59
62
|
"cleanup-docs": "node ../../scripts/cleanup-docs.js docs/README.md $npm_package_name",
|
|
60
63
|
"gen-dts": "j2d lib/index.js",
|
|
61
64
|
"gen-docs": "jsdoc2md lib/index.js > docs/README.md",
|
|
62
65
|
"format-docs": "remark . -o",
|
|
63
66
|
"test": "jest --forceExit --detectOpenHandles",
|
|
64
67
|
"coverage": "npm run test -- --coverage"
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
+
}
|
|
69
|
+
}
|