@dotdev/reactive-click-and-collect
Advanced tools
Comparing version 1.0.4 to 1.0.5-beta-1
@@ -57,3 +57,2 @@ "use strict"; | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var lineItems; | ||
var _a; | ||
@@ -78,11 +77,2 @@ return __generator(this, function (_b) { | ||
_b.sent(); | ||
return [4 /*yield*/, ShopifyCart.LineItemsRead()]; | ||
case 2: | ||
lineItems = _b.sent(); | ||
return [4 /*yield*/, ShopifyCart.LineItemsClear()]; | ||
case 3: | ||
_b.sent(); | ||
return [4 /*yield*/, Promise.all(lineItems.map(function (lineItem) { return ShopifyCart.LineItemsAdd(__assign({}, lineItem, { properties: __assign({}, lineItem.properties, { _click_and_collect: true }) })); }))]; | ||
case 4: | ||
_b.sent(); | ||
return [2 /*return*/]; | ||
@@ -89,0 +79,0 @@ } |
{ | ||
"name": "@dotdev/reactive-click-and-collect", | ||
"version": "1.0.4", | ||
"version": "1.0.5-beta-1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7
76886
1020
2