genesys-cloud-streaming-client 17.2.2-fixStringInterpolation.2 → 17.2.2-release.2

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.
@@ -453,7 +453,7 @@ class Client extends events_1.default {
453
453
  }
454
454
  async setupConnectionMonitoring(stanzaInstance) {
455
455
  const setupClientPinger = (message) => {
456
- const logMessage = `${message}, falling back to client-side pinging`;
456
+ const logMessage = `$(message), falling back to client-side pinging`;
457
457
  this.logger.warn(logMessage, { stanzaInstanceId: stanzaInstance.id, channelId: stanzaInstance.channelId });
458
458
  stanzaInstance.pinger = new ping_1.Ping(this, stanzaInstance);
459
459
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "developercenter-cdn/streaming-client",
3
- "version": "fixStringInterpolation",
3
+ "version": "17.2.2",
4
4
  "ecosystem": "pc",
5
5
  "team": "Client Streaming and Signaling",
6
6
  "indexFiles": [
@@ -18,5 +18,5 @@
18
18
  }
19
19
  ],
20
20
  "build": "2",
21
- "buildDate": "2024-06-19T00:50:56.389075Z"
21
+ "buildDate": "2024-06-21T21:49:33.498934Z"
22
22
  }
package/dist/es/client.js CHANGED
@@ -462,7 +462,7 @@ export class Client extends EventEmitter {
462
462
  setupConnectionMonitoring(stanzaInstance) {
463
463
  return __awaiter(this, void 0, void 0, function* () {
464
464
  const setupClientPinger = (message) => {
465
- const logMessage = `${message}, falling back to client-side pinging`;
465
+ const logMessage = `$(message), falling back to client-side pinging`;
466
466
  this.logger.warn(logMessage, { stanzaInstanceId: stanzaInstance.id, channelId: stanzaInstance.channelId });
467
467
  stanzaInstance.pinger = new Ping(this, stanzaInstance);
468
468
  };
@@ -41943,7 +41943,7 @@ class Client extends EventEmitter {
41943
41943
  setupConnectionMonitoring(stanzaInstance) {
41944
41944
  return __awaiter$5(this, void 0, void 0, function* () {
41945
41945
  const setupClientPinger = (message) => {
41946
- const logMessage = `${message}, falling back to client-side pinging`;
41946
+ const logMessage = `$(message), falling back to client-side pinging`;
41947
41947
  this.logger.warn(logMessage, { stanzaInstanceId: stanzaInstance.id, channelId: stanzaInstance.channelId });
41948
41948
  stanzaInstance.pinger = new Ping(this, stanzaInstance);
41949
41949
  };
@@ -41954,11 +41954,11 @@ class Client extends EventEmitter {
41954
41954
  stanzaInstance.serverMonitor = new ServerMonitor(this, stanzaInstance);
41955
41955
  }
41956
41956
  catch (err) {
41957
- setupClientPinger('failed to establish server-side pinging');
41957
+ setupClientPinger();
41958
41958
  }
41959
41959
  }
41960
41960
  else {
41961
- setupClientPinger('client configured to not use server-side pinging');
41961
+ setupClientPinger();
41962
41962
  }
41963
41963
  });
41964
41964
  }
@@ -4,17 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.1...HEAD)
7
+ # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.2...HEAD)
8
+
9
+ # [v17.2.2](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.1...v17.2.2)
8
10
  ### Fixed
9
11
  * [STREAM-108](https://inindca.atlassian.net/browse/STREAM-108) Update ws to address Snyk vulnerability
10
- ### Changed
11
- * [no-jira] Fix string interpolation for log message and update docs for `useServerSidePings` default
12
+ ### Added
13
+ * [STREAM-71](https://inindca.atlassian.net/browse/STREAM-71) - proxy the priv-answer-mode param on the propose to the pendingSession (used for internal purposes)
12
14
 
13
15
  # [v17.2.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.0...v17.2.1)
14
16
  ### Changed
15
17
  * [STREAM-96](https://inindca.atlassian.net/browse/STREAM-96) - Forcefully disconnect the WebSocket when missed pings are detected to help reconnect faster
16
- ### Added
17
- * [STREAM-71](https://inindca.atlassian.net/browse/STREAM-71) - proxy the priv-answer-mode param on the propose to the pendingSession (used for internal purposes)
18
18
 
19
19
  # [v17.2.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.1.3...v17.2.0)
20
20
  ### Added
@@ -453,7 +453,7 @@ class Client extends events_1.default {
453
453
  }
454
454
  async setupConnectionMonitoring(stanzaInstance) {
455
455
  const setupClientPinger = (message) => {
456
- const logMessage = `${message}, falling back to client-side pinging`;
456
+ const logMessage = `$(message), falling back to client-side pinging`;
457
457
  this.logger.warn(logMessage, { stanzaInstanceId: stanzaInstance.id, channelId: stanzaInstance.channelId });
458
458
  stanzaInstance.pinger = new ping_1.Ping(this, stanzaInstance);
459
459
  };