@lovalingo/lovalingo 0.5.4 → 0.5.6
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/LICENSE +2 -2
- package/README.md +6 -3
- package/dist/components/AixsterProvider.d.ts +1 -10
- package/dist/components/AixsterProvider.js +1 -1222
- package/dist/components/LanguageSwitcher.js +6 -4
- package/dist/components/LovalingoProvider.d.ts +10 -1
- package/dist/components/LovalingoProvider.js +604 -1
- package/dist/hooks/provider/useBundleLoading.d.ts +32 -0
- package/dist/hooks/provider/useBundleLoading.js +354 -0
- package/dist/hooks/provider/useDomRules.d.ts +15 -0
- package/dist/hooks/provider/useDomRules.js +38 -0
- package/dist/hooks/provider/useLinkAutoPrefix.d.ts +12 -0
- package/dist/hooks/provider/useLinkAutoPrefix.js +146 -0
- package/dist/hooks/provider/useNavigationPrefetch.d.ts +12 -0
- package/dist/hooks/provider/useNavigationPrefetch.js +81 -0
- package/dist/hooks/provider/usePageviewTracking.d.ts +10 -0
- package/dist/hooks/provider/usePageviewTracking.js +44 -0
- package/dist/hooks/provider/usePrehide.d.ts +5 -0
- package/dist/hooks/provider/usePrehide.js +72 -0
- package/dist/hooks/provider/useSitemapLinkTag.d.ts +7 -0
- package/dist/hooks/provider/useSitemapLinkTag.js +28 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/logger.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
LOVALINGO COMMERCIAL LICENSE
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 Lovalingo Swiss. All rights reserved.
|
|
4
4
|
|
|
5
5
|
NOTICE: This software and associated documentation files (the "Software") are the
|
|
6
6
|
proprietary and confidential information of Lovalingo Swiss.
|
|
@@ -143,6 +143,6 @@ please contact Lovalingo Swiss.
|
|
|
143
143
|
|
|
144
144
|
MERTENS ADVIES
|
|
145
145
|
Lovalingo Translation Platform
|
|
146
|
-
©
|
|
146
|
+
© 2026 All Rights Reserved
|
|
147
147
|
|
|
148
148
|
Website: [Contact Lovalingo Swiss for licensing information]
|
package/README.md
CHANGED
|
@@ -21,7 +21,10 @@ The runtime now marks translatable text nodes deterministically and exposes mark
|
|
|
21
21
|
- Coverage is enforced server-side (jobs fail if marker coverage is below the threshold).
|
|
22
22
|
- This is a breaking change: older runtimes will be rejected by the pipeline.
|
|
23
23
|
|
|
24
|
-
Debug (runtime logs):
|
|
24
|
+
Debug (runtime logs):
|
|
25
|
+
- append `?lovalingoDebug=1` to the URL (works across reloads)
|
|
26
|
+
- or run `localStorage.setItem("Lovalingo_debug","1")` and reload
|
|
27
|
+
- or set `window.__lovalingoDebug = true` (same-tab only; not persistent)
|
|
25
28
|
|
|
26
29
|
## Installation
|
|
27
30
|
|
|
@@ -137,7 +140,7 @@ You still need to serve `/sitemap.xml` on your own domain (recommended: reverse-
|
|
|
137
140
|
|
|
138
141
|
## License
|
|
139
142
|
|
|
140
|
-
Commercial license (not open source). See `
|
|
143
|
+
Commercial license (not open source). See `LICENSE`.
|
|
141
144
|
|
|
142
145
|
Manual translation control:
|
|
143
146
|
|
|
@@ -349,7 +352,7 @@ export async function GET() {
|
|
|
349
352
|
|
|
350
353
|
**COMMERCIAL LICENSE - NOT OPEN SOURCE**
|
|
351
354
|
|
|
352
|
-
Copyright (c)
|
|
355
|
+
Copyright (c) 2026 Lovalingo Swiss. All rights reserved.
|
|
353
356
|
|
|
354
357
|
### For Agencies & Developers
|
|
355
358
|
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { LovalingoConfig } from '../types';
|
|
3
|
-
interface LovalingoProviderProps extends LovalingoConfig {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
sitemap?: boolean;
|
|
6
|
-
seo?: boolean;
|
|
7
|
-
navigateRef?: React.MutableRefObject<((path: string) => void) | undefined>;
|
|
8
|
-
}
|
|
9
|
-
export declare const LovalingoProvider: React.FC<LovalingoProviderProps>;
|
|
10
|
-
export {};
|
|
1
|
+
export { LovalingoProvider } from "./LovalingoProvider";
|