@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 +7 -0
- package/dist/index.browser.es.js +2 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/StreamVideoClient.ts +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11084,7 +11084,7 @@ class StreamClient {
|
|
|
11084
11084
|
}
|
|
11085
11085
|
getUserAgent() {
|
|
11086
11086
|
return (this.userAgent ||
|
|
11087
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11087
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.17"}`);
|
|
11088
11088
|
}
|
|
11089
11089
|
setUserAgent(userAgent) {
|
|
11090
11090
|
this.userAgent = userAgent;
|
|
@@ -11334,7 +11334,7 @@ class StreamVideoClient {
|
|
|
11334
11334
|
this.logLevel = ((_a = apiKeyOrArgs.options) === null || _a === void 0 ? void 0 : _a.logLevel) || this.logLevel;
|
|
11335
11335
|
this.logger = ((_b = apiKeyOrArgs.options) === null || _b === void 0 ? void 0 : _b.logger) || defaultLogger;
|
|
11336
11336
|
}
|
|
11337
|
-
setLogger(this.filterLogs(
|
|
11337
|
+
setLogger(this.filterLogs(this.logger));
|
|
11338
11338
|
const clientLogger = getLogger(['client']);
|
|
11339
11339
|
if (typeof apiKeyOrArgs === 'string') {
|
|
11340
11340
|
this.streamClient = new StreamClient(apiKeyOrArgs, Object.assign(Object.assign({ persistUserOnConnectionFailure: true }, opts), { logLevel: this.logLevel, logger: clientLogger }));
|