mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
* add `WebBrowserInteractionService` and check for the extension observable * update checkForExtension to use observables rather than window timeouts * add open extension to WebBrowserInteractionService * add at-risk-passwords to `PopupPageUrls` * refactor `PopupPageUrls` to `ExtensionPageUrls` * add test for passing a page * refactor `Default` to `Index` * clean up complete/next issue using `race` * refactor page to url * continue listening for messages from the extension after subscribed * mark risk passwords a deprecated * remove takeUntilDestroyed * add back `takeUntilDestroyed` for internal `messages` * removed null filter - unneeded * add tap to send message for extension installation * add check for accepted urls to prevent any bad actors from opening the extension
11 lines
343 B
TypeScript
11 lines
343 B
TypeScript
const VaultMessages = {
|
|
HasBwInstalled: "hasBwInstalled",
|
|
checkBwInstalled: "checkIfBWExtensionInstalled",
|
|
/** @deprecated use {@link OpenBrowserExtensionToUrl} */
|
|
OpenAtRiskPasswords: "openAtRiskPasswords",
|
|
OpenBrowserExtensionToUrl: "openBrowserExtensionToUrl",
|
|
PopupOpened: "popupOpened",
|
|
} as const;
|
|
|
|
export { VaultMessages };
|