@arch-cadre/auth 1.0.24 → 1.0.27

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/dist/index.cjs CHANGED
@@ -4,11 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
+ var _global = _interopRequireDefault(require("../locales/en/global.json"));
8
+ var _global2 = _interopRequireDefault(require("../locales/pl/global.json"));
7
9
  var _manifest = _interopRequireDefault(require("../manifest.json"));
8
10
  var _routes = require("./routes.cjs");
9
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
12
  const authModule = {
11
13
  manifest: _manifest.default,
14
+ translations: {
15
+ en: _global.default,
16
+ pl: _global2.default
17
+ },
12
18
  routes: {
13
19
  public: _routes.publicRoutes
14
20
  }
package/dist/index.mjs CHANGED
@@ -1,7 +1,13 @@
1
+ import localesEn from "../locales/en/global.json" with { type: "json" };
2
+ import localesPl from "../locales/pl/global.json" with { type: "json" };
1
3
  import manifest from "../manifest.json";
2
4
  import { publicRoutes } from "./routes.mjs";
3
5
  const authModule = {
4
6
  manifest,
7
+ translations: {
8
+ en: localesEn,
9
+ pl: localesPl
10
+ },
5
11
  routes: {
6
12
  public: publicRoutes
7
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arch-cadre/auth",
3
- "version": "1.0.24",
3
+ "version": "1.0.27",
4
4
  "description": "Auth module for Kryo framework",
5
5
  "type": "module",
6
6
  "exports": {
@@ -31,8 +31,8 @@
31
31
  "build": "unbuild"
32
32
  },
33
33
  "dependencies": {
34
- "@arch-cadre/modules": "^0.0.94",
35
- "@arch-cadre/ui": "^0.0.66",
34
+ "@arch-cadre/modules": "^0.0.97",
35
+ "@arch-cadre/ui": "^0.0.69",
36
36
  "@hookform/resolvers": "^3.10.0",
37
37
  "lucide-react": "^0.475.0",
38
38
  "react-hook-form": "^7.54.2",
@@ -40,7 +40,7 @@
40
40
  "zod": "^3.24.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@arch-cadre/core": "^0.0.68",
43
+ "@arch-cadre/core": "^0.0.71",
44
44
  "@types/react": "^19",
45
45
  "next": "16.1.1",
46
46
  "react": "^19.0.0",
@@ -48,9 +48,9 @@
48
48
  "unbuild": "^3.6.1"
49
49
  },
50
50
  "peerDependencies": {
51
- "@arch-cadre/core": "^0.0.68",
52
- "@arch-cadre/intl": "^0.0.68",
53
- "@arch-cadre/ui": "^0.0.66",
51
+ "@arch-cadre/core": "^0.0.71",
52
+ "@arch-cadre/intl": "^0.0.71",
53
+ "@arch-cadre/ui": "^0.0.69",
54
54
  "next": ">=13.0.0",
55
55
  "react": "^19.0.0"
56
56
  },
package/src/index.ts CHANGED
@@ -1,10 +1,16 @@
1
1
  import type { IModule } from "@arch-cadre/modules";
2
+ import localesEn from "../locales/en/global.json" with { type: "json" };
3
+ import localesPl from "../locales/pl/global.json" with { type: "json" };
2
4
  import manifest from "../manifest.json";
3
5
  import { publicRoutes } from "./routes";
4
6
 
5
7
  const authModule: IModule = {
6
8
  manifest,
7
9
 
10
+ translations: {
11
+ en: localesEn,
12
+ pl: localesPl,
13
+ },
8
14
  routes: {
9
15
  public: publicRoutes,
10
16
  },