did-resolver
Advanced tools
Comparing version 0.0.6-alpha2 to 0.0.6-alpha3
@@ -6,3 +6,11 @@ export interface DIDDocument { | ||
authentication?: Authentication[]; | ||
uportProfile?: any; | ||
service?: ServiceEndpoint[]; | ||
} | ||
interface ServiceEndpoint { | ||
id: string; | ||
type: string; | ||
serviceEndpoint: string; | ||
description?: string; | ||
} | ||
interface PublicKey { | ||
@@ -14,2 +22,5 @@ id: string; | ||
publicKeyBase64?: string; | ||
publicKeyBase58?: string; | ||
publicKeyHex?: string; | ||
publicKeyPem?: string; | ||
} | ||
@@ -16,0 +27,0 @@ interface Authentication { |
{ | ||
"name": "did-resolver", | ||
"version": "0.0.6-alpha2", | ||
"version": "0.0.6-alpha3", | ||
"description": "Resolve DID documents", | ||
@@ -5,0 +5,0 @@ "main": "lib/resolver.js", |
@@ -6,4 +6,13 @@ export interface DIDDocument { | ||
authentication?: Authentication[] | ||
uportProfile?: any | ||
service?: ServiceEndpoint[] | ||
} | ||
interface ServiceEndpoint { | ||
id: string | ||
type: string | ||
serviceEndpoint: string | ||
description?: string | ||
} | ||
interface PublicKey { | ||
@@ -15,2 +24,5 @@ id: string | ||
publicKeyBase64?: string | ||
publicKeyBase58?: string | ||
publicKeyHex?: string | ||
publicKeyPem?: string | ||
} | ||
@@ -17,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
21257
363