@versini/auth-provider 7.4.1 → 7.4.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -9
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4,13 +4,13 @@ var X = (e, t, r) => Tt(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { jsx as Oe } from "react/jsx-runtime";
5
5
  import Rt, { useSyncExternalStore as _t, useCallback as D, useEffect as Je, createContext as It, useReducer as bt, useRef as kt, useContext as Ot } from "react";
6
6
  /*!
7
- @versini/auth-provider v7.4.1
7
+ @versini/auth-provider v7.4.2
8
8
  © 2025 gizmette.com
9
9
  */
10
10
  try {
11
11
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
12
- version: "7.4.1",
13
- buildTime: "02/09/2025 02:17 PM EST",
12
+ version: "7.4.2",
13
+ buildTime: "02/09/2025 06:14 PM EST",
14
14
  homepage: "https://github.com/aversini/auth-client",
15
15
  license: "MIT"
16
16
  });
@@ -308,7 +308,7 @@ async function Ut(e, t = !1) {
308
308
  try {
309
309
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
310
310
  version: "4.2.0",
311
- buildTime: "02/09/2025 02:17 PM EST",
311
+ buildTime: "02/09/2025 06:14 PM EST",
312
312
  homepage: "https://github.com/aversini/auth-client",
313
313
  license: "MIT"
314
314
  });
@@ -1266,10 +1266,7 @@ function me(e, t, r) {
1266
1266
  const n = e.random || (e.rng || Jr)();
1267
1267
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Wr(n);
1268
1268
  }
1269
- const W = "Your session has expired. For your security, please log in again to continue.", xr = "Your session has been successfully terminated.", we = "Login failed. Please try again.", Mr = "Error getting access token, please re-authenticate.", Gr = "You forgot to wrap your component in <AuthProvider>.", ce = {
1270
- dev: process?.env?.PUBLIC_AUTH_SERVER_URL || "https://auth.gizmette.local.com:3003",
1271
- prod: "https://mylogin.gizmette.com/auth"
1272
- }, re = "@@auth@@", B = "LOADING", ae = "LOGIN", ot = "LOGOUT", z = "success", O = "failure", st = "include", it = "POST", ct = "application/json", ne = {
1269
+ const W = "Your session has expired. For your security, please log in again to continue.", xr = "Your session has been successfully terminated.", we = "Login failed. Please try again.", Mr = "Error getting access token, please re-authenticate.", Gr = "You forgot to wrap your component in <AuthProvider>.", re = "@@auth@@", B = "LOADING", ae = "LOGIN", ot = "LOGOUT", z = "success", O = "failure", st = "include", it = "POST", ct = "application/json", ne = {
1273
1270
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1274
1271
  $clientId: String!,
1275
1272
  $username: String!,
@@ -1428,7 +1425,10 @@ const W = "Your session has expired. For your security, please log in again to c
1428
1425
  } catch (n) {
1429
1426
  return console.error(n), { status: O, data: [] };
1430
1427
  }
1431
- }, Vr = process.env.NODE_ENV === "production", ut = !Vr, lt = {
1428
+ }, Vr = process.env.NODE_ENV === "production", ut = !Vr, ce = {
1429
+ dev: process.env.PUBLIC_AUTH_SERVER_URL || "https://auth.gizmette.local.com:3003",
1430
+ prod: "https://mylogin.gizmette.com/auth"
1431
+ }, lt = {
1432
1432
  isLoading: !0,
1433
1433
  isAuthenticated: !1,
1434
1434
  user: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/auth-provider",
3
- "version": "7.4.1",
3
+ "version": "7.4.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -46,5 +46,5 @@
46
46
  "jose": "5.9.6",
47
47
  "uuid": "11.0.3"
48
48
  },
49
- "gitHead": "a25ecd809f130815257ca944b8bb75e061f88358"
49
+ "gitHead": "540c722611c468e14a0b765c6f9758c0dd040e24"
50
50
  }