did-veres-one
Advanced tools
Comparing version 13.0.0 to 13.0.1
# did-veres-one ChangeLog | ||
## 13.0.1 - 2021-04-21 | ||
### Fixed | ||
- Add compatibility with newer ld-keypair `export()` api. | ||
## 13.0.0 - 2021-03-12 | ||
@@ -4,0 +9,0 @@ |
@@ -202,3 +202,4 @@ /*! | ||
this.doc[constants.PROOF_PURPOSES.authentication] = | ||
[authKey.publicNode()]; | ||
[authKey.publicNode ? authKey.publicNode() : | ||
authKey.export({publicKey: true})]; | ||
this.keys[authKey.id] = authKey; | ||
@@ -208,3 +209,4 @@ | ||
this.doc[constants.PROOF_PURPOSES.capabilityInvocation] = | ||
[invokeKey.publicNode()]; | ||
[invokeKey.publicNode ? invokeKey.publicNode() : | ||
invokeKey.export({publicKey: true})]; | ||
this.keys[invokeKey.id] = invokeKey; | ||
@@ -214,3 +216,4 @@ | ||
this.doc[constants.PROOF_PURPOSES.capabilityDelegation] = | ||
[delegateKey.publicNode()]; | ||
[delegateKey.publicNode ? delegateKey.publicNode() : | ||
delegateKey.export({publicKey: true})]; | ||
this.keys[delegateKey.id] = delegateKey; | ||
@@ -220,3 +223,4 @@ | ||
this.doc[constants.PROOF_PURPOSES.assertionMethod] = | ||
[assertionKey.publicNode()]; | ||
[assertionKey.publicNode ? assertionKey.publicNode() : | ||
assertionKey.export({publicKey: true})]; | ||
this.keys[assertionKey.id] = assertionKey; | ||
@@ -223,0 +227,0 @@ } |
{ | ||
"name": "did-veres-one", | ||
"version": "13.0.0", | ||
"version": "13.0.1", | ||
"description": "A Decentralized Identifier utility library for Veres One", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
60384
1263