@aviarytech/did-peer
Advanced tools
Comparing version 0.0.16 to 0.0.18
{ | ||
"name": "@aviarytech/did-peer", | ||
"version": "0.0.16", | ||
"version": "0.0.18", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
@@ -19,3 +19,3 @@ import { Numalgo2Prefixes } from "./constants.js"; | ||
const key = { | ||
id: `${did}#${multibaseKey.slice(1, 9)}`, | ||
id: `${did}#${multibaseKey.slice(1)}`, | ||
type: 'Ed25519VerificationKey2020', | ||
@@ -41,3 +41,3 @@ controller: did, | ||
authKeys.push({ | ||
id: `${did}#${k.slice(2, 10)}`, | ||
id: `${did}#${k.slice(2)}`, | ||
controller: did, | ||
@@ -50,3 +50,3 @@ type: 'Ed25519VerificationKey2020', | ||
encKeys.push({ | ||
id: `${did}#${k.slice(2, 10)}`, | ||
id: `${did}#${k.slice(2)}`, | ||
controller: did, | ||
@@ -53,0 +53,0 @@ type: 'X25519KeyAgreementKey2020', |
16204