@kingteza/crud-component 1.0.39 → 1.0.40

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/locale/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { TRANSLATION_NAMESPACE } from '../locale/hooks/translation-constants';
2
2
  import { default as en } from './translations/en';
3
- import { default as i18n } from 'i18next';
3
+ import { i18n as i18nType } from 'i18next';
4
4
  export declare const defaultTranslations: {
5
5
  en: {
6
6
  "crud-component": {
@@ -68,7 +68,7 @@ export interface SetupI18nOptions {
68
68
  [TRANSLATION_NAMESPACE]: LibTranslations;
69
69
  }>;
70
70
  language?: string;
71
- i18nInstance?: typeof i18n;
71
+ i18nInstance?: i18nType;
72
72
  }
73
- export declare const setupI18n: (options?: SetupI18nOptions) => import('i18next').i18n;
74
- export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?: typeof i18n) => void;
73
+ export declare const setupI18n: (options?: SetupI18nOptions) => i18nType;
74
+ export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?: i18nType) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kingteza/crud-component",
3
3
  "private": false,
4
- "version": "1.0.39",
4
+ "version": "1.0.40",
5
5
  "description": "React CRUD component library with Ant Design",
6
6
  "keywords": [
7
7
  "react",