genesys-cloud-streaming-client 19.6.1-develop.17 → 19.7.0-STREAM-1661.1

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.
@@ -22,5 +22,6 @@ export interface AlertingLeaderApi {
22
22
  on: (event: string, handler: (...args: any) => void) => void;
23
23
  off: (event: string, handler: (...args: any) => void) => void;
24
24
  claimAlertingLeader(): Promise<void>;
25
+ getLeaderStatus(): ILeaderStatus;
25
26
  leaderStatus: ILeaderStatus;
26
27
  }
@@ -135,6 +135,7 @@ class AlertingLeaderExtension extends events_1.EventEmitter {
135
135
  on: this.on.bind(this),
136
136
  off: this.off.bind(this),
137
137
  claimAlertingLeader: this.claimAlertingLeader.bind(this),
138
+ getLeaderStatus: () => { return this.leaderStatus; },
138
139
  leaderStatus: this.leaderStatus
139
140
  };
140
141
  }
@@ -63,6 +63,7 @@ class Client extends events_1.default {
63
63
  appName: options.appName,
64
64
  appVersion: options.appVersion,
65
65
  appId: options.appId,
66
+ logLevel: options.logLevel,
66
67
  customHeaders: options.customHeaders
67
68
  };
68
69
  this.backgroundAssistantMode = this.checkIsBackgroundAssistant();
@@ -670,7 +671,7 @@ class Client extends events_1.default {
670
671
  return Client.version;
671
672
  }
672
673
  static get version() {
673
- return '19.6.1';
674
+ return '19.7.0';
674
675
  }
675
676
  }
676
677
  exports.Client = Client;
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "19.6.1-develop",
3
- "build": "17",
4
- "buildDate": "2026-04-29T14:55:47.312Z",
2
+ "version": "STREAM-1661",
3
+ "build": "1",
4
+ "buildDate": "2026-05-28T13:47:50.984Z",
5
5
  "indexFiles": [
6
6
  {
7
- "file": "v19.6.1/streaming-client.browser.js"
7
+ "file": "v19.7.0/streaming-client.browser.js"
8
8
  },
9
9
  {
10
- "file": "v19.6.1/streaming-client.browser.js.LICENSE.txt"
10
+ "file": "v19.7.0/streaming-client.browser.js.LICENSE.txt"
11
11
  },
12
12
  {
13
13
  "file": "v19/streaming-client.browser.js"
@@ -22,5 +22,6 @@ export interface AlertingLeaderApi {
22
22
  on: (event: string, handler: (...args: any) => void) => void;
23
23
  off: (event: string, handler: (...args: any) => void) => void;
24
24
  claimAlertingLeader(): Promise<void>;
25
+ getLeaderStatus(): ILeaderStatus;
25
26
  leaderStatus: ILeaderStatus;
26
27
  }
@@ -142,6 +142,7 @@ export class AlertingLeaderExtension extends EventEmitter {
142
142
  on: this.on.bind(this),
143
143
  off: this.off.bind(this),
144
144
  claimAlertingLeader: this.claimAlertingLeader.bind(this),
145
+ getLeaderStatus: () => { return this.leaderStatus; },
145
146
  leaderStatus: this.leaderStatus
146
147
  };
147
148
  }
package/dist/es/client.js CHANGED
@@ -61,6 +61,7 @@ export class Client extends EventEmitter {
61
61
  appName: options.appName,
62
62
  appVersion: options.appVersion,
63
63
  appId: options.appId,
64
+ logLevel: options.logLevel,
64
65
  customHeaders: options.customHeaders
65
66
  };
66
67
  this.backgroundAssistantMode = this.checkIsBackgroundAssistant();
@@ -684,6 +685,6 @@ export class Client extends EventEmitter {
684
685
  return Client.version;
685
686
  }
686
687
  static get version() {
687
- return '19.6.1';
688
+ return '19.7.0';
688
689
  }
689
690
  }
@@ -12425,6 +12425,7 @@ class AlertingLeaderExtension extends EventEmitter {
12425
12425
  on: this.on.bind(this),
12426
12426
  off: this.off.bind(this),
12427
12427
  claimAlertingLeader: this.claimAlertingLeader.bind(this),
12428
+ getLeaderStatus: () => { return this.leaderStatus; },
12428
12429
  leaderStatus: this.leaderStatus
12429
12430
  };
12430
12431
  }
@@ -46869,6 +46870,7 @@ class Client extends EventEmitter {
46869
46870
  appName: options.appName,
46870
46871
  appVersion: options.appVersion,
46871
46872
  appId: options.appId,
46873
+ logLevel: options.logLevel,
46872
46874
  customHeaders: options.customHeaders
46873
46875
  };
46874
46876
  this.backgroundAssistantMode = this.checkIsBackgroundAssistant();
@@ -47492,7 +47494,7 @@ class Client extends EventEmitter {
47492
47494
  return Client.version;
47493
47495
  }
47494
47496
  static get version() {
47495
- return '19.6.1';
47497
+ return '19.7.0';
47496
47498
  }
47497
47499
  }
47498
47500
 
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "19.6.1-develop",
3
- "build": "17",
4
- "buildDate": "2026-04-29T14:55:47.312Z",
2
+ "version": "STREAM-1661",
3
+ "build": "1",
4
+ "buildDate": "2026-05-28T13:47:50.984Z",
5
5
  "indexFiles": [
6
6
  {
7
- "file": "v19.6.1/streaming-client.browser.js"
7
+ "file": "v19.7.0/streaming-client.browser.js"
8
8
  },
9
9
  {
10
- "file": "v19.6.1/streaming-client.browser.js.LICENSE.txt"
10
+ "file": "v19.7.0/streaming-client.browser.js.LICENSE.txt"
11
11
  },
12
12
  {
13
13
  "file": "v19/streaming-client.browser.js"
@@ -4,10 +4,21 @@ 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.6.0...HEAD)
7
+ # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.7.0...HEAD)
8
+ ### Added
9
+ * [STREAM-1661](https://inindca.atlassian.net/browse/STREAM-1661) - Expose current alerting leader status rather than exposing a snapshot of the value. The previous property is now deprecated.
10
+
11
+ ### Changed
12
+ * [STREAM-1488](https://inindca.atlassian.net/browse/STREAM-1488) - Update `axios` to v1.15.2
13
+
14
+ ### Fixed
15
+ * [STREAM-1322](https://inindca.atlassian.net/browse/STREAM-1322) - Fix `logLevel` option being ignored. The value was not copied from `IClientOptions` into the internal config, so the logger always defaulted to `'info'`.
16
+
17
+ # [v19.7.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.6.0...v19.7.0)
18
+ ### Added
8
19
  * [STREAM-1155](https://inindca.atlassian.net/browse/STREAM-1155) - Allow clients to become the alerting leader and listen for alerting leader events.
9
20
 
10
- # [v19.6.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.6.0...HEAD)
21
+ # [v19.6.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.5.0...v19.6.0)
11
22
  ### Added
12
23
  * [STREAM-949](https://inindca.atlassian.net/browse/STREAM-949) - Catch errors and emit them as a `disconnected` event and include error.
13
24
  * [STREAM-1201](https://inindca.atlassian.net/browse/STREAM-1201) - Add ability to track internally-used subscriptions.
@@ -22,5 +22,6 @@ export interface AlertingLeaderApi {
22
22
  on: (event: string, handler: (...args: any) => void) => void;
23
23
  off: (event: string, handler: (...args: any) => void) => void;
24
24
  claimAlertingLeader(): Promise<void>;
25
+ getLeaderStatus(): ILeaderStatus;
25
26
  leaderStatus: ILeaderStatus;
26
27
  }
@@ -135,6 +135,7 @@ class AlertingLeaderExtension extends events_1.EventEmitter {
135
135
  on: this.on.bind(this),
136
136
  off: this.off.bind(this),
137
137
  claimAlertingLeader: this.claimAlertingLeader.bind(this),
138
+ getLeaderStatus: () => { return this.leaderStatus; },
138
139
  leaderStatus: this.leaderStatus
139
140
  };
140
141
  }
@@ -63,6 +63,7 @@ class Client extends events_1.default {
63
63
  appName: options.appName,
64
64
  appVersion: options.appVersion,
65
65
  appId: options.appId,
66
+ logLevel: options.logLevel,
66
67
  customHeaders: options.customHeaders
67
68
  };
68
69
  this.backgroundAssistantMode = this.checkIsBackgroundAssistant();
@@ -670,7 +671,7 @@ class Client extends events_1.default {
670
671
  return Client.version;
671
672
  }
672
673
  static get version() {
673
- return '19.6.1';
674
+ return '19.7.0';
674
675
  }
675
676
  }
676
677
  exports.Client = Client;