@versini/auth-provider 7.1.0 → 7.1.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 +10 -7
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -4,13 +4,13 @@ var j = (e, t, r) => mt(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { jsx as be } from "react/jsx-runtime";
5
5
  import wt, { useSyncExternalStore as St, useCallback as N, useEffect as He, createContext as At, useReducer as Tt, useRef as Rt, useContext as _t } from "react";
6
6
  /*!
7
- @versini/auth-provider v7.1.0
7
+ @versini/auth-provider v7.1.2
8
8
  © 2024 gizmette.com
9
9
  */
10
10
  try {
11
11
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
12
- version: "7.1.0",
13
- buildTime: "08/25/2024 01:31 PM EDT",
12
+ version: "7.1.2",
13
+ buildTime: "08/26/2024 06:52 PM EDT",
14
14
  homepage: "https://github.com/aversini/auth-client",
15
15
  license: "MIT"
16
16
  });
@@ -308,7 +308,7 @@ async function Ct(e, t = !1) {
308
308
  try {
309
309
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
310
310
  version: "4.0.0",
311
- buildTime: "08/25/2024 01:31 PM EDT",
311
+ buildTime: "08/26/2024 06:51 PM EDT",
312
312
  homepage: "https://github.com/aversini/auth-client",
313
313
  license: "MIT"
314
314
  });
@@ -1353,7 +1353,8 @@ const U = "Your session has expired. For your security, please log in again to c
1353
1353
  }, $r = async ({
1354
1354
  userId: e,
1355
1355
  clientId: t,
1356
- domain: r
1356
+ domain: r,
1357
+ idToken: n = ""
1357
1358
  }) => {
1358
1359
  try {
1359
1360
  return {
@@ -1362,7 +1363,8 @@ const U = "Your session has expired. For your security, please log in again to c
1362
1363
  clientId: t,
1363
1364
  params: {
1364
1365
  userId: e,
1365
- domain: r
1366
+ domain: r,
1367
+ idToken: n
1366
1368
  }
1367
1369
  }))?.status || I
1368
1370
  };
@@ -1616,7 +1618,8 @@ const Jr = (e) => N(
1616
1618
  ), await $r({
1617
1619
  userId: d,
1618
1620
  clientId: r,
1619
- domain: n
1621
+ domain: n,
1622
+ idToken: h
1620
1623
  }), W(l || U);
1621
1624
  },
1622
1625
  [h, o, r, n, W, i]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/auth-provider",
3
- "version": "7.1.0",
3
+ "version": "7.1.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -46,9 +46,9 @@
46
46
  "dependencies": {
47
47
  "@simplewebauthn/browser": "10.0.0",
48
48
  "@versini/auth-common": "4.0.0",
49
- "@versini/ui-hooks": "4.0.1",
50
- "jose": "5.6.3",
49
+ "@versini/ui-hooks": "4.1.0",
50
+ "jose": "5.7.0",
51
51
  "uuid": "10.0.0"
52
52
  },
53
- "gitHead": "0158daac35db20902b738b2eb3da8528e4e4acbd"
53
+ "gitHead": "0d0ad0789b63c91c3458a194420f1a321cbbe828"
54
54
  }