@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/CHANGELOG.md +14 -0
- package/dist/index.browser.es.js +4 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/StreamVideoClient.ts +3 -1
package/package.json
CHANGED
package/src/StreamVideoClient.ts
CHANGED
|
@@ -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
|
}
|