mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
refactor: introduce @bitwarden/api and @bitwarden/legacy-api
- Created libs/legacy-api with description and platform team ownership - Updated tsconfig.base path mapping and CODEOWNERS - npm install changes in package-lock from generator feat(api): add minimal ApiClient and HttpOperations type with lifted core methods (send, fetch/nativeFetch, token helpers, error handling) feat(api): include prerelease flag header in ApiClient headers to match ApiService behavior refactor(api): type logoutCallback param as LogoutReason to mirror ApiService chore(api): remove unused HttpOperations import from abstraction refactor(api): rename api-client.ts to api.service.ts and update barrel/spec imports chore(api): restore comments and constructor parity with common ApiService (device field, directory traversal note, unauthenticated header rationale) angular: provide TokenProvider -> TokenProviderService; convert TokenProvider to abstract class for DI token; no cycles with @bitwarden/api
This commit is contained in:
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -106,6 +106,8 @@ libs/state-test-utils @bitwarden/team-platform-dev
|
||||
libs/device-type @bitwarden/team-platform-dev
|
||||
libs/encoding @bitwarden/team-platform-dev
|
||||
libs/platform-utils @bitwarden/team-platform-dev
|
||||
libs/api @bitwarden/team-platform-dev
|
||||
libs/legacy-api @bitwarden/team-platform-dev
|
||||
# Web utils used across app and connectors
|
||||
apps/web/src/utils/ @bitwarden/team-platform-dev
|
||||
# Web core and shared files
|
||||
|
||||
Reference in New Issue
Block a user