mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 22:44:11 +00:00
Webpack seems to always convert imports to be async. This causes a issue where
init_sdk is not always initialized before we call it. To resolve this I added
a promise we can await in MV3 mode, and also defined a timeout which throws an
error we can use to identify if we have issues loading the module.
(cherry picked from commit ef127fd26e)