Skip to content

Commit

Permalink
fix: export interfaces needed by resolvers (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
oed authored Mar 2, 2021
1 parent 807652f commit 89e8c9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ export type LegacyDIDResolver = (
resolver: Resolver
) => Promise<DIDDocument>

interface ResolverRegistry {
export interface ResolverRegistry {
[index: string]: DIDResolver
}

interface LegacyResolverRegistry {
export interface LegacyResolverRegistry {
[index: string]: LegacyDIDResolver
}

interface ResolverOptions {
export interface ResolverOptions {
cache?: DIDCache | boolean | undefined
legacyResolvers?: LegacyResolverRegistry
}
Expand Down

0 comments on commit 89e8c9c

Please sign in to comment.