cross-tab-worker-databus 0.21.57 → 0.21.58

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.
@@ -289,7 +289,7 @@ function getOrCreateTabId(environment, key = TAB_ID_STORAGE_KEY, options) {
289
289
  try {
290
290
  const existing = storage?.getItem(key);
291
291
  const hasOpener = typeof window !== "undefined" && Boolean(window.opener);
292
- const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !hasOpener && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
292
+ const claimedByPeer = existing !== null && existing !== void 0 && existing !== "" && !tabIdentityInitialized && options?.isIdentityClaimedByPeer?.(existing) === true;
293
293
  if (existing && (!hasOpener || tabIdentityInitialized) && !claimedByPeer) {
294
294
  tabIdentityInitialized = true;
295
295
  cachedTabId = existing;
@@ -2771,7 +2771,7 @@ var SDK_VERSION = (
2771
2771
  // declaration's type is `string | undefined` and the export's is `string`
2772
2772
  // (dropping the conditional is TS2322, measured). Recorded here so the leg reads
2773
2773
  // as a shape the harness cannot reach rather than as a case nobody exercised.
2774
- true ? "0.21.57" : ""
2774
+ true ? "0.21.58" : ""
2775
2775
  );
2776
2776
 
2777
2777
  // src/core/data-bus.ts