i18next 19.4.3 → 19.4.4

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
+ ### 19.4.4
2
+
3
+ - typescript: Allow passing retry boolean to `ReadCallback` [1439](https://github.com/i18next/i18next/pull/1439)
4
+
1
5
  ### 19.4.3
2
6
 
3
7
  - fix regression introduced in "support formatting in nesting" [1419](https://github.com/i18next/i18next/pull/1419)
package/index.d.ts CHANGED
@@ -700,7 +700,7 @@ export interface Module {
700
700
  }
701
701
 
702
702
  export type CallbackError = Error | null | undefined;
703
- export type ReadCallback = (err: CallbackError, data: ResourceKey) => void;
703
+ export type ReadCallback = (err: CallbackError, data: ResourceKey | boolean) => void;
704
704
  export type MultiReadCallback = (err: CallbackError, data: Resource) => void;
705
705
 
706
706
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "19.4.3",
3
+ "version": "19.4.4",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",