@onecx/integration-interface 9.0.0-rc.14 → 9.0.0-rc.15

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.
package/dist/index.cjs CHANGED
@@ -119,7 +119,8 @@ function ensureProperty(obj, path, initialValue) {
119
119
 
120
120
  // libs/accelerator/src/lib/declarations.ts
121
121
  var gatherPromises = ensureProperty(globalThis, ["@onecx/accelerator", "gatherer", "promises"], {});
122
- var topicUseBroadcastChannel = ensureProperty(gatherPromises, ["@onecx/accelerator", "topic", "useBroadcastChannel"], "V2");
122
+ var gatherId = ensureProperty(gatherPromises, ["@onecx/accelerator", "gatherer", "id"], 0);
123
+ var topicUseBroadcastChannel = ensureProperty(gatherId, ["@onecx/accelerator", "topic", "useBroadcastChannel"], "V2");
123
124
  var topicInitDate = ensureProperty(topicUseBroadcastChannel, ["@onecx/accelerator", "topic", "initDate"], Date.now());
124
125
  var topicTabId = ensureProperty(topicInitDate, ["@onecx/accelerator", "topic", "tabId"], Math.ceil(globalThis.performance?.now?.() ?? 0));
125
126
 
@@ -468,9 +469,8 @@ var Topic = class extends TopicPublisher {
468
469
  var import_rxjs2 = require("rxjs");
469
470
 
470
471
  // libs/accelerator/src/lib/utils/gatherer.ts
471
- var Gatherer = class _Gatherer {
472
+ var Gatherer = class {
472
473
  logger;
473
- static id = 0;
474
474
  topic;
475
475
  ownIds = /* @__PURE__ */ new Set();
476
476
  topicSub = null;
@@ -514,7 +514,7 @@ var Gatherer = class _Gatherer {
514
514
  if (!topicTabId["@onecx/accelerator"].gatherer?.promises) {
515
515
  throw new Error("Gatherer is not initialized");
516
516
  }
517
- const id = _Gatherer.id++;
517
+ const id = topicTabId["@onecx/accelerator"].gatherer.id++;
518
518
  this.ownIds.add(id);
519
519
  topicTabId["@onecx/accelerator"].gatherer.promises[id] = [];
520
520
  const message = { id, request };
package/dist/index.mjs CHANGED
@@ -24,7 +24,8 @@ function ensureProperty(obj, path, initialValue) {
24
24
 
25
25
  // libs/accelerator/src/lib/declarations.ts
26
26
  var gatherPromises = ensureProperty(globalThis, ["@onecx/accelerator", "gatherer", "promises"], {});
27
- var topicUseBroadcastChannel = ensureProperty(gatherPromises, ["@onecx/accelerator", "topic", "useBroadcastChannel"], "V2");
27
+ var gatherId = ensureProperty(gatherPromises, ["@onecx/accelerator", "gatherer", "id"], 0);
28
+ var topicUseBroadcastChannel = ensureProperty(gatherId, ["@onecx/accelerator", "topic", "useBroadcastChannel"], "V2");
28
29
  var topicInitDate = ensureProperty(topicUseBroadcastChannel, ["@onecx/accelerator", "topic", "initDate"], Date.now());
29
30
  var topicTabId = ensureProperty(topicInitDate, ["@onecx/accelerator", "topic", "tabId"], Math.ceil(globalThis.performance?.now?.() ?? 0));
30
31
 
@@ -373,9 +374,8 @@ var Topic = class extends TopicPublisher {
373
374
  import { BehaviorSubject as BehaviorSubject2, ReplaySubject } from "rxjs";
374
375
 
375
376
  // libs/accelerator/src/lib/utils/gatherer.ts
376
- var Gatherer = class _Gatherer {
377
+ var Gatherer = class {
377
378
  logger;
378
- static id = 0;
379
379
  topic;
380
380
  ownIds = /* @__PURE__ */ new Set();
381
381
  topicSub = null;
@@ -419,7 +419,7 @@ var Gatherer = class _Gatherer {
419
419
  if (!topicTabId["@onecx/accelerator"].gatherer?.promises) {
420
420
  throw new Error("Gatherer is not initialized");
421
421
  }
422
- const id = _Gatherer.id++;
422
+ const id = topicTabId["@onecx/accelerator"].gatherer.id++;
423
423
  this.ownIds.add(id);
424
424
  topicTabId["@onecx/accelerator"].gatherer.promises[id] = [];
425
425
  const message = { id, request };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/integration-interface",
3
- "version": "9.0.0-rc.14",
3
+ "version": "9.0.0-rc.15",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "peerDependencies": {
10
10
  "rxjs": "^7.8.1",
11
- "@onecx/accelerator": "9.0.0-rc.14"
11
+ "@onecx/accelerator": "9.0.0-rc.15"
12
12
  },
13
13
  "type": "module",
14
14
  "dependencies": {
package/src/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export declare const LIB_NAME = "@onecx/integration-interface";
2
- export declare const LIB_VERSION = "9.0.0-rc.14";
2
+ export declare const LIB_VERSION = "9.0.0-rc.15";
package/src/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export const LIB_NAME = '@onecx/integration-interface';
2
- export const LIB_VERSION = '9.0.0-rc.14';
2
+ export const LIB_VERSION = '9.0.0-rc.15';
3
3
  //# sourceMappingURL=version.js.map