@rebuy/rebuy 1.5.0 → 1.5.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utilities.js +6 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
3
  "description": "This is the default library for Rebuy",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",
7
7
  "type": "module",
package/utilities.js CHANGED
@@ -176,6 +176,12 @@ export function convertVariantToStorefrontFormat(product, variant) {
176
176
  selectedOptions: [selectedOptions],
177
177
  sku: variant.sku,
178
178
  title: variant.title,
179
+ product: {
180
+ handle: product.handle,
181
+ id: product.id,
182
+ title: product.title,
183
+ vendor: product.vendor,
184
+ },
179
185
  };
180
186
  }
181
187