@nuskin/product-components 3.17.7 → 3.17.8-cx24-7079.2

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"
3
+ "master", {"name":"CX24-7079", "channel":"prerelease", "prerelease":"cx24-7079"}
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/release-notes-generator",
@@ -796,6 +796,14 @@ export default {
796
796
  return;
797
797
  }
798
798
 
799
+ let options = {
800
+ add: {
801
+ item: {
802
+ qty: this.totalProductQuantity
803
+ }
804
+ }
805
+ };
806
+ window.sessionStorage.setItem("nstoast-allowed", "true");
799
807
  let checkoutProducts = [];
800
808
  const equinoxMarketsConfig = getCachedConfiguration("Equinox_Markets");
801
809
  const countryCode = equinoxMarketsConfig.country_code;
@@ -807,7 +815,7 @@ export default {
807
815
  selectedQuantityArr
808
816
  )
809
817
  .then(() => {
810
- events.publish(events.shop.ADD_TO_CART);
818
+ events.publish(events.shop.ADD_TO_CART, options);
811
819
  })
812
820
  .catch(err => {
813
821
  console.error(`Failed to add ${validSkus} with Error: ${err} `);
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.17.7](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.6...v3.17.7) (2024-08-05)
1
+ ## [3.17.8-cx24-7079.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.8-cx24-7079.1...v3.17.8-cx24-7079.2) (2024-08-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.17.7",
3
+ "version": "3.17.8-cx24-7079.2",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {