Open vaultec81 opened 11 months ago
I'm unable to reproduce the issue locally using the example in your post.
However, it looks like your repo is on an old version of key-did-resolver
:
https://github.com/spknetwork/spk-graph-client/blob/main/package.json#L44
@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