@nuskin/product-components 3.3.5 → 3.3.6-cx16-9633.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-9633", "channel":"prerelease", "prerelease":"cx16-9633"}
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/npm",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [3.3.6-cx16-9633.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.6-cx16-9633.1...v3.3.6-cx16-9633.2) (2023-03-28)
2
+
3
+
4
+ ### Fix
5
+
6
+ * timing issue #CX16-8632 ([7c11b33](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/7c11b33e40a1322fd3ef7dbfd1fea11f07b4ce25)), closes [#CX16-8632](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX16-8632)
7
+
8
+ ## [3.3.6-cx16-9633.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.5...v3.3.6-cx16-9633.1) (2023-03-27)
9
+
10
+
11
+ ### Fix
12
+
13
+ * added waitForConfig call #CX16-8633 ([8ccdcf0](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/8ccdcf0c39452f6fa311931697895342f021642c)), closes [#CX16-8633](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX16-8633)
14
+
1
15
  ## [3.3.5](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.3.4...v3.3.5) (2023-03-27)
2
16
 
3
17
 
@@ -204,6 +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
208
  import debounce from "lodash/debounce";
208
209
 
209
210
  import NsCurrency from "./NsCurrency.vue";
@@ -400,6 +401,7 @@ export default {
400
401
  }
401
402
  },
402
403
  async mounted() {
404
+ await waitForConfig();
403
405
  await this.addListeners();
404
406
  },
405
407
  beforeDestroy() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.3.5",
3
+ "version": "3.3.6-cx16-9633.2",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  import Vue from "vue";
2
2
 
3
- import { waitForConfig } from "./configHelper";
3
+ // import { waitForConfig } from "./configHelper";
4
4
  import {
5
5
  RunConfigService,
6
6
  ConfigService,
@@ -45,7 +45,7 @@ if (!NsProductAppService) {
45
45
  },
46
46
  async mounted() {
47
47
  await this.setConfig();
48
- await waitForConfig();
48
+ // await waitForConfig();
49
49
 
50
50
  this.runConfigInterval = setInterval(async () => {
51
51
  if (this.runConfigTries <= 0) {
@@ -9,7 +9,7 @@ import { isNullOrEmpty } from "@nuskin/ns-common-lib";
9
9
  import { ProductDataService } from "@nuskin/ns-product";
10
10
  import { Product, PriceType } from "@nuskin/ns-product-lib";
11
11
  import { equinoxLocalStorage } from "@nuskin/ns-util";
12
- import { waitForConfig } from "./configHelper";
12
+ // import { waitForConfig } from "./configHelper";
13
13
 
14
14
  class ProductDataBatch {
15
15
  constructor(id, skus) {
@@ -117,7 +117,7 @@ if (!NsProductDataService) {
117
117
  }
118
118
  },
119
119
  async mounted() {
120
- await waitForConfig();
120
+ // await waitForConfig();
121
121
  this.addListeners();
122
122
  this.setProductDataFromSession();
123
123
  },