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
Describe the bug
When creating an HttpAgent passing a Secp256k1KeyIdentity as the identity, ts complains with the following error
Type 'Secp256k1KeyIdentity' is not assignable to type 'Identity | Promise<Identity> | undefined'.
Type 'Secp256k1KeyIdentity' is not assignable to type 'Identity'.
The types returned by 'getPrincipal()' are incompatible between these types.
Describe the bug
When creating an HttpAgent passing a
Secp256k1KeyIdentity
as the identity,ts
complains with the following errorTo Reproduce
Steps to reproduce the behavior:
Use
@dfinity/[email protected]
and@dfinity/[email protected]
and try to create anHttpAgent
with asecp
identity.Expected behavior
The types should be compatible
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: