@ocap/mcrypto 1.16.8 → 1.16.12

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
4
4
  [![docs](https://img.shields.io/badge/powered%20by-arcblock-green.svg)](https://docs.arcblock.io)
5
- [![Gitter](https://badges.gitter.im/ArcBlock/community.svg)](https://gitter.im/ArcBlock/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5
+ [![Gitter](https://badges.gitter.im/ArcBlock/community.svg)](https://gitter.im/ArcBlock/community?utm_source=badge\&utm_medium=badge\&utm_campaign=pr-badge)
6
6
 
7
7
  > Forge [mcrypto](https://github.com/ArcBlock/mcrypto) implementation for javascript, just a wrapper around existing javascript crypto libraries.
8
8
 
@@ -43,15 +43,15 @@ For full documentation, checkout [https://asset-chain.netlify.com](https://asset
43
43
 
44
44
  ### Hasher
45
45
 
46
- - keccakf1600: js-sha3
47
- - sha2: hash.js
48
- - sha3: js-sha3
46
+ * keccakf1600: js-sha3
47
+ * sha2: hash.js
48
+ * sha3: js-sha3
49
49
 
50
50
  ### Signer
51
51
 
52
- - [`ed25519`](https://github.com/ArcBlock/asset-chain/commit/ed25519): tweetnacl
53
- - secp256k1: elliptic
52
+ * [`ed25519`](https://github.com/ArcBlock/asset-chain/commit/ed25519): tweetnacl
53
+ * secp256k1: elliptic
54
54
 
55
55
  ### Crypter
56
56
 
57
- - aes-cbc-256: crypto-js
57
+ * aes-cbc-256: crypto-js
@@ -0,0 +1,2 @@
1
+ declare function _exports(data: any, encoding?: string): any;
2
+ export = _exports;
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@ocap/mcrypto",
3
- "version": "1.16.8",
3
+ "version": "1.16.12",
4
4
  "description": "Crypto lib that provides signer,crypter,hasher interface",
5
5
  "keywords": [
6
6
  "crypto",
7
- "forge",
8
7
  "arcblock",
9
8
  "blockchain",
10
9
  "sdk"
@@ -17,6 +16,9 @@
17
16
  "email": "shijun@arcblock.io",
18
17
  "url": "https://github.com/wangshijun"
19
18
  },
19
+ "contributors": [
20
+ "wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)"
21
+ ],
20
22
  "homepage": "https://github.com/ArcBlock/asset-chain/tree/master/core/mcrypto",
21
23
  "license": "Apache-2.0",
22
24
  "main": "lib/index.js",
@@ -25,7 +27,7 @@
25
27
  ],
26
28
  "devDependencies": {
27
29
  "jest": "^27.3.1",
28
- "jsdoc-to-markdown": "^5.0.0"
30
+ "jsdoc-to-markdown": "^7.1.1"
29
31
  },
30
32
  "repository": {
31
33
  "type": "git",
@@ -47,7 +49,7 @@
47
49
  "url": "https://github.com/ArcBlock/asset-chain/issues"
48
50
  },
49
51
  "dependencies": {
50
- "@ocap/util": "1.16.8",
52
+ "@ocap/util": "1.16.12",
51
53
  "bn.js": "5.2.0",
52
54
  "crypto-js": "^4.0.0",
53
55
  "elliptic": "^6.5.3",
@@ -62,5 +64,5 @@
62
64
  "bn.js": "5.2.0",
63
65
  "elliptic": "6.5.3"
64
66
  },
65
- "gitHead": "15e9623edafa6fcb628f67f0c9e26e64ab01bcd2"
67
+ "gitHead": "fbae535a1a8b38bb6942a5d80c4e20f88163833a"
66
68
  }