@stream-io/video-client 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-client",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -120,7 +120,9 @@ export class StreamVideoClient {
120
120
  const user = apiKeyOrArgs.user;
121
121
  const token = apiKeyOrArgs.token || apiKeyOrArgs.tokenProvider;
122
122
  if (user) {
123
- this.connectUser(user, token);
123
+ this.connectUser(user, token).catch((err) => {
124
+ this.logger('error', 'Failed to connect', err);
125
+ });
124
126
  }
125
127
  }
126
128
  }