@designcrowd/library.brand-page 5.10.9-data-id-1 → 5.10.9-data-id-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.
@@ -1,5 +1,5 @@
1
1
  import i18next from 'i18next';
2
- import { setLocaleAsync as setSharedLocaleAsync } from '@designcrowd/fe-shared-lib';
2
+ import { setSharedLibLocaleAsync } from '@designcrowd/fe-shared-lib';
3
3
  const fallbackLocale = 'en-US';
4
4
  const supportedLocales = [
5
5
  'en-US',
@@ -36,7 +36,7 @@ const setLocaleAsync = async (locale) => {
36
36
  });
37
37
  }
38
38
  await i18next.addResourceBundle(localeToUse, 'bp', { ...languageFile });
39
- await setSharedLocaleAsync(localeToUse);
39
+ await setSharedLibLocaleAsync(localeToUse);
40
40
  };
41
41
  const tr = (key, valuesToInterpolate = {}, nameSpace = 'bp') => {
42
42
  const translated = i18next.t(key, { ns: nameSpace, ...valuesToInterpolate });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.10.9-data-id-1",
4
+ "version": "5.10.9-data-id-2",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@ckpack/vue-color": "1.4.1",
58
- "@designcrowd/fe-shared-lib": "1.2.2-data-id-1",
58
+ "@designcrowd/fe-shared-lib": "1.2.2-data-id-2",
59
59
  "@pinia/nuxt": "0.11.0",
60
60
  "@storybook/react": "9.0.4",
61
61
  "@tiptap/extension-character-count": "2.11.7",
@@ -1,5 +1,5 @@
1
1
  import i18next from 'i18next';
2
- import { setLocaleAsync as setSharedLocaleAsync } from '@designcrowd/fe-shared-lib';
2
+ import { setSharedLibLocaleAsync } from '@designcrowd/fe-shared-lib';
3
3
 
4
4
  const fallbackLocale = 'en-US';
5
5
 
@@ -48,7 +48,7 @@ const setLocaleAsync = async (locale: LocaleTypes) => {
48
48
 
49
49
  await i18next.addResourceBundle(localeToUse, 'bp', { ...languageFile });
50
50
 
51
- await setSharedLocaleAsync(localeToUse);
51
+ await setSharedLibLocaleAsync(localeToUse);
52
52
  };
53
53
 
54
54
  const tr = (key: string, valuesToInterpolate = {}, nameSpace = 'bp') => {