We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbc249 commit 314b644Copy full SHA for 314b644
packages/sdk/src/browser/index.ts
@@ -79,14 +79,14 @@ type StartConnectOpts = {
79
*
80
* @example
81
* ```typescript
82
- * const client = createClient({
+ * const client = createFrontendClient({
83
* environment: "production",
84
* });
85
* ```
86
* @param opts - The options for creating the browser client.
87
* @returns A new instance of `BrowserClient`.
88
*/
89
-export function createClient(opts: CreateBrowserClientOpts = {}) {
+export function createFrontendClient(opts: CreateBrowserClientOpts = {}) {
90
return new BrowserClient(opts);
91
}
92
0 commit comments