@arch-cadre/auth-google 1.0.5 → 1.0.7

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.GoogleLoginButton = GoogleLoginButton;
8
- var _client = require("@arch-cadre/intl/client");
8
+ var _intl = require("@arch-cadre/intl");
9
9
  var _ui = require("@arch-cadre/ui");
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _auth = require("../actions/auth.cjs");
@@ -14,7 +14,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
14
14
  function GoogleLoginButton() {
15
15
  const {
16
16
  t
17
- } = (0, _client.useTranslation)();
17
+ } = (0, _intl.useTranslation)();
18
18
  return /* @__PURE__ */React.createElement(_ui.Button, {
19
19
  type: "button",
20
20
  variant: "outline",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { useTranslation } from "@arch-cadre/intl/client";
2
+ import { useTranslation } from "@arch-cadre/intl";
3
3
  import { Button } from "@arch-cadre/ui";
4
4
  import * as React from "react";
5
5
  import { loginWithGoogle } from "../actions/auth.mjs";
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  module.exports = GoogleAuthSettingsPage;
8
- var _client = require("@arch-cadre/intl/client");
8
+ var _intl = require("@arch-cadre/intl");
9
9
  var _button = require("@arch-cadre/ui/components/button");
10
10
  var _card = require("@arch-cadre/ui/components/card");
11
11
  var _input = require("@arch-cadre/ui/components/input");
@@ -19,7 +19,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
19
19
  function GoogleAuthSettingsPage() {
20
20
  const {
21
21
  t
22
- } = (0, _client.useTranslation)();
22
+ } = (0, _intl.useTranslation)();
23
23
  const [config, setConfig] = (0, _react.useState)({
24
24
  clientId: "",
25
25
  clientSecret: "",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { useTranslation } from "@arch-cadre/intl/client";
2
+ import { useTranslation } from "@arch-cadre/intl";
3
3
  import { Button } from "@arch-cadre/ui/components/button";
4
4
  import {
5
5
  Card,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arch-cadre/auth-google",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Google Auth module for Kryo framework",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,9 +25,9 @@
25
25
  "build": "unbuild"
26
26
  },
27
27
  "dependencies": {
28
- "@arch-cadre/modules": "^0.0.19",
28
+ "@arch-cadre/modules": "^0.0.73",
29
29
  "@hookform/resolvers": "^3.10.0",
30
- "@arch-cadre/ui": "^0.0.19",
30
+ "@arch-cadre/ui": "^0.0.47",
31
31
  "arctic": "^3.7.0",
32
32
  "lucide-react": "^0.475.0",
33
33
  "react-hook-form": "^7.54.2",
@@ -35,8 +35,8 @@
35
35
  "zod": "^3.24.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@arch-cadre/core": "^0.0.19",
39
- "@arch-cadre/intl": "^0.0.19",
38
+ "@arch-cadre/core": "^0.0.47",
39
+ "@arch-cadre/intl": "^0.0.47",
40
40
  "@types/react": "^19",
41
41
  "next": "16.1.1",
42
42
  "react": "^19.0.0",
@@ -44,9 +44,9 @@
44
44
  "unbuild": "^3.6.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@arch-cadre/core": "^0.0.19",
48
- "@arch-cadre/ui": "^0.0.19",
49
- "next": ">=13.0.0",
47
+ "@arch-cadre/core": "^0.0.47",
48
+ "@arch-cadre/ui": "^0.0.47",
49
+ "next": ">=15.0.0",
50
50
  "react": "^19.0.0"
51
51
  },
52
52
  "main": "./dist/index.mjs"