-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OOB: Set cross-site cookies based on config flag (#1031)
* refactor: Extract cookie management api creation into function * refactor: Clean up interface's methods implementation * chore: Bump js-cookie to 3.0.1 A breaking change introduced in 3.0.0 is the removal of build-in JSON support (i.e `getJson()`) and automatic stringifying/parsing on set/get. To avoid introducing breaking change in Monster UI's wrapper for cookie handling, stringifying/parsing steps were moved inside the set/getJson's innter methods/ Since the cookie library used to swallow exceptions in either stringifying/parsing, that behavior was also reproduced in the wrapper. * feat: Mark cookies for cross-site usage * feat: Set cross site cookies based on config flag
- Loading branch information
1 parent
6620cac
commit 5672971
Showing
5 changed files
with
56 additions
and
187 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.