@lovalingo/lovalingo 0.5.19 → 0.5.20

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.
@@ -18,6 +18,9 @@ export function useStringMissReporting(args) {
18
18
  const shouldSkip = useCallback(() => {
19
19
  if (typeof window === "undefined" || typeof document === "undefined")
20
20
  return true;
21
+ const disableLiveMisses = Boolean(window.__lovalingoDisableMisses);
22
+ if (disableLiveMisses)
23
+ return true;
21
24
  if (!args.resolvedApiKey || args.mode !== "dom")
22
25
  return true;
23
26
  if (args.isLoading)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovalingo/lovalingo",
3
- "version": "0.5.19",
3
+ "version": "0.5.20",
4
4
  "description": "React translation runtime with i18n routing, deterministic bundles + DOM rules, and zero-flash rendering.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",