Closed KilianKae closed 3 years ago
This issue can either be avoided by turning strict null checks of. However we advise to use the did-resolver library which handles the parameters.
import { Resolver } from 'did-resolver';
const resolver = new Resolver({ ...tlsResolver });
const didDocument = await resolver.resolve(`did:tls:${tlsDid.domain}`);