Skip to content

Commit

Permalink
Thread through id-resolver cfg (#1282)
Browse files Browse the repository at this point in the history
thread through id-resolver-cfg
  • Loading branch information
dholms authored Jul 5, 2023
1 parent 0ceed96 commit 4f7fd8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/identity/src/id-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export class IdResolver {

constructor(opts: IdentityResolverOpts = {}) {
const { timeout = 3000, plcUrl, didCache } = opts
this.handle = new HandleResolver({ timeout })
this.handle = new HandleResolver({
timeout,
backupNameservers: opts.backupNameservers,
})
this.did = new DidResolver({ timeout, plcUrl, didCache })
}
}

0 comments on commit 4f7fd8b

Please sign in to comment.