nextjs-cms 0.5.93 → 0.5.94

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,6 +1,6 @@
1
1
  "use client";
2
2
  import { createI18nClient } from 'next-international/client';
3
3
  export const { useI18n, useScopedI18n, I18nProviderClient } = createI18nClient({
4
- en: () => import('./dictionaries/en'),
5
- ar: () => import('./dictionaries/ar')
4
+ en: () => import('./dictionaries/en.js'),
5
+ ar: () => import('./dictionaries/ar.js')
6
6
  });
@@ -1,5 +1,5 @@
1
- import arStrings from './dictionaries/ar';
2
- import enStrings from './dictionaries/en';
1
+ import arStrings from './dictionaries/ar.js';
2
+ import enStrings from './dictionaries/en.js';
3
3
  /**
4
4
  * Get a string directly from a specific dictionary
5
5
  * @param key - The key of the string to get
@@ -1,5 +1,5 @@
1
1
  import { createI18nServer } from 'next-international/server';
2
2
  export const { getI18n, getScopedI18n, getStaticParams } = createI18nServer({
3
- en: () => import('./dictionaries/en'),
4
- ar: () => import('./dictionaries/ar')
3
+ en: () => import('./dictionaries/en.js'),
4
+ ar: () => import('./dictionaries/ar.js')
5
5
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-cms",
3
- "version": "0.5.93",
3
+ "version": "0.5.94",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",