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.
@@ -293,7 +293,7 @@ function getOrCreateTabId(environment, key = TAB_ID_STORAGE_KEY, options) {
293
293
  try {
294
294
  const existing = storage?.getItem(key);
295
295
  const hasOpener = typeof window !== "undefined" && Boolean(window.opener);
296
- const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !hasOpener && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
296
+ const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
297
297
  if (existing && (!hasOpener || tabIdentityInitialized) && !claimedByPeer) {
298
298
  tabIdentityInitialized = true;
299
299
  cachedTabId = existing;
@@ -2737,7 +2737,7 @@ var SDK_VERSION = (
2737
2737
  // declaration's type is `string | undefined` and the export's is `string`
2738
2738
  // (dropping the conditional is TS2322, measured). Recorded here so the leg reads
2739
2739
  // as a shape the harness cannot reach rather than as a case nobody exercised.
2740
- true ? "0.21.57" : ""
2740
+ true ? "0.21.59" : ""
2741
2741
  );
2742
2742
 
2743
2743
  // src/core/data-bus.ts