authscape 1.0.686 → 1.0.690
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/index.js +1 -4
- package/package.json +1 -1
- package/src/components/AuthScapeApp.js +0 -4
package/index.js
CHANGED
|
@@ -28,10 +28,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
|
|
|
28
28
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
29
29
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
30
30
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
31
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
32
|
-
// comment this out
|
|
33
|
-
// import { authService, apiService, setupOEMProps, OEMStyleSheet } from 'authscape';
|
|
34
|
-
|
|
31
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
35
32
|
function AuthScapeApp(_ref) {
|
|
36
33
|
var Component = _ref.Component,
|
|
37
34
|
layout = _ref.layout,
|
package/package.json
CHANGED
|
@@ -5,15 +5,11 @@ import Head from "next/head";
|
|
|
5
5
|
import { useSearchParams, usePathname } from 'next/navigation';
|
|
6
6
|
import axios from 'axios';
|
|
7
7
|
import querystring from "query-string";
|
|
8
|
-
// import Cookies from 'js-cookie';
|
|
9
8
|
import Router from 'next/router';
|
|
10
9
|
import GA4React from 'ga-4-react';
|
|
11
10
|
import { create } from 'zustand'
|
|
12
11
|
import { clarity } from 'react-microsoft-clarity';
|
|
13
12
|
|
|
14
|
-
// comment this out
|
|
15
|
-
// import { authService, apiService, setupOEMProps, OEMStyleSheet } from 'authscape';
|
|
16
|
-
|
|
17
13
|
export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiTheme = {}, store={}, enforceLoggedIn = false, enableAuth = true}) {
|
|
18
14
|
|
|
19
15
|
const [frontEndLoadedState, setFrontEndLoadedState] = useState(false);
|