fastify-intlayer 9.4.3 → 9.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.
@@ -16,7 +16,7 @@ declare module 'fastify' {
16
16
  };
17
17
  }
18
18
  }
19
- declare const intlayer: FastifyPluginAsync;
19
+ export declare const intlayer: FastifyPluginAsync;
20
20
  /**
21
21
  * Global translation function that retrieves content for the current locale in Fastify.
22
22
  *
@@ -40,9 +40,8 @@ declare const intlayer: FastifyPluginAsync;
40
40
  * });
41
41
  * ```
42
42
  */
43
- declare const t: <Content = string>(content: StrictModeLocaleMap<Content>, locale?: Locale) => Content;
44
- declare const getIntlayer: typeof getIntlayer$1;
45
- declare const getDictionary: typeof getDictionary$1;
43
+ export declare const t: <Content = string>(content: StrictModeLocaleMap<Content>, locale?: Locale) => Content;
44
+ export declare const getIntlayer: typeof getIntlayer$1;
45
+ export declare const getDictionary: typeof getDictionary$1;
46
46
  //#endregion
47
- export { getDictionary, getIntlayer, intlayer, t };
48
47
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;YAiBY;IACR;MACE,QAAQ;MACR,eAAe;MACf,iBAAiB;MACjB,kBAAkB;MAClB,IAAI,kBACF,SAAS,oBAAoB,aAC7B,SAAS,WACN;MACL,oBAAoB;MACpB,sBAAsB;;;;cAqKf,UAGI;;;;;;;;;;;;;;;;;;;;;;;;cAyBJ,IAAK,kBAAgB,SACvB,oBAAoB,UAAQ,SAC5B,WACR;cAsBU,oBAAoB;cAsBpB,sBAAsB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;YAiBY;IACR;MACE,QAAQ;MACR,eAAe;MACf,iBAAiB;MACjB,kBAAkB;MAClB,IAAI,kBACF,SAAS,oBAAoB,aAC7B,SAAS,WACN;MACL,oBAAoB;MACpB,sBAAsB;;;;qBAqKf,UAGI;;;;;;;;;;;;;;;;;;;;;;;;qBAyBJ,IAAK,kBAAgB,SACvB,oBAAoB,UAAQ,SAC5B,WACR;qBAsBU,oBAAoB;qBAsBpB,sBAAsB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastify-intlayer",
3
- "version": "9.4.3",
3
+ "version": "9.4.4",
4
4
  "private": false,
5
5
  "description": "Manage internationalization i18n in a simple way for Fastify applications.",
6
6
  "keywords": [
@@ -75,10 +75,10 @@
75
75
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
76
76
  },
77
77
  "dependencies": {
78
- "@intlayer/config": "9.4.3",
79
- "@intlayer/core": "9.4.3",
80
- "@intlayer/engine": "9.4.3",
81
- "@intlayer/types": "9.4.3",
78
+ "@intlayer/config": "9.4.4",
79
+ "@intlayer/core": "9.4.4",
80
+ "@intlayer/engine": "9.4.4",
81
+ "@intlayer/types": "9.4.4",
82
82
  "cls-hooked": "4.2.2",
83
83
  "fastify-plugin": "6.0.0"
84
84
  },
@@ -90,9 +90,9 @@
90
90
  "@utils/tsdown-config": "1.0.4",
91
91
  "fastify": "5.12.1",
92
92
  "rimraf": "6.1.3",
93
- "tsdown": "0.22.14",
93
+ "tsdown": "0.23.0",
94
94
  "typescript": "7.0.2",
95
- "vitest": "4.1.11"
95
+ "vitest": "5.0.0"
96
96
  },
97
97
  "engines": {
98
98
  "node": ">=14.18"