@frontegg/nextjs 6.7.10-alpha.3923086413 → 6.7.10-alpha.3931034988

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- ## [6.7.10](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.9...v6.7.10) (2023-1-15)
3
+ ## [6.7.10](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.9...v6.7.10) (2023-1-16)
4
4
 
5
5
  - FR-10330 - fixes for bulk
6
6
  - FR-9816 - Fix branch selection
@@ -12,11 +12,13 @@
12
12
  - FR-9816 - fix version
13
13
 
14
14
  ### NextJS Wrapper 6.7.10:
15
+ - FR-10379 - disable refresh token by default for ssr
15
16
  - FR-10141 - Added support for logout on hosted login
16
17
  - FR-10342 - update readme for app directory
17
18
  - Bump json5 from 1.0.1 to 1.0.2
18
19
  - Update Frontegg AdminPortal to 6.58.0
19
20
  - FR-10153 - Fix app session bug without keepSessionAlive
21
+ - Bump minimatch from 3.0.4 to 3.0.5
20
22
 
21
23
  ## [6.7.9](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.8...v6.7.9) (2022-12-20)
22
24
 
@@ -26,7 +26,7 @@ var createOrGetFronteggApp = function (_a) {
26
26
  ? __assign({ tenantTree: null, subTenants: [], tenants: tenants, loading: false }, (_b = options.authOptions) === null || _b === void 0 ? void 0 : _b.tenantsState) : undefined;
27
27
  var userData = user
28
28
  ? __assign(__assign(__assign({}, user), { accessToken: accessToken !== null && accessToken !== void 0 ? accessToken : '', refreshToken: refreshToken !== null && refreshToken !== void 0 ? refreshToken : undefined }), (_c = options.authOptions) === null || _c === void 0 ? void 0 : _c.user) : null;
29
- var authOptions = __assign(__assign({}, options.authOptions), { onRedirectTo: onRedirectTo, isLoading: false, isAuthenticated: !!options.session, hostedLoginBox: (_d = options.hostedLoginBox) !== null && _d !== void 0 ? _d : false, disableSilentRefresh: (_f = (_e = options.authOptions) === null || _e === void 0 ? void 0 : _e.disableSilentRefresh) !== null && _f !== void 0 ? _f : false, user: userData, tenantsState: tenantsState });
29
+ var authOptions = __assign(__assign({}, options.authOptions), { onRedirectTo: onRedirectTo, isLoading: false, isAuthenticated: !!options.session, hostedLoginBox: (_d = options.hostedLoginBox) !== null && _d !== void 0 ? _d : false, disableSilentRefresh: (_f = (_e = options.authOptions) === null || _e === void 0 ? void 0 : _e.disableSilentRefresh) !== null && _f !== void 0 ? _f : true, user: userData, tenantsState: tenantsState });
30
30
  var sharedStore = createFronteggStore({ context: contextOptions }, storeHolder.current, options.previewMode, authOptions, {
31
31
  auth: authOptions !== null && authOptions !== void 0 ? authOptions : {},
32
32
  audits: (_g = options.auditsOptions) !== null && _g !== void 0 ? _g : {},
@@ -104,4 +104,4 @@ var FronteggClientProviderNext13 = function (_a) {
104
104
  };
105
105
 
106
106
  export { AppContext as A, FronteggClientProviderNext13 as F };
107
- //# sourceMappingURL=FronteggClientProviderNext13-512c37b1.js.map
107
+ //# sourceMappingURL=FronteggClientProviderNext13-b1eb6b39.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FronteggClientProviderNext13-b1eb6b39.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/client/index.js CHANGED
@@ -7,8 +7,8 @@ import '../api-25516652.js';
7
7
  import { useContext, useEffect } from 'react';
8
8
  import { useLoginWithRedirect, useLoginActions } from '@frontegg/react-hooks';
9
9
  import '@frontegg/rest-api';
10
- import { A as AppContext } from '../FronteggClientProviderNext13-512c37b1.js';
11
- export { F as FronteggClientProviderNext13 } from '../FronteggClientProviderNext13-512c37b1.js';
10
+ import { A as AppContext } from '../FronteggClientProviderNext13-b1eb6b39.js';
11
+ export { F as FronteggClientProviderNext13 } from '../FronteggClientProviderNext13-b1eb6b39.js';
12
12
  import '@frontegg/js';
13
13
  import { authInitialState } from '@frontegg/redux-store';
14
14
  import { useRouter, notFound } from 'next/navigation';
package/index.js CHANGED
@@ -41,7 +41,7 @@ var createOrGetFronteggApp = function (_a) {
41
41
  ? tslib.__assign({ tenantTree: null, subTenants: [], tenants: tenants, loading: false }, (_b = options.authOptions) === null || _b === void 0 ? void 0 : _b.tenantsState) : undefined;
42
42
  var userData = user
43
43
  ? tslib.__assign(tslib.__assign(tslib.__assign({}, user), { accessToken: accessToken !== null && accessToken !== void 0 ? accessToken : '', refreshToken: refreshToken !== null && refreshToken !== void 0 ? refreshToken : undefined }), (_c = options.authOptions) === null || _c === void 0 ? void 0 : _c.user) : null;
44
- var authOptions = tslib.__assign(tslib.__assign({}, options.authOptions), { onRedirectTo: onRedirectTo, isLoading: false, isAuthenticated: !!options.session, hostedLoginBox: (_d = options.hostedLoginBox) !== null && _d !== void 0 ? _d : false, disableSilentRefresh: (_f = (_e = options.authOptions) === null || _e === void 0 ? void 0 : _e.disableSilentRefresh) !== null && _f !== void 0 ? _f : false, user: userData, tenantsState: tenantsState });
44
+ var authOptions = tslib.__assign(tslib.__assign({}, options.authOptions), { onRedirectTo: onRedirectTo, isLoading: false, isAuthenticated: !!options.session, hostedLoginBox: (_d = options.hostedLoginBox) !== null && _d !== void 0 ? _d : false, disableSilentRefresh: (_f = (_e = options.authOptions) === null || _e === void 0 ? void 0 : _e.disableSilentRefresh) !== null && _f !== void 0 ? _f : true, user: userData, tenantsState: tenantsState });
45
45
  var sharedStore = reduxStore.createFronteggStore({ context: contextOptions }, storeHolder.current, options.previewMode, authOptions, {
46
46
  auth: authOptions !== null && authOptions !== void 0 ? authOptions : {},
47
47
  audits: (_g = options.auditsOptions) !== null && _g !== void 0 ? _g : {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontegg/nextjs",
3
3
  "libName": "FronteggNextJs",
4
- "version": "6.7.10-alpha.3923086413",
4
+ "version": "6.7.10-alpha.3931034988",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "types": "dist/index.d.ts",
package/server/index.js CHANGED
@@ -7,7 +7,7 @@ import { c as createGetSession } from '../createGetSession-bee8af0a.js';
7
7
  import 'jose';
8
8
  import '@frontegg/react-hooks';
9
9
  import '@frontegg/rest-api';
10
- import { F as FronteggClientProviderNext13 } from '../FronteggClientProviderNext13-512c37b1.js';
10
+ import { F as FronteggClientProviderNext13 } from '../FronteggClientProviderNext13-b1eb6b39.js';
11
11
  import '@frontegg/js';
12
12
  import '@frontegg/redux-store';
13
13
  import 'next/navigation';
@@ -1 +0,0 @@
1
- {"version":3,"file":"FronteggClientProviderNext13-512c37b1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}