mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[PM-25569] Expose commercial sdk service to web clients (#16899)
* feat: enable commercial SDK usage on web * feat: enable commercial SDK usage in cli * feat: enable commercial SDK usage in browser * feat: add lint to restrict commercial sdk imports
This commit is contained in:
7
bitwarden_license/bit-common/src/platform/sdk/sdk-alias.d.ts
vendored
Normal file
7
bitwarden_license/bit-common/src/platform/sdk/sdk-alias.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare module "@bitwarden/sdk-internal" {
|
||||
// In `bit-*` clients the commercial sdk replaces the regular internal sdk,
|
||||
// this file creates an alias so that typescript understands that.
|
||||
// The actual replacement is done in the build system via webpack's resolve.alias.
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
export * from "@bitwarden/commercial-sdk-internal";
|
||||
}
|
||||
Reference in New Issue
Block a user