Skip to content

Commit

Permalink
Add active account update event (#6854)
Browse files Browse the repository at this point in the history
This PR:
- Adds a new cross-tab account storage event called
`ACTIVE_ACCOUNT_CHANGED` to `EventHandler` API
- Adds logic to emit the `ACTIVE_ACCOUNT_CHANGED` event when the
`active-account-filters` cache entry is modified in a new tab
- Adds docs for event usage
- Adds tests
  • Loading branch information
hectormmg authored Jan 30, 2024
1 parent 687fe33 commit 400dc4d
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 33 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Add active account update event #6854",
"packageName": "@azure/msal-browser",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Loading

0 comments on commit 400dc4d

Please sign in to comment.