@wix/stores 1.0.964 → 1.0.965

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.
@@ -2156,7 +2156,7 @@ function ci(e2, t2) {
2156
2156
  return r(() => ({ categories: e2, currentCategoryId: t2 }), [e2, t2]);
2157
2157
  }
2158
2158
  var li = ti(`seo/seo-service`);
2159
- var ui = ti(`@wix/viewer-service-environment`);
2159
+ var ui = ti(`@wix/site-service-rendering-context`);
2160
2160
  function di(e2) {
2161
2161
  return e2.breadcrumbs.map(({ id: e3, name: t2, slug: n2 }) => ({ categoryId: e3, categoryName: t2, categorySlug: n2 }));
2162
2162
  }
@@ -2167,8 +2167,8 @@ function pi(e2) {
2167
2167
  return { itemType: e2.parentCategoryId ? `STORES_SUB_CATEGORY` : `STORES_CATEGORY`, itemData: { category: { id: e2.id, name: e2.name, slug: e2.slug, description: e2.description, itemCounter: e2.itemCounter, image: e2.image, parentCategory: fi(e2.parentCategoryId), breadcrumbsInfo: { breadcrumbs: di(e2) } } }, ...e2.seoData ? { seoData: e2.seoData } : {} };
2168
2168
  }
2169
2169
  function mi(e2) {
2170
- let t2 = f(li), n2 = f(ui), r2 = i(false);
2171
- !r2.current && e2.id && n2.isSSR() && (r2.current = true, t2.setSeoEntity(pi(e2)).catch(() => {
2170
+ let t2 = f(li), { SSR: n2 } = f(ui), r2 = i(false);
2171
+ !r2.current && e2.id && n2 && (r2.current = true, t2.setSeoEntity(pi(e2)).catch(() => {
2172
2172
  }));
2173
2173
  }
2174
2174
  function hi(e2) {