@arcblock/nft 1.20.1 → 1.20.3
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 +5 -9
- package/package.json +14 -12
package/README.md
CHANGED
|
@@ -2,27 +2,24 @@
|
|
|
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 create standard assets that can be rendered in [DID Wallet](https://www.abtwallet.io)
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
## Table of Contents
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
- [Install](#install)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Documentation](#documentation)
|
|
16
14
|
|
|
17
15
|
## Install
|
|
18
16
|
|
|
19
17
|
```sh
|
|
20
18
|
npm install @arcblock/nft
|
|
21
19
|
// or
|
|
22
|
-
|
|
20
|
+
pnpm install @arcblock/nft
|
|
23
21
|
```
|
|
24
22
|
|
|
25
|
-
|
|
26
23
|
## Usage
|
|
27
24
|
|
|
28
25
|
```js
|
|
@@ -60,7 +57,6 @@ const [asset, hash] = await factory.createTicket({
|
|
|
60
57
|
});
|
|
61
58
|
```
|
|
62
59
|
|
|
63
|
-
|
|
64
60
|
## Documentation
|
|
65
61
|
|
|
66
62
|
For full documentation, checkout [https://asset-chain.netlify.com](https://asset-chain.netlify.com/)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/nft",
|
|
3
3
|
"description": "Utility to create standard asset on forge powered blockchain",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,16 +18,18 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did-util": "1.20.1",
|
|
22
|
-
"@arcblock/vc": "1.20.1",
|
|
23
|
-
"@ocap/client": "1.20.1",
|
|
24
|
-
"@ocap/tx-protocols": "1.20.1",
|
|
25
|
-
"@ocap/util": "1.20.1",
|
|
26
|
-
"@ocap/wallet": "1.20.1",
|
|
27
21
|
"debug": "^4.3.6",
|
|
28
22
|
"json-stable-stringify": "^1.0.1",
|
|
29
23
|
"lodash": "^4.17.21",
|
|
30
|
-
"pako": "^1.0.11"
|
|
24
|
+
"pako": "^1.0.11",
|
|
25
|
+
"@arcblock/did-util": "1.20.3",
|
|
26
|
+
"@arcblock/vc": "1.20.3",
|
|
27
|
+
"@ocap/client": "1.20.3",
|
|
28
|
+
"@ocap/tx-protocols": "1.20.3",
|
|
29
|
+
"@ocap/util": "1.20.3",
|
|
30
|
+
"@ocap/wallet": "1.20.3",
|
|
31
|
+
"@ocap/e2e-test": "1.20.3",
|
|
32
|
+
"@ocap/tx-util": "1.20.3"
|
|
31
33
|
},
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"jest": "^29.7.0",
|
|
@@ -60,16 +62,16 @@
|
|
|
60
62
|
"type": "git",
|
|
61
63
|
"url": "https://github.com/ArcBlock/blockchain/tree/master/asset/nft"
|
|
62
64
|
},
|
|
65
|
+
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
63
66
|
"scripts": {
|
|
64
67
|
"lint": "eslint lib tests",
|
|
65
68
|
"lint:fix": "eslint --fix lib tests",
|
|
66
|
-
"docs": "
|
|
69
|
+
"docs": "pnpm run gen-dts && pnpm run gen-docs && pnpm run cleanup-docs && pnpm run format-docs",
|
|
67
70
|
"cleanup-docs": "node ../../scripts/cleanup-docs.js docs/README.md $npm_package_name",
|
|
68
71
|
"gen-dts": "j2d lib/index.js",
|
|
69
72
|
"gen-docs": "jsdoc2md lib/index.js > docs/README.md",
|
|
70
73
|
"format-docs": "remark . -o",
|
|
71
74
|
"test": "jest --forceExit --detectOpenHandles",
|
|
72
75
|
"coverage": "npm run test -- --coverage"
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
+
}
|
|
77
|
+
}
|