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 MultiPassBox.get_identity(...) is exported to typescript, the return type is Promise<any>
We want any to be typed. (In rust it's a Vec<Identity>).
Furthermore, consider splitting .get_identity(...) into separate functions for it's variants (DID, DIDList, Username) so that DID and Username variants can return just an Identity instead of a Vec<Identity> with a single element.
The text was updated successfully, but these errors were encountered:
Given that MultiPass::get_identity is now returns a stream, we could probably convert the exported function to return an asynciter for the stream side (by default) and have a separate function for a single identity. See Satellite-im/Warp#554
When
MultiPassBox.get_identity(...)
is exported to typescript, the return type isPromise<any>
We want
any
to be typed. (In rust it's aVec<Identity>
).Furthermore, consider splitting
.get_identity(...)
into separate functions for it's variants (DID
,DIDList
,Username
) so thatDID
andUsername
variants can return just anIdentity
instead of aVec<Identity>
with a single element.The text was updated successfully, but these errors were encountered: