1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-04-09 19:17:09 +02:00
bitwarden-browser/libs/common/src/platform
Matt Gibson f9f30f8ec4
[PM-17479] Load-sdk-once (#12764)
* create service to load sdk on application init

* Eagerly load CLI SDK

* Remove wasm logging to api

* Fix imports

* Eagerly load Desktop renderer SDK

Note: If the main process ever requires an SDK, we'll need to load it there, too.
In that event, it's probably a good idea to move to IPC for all SDK functions to avoid
loading the SDK for every window.

* init wasm module from sdk load service

* Use default client factory

* Fix type imports

* Resolve jest module import errors

A CLI sdk load service that async imports our wasm binary doesn't seem to be needed to run, but jest isn't dealing with the ESM import properly.

* Fix linting

* remove example code
2025-01-23 14:34:22 -05:00
..
abstractions [PM-17479] Load-sdk-once (#12764) 2025-01-23 14:34:22 -05:00
enums [PM-10741] Refactor biometrics interface & add dynamic status (#10973) 2025-01-08 10:46:00 +01:00
factories Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
interfaces Assign ownership to many libs files (#6928) 2023-11-27 20:59:44 +00:00
messaging Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
misc [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
models [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
scheduling Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
services [PM-17479] Load-sdk-once (#12764) 2025-01-23 14:34:22 -05:00
state [PM-14445] TS strict for Key Management KDF (#13007) 2025-01-23 10:45:33 +01:00
storage Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
sync [PM-15506] Implement vNextOrganizationService (#12839) 2025-01-22 15:20:25 -05:00
theming [PM-11691] Remove Nord and Solarized Dark from extension (#11013) 2024-09-19 10:55:40 -05:00