@arcblock/did-util 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 +6 -11
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -2,28 +2,25 @@
|
|
|
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
|
> Helper functions to calculate did
|
|
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 @arcblock/did-util
|
|
22
20
|
// or
|
|
23
|
-
|
|
21
|
+
pnpm install @arcblock/did-util
|
|
24
22
|
```
|
|
25
23
|
|
|
26
|
-
|
|
27
24
|
## Usage
|
|
28
25
|
|
|
29
26
|
```js
|
|
@@ -58,12 +55,10 @@ module.exports = new Authenticator({
|
|
|
58
55
|
});
|
|
59
56
|
```
|
|
60
57
|
|
|
61
|
-
|
|
62
58
|
## Documentation
|
|
63
59
|
|
|
64
60
|
For full documentation, checkout [https://asset-chain.netlify.com](https://asset-chain.netlify.com/)
|
|
65
61
|
|
|
66
|
-
|
|
67
62
|
## Contributors
|
|
68
63
|
|
|
69
64
|
| Name | Website |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/did-util",
|
|
3
3
|
"description": "Helper function to calculate did",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@
|
|
22
|
-
"@ocap/
|
|
23
|
-
"@ocap/
|
|
24
|
-
"@ocap/
|
|
25
|
-
"@
|
|
26
|
-
"@ocap/util": "1.20.
|
|
27
|
-
"@ocap/wallet": "1.20.
|
|
21
|
+
"@ocap/mcrypto": "1.20.3",
|
|
22
|
+
"@ocap/message": "1.20.3",
|
|
23
|
+
"@ocap/proto": "1.20.3",
|
|
24
|
+
"@ocap/types": "1.20.3",
|
|
25
|
+
"@arcblock/did": "1.20.3",
|
|
26
|
+
"@ocap/util": "1.20.3",
|
|
27
|
+
"@ocap/wallet": "1.20.3"
|
|
28
28
|
},
|
|
29
29
|
"main": "./lib/index.js",
|
|
30
30
|
"types": "./lib/index.d.ts",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "https://github.com/ArcBlock/blockchain/tree/master/did/did-util"
|
|
52
52
|
},
|
|
53
|
+
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
53
54
|
"scripts": {
|
|
54
55
|
"lint": "eslint src tests",
|
|
55
56
|
"lint:fix": "npm run lint -- --fix",
|
|
@@ -61,6 +62,5 @@
|
|
|
61
62
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
62
63
|
"build": "npm run build:cjs && npm run build:esm",
|
|
63
64
|
"build:watch": "npm run build -- -w"
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
}
|
|
65
|
+
}
|
|
66
|
+
}
|