@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/dist/index.cjs.js CHANGED
@@ -15310,7 +15310,7 @@ class StreamClient {
15310
15310
  });
15311
15311
  };
15312
15312
  this.getUserAgent = () => {
15313
- const version = "1.2.2" ;
15313
+ const version = "1.3.0" ;
15314
15314
  return (this.userAgent ||
15315
15315
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
15316
15316
  };
@@ -15671,7 +15671,9 @@ class StreamVideoClient {
15671
15671
  const user = apiKeyOrArgs.user;
15672
15672
  const token = apiKeyOrArgs.token || apiKeyOrArgs.tokenProvider;
15673
15673
  if (user) {
15674
- this.connectUser(user, token);
15674
+ this.connectUser(user, token).catch((err) => {
15675
+ this.logger('error', 'Failed to connect', err);
15676
+ });
15675
15677
  }
15676
15678
  }
15677
15679
  }