@nuskin/product-components 3.17.15-brw-4541.1 → 3.17.15

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/.releaserc CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "branches": [
3
- "master", {"name":"BRW-4541", "channel":"prerelease", "prerelease":"brw-4541"}
3
+ "master"
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/release-notes-generator",
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.17.15-brw-4541.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.14...v3.17.15-brw-4541.1) (2024-09-09)
1
+ ## [3.17.15](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.14...v3.17.15) (2024-09-17)
@@ -714,7 +714,10 @@ const NsProductMixin = {
714
714
  this.statusMessage = "";
715
715
  this.statusMessageKey = "releasedForSale";
716
716
  //BRW-4541 -- Only allow to purchase the atpQuantity if backorder date is in the past
717
- this.product.maxQuantity = this.product.availableQuantity;
717
+ this.maxQuantity = Math.min(
718
+ this.product.maxQuantity,
719
+ this.product.availableQuantity
720
+ );
718
721
  } else {
719
722
  this.statusMessage = this.localTranslations.outOfStock;
720
723
  this.statusMessageKey = "outOfStock";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.17.15-brw-4541.1",
3
+ "version": "3.17.15",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {