genesys-cloud-streaming-client 16.0.0-develop.50 → 16.0.1-develop.52
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/cjs/types/genesys-cloud-media-session.js +1 -1
- package/dist/deploy-info.json +5 -5
- package/dist/es/client.js +1 -1
- package/dist/es/index.bundle.js +2 -2
- package/dist/es/types/genesys-cloud-media-session.js +1 -1
- package/dist/npm/CHANGELOG.md +6 -1
- package/dist/npm/client.js +1 -1
- package/dist/npm/types/genesys-cloud-media-session.js +1 -1
- package/dist/streaming-client.browser.ie.js +1 -1
- package/dist/streaming-client.browser.js +1 -1
- package/dist/v16/streaming-client.browser.ie.js +1 -1
- package/dist/v16/streaming-client.browser.js +1 -1
- package/dist/{v16.0.0 → v16.0.1}/streaming-client.browser.ie.js +1 -1
- package/dist/{v16.0.0 → v16.0.1}/streaming-client.browser.js +1 -1
- package/package.json +1 -1
package/dist/cjs/client.js
CHANGED
|
@@ -82,7 +82,7 @@ class GenesysCloudMediaSession {
|
|
|
82
82
|
reason: reason.condition || reason
|
|
83
83
|
};
|
|
84
84
|
if (!silent) {
|
|
85
|
-
await utils_1.timeoutPromise(() => this.sendGenesysWebrtc({ method: 'terminate', params }), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
85
|
+
await utils_1.timeoutPromise((resolve, reject) => this.sendGenesysWebrtc({ method: 'terminate', params }).then(resolve, reject), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
86
86
|
}
|
|
87
87
|
this.onSessionTerminate(params.reason);
|
|
88
88
|
}
|
package/dist/deploy-info.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "developercenter-cdn/streaming-client",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"ecosystem": "pc",
|
|
5
5
|
"team": "Genesys Client Media (WebRTC)",
|
|
6
6
|
"indexFiles": [
|
|
7
7
|
{
|
|
8
|
-
"file": "/v16.0.
|
|
8
|
+
"file": "/v16.0.1/streaming-client.browser.ie.js"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"file": "/v16.0.
|
|
11
|
+
"file": "/v16.0.1/streaming-client.browser.js"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"file": "/v16/streaming-client.browser.ie.js"
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"file": "/v16/streaming-client.browser.js"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
|
-
"build": "
|
|
21
|
-
"buildDate": "2023-05-
|
|
20
|
+
"build": "52",
|
|
21
|
+
"buildDate": "2023-05-25T14:20:10.116798Z"
|
|
22
22
|
}
|
package/dist/es/client.js
CHANGED
package/dist/es/index.bundle.js
CHANGED
|
@@ -27954,7 +27954,7 @@ class GenesysCloudMediaSession {
|
|
|
27954
27954
|
reason: reason.condition || reason
|
|
27955
27955
|
};
|
|
27956
27956
|
if (!silent) {
|
|
27957
|
-
yield timeoutPromise$2(() => this.sendGenesysWebrtc({ method: 'terminate', params }), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
27957
|
+
yield timeoutPromise$2((resolve, reject) => this.sendGenesysWebrtc({ method: 'terminate', params }).then(resolve, reject), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
27958
27958
|
}
|
|
27959
27959
|
this.onSessionTerminate(params.reason);
|
|
27960
27960
|
});
|
|
@@ -43953,7 +43953,7 @@ class Client extends EventEmitter {
|
|
|
43953
43953
|
return Client.version;
|
|
43954
43954
|
}
|
|
43955
43955
|
static get version() {
|
|
43956
|
-
return '16.0.
|
|
43956
|
+
return '16.0.1';
|
|
43957
43957
|
}
|
|
43958
43958
|
}
|
|
43959
43959
|
|
|
@@ -84,7 +84,7 @@ export class GenesysCloudMediaSession {
|
|
|
84
84
|
reason: reason.condition || reason
|
|
85
85
|
};
|
|
86
86
|
if (!silent) {
|
|
87
|
-
yield timeoutPromise(() => this.sendGenesysWebrtc({ method: 'terminate', params }), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
87
|
+
yield timeoutPromise((resolve, reject) => this.sendGenesysWebrtc({ method: 'terminate', params }).then(resolve, reject), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
88
88
|
}
|
|
89
89
|
this.onSessionTerminate(params.reason);
|
|
90
90
|
});
|
package/dist/npm/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,12 @@ 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/
|
|
7
|
+
# [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v16.0.0...HEAD)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
* [PCM-2114](https://inindca.atlassian.net/browse/PCM-2114) - fix false-positive timeout error for ending reinvited sessions
|
|
11
|
+
|
|
12
|
+
# [v16.0.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v15.1.7...v16.0.0)
|
|
8
13
|
### Breaking Changes
|
|
9
14
|
* `session.end()` now returns a `Promise<void>` instead of `void`
|
|
10
15
|
|
package/dist/npm/client.js
CHANGED
|
@@ -82,7 +82,7 @@ class GenesysCloudMediaSession {
|
|
|
82
82
|
reason: reason.condition || reason
|
|
83
83
|
};
|
|
84
84
|
if (!silent) {
|
|
85
|
-
await utils_1.timeoutPromise(() => this.sendGenesysWebrtc({ method: 'terminate', params }), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
85
|
+
await utils_1.timeoutPromise((resolve, reject) => this.sendGenesysWebrtc({ method: 'terminate', params }).then(resolve, reject), 2000, 'Timeout waiting for response to termination request', { sessionId: this.id, conversationId: this.conversationId, sessionType: this.sessionType }).catch((e) => this.logger.error(e));
|
|
86
86
|
}
|
|
87
87
|
this.onSessionTerminate(params.reason);
|
|
88
88
|
}
|