@arcblock/forge-wallet
Advanced tools
Comparing version 0.31.0 to 0.32.0
{ | ||
"name": "@arcblock/forge-wallet", | ||
"version": "0.31.0", | ||
"version": "0.32.0", | ||
"description": "Utility function to create and use an forge compatible crypto wallet", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"jest": "^23.5.0", | ||
"jsdoc-to-markdown": "^4.0.1" | ||
"jsdoc-to-markdown": "^5.0.0" | ||
}, | ||
@@ -50,7 +50,7 @@ "repository": { | ||
"dependencies": { | ||
"@arcblock/did": "^0.31.0", | ||
"@arcblock/mcrypto": "^0.31.0", | ||
"@arcblock/did": "^0.32.0", | ||
"@arcblock/mcrypto": "^0.32.0", | ||
"lodash.upperfirst": "^4.3.1" | ||
}, | ||
"gitHead": "8a1383df459b266ca222a2bea0b12451e2f0de5d" | ||
"gitHead": "9033d7fe2bab087a74a68e0662ce01b72c11bf2b" | ||
} |
@@ -1,6 +0,5 @@ | ||
# `@arcblock/forge-wallet` | ||
![forge-wallet](https://www.arcblock.io/.netlify/functions/badge/?text=forge-wallet) | ||
> Utility function to create and use a forge compatible wallet, the wallet is also DID compatible. | ||
## Usage | ||
@@ -34,4 +33,4 @@ | ||
const signature = wallet.sign(message); | ||
assert.equal(signature, sig, "signature should match"); | ||
assert.ok(wallet.verify(message, signature), "signature should be verified"); | ||
assert.equal(signature, sig, 'signature should match'); | ||
assert.ok(wallet.verify(message, signature), 'signature should be verified'); | ||
@@ -42,5 +41,4 @@ const wallet2 = fromJSON(wallet.toJSON()); | ||
## Documentation | ||
For full documentation, checkout [README.md](./docs/README.md). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17553
43
+ Added@arcblock/did@0.32.2(transitive)
+ Added@arcblock/forge-util@0.32.2(transitive)
+ Added@arcblock/mcrypto@0.32.2(transitive)
+ Addedbn.js@5.2.1(transitive)
- Removed@arcblock/did@0.31.0(transitive)
- Removed@arcblock/forge-util@0.31.0(transitive)
- Removed@arcblock/mcrypto@0.31.0(transitive)
Updated@arcblock/did@^0.32.0
Updated@arcblock/mcrypto@^0.32.0