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
When I was implementing an identity manager the latest IdentityAgent from @web5/identity-agent, I ran into a problem trying to pass a did created using DidDht into identityManager.create() function. Specifically, the create function expects a different PortableDid type than the one that you can create using DidDht.
No overload matches this call.
Overload 1 of 2, '(options: CreateWithDidMethod<keyof CreateDidMethodOptions>): Promise<ManagedIdentity>', gave the following error.
Object literal may only specify known properties, and 'did' does not exist in type 'CreateWithDidMethod<keyof CreateDidMethodOptions>'.
Overload 2 of 2, '(options: CreateWithDid): Promise<ManagedIdentity>', gave the following error.
Type 'PortableDid' is missing the following properties from type 'PortableDid': did, keySet
When I was implementing an identity manager the latest
IdentityAgent
from@web5/identity-agent
, I ran into a problem trying to pass adid
created usingDidDht
intoidentityManager.create()
function. Specifically, the create function expects a differentPortableDid
type than the one that you can create usingDidDht
.Here's the code I have
The error is
I'm using these versions
The text was updated successfully, but these errors were encountered: