You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems types are invalid between what's required by js-did and what's produced by key-did-resolver. I am not sure if this issue is only on my machine or not. I was able to bypass by doing as any to prevent the type checker for looking any further
Technical Information
test/util/get-test-ceramic-client.function.ts:9:25 - error TS2322: Type 'ResolverRegistry' is not assignable to type 'Resolver | ResolverRegistry | undefined'.
Type 'ResolverRegistry' is missing the following properties from type 'Resolver': registry, cache, resolve
9 const did = new DID({ resolver: KeyResolver.getResolver() })
@oed I upgraded everything to latest on my local branch as shown above. I'll double check to make sure it installed correctly and any other conflict points.
@vaultec81 I tried the example code snippet you provided in OP in a clean repo and it worked for me. So I suspect maybe you have multiple versions of some package installed perhaps?
Description
Seems types are invalid between what's required by js-did and what's produced by
key-did-resolver
. I am not sure if this issue is only on my machine or not. I was able to bypass by doing as any to prevent the type checker for looking any furtherTechnical Information
StackTrace
Example:
package.json
Full usage
https://github.com/spknetwork/spk-graph-client/blob/main/test/util/get-test-ceramic-client.function.ts
The text was updated successfully, but these errors were encountered: