next-intlayer 8.10.0-canary.1 → 8.10.0

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,5 +1,3 @@
1
- import { Locale } from "./intlayer/dist/types/index.js";
2
-
3
1
  //#region src/generateStaticParams.d.ts
4
2
  /**
5
3
  * Generates static parameters for Next.js's dynamic routes based on the configured locales.
@@ -20,7 +18,7 @@ import { Locale } from "./intlayer/dist/types/index.js";
20
18
  * ```
21
19
  */
22
20
  declare const generateStaticParams: () => {
23
- locale: Locale;
21
+ locale: import("@intlayer/types").Locale;
24
22
  }[];
25
23
  //#endregion
26
24
  export { generateStaticParams };
@@ -1 +1 @@
1
- {"version":3,"file":"generateStaticParams.d.ts","names":[],"sources":["../../src/generateStaticParams.ts"],"mappings":";;;;;;AAsBA;;;;;;;;;;;;;;;cAAa,oBAAA;UAAkE,MAAA;AAAA"}
1
+ {"version":3,"file":"generateStaticParams.d.ts","names":[],"sources":["../../src/generateStaticParams.ts"],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;cAAa,oBAAA;EAAkE,MAAA,4BAAA,MAAA;AAAA"}
@@ -462,7 +462,7 @@ declare const useMarkdownRenderer: ({
462
462
  forceInline,
463
463
  preserveFrontmatter,
464
464
  tagfilter
465
- }?: index_d_exports.RenderMarkdownProps) => (content: string) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").JSX.Element | Promise<import("react").ReactNode>;
465
+ }?: index_d_exports.RenderMarkdownProps) => (content: string) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<import("react").ReactNode>;
466
466
  /**
467
467
  * @deprecated import from next-intlayer/markdown instead
468
468
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;cAiDa,gBAAA,kBAAgB,EAAA,CAAA,eAAA,CAAA,uBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,eAAA,CAAA,mBAAA,MAAA,OAAA,kEAAA,GAAA,CAAA,OAAA,GAAA,QAAA,iBAAA,SAAA,IAAA,OAAA,iBAAA,SAAA;;;;cAInB,gBAAA,kBAAgB,EAAA,CAAA,eAAA,CAAA,qBAAA;;;;KAIjB,mBAAA,GAAsB,eAAA,CAAA,mBAAoB;;;;KAI1C,qBAAA,GAAwB,eAAA,CAAA,qBAAsB"}
@@ -1,6 +1,6 @@
1
1
  import { DeclaredLocales } from "@intlayer/types/module_augmentation";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
2
  import { useDictionary as useDictionary$1 } from "react-intlayer/server";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
4
 
5
5
  //#region src/server/useDictionary.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { DeclaredLocales, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
2
  import { useDictionaryAsync as useDictionaryAsync$1 } from "react-intlayer/server";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
4
 
5
5
  //#region src/server/useDictionaryAsync.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { DeclaredLocales, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
2
  import { useDictionaryDynamic as useDictionaryDynamic$1 } from "react-intlayer/server";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
4
 
5
5
  //#region src/server/useDictionaryDynamic.d.ts
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intlayer",
3
- "version": "8.10.0-canary.1",
3
+ "version": "8.10.0",
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": [
@@ -128,15 +128,15 @@
128
128
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
129
129
  },
130
130
  "dependencies": {
131
- "@intlayer/chokidar": "8.10.0-canary.1",
132
- "@intlayer/config": "8.10.0-canary.1",
133
- "@intlayer/core": "8.10.0-canary.1",
134
- "@intlayer/dictionaries-entry": "8.10.0-canary.1",
135
- "@intlayer/types": "8.10.0-canary.1",
136
- "@intlayer/webpack": "8.10.0-canary.1",
131
+ "@intlayer/chokidar": "8.10.0",
132
+ "@intlayer/config": "8.10.0",
133
+ "@intlayer/core": "8.10.0",
134
+ "@intlayer/dictionaries-entry": "8.10.0",
135
+ "@intlayer/types": "8.10.0",
136
+ "@intlayer/webpack": "8.10.0",
137
137
  "defu": "6.1.7",
138
138
  "node-loader": "2.1.0",
139
- "react-intlayer": "8.10.0-canary.1"
139
+ "react-intlayer": "8.10.0"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@types/node": "25.9.1",
@@ -1,3 +0,0 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
- import { Locale as Locale$1 } from "@intlayer/types/allLocales";
3
- export type { Locale$1 as Locale };