genesys-cloud-streaming-client 14.2.1-develop.21 → 14.2.1-develop.22

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.
@@ -45,6 +45,7 @@ function stanzaOptionsJwt(config) {
45
45
  }
46
46
  let wsHost = config.host.replace(/\/$/, '');
47
47
  let stanzaOptions = {
48
+ resource: config.jidResource,
48
49
  transports: {
49
50
  websocket: `${wsHost}/stream/jwt/${config.jwt}`
50
51
  },
@@ -17,6 +17,6 @@
17
17
  "file": "/v14/streaming-client.browser.js"
18
18
  }
19
19
  ],
20
- "build": "21",
21
- "buildDate": "2022-09-14T21:29:01.144206Z"
20
+ "build": "22",
21
+ "buildDate": "2022-09-19T17:29:15.828443Z"
22
22
  }
package/dist/es/client.js CHANGED
@@ -44,6 +44,7 @@ function stanzaOptionsJwt(config) {
44
44
  }
45
45
  let wsHost = config.host.replace(/\/$/, '');
46
46
  let stanzaOptions = {
47
+ resource: config.jidResource,
47
48
  transports: {
48
49
  websocket: `${wsHost}/stream/jwt/${config.jwt}`
49
50
  },
@@ -43213,6 +43213,7 @@ function stanzaOptionsJwt(config) {
43213
43213
  }
43214
43214
  let wsHost = config.host.replace(/\/$/, '');
43215
43215
  let stanzaOptions = {
43216
+ resource: config.jidResource,
43216
43217
  transports: {
43217
43218
  websocket: `${wsHost}/stream/jwt/${config.jwt}`
43218
43219
  },
@@ -4,6 +4,7 @@ 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
  # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v14.2.0...HEAD)
7
+ * [PCM-1988](https://inindca.atlassian.net/browse/PCM-1988) – Add jidResource support for jwt tokens.
7
8
 
8
9
  ### Added
9
10
  * [PCM-1972](https://inindca.atlassian.net/browse/PCM-1972) – Added support for data channel messages if initially offered in the sdp
@@ -45,6 +45,7 @@ function stanzaOptionsJwt(config) {
45
45
  }
46
46
  let wsHost = config.host.replace(/\/$/, '');
47
47
  let stanzaOptions = {
48
+ resource: config.jidResource,
48
49
  transports: {
49
50
  websocket: `${wsHost}/stream/jwt/${config.jwt}`
50
51
  },