next-intlayer 7.2.1 → 7.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types3 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocale.d.ts
|
|
@@ -9,9 +9,9 @@ declare const useLocale: ({
|
|
|
9
9
|
onChange
|
|
10
10
|
}?: UseLocaleProps) => {
|
|
11
11
|
pathWithoutLocale: string;
|
|
12
|
-
locale:
|
|
13
|
-
defaultLocale:
|
|
14
|
-
availableLocales:
|
|
12
|
+
locale: _intlayer_types3.DeclaredLocales;
|
|
13
|
+
defaultLocale: _intlayer_types3.DeclaredLocales;
|
|
14
|
+
availableLocales: _intlayer_types3.DeclaredLocales[];
|
|
15
15
|
setLocale: (locale: LocalesValues) => void;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,EACyB,CAAA;EAAA;AAAa,CAAA,CAAA,EAiBjB,cAjBiB,EAAA,GAAA;EAiB5C,iBAiCZ,EAAA,MAAA;EAjCyB,MAAA,EAAiC,gBAAA,CAAA,eAAjC;EAAc,aAAA,kCAAA;EAAmB,gBAAA,oCAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocalePageRouter.d.ts
|
|
5
5
|
declare const useLocalePageRouter: () => {
|
|
6
6
|
pathWithoutLocale: string;
|
|
7
|
-
locale:
|
|
8
|
-
defaultLocale:
|
|
9
|
-
availableLocales:
|
|
7
|
+
locale: _intlayer_types0.DeclaredLocales;
|
|
8
|
+
defaultLocale: _intlayer_types0.DeclaredLocales;
|
|
9
|
+
availableLocales: _intlayer_types0.DeclaredLocales[];
|
|
10
10
|
setLocale: (locale: LocalesValues) => void;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-intlayer",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.",
|
|
6
6
|
"keywords": [
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@intlayer/chokidar": "7.2.2",
|
|
121
121
|
"@intlayer/config": "7.2.2",
|
|
122
|
-
"@intlayer/core": "7.2.
|
|
122
|
+
"@intlayer/core": "7.2.2",
|
|
123
123
|
"@intlayer/dictionaries-entry": "7.2.2",
|
|
124
124
|
"@intlayer/types": "7.2.2",
|
|
125
125
|
"@intlayer/webpack": "7.2.2",
|