1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-12 00:41:29 +01:00
bitwarden-browser/apps/desktop
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
..
.vscode
config [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
desktop_native [deps] Platform: Update Rust crate log to v0.4.25 (#12960) 2025-01-22 13:50:29 -05:00
macos [PM-9473] Add messaging for macOS passkey extension and desktop (#10768) 2024-12-19 09:00:21 +01:00
native-messaging-test-runner [deps] Platform: Update @types/node to v22.10.7 (#12958) 2025-01-22 11:49:48 -05:00
resources Remove differences from flathub flatpak manifest and devel manifest (#12555) 2025-01-13 19:11:36 +01:00
scripts Add no-sandbox to make electron work on ubuntu (#12908) 2025-01-17 11:22:03 +01:00
src [PM-17479] Load-sdk-once (#12764) 2025-01-23 14:34:22 -05:00
stores Update all instances of copyright with 2023 to 2024 (#7396) 2023-12-29 15:28:14 +00:00
.eslintrc.json
.gitignore [PM-9022] scaffold the extension and build pipeline (#9948) 2024-11-13 15:54:35 +01:00
crowdin.yml
electron-builder.json [PM-16874] [deps] Platform: Update electron to v33.3.1 (#12746) 2025-01-13 14:04:43 -08:00
installer.nsh
jest.config.js [PM-5537] Biometric State Service (#7761) 2024-02-05 13:02:28 -05:00
package.json Bumped Desktop client to 2025.1.5 2025-01-23 12:16:38 +00:00
postcss.config.js [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
README.md Update urls to match the contributing docs (#4192) 2022-12-06 11:20:27 +01:00
sign.js [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
tailwind.config.js [PM-16889] Add KM lib to tailwind configs (#12783) 2025-01-09 13:07:26 -06:00
test.setup.ts [SG-397] Configure jest for Desktop and add simple tests (#3467) 2022-09-15 12:31:15 -04:00
tsconfig.json [PM-17031] Create UI-common (#12831) 2025-01-17 10:42:31 -05:00
tsconfig.renderer.json
tsconfig.spec.json [SG-397] Configure jest for Desktop and add simple tests (#3467) 2022-09-15 12:31:15 -04:00
webpack.main.js Switch to rustcrypto argon2 on desktop (#11753) 2024-12-04 11:54:55 +00:00
webpack.preload.js Remove clean-webpack-plugin (#8240) 2024-03-12 18:02:47 +01:00
webpack.renderer.js [PM-11766] Introduce SDK client (#10974) 2024-10-07 13:20:50 +02:00

Github Workflow build on master Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Desktop Application

Platforms

The Bitwarden desktop app is written using Electron and Angular. The application installs on Windows, macOS, and Linux distributions.

Desktop Vault

Documentation

Please refer to the Desktop section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.