authscape 1.0.684 → 1.0.688

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 CHANGED
@@ -16,6 +16,7 @@ var _router = _interopRequireDefault(require("next/router"));
16
16
  var _ga4React = _interopRequireDefault(require("ga-4-react"));
17
17
  var _zustand = require("zustand");
18
18
  var _reactMicrosoftClarity = require("react-microsoft-clarity");
19
+ var _authService = require("../services/authService");
19
20
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
20
21
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
22
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -333,7 +334,7 @@ function AuthScapeApp(_ref) {
333
334
  }
334
335
  (0, _react.useEffect)(function () {
335
336
  if (signedInUserState == null && enforceLoggedIn && pathname != "/signin-oidc" && frontEndLoadedState == true) {
336
- authService().login();
337
+ (0, _authService.authService)().login();
337
338
  }
338
339
  }, [signedInUserState, enforceLoggedIn, frontEndLoadedState]);
339
340
  var setIsLoading = function setIsLoading(isLoading) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.684",
3
+ "version": "1.0.688",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -32,7 +32,6 @@
32
32
  "js-cookie": "^3.0.5",
33
33
  "js-file-download": "^0.4.12",
34
34
  "jspdf": "^3.0.0",
35
- "next": "^14.1.0",
36
35
  "query-string": "^7.1.1",
37
36
  "react": "^18.2.0",
38
37
  "react-color": "^2.19.3",
@@ -10,6 +10,7 @@ import Router from 'next/router';
10
10
  import GA4React from 'ga-4-react';
11
11
  import { create } from 'zustand'
12
12
  import { clarity } from 'react-microsoft-clarity';
13
+ import { authService } from '../services/authService';
13
14
 
14
15
  // comment this out
15
16
  // import { authService, apiService, setupOEMProps, OEMStyleSheet } from 'authscape';