Skip to content

Commit

Permalink
docs(did-provider-key): add some inline docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jun 8, 2022
1 parent e289771 commit 97a2ce1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/did-provider-key/src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ const resolveDidKey: DIDResolver = async (
}
}

/**
* Provides a mapping to a did:key resolver, usable by {@link did-resolver#Resolver}.
*
* @public
*/
export function getDidKeyResolver() {
return { key: resolveDidKey }
}

0 comments on commit 97a2ce1

Please sign in to comment.