genesys-cloud-streaming-client 19.7.1 → 19.8.0-release.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
  }
@@ -671,7 +671,7 @@ class Client extends events_1.default {
671
671
  return Client.version;
672
672
  }
673
673
  static get version() {
674
- return '19.7.1';
674
+ return '19.8.0';
675
675
  }
676
676
  }
677
677
  exports.Client = Client;
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "19.7.1",
3
- "build": "10",
4
- "buildDate": "2026-05-15T09:59:48.759Z",
2
+ "version": "release/v19.8.0",
3
+ "build": "1",
4
+ "buildDate": "2026-05-28T17:39:08.854Z",
5
5
  "indexFiles": [
6
6
  {
7
- "file": "v19.7.1/streaming-client.browser.js"
7
+ "file": "v19.8.0/streaming-client.browser.js"
8
8
  },
9
9
  {
10
- "file": "v19.7.1/streaming-client.browser.js.LICENSE.txt"
10
+ "file": "v19.8.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
@@ -685,6 +685,6 @@ export class Client extends EventEmitter {
685
685
  return Client.version;
686
686
  }
687
687
  static get version() {
688
- return '19.7.1';
688
+ return '19.8.0';
689
689
  }
690
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
  }
@@ -47493,7 +47494,7 @@ class Client extends EventEmitter {
47493
47494
  return Client.version;
47494
47495
  }
47495
47496
  static get version() {
47496
- return '19.7.1';
47497
+ return '19.8.0';
47497
47498
  }
47498
47499
  }
47499
47500
 
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "19.7.1",
3
- "build": "10",
4
- "buildDate": "2026-05-15T09:59:48.759Z",
2
+ "version": "release/v19.8.0",
3
+ "build": "1",
4
+ "buildDate": "2026-05-28T17:39:08.854Z",
5
5
  "indexFiles": [
6
6
  {
7
- "file": "v19.7.1/streaming-client.browser.js"
7
+ "file": "v19.8.0/streaming-client.browser.js"
8
8
  },
9
9
  {
10
- "file": "v19.7.1/streaming-client.browser.js.LICENSE.txt"
10
+ "file": "v19.8.0/streaming-client.browser.js.LICENSE.txt"
11
11
  },
12
12
  {
13
13
  "file": "v19/streaming-client.browser.js"
@@ -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.7.1...HEAD)
7
+ # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.8.0...HEAD)
8
+
9
+ # [v19.8.0](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.7.1...v19.8.0)
10
+ ### Added
11
+ * [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.
8
12
 
9
13
  # [v19.7.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.7.0...v19.7.1)
10
14
  ### Changed
@@ -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
  }
@@ -671,7 +671,7 @@ class Client extends events_1.default {
671
671
  return Client.version;
672
672
  }
673
673
  static get version() {
674
- return '19.7.1';
674
+ return '19.8.0';
675
675
  }
676
676
  }
677
677
  exports.Client = Client;