@weaverse/hydrogen 2.8.12 → 2.9.0

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
@@ -359,8 +359,8 @@ var WeaverseClient = class {
359
359
  let cacheKey = [url, options.body];
360
360
  let {
361
361
  strategy = this.storefront.CacheCustom({
362
- maxAge: 10,
363
- sMaxAge: 10,
362
+ maxAge: 2,
363
+ sMaxAge: 2,
364
364
  staleWhileRevalidate: 82800
365
365
  }),
366
366
  ...reqInit
package/dist/index.mjs CHANGED
@@ -325,8 +325,8 @@ var WeaverseClient = class {
325
325
  let cacheKey = [url, options.body];
326
326
  let {
327
327
  strategy = this.storefront.CacheCustom({
328
- maxAge: 10,
329
- sMaxAge: 10,
328
+ maxAge: 2,
329
+ sMaxAge: 2,
330
330
  staleWhileRevalidate: 82800
331
331
  }),
332
332
  ...reqInit
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@weaverse/hydrogen",
3
3
  "author": "Weaverse Team",
4
4
  "description": "Components, hooks, and utilities for building Shopify Hydrogen websites with Weaverse",
5
- "version": "2.8.12",
5
+ "version": "2.9.0",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "typings": "dist/index.d.ts",
@@ -22,8 +22,8 @@
22
22
  "node": ">=18"
23
23
  },
24
24
  "peerDependencies": {
25
- "@remix-run/react": "^2.1.0",
26
- "@shopify/hydrogen": "^2023.10.2",
25
+ "@remix-run/react": "^2",
26
+ "@shopify/hydrogen": "^2023.10",
27
27
  "react": ">=18",
28
28
  "react-dom": ">=18"
29
29
  },
@@ -33,11 +33,11 @@
33
33
  "singleQuote": true
34
34
  },
35
35
  "dependencies": {
36
- "@weaverse/react": "2.8.12",
37
- "react-error-boundary": "^4.0.11"
36
+ "@weaverse/react": "2.9.0",
37
+ "react-error-boundary": "^4.0.12"
38
38
  },
39
39
  "devDependencies": {
40
- "@shopify/remix-oxygen": "^2.0.1"
40
+ "@shopify/remix-oxygen": "^2"
41
41
  },
42
42
  "scripts": {
43
43
  "start": "npm run dev",