@wix/blog 1.0.729 → 1.0.730

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.
@@ -1977,7 +1977,7 @@ var xo = /* @__PURE__ */ new WeakSet();
1977
1977
  var So = ({ post: e6, author: t2, categories: n2 }, r2 = false, i2) => {
1978
1978
  let a2;
1979
1979
  try {
1980
- a2 = { seo: m(Ua), url: m(W), renderingContext: m(Kn) };
1980
+ a2 = { seo: m(Ua), url: m(W) };
1981
1981
  } catch {
1982
1982
  return;
1983
1983
  }
@@ -1986,12 +1986,12 @@ var So = ({ post: e6, author: t2, categories: n2 }, r2 = false, i2) => {
1986
1986
  o2 = m(Wa).locales;
1987
1987
  } catch {
1988
1988
  }
1989
- let { _id: s2 } = e6 ?? {};
1990
- if (!r2 && e6 && s2 && !xo.has(e6) && a2.renderingContext.SSR) {
1989
+ let { isEditor: s2 } = Xn(), { _id: c2 } = e6 ?? {};
1990
+ if (!r2 && e6 && c2 && !xo.has(e6) && !s2) {
1991
1991
  xo.add(e6);
1992
1992
  let r3 = Oa(a2.url) ?? ka(a2.url.currentUrl, e6.slug);
1993
- a2.seo.setSeoEntity({ itemType: `BLOG_POST`, itemData: bo({ ...e6, _id: s2 }, t2, r3, n2, o2, a2.url.currentUrl), seoData: e6.seoData }).catch((e7) => {
1994
- Ja(i2, e7, { feature: Ga.seo, action: `set-post-seo-entity`, contexts: { seo: { postId: s2 } } });
1993
+ a2.seo.setSeoEntity({ itemType: `BLOG_POST`, itemData: bo({ ...e6, _id: c2 }, t2, r3, n2, o2, a2.url.currentUrl), seoData: e6.seoData }).catch((e7) => {
1994
+ Ja(i2, e7, { feature: Ga.seo, action: `set-post-seo-entity`, contexts: { seo: { postId: c2 } } });
1995
1995
  });
1996
1996
  }
1997
1997
  };