-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR changes #392] feat: move pointer and sessionDataType to the Sessi…
…onConfig (#592) * feat: add generic to "jsonPointerGet" * feat: implement the sessionDataJsonPointer * feat: add to docs * feat: move pointer and sessionDataType to the SessionConfig * fix: remove default baseUrl * fix merge conflicts from main * fix: merge conflict with SessionConfig * reset to main branch state * fix: lint * feat: make session refresh params optional * feat: rebase `jsonPointerGet` function on @Danielwinkelmann's original modifications * refacto: set the return type when extracting json pointers * fix: should use the pointer to retrieve the user session not datatype + improves returned error * revert: import as type * fix lint * fix: type issue - forgotten changes from daniel * move the session data type back to the providers (local and refresh) * forget to remove baseurl while testing * fix: use config directly * docs: add session data type to the refresh docs * fix(playground): reset to default pointer '/' Co-authored-by: Marsel Shayhin <[email protected]> * Update useAuth.ts * Update useAuth.ts * Update helpers.ts * Update helpers.ts * fix: usage of `/` in json pointer get --------- Co-authored-by: Daniel Winkelmann <[email protected]> Co-authored-by: Daniel <[email protected]> Co-authored-by: Zoey <[email protected]> Co-authored-by: Valentin Hutter <[email protected]> Co-authored-by: Valentin Hutter <[email protected]> Co-authored-by: Marsel Shayhin <[email protected]>
- Loading branch information
1 parent
4dfe9eb
commit a863d92
Showing
8 changed files
with
101 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters