@digitalbazaar/x25519-key-agreement-key-2019
Advanced tools
Comparing version 5.1.0 to 5.1.1
# @digitalbazaar/x25519-key-agreement-key-2019 ChangeLog | ||
## 5.1.1 - 2021-05-25 | ||
### Changed | ||
- **BREAKING**: Point suite context to its own standalone url (not security/v2). | ||
## 5.1.0 - 2021-04-02 | ||
@@ -4,0 +9,0 @@ |
@@ -46,3 +46,4 @@ /*! | ||
let deriveSecret, generateKeyPair; | ||
let deriveSecret; | ||
let generateKeyPair; | ||
if(crypto.diffieHellman) { | ||
@@ -49,0 +50,0 @@ deriveSecret = deriveSecretNative; |
@@ -313,3 +313,3 @@ /*! | ||
* @throws {TypeError} On invalid base58 encoding of public or private keys. | ||
* @returns {string} | ||
* @returns {Promise<Uint8Array>} | ||
*/ | ||
@@ -382,4 +382,3 @@ async deriveSecret({publicKey}) { | ||
X25519KeyAgreementKey2019.suite = SUITE_ID; | ||
// Currently, X 2019 suite does not have its own standalone context, and | ||
// uses security/v2 | ||
X25519KeyAgreementKey2019.SUITE_CONTEXT = 'https://w3id.org/security/v2'; | ||
X25519KeyAgreementKey2019.SUITE_CONTEXT = | ||
'https://w3id.org/security/suites/x25519-2019/v1'; |
{ | ||
"name": "@digitalbazaar/x25519-key-agreement-key-2019", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "An X25519 (Curve25519) DH key implementation to work with the crypto-ld LDKeyPair API", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
25659