@stream-io/video-client 0.0.17 → 0.0.18

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.0.18](https://github.com/GetStream/stream-video-js/compare/client0.0.17...client0.0.18) (2023-06-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * Custom logger example ([#669](https://github.com/GetStream/stream-video-js/issues/669)) ([208aed9](https://github.com/GetStream/stream-video-js/commit/208aed9f82dcbf5f9ffdf299c4672af855af344a))
11
+
5
12
  ### [0.0.17](https://github.com/GetStream/stream-video-js/compare/client0.0.16...client0.0.17) (2023-06-20)
6
13
 
7
14
 
@@ -11079,7 +11079,7 @@ class StreamClient {
11079
11079
  }
11080
11080
  getUserAgent() {
11081
11081
  return (this.userAgent ||
11082
- `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.16"}`);
11082
+ `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.17"}`);
11083
11083
  }
11084
11084
  setUserAgent(userAgent) {
11085
11085
  this.userAgent = userAgent;
@@ -11329,7 +11329,7 @@ class StreamVideoClient {
11329
11329
  this.logLevel = ((_a = apiKeyOrArgs.options) === null || _a === void 0 ? void 0 : _a.logLevel) || this.logLevel;
11330
11330
  this.logger = ((_b = apiKeyOrArgs.options) === null || _b === void 0 ? void 0 : _b.logger) || defaultLogger;
11331
11331
  }
11332
- setLogger(this.filterLogs(defaultLogger));
11332
+ setLogger(this.filterLogs(this.logger));
11333
11333
  const clientLogger = getLogger(['client']);
11334
11334
  if (typeof apiKeyOrArgs === 'string') {
11335
11335
  this.streamClient = new StreamClient(apiKeyOrArgs, Object.assign(Object.assign({ persistUserOnConnectionFailure: true }, opts), { logLevel: this.logLevel, logger: clientLogger }));