Skip to content

Commit

Permalink
fix: add optional @context to result data type (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
GravityID authored Dec 4, 2021
1 parent f5c78a7 commit 39a3301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
export type Extensible = Record<string, any>

export interface DIDResolutionResult {
'@context'?: 'https://w3id.org/did-resolution/v1' | string | string[]
didResolutionMetadata: DIDResolutionMetadata
didDocument: DIDDocument | null
didDocumentMetadata: DIDDocumentMetadata
Expand Down

0 comments on commit 39a3301

Please sign in to comment.