@ocap/contract 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 +4 -7
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -2,26 +2,23 @@
|
|
|
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 validate compile and execute ocap contract
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
## Table of Contents
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
- [Install](#install)
|
|
12
|
+
- [Usage](#usage)
|
|
15
13
|
|
|
16
14
|
## Install
|
|
17
15
|
|
|
18
16
|
```sh
|
|
19
17
|
npm install @ocap/contract
|
|
20
18
|
// or
|
|
21
|
-
|
|
19
|
+
pnpm install @ocap/contract
|
|
22
20
|
```
|
|
23
21
|
|
|
24
|
-
|
|
25
22
|
## Usage
|
|
26
23
|
|
|
27
24
|
```js
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/contract",
|
|
3
3
|
"description": "Utility to compile/validate and run ocap contract",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did": "1.20.2",
|
|
22
|
-
"@ocap/mcrypto": "1.20.2",
|
|
23
|
-
"@ocap/util": "1.20.2",
|
|
24
21
|
"debug": "^4.3.6",
|
|
25
22
|
"esprima": "^4.0.1",
|
|
26
|
-
"lodash": "^4.17.21"
|
|
23
|
+
"lodash": "^4.17.21",
|
|
24
|
+
"@arcblock/did": "1.20.4",
|
|
25
|
+
"@ocap/mcrypto": "1.20.4",
|
|
26
|
+
"@ocap/util": "1.20.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"jest": "^29.7.0",
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"type": "git",
|
|
57
57
|
"url": "https://github.com/ArcBlock/blockchain/tree/master/core/contract"
|
|
58
58
|
},
|
|
59
|
+
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
59
60
|
"scripts": {
|
|
60
61
|
"lint": "eslint lib tests",
|
|
61
62
|
"lint:fix": "eslint --fix lib tests",
|
|
62
|
-
"docs": "
|
|
63
|
+
"docs": "pnpm run gen-dts && pnpm run gen-docs && pnpm run cleanup-docs && pnpm run format-docs",
|
|
63
64
|
"cleanup-docs": "node ../../scripts/cleanup-docs.js docs/README.md $npm_package_name",
|
|
64
65
|
"gen-dts": "j2d lib/index.js",
|
|
65
66
|
"gen-docs": "jsdoc2md lib/index.js > docs/README.md",
|
|
66
67
|
"format-docs": "remark . -o",
|
|
67
68
|
"test": "jest --forceExit --detectOpenHandles",
|
|
68
69
|
"coverage": "npm run test -- --coverage"
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
}
|
|
70
|
+
}
|
|
71
|
+
}
|