genesys-cloud-streaming-client 17.2.1 → 17.2.2-develop.104

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.
@@ -541,7 +541,7 @@ class Client extends events_1.default {
541
541
  return Client.version;
542
542
  }
543
543
  static get version() {
544
- return '17.2.1';
544
+ return '17.2.2';
545
545
  }
546
546
  }
547
547
  exports.Client = Client;
@@ -9,6 +9,7 @@ export interface Propose {
9
9
  originalRoomJid?: string;
10
10
  fromUserId?: string;
11
11
  sdpOverXmpp?: boolean;
12
+ privAnswerMode?: 'Auto';
12
13
  }
13
14
  declare module 'stanza/protocol' {
14
15
  interface IQPayload {
@@ -11,6 +11,7 @@ const proposeDefinition = {
11
11
  conversationId: jxt_1.attribute('inin-cid'),
12
12
  persistentConversationId: jxt_1.attribute('inin-persistent-cid'),
13
13
  sdpOverXmpp: jxt_1.booleanAttribute('inin-sdp-over-xmpp'),
14
+ privAnswerMode: jxt_1.attribute('inin-priv-answer-mode'),
14
15
  originalRoomJid: jxt_1.attribute('inin-ofrom'),
15
16
  autoAnswer: jxt_1.booleanAttribute('inin-autoanswer'),
16
17
  fromUserId: jxt_1.attribute('inin-user-id'),
@@ -125,6 +125,7 @@ export interface IPendingSession {
125
125
  conversationId: string;
126
126
  originalRoomJid?: string;
127
127
  sdpOverXmpp?: boolean;
128
+ privAnswerMode?: 'Auto';
128
129
  fromUserId?: string;
129
130
  roomJid?: string;
130
131
  accepted?: boolean;
@@ -473,7 +473,8 @@ class WebrtcExtension extends events_1.EventEmitter {
473
473
  sessionType,
474
474
  roomJid,
475
475
  id: sessionId,
476
- sdpOverXmpp: msg.propose.sdpOverXmpp
476
+ sdpOverXmpp: msg.propose.sdpOverXmpp,
477
+ privAnswerMode: msg.propose.privAnswerMode
477
478
  };
478
479
  this.pendingSessions[sessionId] = sessionInfo;
479
480
  }
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "developercenter-cdn/streaming-client",
3
- "version": "17.2.1",
3
+ "version": "17.2.2",
4
4
  "ecosystem": "pc",
5
5
  "team": "Client Streaming and Signaling",
6
6
  "indexFiles": [
7
7
  {
8
- "file": "v17.2.1/streaming-client.browser.ie.js"
8
+ "file": "v17.2.2/streaming-client.browser.ie.js"
9
9
  },
10
10
  {
11
- "file": "v17.2.1/streaming-client.browser.js"
11
+ "file": "v17.2.2/streaming-client.browser.js"
12
12
  },
13
13
  {
14
14
  "file": "v17/streaming-client.browser.ie.js"
@@ -17,6 +17,6 @@
17
17
  "file": "v17/streaming-client.browser.js"
18
18
  }
19
19
  ],
20
- "build": "97",
21
- "buildDate": "2024-06-11T19:42:06.929854Z"
20
+ "build": "104",
21
+ "buildDate": "2024-06-18T21:47:01.933187Z"
22
22
  }
package/dist/es/client.js CHANGED
@@ -553,6 +553,6 @@ export class Client extends EventEmitter {
553
553
  return Client.version;
554
554
  }
555
555
  static get version() {
556
- return '17.2.1';
556
+ return '17.2.2';
557
557
  }
558
558
  }
@@ -20037,6 +20037,7 @@ const proposeDefinition = {
20037
20037
  conversationId: jxt.attribute('inin-cid'),
20038
20038
  persistentConversationId: jxt.attribute('inin-persistent-cid'),
20039
20039
  sdpOverXmpp: jxt.booleanAttribute('inin-sdp-over-xmpp'),
20040
+ privAnswerMode: jxt.attribute('inin-priv-answer-mode'),
20040
20041
  originalRoomJid: jxt.attribute('inin-ofrom'),
20041
20042
  autoAnswer: jxt.booleanAttribute('inin-autoanswer'),
20042
20043
  fromUserId: jxt.attribute('inin-user-id'),
@@ -31072,7 +31073,7 @@ class WebrtcExtension extends EventEmitter {
31072
31073
  msg.propose.originalRoomJid = msg.propose.originalRoomJid || roomJid;
31073
31074
  sessionInfo = Object.assign(Object.assign({}, msg.propose), { toJid: msg.to, fromJid,
31074
31075
  sessionType,
31075
- roomJid, id: sessionId, sdpOverXmpp: msg.propose.sdpOverXmpp });
31076
+ roomJid, id: sessionId, sdpOverXmpp: msg.propose.sdpOverXmpp, privAnswerMode: msg.propose.privAnswerMode });
31076
31077
  this.pendingSessions[sessionId] = sessionInfo;
31077
31078
  }
31078
31079
  if (sessionInfo.accepted) {
@@ -42033,7 +42034,7 @@ class Client extends EventEmitter {
42033
42034
  return Client.version;
42034
42035
  }
42035
42036
  static get version() {
42036
- return '17.2.1';
42037
+ return '17.2.2';
42037
42038
  }
42038
42039
  }
42039
42040
 
@@ -9,6 +9,7 @@ export interface Propose {
9
9
  originalRoomJid?: string;
10
10
  fromUserId?: string;
11
11
  sdpOverXmpp?: boolean;
12
+ privAnswerMode?: 'Auto';
12
13
  }
13
14
  declare module 'stanza/protocol' {
14
15
  interface IQPayload {
@@ -8,6 +8,7 @@ const proposeDefinition = {
8
8
  conversationId: attribute('inin-cid'),
9
9
  persistentConversationId: attribute('inin-persistent-cid'),
10
10
  sdpOverXmpp: booleanAttribute('inin-sdp-over-xmpp'),
11
+ privAnswerMode: attribute('inin-priv-answer-mode'),
11
12
  originalRoomJid: attribute('inin-ofrom'),
12
13
  autoAnswer: booleanAttribute('inin-autoanswer'),
13
14
  fromUserId: attribute('inin-user-id'),
@@ -125,6 +125,7 @@ export interface IPendingSession {
125
125
  conversationId: string;
126
126
  originalRoomJid?: string;
127
127
  sdpOverXmpp?: boolean;
128
+ privAnswerMode?: 'Auto';
128
129
  fromUserId?: string;
129
130
  roomJid?: string;
130
131
  accepted?: boolean;
package/dist/es/webrtc.js CHANGED
@@ -478,7 +478,7 @@ export class WebrtcExtension extends EventEmitter {
478
478
  msg.propose.originalRoomJid = msg.propose.originalRoomJid || roomJid;
479
479
  sessionInfo = Object.assign(Object.assign({}, msg.propose), { toJid: msg.to, fromJid,
480
480
  sessionType,
481
- roomJid, id: sessionId, sdpOverXmpp: msg.propose.sdpOverXmpp });
481
+ roomJid, id: sessionId, sdpOverXmpp: msg.propose.sdpOverXmpp, privAnswerMode: msg.propose.privAnswerMode });
482
482
  this.pendingSessions[sessionId] = sessionInfo;
483
483
  }
484
484
  if (sessionInfo.accepted) {
@@ -5,10 +5,14 @@ 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
7
  # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.1...HEAD)
8
+ ### Fixed
9
+ * [STREAM-108](https://inindca.atlassian.net/browse/STREAM-108) Update ws to address Snyk vulnerability
8
10
 
9
11
  # [v17.2.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.2.0...v17.2.1)
10
12
  ### Changed
11
13
  * [STREAM-96](https://inindca.atlassian.net/browse/STREAM-96) - Forcefully disconnect the WebSocket when missed pings are detected to help reconnect faster
14
+ ### Added
15
+ * [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
16
 
13
17
  # [v17.2.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v17.1.3...v17.2.0)
14
18
  ### Added
@@ -541,7 +541,7 @@ class Client extends events_1.default {
541
541
  return Client.version;
542
542
  }
543
543
  static get version() {
544
- return '17.2.1';
544
+ return '17.2.2';
545
545
  }
546
546
  }
547
547
  exports.Client = Client;
@@ -9,6 +9,7 @@ export interface Propose {
9
9
  originalRoomJid?: string;
10
10
  fromUserId?: string;
11
11
  sdpOverXmpp?: boolean;
12
+ privAnswerMode?: 'Auto';
12
13
  }
13
14
  declare module 'stanza/protocol' {
14
15
  interface IQPayload {
@@ -11,6 +11,7 @@ const proposeDefinition = {
11
11
  conversationId: jxt_1.attribute('inin-cid'),
12
12
  persistentConversationId: jxt_1.attribute('inin-persistent-cid'),
13
13
  sdpOverXmpp: jxt_1.booleanAttribute('inin-sdp-over-xmpp'),
14
+ privAnswerMode: jxt_1.attribute('inin-priv-answer-mode'),
14
15
  originalRoomJid: jxt_1.attribute('inin-ofrom'),
15
16
  autoAnswer: jxt_1.booleanAttribute('inin-autoanswer'),
16
17
  fromUserId: jxt_1.attribute('inin-user-id'),
@@ -125,6 +125,7 @@ export interface IPendingSession {
125
125
  conversationId: string;
126
126
  originalRoomJid?: string;
127
127
  sdpOverXmpp?: boolean;
128
+ privAnswerMode?: 'Auto';
128
129
  fromUserId?: string;
129
130
  roomJid?: string;
130
131
  accepted?: boolean;
@@ -473,7 +473,8 @@ class WebrtcExtension extends events_1.EventEmitter {
473
473
  sessionType,
474
474
  roomJid,
475
475
  id: sessionId,
476
- sdpOverXmpp: msg.propose.sdpOverXmpp
476
+ sdpOverXmpp: msg.propose.sdpOverXmpp,
477
+ privAnswerMode: msg.propose.privAnswerMode
477
478
  };
478
479
  this.pendingSessions[sessionId] = sessionInfo;
479
480
  }