From 33830295c530e5759dddc2b1bb9c1a0c501d69a8 Mon Sep 17 00:00:00 2001 From: Egor Gavrilov Date: Sun, 1 Sep 2024 20:47:02 +0800 Subject: [PATCH] Fix doc for SpacetimeDBClient constructor Remove `protocol` param as possible param for constructor --- packages/sdk/src/spacetimedb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/spacetimedb.ts b/packages/sdk/src/spacetimedb.ts index d391733..8e3aa19 100644 --- a/packages/sdk/src/spacetimedb.ts +++ b/packages/sdk/src/spacetimedb.ts @@ -144,7 +144,7 @@ export class SpacetimeDBClient { * const name_or_address = "database_name" * const auth_token = undefined; * - * var spacetimeDBClient = new SpacetimeDBClient(host, name_or_address, auth_token, protocol); + * var spacetimeDBClient = new SpacetimeDBClient(host, name_or_address, auth_token); * ``` */ constructor(host: string, name_or_address: string, auth_token?: string) {