@transmute/did-key-bls12381
Advanced tools
Comparing version 0.2.1-unstable.16 to 0.2.1-unstable.17
@@ -6,2 +6,10 @@ # Change Log | ||
## 0.2.1-unstable.17 (2020-09-14) | ||
**Note:** Version bump only for package @transmute/did-key-bls12381 | ||
## 0.2.1-unstable.16 (2020-09-14) | ||
@@ -8,0 +16,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"module": "dist/bls12381.esm.js", | ||
"version": "0.2.1-unstable.16", | ||
"version": "0.2.1-unstable.17", | ||
"license": "Apache-2.0", | ||
@@ -43,3 +43,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "3b24924821ce8469a6dfe7d0f96965c1f4ae72aa" | ||
"gitHead": "21329216b6ac66997f0f01a9e96aca05701a2dba" | ||
} |
@@ -40,7 +40,7 @@ import { Bls12381G2KeyPair } from '@mattrglobal/bls12381-key-pair'; | ||
const signature = await signer.sign({ | ||
data: fixtures.message, | ||
data: new Uint8Array(Buffer.from(fixtures.message)), | ||
}); | ||
const verifier = key.verifier(); | ||
const verified = await verifier.verify({ | ||
data: fixtures.message, | ||
data: new Uint8Array(Buffer.from(fixtures.message)), | ||
signature, | ||
@@ -47,0 +47,0 @@ }); |
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
39628