@designcrowd/fe-shared-lib 1.2.2-data-id-1 → 1.2.2-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.
package/index.js CHANGED
@@ -19,7 +19,7 @@ export { default as SellDomainNameWidget } from './src/experiences/components/Se
19
19
  export { default as PublishBrandPageModal } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue';
20
20
  export { default as PublishBrandPageCard } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue';
21
21
 
22
- export { setLocaleAsync, tr } from './src/useSharedLibTranslate';
22
+ export { setSharedLibLocaleAsync, tr } from './src/useSharedLibTranslate';
23
23
 
24
24
  export { default as Button } from './src/atoms/components/Button/Button.vue';
25
25
  export { default as ButtonGroup } from './src/atoms/components/ButtonGroup/ButtonGroup.vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.2.2-data-id-1",
3
+ "version": "1.2.2-data-id-2",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -11,7 +11,7 @@ const relativePathsToTranslationFiles = {
11
11
  'pt-PT': () => import('./bundles/bundled-translations.pt-PT.json'),
12
12
  };
13
13
 
14
- const setLocaleAsync = async (locale = 'en-US') => {
14
+ const setSharedLibLocaleAsync = async (locale = 'en-US') => {
15
15
  const localeToUse = locale;
16
16
 
17
17
  if (!i18next.isInitialized) {
@@ -35,4 +35,4 @@ const tr = (key, valuesToInterpolate = {}) => {
35
35
  return translated;
36
36
  };
37
37
 
38
- export { setLocaleAsync, tr };
38
+ export { setSharedLibLocaleAsync, tr };