@betterstore/react 0.3.7 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.8
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fix
8
+
3
9
  ## 0.3.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -35777,7 +35777,8 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
35777
35777
  React.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions.map((option) => (React.createElement("span", { key: option.name },
35778
35778
  option.name,
35779
35779
  ": ",
35780
- option.value))))),
35780
+ option.value,
35781
+ " "))))),
35781
35782
  React.createElement("div", { className: "text-right" }, isDiscounted ? (React.createElement("div", { className: "flex flex-col" },
35782
35783
  React.createElement("p", { className: "text-sm font-medium -mb-0.5 line-through text-muted-foreground" }, storeHelpers.formatPrice((_f = productItem === null || productItem === void 0 ? void 0 : productItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate)),
35783
35784
  React.createElement("p", { className: "text-lg font-medium" }, discountedPrice <= 0
package/dist/index.mjs CHANGED
@@ -35754,7 +35754,8 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
35754
35754
  React__default.createElement("p", { className: "text-muted-foreground text-ellipsis line-clamp-1 md:max-w-[75%] text-sm" }, item.variantOptions.map((option) => (React__default.createElement("span", { key: option.name },
35755
35755
  option.name,
35756
35756
  ": ",
35757
- option.value))))),
35757
+ option.value,
35758
+ " "))))),
35758
35759
  React__default.createElement("div", { className: "text-right" }, isDiscounted ? (React__default.createElement("div", { className: "flex flex-col" },
35759
35760
  React__default.createElement("p", { className: "text-sm font-medium -mb-0.5 line-through text-muted-foreground" }, storeHelpers.formatPrice((_f = productItem === null || productItem === void 0 ? void 0 : productItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate)),
35760
35761
  React__default.createElement("p", { className: "text-lg font-medium" }, discountedPrice <= 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/react",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {