@weaverse/hydrogen 1.0.31 → 1.0.32

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.
package/dist/index.js CHANGED
@@ -238,7 +238,7 @@ var useEnsureStitchesWorking = (weaverse) => {
238
238
  if (stitchesInstance && !stitchesInstance.sheet?.sheet?.ownerNode) {
239
239
  console.warn("stitches instance is not working, re-creating it");
240
240
  delete weaverse.stitchesInstance;
241
- weaverse.initStitches({ root: document });
241
+ weaverse.initStitches({ nounce: Date.now() });
242
242
  weaverse.triggerUpdate();
243
243
  weaverse.refreshAllItems();
244
244
  }
package/dist/index.mjs CHANGED
@@ -201,7 +201,7 @@ var useEnsureStitchesWorking = (weaverse) => {
201
201
  if (stitchesInstance && !stitchesInstance.sheet?.sheet?.ownerNode) {
202
202
  console.warn("stitches instance is not working, re-creating it");
203
203
  delete weaverse.stitchesInstance;
204
- weaverse.initStitches({ root: document });
204
+ weaverse.initStitches({ nounce: Date.now() });
205
205
  weaverse.triggerUpdate();
206
206
  weaverse.refreshAllItems();
207
207
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.31",
2
+ "version": "1.0.32",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -33,8 +33,8 @@
33
33
  "author": "Weaverse Team",
34
34
  "dependencies": {
35
35
  "@shopify/hydrogen": "2023.4.0",
36
- "@weaverse/core": "1.0.31",
37
- "@weaverse/react": "1.0.31"
36
+ "@weaverse/core": "1.0.32",
37
+ "@weaverse/react": "1.0.32"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@shopify/remix-oxygen": "^1.0.5"