diff --git a/src/resolver.ts b/src/resolver.ts index f32a89b..86cdad5 100644 --- a/src/resolver.ts +++ b/src/resolver.ts @@ -124,15 +124,15 @@ export type LegacyDIDResolver = ( resolver: Resolver ) => Promise -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 }