genesys-cloud-streaming-client 17.2.2-develop.104 → 17.2.2-develop.105
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/cjs/client.js +1 -1
- package/dist/deploy-info.json +2 -2
- package/dist/es/client.js +1 -1
- package/dist/es/index.bundle.js +3 -3
- package/dist/npm/CHANGELOG.md +2 -0
- package/dist/npm/client.js +1 -1
- package/dist/streaming-client.browser.ie.js +1 -1
- package/dist/streaming-client.browser.js +1 -1
- package/dist/v17/streaming-client.browser.ie.js +1 -1
- package/dist/v17/streaming-client.browser.js +1 -1
- package/dist/v17.2.2/streaming-client.browser.ie.js +1 -1
- package/dist/v17.2.2/streaming-client.browser.js +1 -1
- package/package.json +1 -1
package/dist/cjs/client.js
CHANGED
|
@@ -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 = `$
|
|
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
|
};
|
package/dist/deploy-info.json
CHANGED
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 = `$
|
|
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
|
};
|
package/dist/es/index.bundle.js
CHANGED
|
@@ -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 = `$
|
|
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();
|
|
41957
|
+
setupClientPinger('failed to establish server-side pinging');
|
|
41958
41958
|
}
|
|
41959
41959
|
}
|
|
41960
41960
|
else {
|
|
41961
|
-
setupClientPinger();
|
|
41961
|
+
setupClientPinger('client configured to not use server-side pinging');
|
|
41962
41962
|
}
|
|
41963
41963
|
});
|
|
41964
41964
|
}
|
package/dist/npm/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
# [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.1...HEAD)
|
|
8
8
|
### Fixed
|
|
9
9
|
* [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
|
|
10
12
|
|
|
11
13
|
# [v17.2.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.0...v17.2.1)
|
|
12
14
|
### Changed
|
package/dist/npm/client.js
CHANGED
|
@@ -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 = `$
|
|
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
|
};
|