Skip to content

Commit

Permalink
Add a comment for browser factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Oct 4, 2024
1 parent fc9191d commit 3d6992e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ if (supported) {
import("./fallback");
}

/**
* SDK client factory with a js fallback for when WASM is not supported.
*
* Works both in popup and service worker.
*/
export class BrowserSdkClientFactory implements SdkClientFactory {
async createSdkClient(
...args: ConstructorParameters<typeof BitwardenClient>
Expand Down

0 comments on commit 3d6992e

Please sign in to comment.