Skip to content

Release v13.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Oct 10:03
8e8745b
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]>