@standhigher/besttrack-page-extension 0.5.7 → 0.5.8

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/README.md CHANGED
@@ -67,6 +67,8 @@ Query results and watermark state are transient.
67
67
 
68
68
  Document props and bindings must remain JSON-only and must not contain a token,
69
69
  secret, customer order data, email address, or live query result. Merchant
70
- resources use stable Shopify IDs; product prices and availability are Runtime
71
- data. Production URLs must be public HTTPS URLs. Missing display data and
70
+ resources use stable Shopify IDs. Catalog display prices may be stored on
71
+ product snapshots as `{ amount, currencyCode }` minor units; formatted price
72
+ strings, live availability, tokens, and secrets stay out of PageDocument.
73
+ Production URLs must be public HTTPS URLs. Missing display data and
72
74
  unsafe resource URLs render controlled fallbacks.
package/dist/index.js CHANGED
@@ -1533,7 +1533,8 @@ function configuredRecommendations(products) {
1533
1533
  title: product.title || product.id,
1534
1534
  description: "",
1535
1535
  imageUrl: product.imageUrl,
1536
- href: product.handle ? `/products/${product.handle}` : void 0
1536
+ href: product.handle ? `/products/${product.handle}` : void 0,
1537
+ ...product.price ? { price: product.price } : {}
1537
1538
  }));
1538
1539
  }
1539
1540
  function ReadyToGoRecommendationsEditor(block) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standhigher/besttrack-page-extension",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "BestTrack business extension entry point for @standhigher/puck-page-builder.",
5
5
  "type": "module",
6
6
  "files": [
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "embla-carousel-autoplay": "^8.6.0",
24
24
  "embla-carousel-react": "^8.6.0",
25
- "@standhigher/puck-page-builder": "0.12.7"
25
+ "@standhigher/puck-page-builder": "0.12.8"
26
26
  },
27
27
  "devDependencies": {
28
28
  "tsup": "^8.5.1",