Skip to content

Commit 314b644

Browse files
committed
frontend: createClient -> createFrontendClient
1 parent bfbc249 commit 314b644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sdk/src/browser/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ type StartConnectOpts = {
7979
*
8080
* @example
8181
* ```typescript
82-
* const client = createClient({
82+
* const client = createFrontendClient({
8383
* environment: "production",
8484
* });
8585
* ```
8686
* @param opts - The options for creating the browser client.
8787
* @returns A new instance of `BrowserClient`.
8888
*/
89-
export function createClient(opts: CreateBrowserClientOpts = {}) {
89+
export function createFrontendClient(opts: CreateBrowserClientOpts = {}) {
9090
return new BrowserClient(opts);
9191
}
9292

0 commit comments

Comments
 (0)