@nuskin/product-components 3.18.0-td-341.1 → 3.18.0-td-1000.1

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":"TD-341", "channel":"prerelease", "prerelease":"td-341"}
3
+ "master", {"name":"TD-1000", "channel":"prerelease", "prerelease":"td-1000"}
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/release-notes-generator",
@@ -46,12 +46,10 @@
46
46
 
47
47
  <script>
48
48
  import { NsExpressiveLink, NsIcon, NsSpinner } from "@nuskin/design-components";
49
- import { StringService, csStringService } from "@nuskin/ns-util";
49
+ import { StringService } from "@nuskin/ns-util";
50
50
  import { fromJsonString } from "@nuskin/ns-common-lib";
51
- import { getConfiguration } from "@nuskin/configuration-sdk";
52
51
 
53
52
  import NsProductCard from "./NsProductCard.vue";
54
- import { isEnabled } from "@nuskin/ns-feature-flags";
55
53
 
56
54
  /**
57
55
  * NsProductList
@@ -192,24 +190,9 @@ export default {
192
190
  await this.$nextTick();
193
191
 
194
192
  try {
195
- const configs = await getConfiguration(["Mysite"]);
196
- let useCSResources = false;
197
- if (
198
- configs &&
199
- configs.Mysite &&
200
- configs.Mysite.useCSResources &&
201
- Array.isArray(configs.Mysite.useCSResources)
202
- ) {
203
- useCSResources = configs.Mysite.useCSResources.includes(
204
- this.runConfig.country
205
- );
206
- }
207
- let commonStrings = {};
208
- if (useCSResources && isEnabled("td_341")) {
209
- commonStrings = await csStringService.getStrings(commonStringKeys);
210
- } else {
211
- commonStrings = await StringService.getStrings(commonStringKeys);
212
- }
193
+ const commonStrings = await StringService.getStrings(
194
+ commonStringKeys
195
+ );
213
196
  if (commonStrings && commonStrings.loadMore) {
214
197
  this.loadMoreText = commonStrings.loadMore;
215
198
  }
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- # [3.18.0-td-341.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.15...v3.18.0-td-341.1) (2024-10-22)
1
+ # [3.18.0-td-1000.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.22...v3.18.0-td-1000.1) (2025-03-14)