mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +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.