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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add user interaction
* feat: should return user object when interaction is configured
* feat: should execute the interaction setup function and return the instance
* feat: should execute setup with its own config when provided in withInteraction
* feat: add withInteraction type to Wrap type
* feat: should not provide a user instance when no interaction is configured
* refactor: change setup to be optional
* feat: should not leak local withInteraction config to subsequent mounts
* refactor: improve setup type
* refactor: simplify interactoin configuration logic
* feat: improve interaction types
* reafctor: improve generic types
* refactor: create InteractionDescriptor to avoid repetition
* export InteractionDescriptor type
* refactor: raname TS generic type to more verbose namings
* test: adapt test to new type changes
---------
Co-authored-by: Unai Elizondo <[email protected]>