mirror of
https://github.com/bitwarden/clients.git
synced 2025-12-11 05:44:04 -06: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.