clients/libs/platform
Addison Beck f759e62aeb
fix(browser): restore timer based background syncs (#14031)
* docs: fix a typo

* fix(browser): restore timer-based background syncs

The browser extension was not performing scheduled background syncs every 30 minutes as expected. This was due to missing task scheduling code that was accidentally removed during the web push implementation (PR #11346).

This commit:
- Creates a new BackgroundSyncService to manage sync scheduling
- Properly initializes the sync interval in main.background.ts
- Adds a test to ensure the sync initialization code isn't accidentally removed again
- Organizes platform module structure to support the new service

Fixes PM-19396

* review: remove unecassary await keyword
2025-03-28 14:17:18 -04:00
..
src fix(browser): restore timer based background syncs (#14031) 2025-03-28 14:17:18 -04:00
jest.config.js [PM-16872] Update libs to use explicit dependencies (#12770) 2025-01-10 11:21:38 +01:00
package.json create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00
README.md create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00
test.setup.ts [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
tsconfig.json fix(browser): restore timer based background syncs (#14031) 2025-03-28 14:17:18 -04:00
tsconfig.spec.json create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00

Platform

This lib represents the public API of the Platform team at Bitwarden. Modules are imported using @bitwarden/platform.