You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/client.ts
+13-64Lines changed: 13 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,6 @@ export class StreamChat extends ChatApi {
184
184
blockedUsers: StateStore<BlockedUsersState>;
185
185
node: boolean;
186
186
options: StreamChatOptions;
187
-
secret?: string;
188
187
setUserPromise: ConnectAPIResponse|null;
189
188
state: ClientState;
190
189
tokenManager: TokenManager;
@@ -244,7 +243,6 @@ export class StreamChat extends ChatApi {
244
243
* new StreamChat('api_key', 'secret', { httpsAgent: customAgent })
245
244
*
246
245
* @param key - The API key.
247
-
* @param secret - The API secret (optional).
248
246
* @param options - Additional options; here you can pass custom options to the axios instance (optional).
249
247
* @param options.browser - Enforce the client to be in browser mode (optional).
250
248
* @param options.warmUp - If `true`, the client will open a connection as soon as possible to speed up following requests (optional, defaults to `false`).
@@ -253,13 +251,7 @@ export class StreamChat extends ChatApi {
253
251
* @param options.timeout - Request timeout (optional, defaults to `3000`).
254
252
* @param options.httpsAgent - Custom `httpsAgent` (optional, in Node defaults to `https.agent()`).
* @param options - Additional options; here you can pass custom options to the axios instance (optional).
381
357
* @param options.browser - Enforce the client to be in browser mode (optional).
382
358
* @param options.warmUp - If `true`, the client will open a connection as soon as possible to speed up following requests (optional, defaults to `false`).
@@ -386,23 +362,9 @@ export class StreamChat extends ChatApi {
386
362
* @param options.httpsAgent - Custom `httpsAgent` (optional, in Node defaults to `https.agent()`).
0 commit comments