cross-tab-worker-databus 0.21.57 → 0.21.59

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.
@@ -149,7 +149,7 @@ function getOrCreateTabId(environment, key = TAB_ID_STORAGE_KEY, options) {
149
149
  try {
150
150
  const existing = storage?.getItem(key);
151
151
  const hasOpener = typeof window !== "undefined" && Boolean(window.opener);
152
- const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !hasOpener && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
152
+ const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
153
153
  if (existing && (!hasOpener || tabIdentityInitialized) && !claimedByPeer) {
154
154
  tabIdentityInitialized = true;
155
155
  cachedTabId = existing;
@@ -2642,7 +2642,7 @@ var SDK_VERSION = (
2642
2642
  // declaration's type is `string | undefined` and the export's is `string`
2643
2643
  // (dropping the conditional is TS2322, measured). Recorded here so the leg reads
2644
2644
  // as a shape the harness cannot reach rather than as a case nobody exercised.
2645
- true ? "0.21.57" : ""
2645
+ true ? "0.21.59" : ""
2646
2646
  );
2647
2647
 
2648
2648
  // src/core/data-bus.ts
@@ -3895,4 +3895,4 @@ export {
3895
3895
  parseDataBusPublication,
3896
3896
  selectWorkerBackend
3897
3897
  };
3898
- //# sourceMappingURL=chunk-ZH7VP3IY.js.map
3898
+ //# sourceMappingURL=chunk-SGZG6775.js.map