react-i18next 13.2.1 → 13.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 13.2.2
2
+
3
+ - Fix missing TransWithoutContext type [1672](https://github.com/i18next/react-i18next/pull/1672)
4
+
1
5
  ### 13.2.1
2
6
 
3
7
  - types: Allow iterable ReactI18NextChildren as children [1669](https://github.com/i18next/react-i18next/pull/1669)
@@ -1 +1 @@
1
- {"type":"module","version":"13.2.1"}
1
+ {"type":"module","version":"13.2.2"}
package/index.d.ts CHANGED
@@ -10,9 +10,12 @@ import type {
10
10
  KeyPrefix,
11
11
  } from 'i18next';
12
12
  import * as React from 'react';
13
- export { Trans, TransProps } from './TransWithoutContext';
13
+ import { Trans, TransProps } from './TransWithoutContext';
14
14
  export { initReactI18next } from './initReactI18next';
15
15
 
16
+ export const TransWithoutContext: typeof Trans;
17
+ export { Trans, TransProps }
18
+
16
19
  export function setDefaults(options: ReactOptions): void;
17
20
  export function getDefaults(): ReactOptions;
18
21
  export function setI18n(instance: i18n): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "./index.d.ts",