genesys-cloud-streaming-client 19.0.2-develop.131 → 19.1.0-develop.133

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.
@@ -586,7 +586,7 @@ class Client extends events_1.default {
586
586
  return Client.version;
587
587
  }
588
588
  static get version() {
589
- return '19.0.2';
589
+ return '19.1.0';
590
590
  }
591
591
  }
592
592
  exports.Client = Client;
@@ -83,8 +83,9 @@ 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
87
  try {
87
- jidDomain = jwt.data.jid.split('@')[1].replace('conference.', '');
88
+ jidDomain = jwtJid.split('@')[1].replace('conference.', '');
88
89
  }
89
90
  catch (e) {
90
91
  throw new Error('failed to parse jid');
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "developercenter-cdn/streaming-client",
3
- "version": "19.0.2",
3
+ "version": "19.1.0",
4
4
  "ecosystem": "pc",
5
5
  "team": "Client Streaming and Signaling",
6
6
  "indexFiles": [
7
7
  {
8
- "file": "v19.0.2/streaming-client.browser.js"
8
+ "file": "v19.1.0/streaming-client.browser.js"
9
9
  },
10
10
  {
11
11
  "file": "v19/streaming-client.browser.js"
12
12
  }
13
13
  ],
14
- "build": "131",
15
- "buildDate": "2025-04-11T15:55:27.964471533Z",
14
+ "build": "133",
15
+ "buildDate": "2025-04-16T21:20:51.579300554Z",
16
16
  "appName": "developercenter-cdn/streaming-client",
17
17
  "gcServiceName": "developercenter-cdn--streaming-client-webui"
18
18
  }
package/dist/es/client.js CHANGED
@@ -598,6 +598,6 @@ export class Client extends EventEmitter {
598
598
  return Client.version;
599
599
  }
600
600
  static get version() {
601
- return '19.0.2';
601
+ return '19.1.0';
602
602
  }
603
603
  }
@@ -82,8 +82,9 @@ 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
86
  try {
86
- jidDomain = jwt.data.jid.split('@')[1].replace('conference.', '');
87
+ jidDomain = jwtJid.split('@')[1].replace('conference.', '');
87
88
  }
88
89
  catch (e) {
89
90
  throw new Error('failed to parse jid');
@@ -42638,8 +42638,9 @@ class ConnectionManager {
42638
42638
  const config = this.config;
42639
42639
  const jwt = parseJwt(config.jwt);
42640
42640
  let jidDomain;
42641
+ let jwtJid = jwt.data.jid || jwt.data.conferenceid;
42641
42642
  try {
42642
- jidDomain = jwt.data.jid.split('@')[1].replace('conference.', '');
42643
+ jidDomain = jwtJid.split('@')[1].replace('conference.', '');
42643
42644
  }
42644
42645
  catch (e) {
42645
42646
  throw new Error('failed to parse jid');
@@ -43470,7 +43471,7 @@ class Client extends EventEmitter {
43470
43471
  return Client.version;
43471
43472
  }
43472
43473
  static get version() {
43473
- return '19.0.2';
43474
+ return '19.1.0';
43474
43475
  }
43475
43476
  }
43476
43477
 
@@ -4,7 +4,11 @@ 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/v19.0.1...HEAD)
7
+ # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.1.0...HEAD)
8
+ ### Added
9
+ * [STREAM-461](https://inindca.atlassian.net/browse/STREAM-461) - Allow for conferenceId or JID to be used in JWT auth.
10
+
11
+ # [v19.1.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.0.1...v19.1.0)
8
12
  * [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.
9
13
 
10
14
  # [v19.0.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.0.0...v19.0.1)
@@ -586,7 +586,7 @@ class Client extends events_1.default {
586
586
  return Client.version;
587
587
  }
588
588
  static get version() {
589
- return '19.0.2';
589
+ return '19.1.0';
590
590
  }
591
591
  }
592
592
  exports.Client = Client;
@@ -83,8 +83,9 @@ 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
87
  try {
87
- jidDomain = jwt.data.jid.split('@')[1].replace('conference.', '');
88
+ jidDomain = jwtJid.split('@')[1].replace('conference.', '');
88
89
  }
89
90
  catch (e) {
90
91
  throw new Error('failed to parse jid');