i18next 21.8.15 → 21.8.16

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 +1 @@
1
- {"type":"module","version":"21.8.15"}
1
+ {"type":"module","version":"21.8.16"}
package/index.d.ts CHANGED
@@ -1033,7 +1033,7 @@ export interface i18n {
1033
1033
  /**
1034
1034
  * Returns a resource data by language.
1035
1035
  */
1036
- getDataByLanguage(lng: string): { translation: { [key: string]: string } } | undefined;
1036
+ getDataByLanguage(lng: string): { [key: string]: { [key: string]: string } } | undefined;
1037
1037
 
1038
1038
  /**
1039
1039
  * Returns a t function that defaults to given language or namespace.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "21.8.15",
3
+ "version": "21.8.16",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",