@frontegg/nextjs 6.7.5-alpha.3562860308 → 6.7.6-alpha.3572609983
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.cjs.js +4 -3
- package/index.esm.js +4 -3
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -85,9 +85,9 @@ var Connector$1 = function Connector(_props) {
|
|
|
85
85
|
|
|
86
86
|
var router = _props.router,
|
|
87
87
|
appName = _props.appName,
|
|
88
|
-
hostedLoginBox = _props.hostedLoginBox
|
|
89
|
-
_props.customLoginBox
|
|
90
|
-
|
|
88
|
+
hostedLoginBox = _props.hostedLoginBox,
|
|
89
|
+
customLoginBox = _props.customLoginBox,
|
|
90
|
+
props = __rest(_props, ["router", "appName", "hostedLoginBox", "customLoginBox"]);
|
|
91
91
|
|
|
92
92
|
var isSSR = typeof window === 'undefined';
|
|
93
93
|
var baseName = (_a = props.basename) !== null && _a !== void 0 ? _a : router.basePath;
|
|
@@ -131,6 +131,7 @@ var Connector$1 = function Connector(_props) {
|
|
|
131
131
|
} catch (e) {
|
|
132
132
|
createdApp = js.initialize(Object.assign(Object.assign({}, props), {
|
|
133
133
|
hostedLoginBox: hostedLoginBox !== null && hostedLoginBox !== void 0 ? hostedLoginBox : false,
|
|
134
|
+
customLoginBox: customLoginBox !== null && customLoginBox !== void 0 ? customLoginBox : false,
|
|
134
135
|
basename: (_a = props.basename) !== null && _a !== void 0 ? _a : baseName,
|
|
135
136
|
authOptions: Object.assign(Object.assign({}, props.authOptions), {
|
|
136
137
|
onRedirectTo: onRedirectTo
|
package/index.esm.js
CHANGED
|
@@ -59,9 +59,9 @@ var Connector$1 = function Connector(_props) {
|
|
|
59
59
|
|
|
60
60
|
var router = _props.router,
|
|
61
61
|
appName = _props.appName,
|
|
62
|
-
hostedLoginBox = _props.hostedLoginBox
|
|
63
|
-
_props.customLoginBox
|
|
64
|
-
|
|
62
|
+
hostedLoginBox = _props.hostedLoginBox,
|
|
63
|
+
customLoginBox = _props.customLoginBox,
|
|
64
|
+
props = __rest(_props, ["router", "appName", "hostedLoginBox", "customLoginBox"]);
|
|
65
65
|
|
|
66
66
|
var isSSR = typeof window === 'undefined';
|
|
67
67
|
var baseName = (_a = props.basename) !== null && _a !== void 0 ? _a : router.basePath;
|
|
@@ -105,6 +105,7 @@ var Connector$1 = function Connector(_props) {
|
|
|
105
105
|
} catch (e) {
|
|
106
106
|
createdApp = initialize(Object.assign(Object.assign({}, props), {
|
|
107
107
|
hostedLoginBox: hostedLoginBox !== null && hostedLoginBox !== void 0 ? hostedLoginBox : false,
|
|
108
|
+
customLoginBox: customLoginBox !== null && customLoginBox !== void 0 ? customLoginBox : false,
|
|
108
109
|
basename: (_a = props.basename) !== null && _a !== void 0 ? _a : baseName,
|
|
109
110
|
authOptions: Object.assign(Object.assign({}, props.authOptions), {
|
|
110
111
|
onRedirectTo: onRedirectTo
|