genesys-cloud-streaming-client 19.1.0-develop.134 → 19.1.0-develop.137

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.
@@ -83,7 +83,7 @@ class ConnectionManager {
83
83
  const config = this.config;
84
84
  const jwt = utils_1.parseJwt(config.jwt);
85
85
  let jidDomain;
86
- let jwtJid = jwt.data.jid || jwt.data.conferenceid;
86
+ let jwtJid = jwt.data.jid;
87
87
  try {
88
88
  jidDomain = jwtJid.split('@')[1].replace('conference.', '');
89
89
  }
@@ -175,6 +175,7 @@ class GenesysCloudMediaSession {
175
175
  this.onSessionTerminate();
176
176
  }
177
177
  }
178
+ this.emit('connectionState', connectionState);
178
179
  }
179
180
  onIceCandidateError(ev) {
180
181
  const event = ev;
@@ -11,8 +11,8 @@
11
11
  "file": "v19/streaming-client.browser.js"
12
12
  }
13
13
  ],
14
- "build": "134",
15
- "buildDate": "2025-04-17T18:13:29.376319380Z",
14
+ "build": "137",
15
+ "buildDate": "2025-05-06T14:28:33.034825406Z",
16
16
  "appName": "developercenter-cdn/streaming-client",
17
17
  "gcServiceName": "developercenter-cdn--streaming-client-webui"
18
18
  }
@@ -82,7 +82,7 @@ export class ConnectionManager {
82
82
  const config = this.config;
83
83
  const jwt = parseJwt(config.jwt);
84
84
  let jidDomain;
85
- let jwtJid = jwt.data.jid || jwt.data.conferenceid;
85
+ let jwtJid = jwt.data.jid;
86
86
  try {
87
87
  jidDomain = jwtJid.split('@')[1].replace('conference.', '');
88
88
  }
@@ -31594,6 +31594,7 @@ class GenesysCloudMediaSession {
31594
31594
  this.onSessionTerminate();
31595
31595
  }
31596
31596
  }
31597
+ this.emit('connectionState', connectionState);
31597
31598
  }
31598
31599
  onIceCandidateError(ev) {
31599
31600
  const event = ev;
@@ -42638,7 +42639,7 @@ class ConnectionManager {
42638
42639
  const config = this.config;
42639
42640
  const jwt = parseJwt(config.jwt);
42640
42641
  let jidDomain;
42641
- let jwtJid = jwt.data.jid || jwt.data.conferenceid;
42642
+ let jwtJid = jwt.data.jid;
42642
42643
  try {
42643
42644
  jidDomain = jwtJid.split('@')[1].replace('conference.', '');
42644
42645
  }
@@ -180,6 +180,7 @@ export class GenesysCloudMediaSession {
180
180
  this.onSessionTerminate();
181
181
  }
182
182
  }
183
+ this.emit('connectionState', connectionState);
183
184
  }
184
185
  onIceCandidateError(ev) {
185
186
  const event = ev;
@@ -7,9 +7,11 @@ 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/v19.1.0...HEAD)
8
8
  ### Changed
9
9
  * [STREAM-462](https://inindca.atlassian.net/browse/STREAM-462) - Update Stanza timeout timer to 35 seconds to align with the updated server timeout.
10
+ * [STREAM-461](https://inindca.atlassian.net/browse/STREAM-461) - Remove support for conferenceId in JWT auth (not breaking change, never released).
10
11
 
11
12
  ### Added
12
13
  * [STREAM-461](https://inindca.atlassian.net/browse/STREAM-461) - Allow for conferenceId or JID to be used in JWT auth.
14
+ * [STREAM-523](https://inindca.atlassian.net/browse/STREAM-523) - Properly emit `connectionState` event while using SDP over XMPP
13
15
 
14
16
  # [v19.1.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.0.1...v19.1.0)
15
17
  * [STREAM-357](https://inindca.atlassian.net/browse/STREAM-357) - Maintain the same JID resource across hard reconnects/websockets/stanza instances so that reinvites can be sent to the new WS/stanza instance.
@@ -83,7 +83,7 @@ class ConnectionManager {
83
83
  const config = this.config;
84
84
  const jwt = utils_1.parseJwt(config.jwt);
85
85
  let jidDomain;
86
- let jwtJid = jwt.data.jid || jwt.data.conferenceid;
86
+ let jwtJid = jwt.data.jid;
87
87
  try {
88
88
  jidDomain = jwtJid.split('@')[1].replace('conference.', '');
89
89
  }
@@ -175,6 +175,7 @@ class GenesysCloudMediaSession {
175
175
  this.onSessionTerminate();
176
176
  }
177
177
  }
178
+ this.emit('connectionState', connectionState);
178
179
  }
179
180
  onIceCandidateError(ev) {
180
181
  const event = ev;