@nuskin/product-components 3.3.6 → 3.3.7-cx16-8633.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":"CX16-8633", "channel":"prerelease", "prerelease":"cx16-8633"}
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/npm",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [3.3.7-cx16-8633.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.7-cx16-8633.1...v3.3.7-cx16-8633.2) (2023-04-04)
2
+
3
+
4
+ ### Fix
5
+
6
+ * default export #CX16-8633 ([aa2baa5](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/aa2baa5f19cb74427d232543d2a02e7b7d06c5b7)), closes [#CX16-8633](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX16-8633)
7
+ * trying wait in different place #CX16-8633 ([4c9eb00](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/4c9eb00b16974e5ac93104a1ca30db4503d08e36)), closes [#CX16-8633](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX16-8633)
8
+
9
+ ## [3.3.7-cx16-8633.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.6...v3.3.7-cx16-8633.1) (2023-04-03)
10
+
11
+
12
+ ### Fix
13
+
14
+ * unit tests and wait in NsProductMixin #CX16-8633 ([868234a](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/868234a9cf5803efc389a966274ba66a5be87b4d)), closes [#CX16-8633](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX16-8633)
15
+
1
16
  ## [3.3.6](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.5...v3.3.6) (2023-03-31)
2
17
 
3
18
 
@@ -204,7 +204,7 @@ import {
204
204
  import { AccountService } from "@nuskin/ns-account";
205
205
  import { isNullOrEmpty, isNumber } from "@nuskin/ns-common-lib";
206
206
  import { NsSpinner, NsIcon } from "@nuskin/design-components";
207
- import { waitForConfig } from "../services/configHelper";
207
+ // import { waitForConfig } from "../services/configHelper";
208
208
  import debounce from "lodash/debounce";
209
209
 
210
210
  import NsCurrency from "./NsCurrency.vue";
@@ -444,7 +444,7 @@ export default {
444
444
  this.queryStoreId = queryStoreId;
445
445
  this.queryOfferId = queryOfferId;
446
446
 
447
- await waitForConfig();
447
+ // await waitForConfig();
448
448
  await this.init();
449
449
  }
450
450
  },
@@ -25,6 +25,7 @@ import webLoyalty from "@nuskin/ns-loyalty-web";
25
25
  import { getProp, getFullUrl } from "@nuskin/ns-common-lib";
26
26
  import { PriceType } from "@nuskin/ns-product-lib";
27
27
  import { ProductDataService } from "@nuskin/ns-product";
28
+ import { waitForConfig } from "../services/configHelper";
28
29
 
29
30
  //const PRODUCT_SMALL_VARIANT = "product-card.selected-variant";
30
31
  const PENDING_FAVORITE = "pendingFavorite";
@@ -343,6 +344,7 @@ const NsProductMixin = {
343
344
  * Initializes product data
344
345
  */
345
346
  async refreshProductData(sku) {
347
+ await waitForConfig();
346
348
  if (
347
349
  !sku ||
348
350
  this.$NsProductAppService.loading ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.3.6",
3
+ "version": "3.3.7-cx16-8633.2",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {