@descope/nextjs-sdk 0.3.8 → 0.3.10
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/dist/client/dts/src/shared/DescopeFlows.d.ts +4 -0
- package/dist/dts/src/shared/DescopeFlows.d.ts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/server/constants.js +1 -1
- package/dist/server/constants.js.map +1 -1
- package/dist/server/dts/src/shared/DescopeFlows.d.ts +4 -0
- package/dist/shared/constants.js +1 -1
- package/dist/shared/constants.js.map +1 -1
- package/package.json +4 -4
|
@@ -26,6 +26,7 @@ export declare const Descope: _1.ComponentType<{
|
|
|
26
26
|
locale?: string;
|
|
27
27
|
autoFocus?: _2.AutoFocusOptions;
|
|
28
28
|
validateOnBlur?: boolean;
|
|
29
|
+
restartOnError?: boolean;
|
|
29
30
|
debug?: boolean;
|
|
30
31
|
telemetryKey?: string;
|
|
31
32
|
redirectUrl?: string;
|
|
@@ -58,6 +59,7 @@ export declare const SignInFlow: _1.ComponentType<{
|
|
|
58
59
|
locale?: string;
|
|
59
60
|
autoFocus?: _2.AutoFocusOptions;
|
|
60
61
|
validateOnBlur?: boolean;
|
|
62
|
+
restartOnError?: boolean;
|
|
61
63
|
debug?: boolean;
|
|
62
64
|
telemetryKey?: string;
|
|
63
65
|
redirectUrl?: string;
|
|
@@ -89,6 +91,7 @@ export declare const SignUpFlow: _1.ComponentType<{
|
|
|
89
91
|
locale?: string;
|
|
90
92
|
autoFocus?: _2.AutoFocusOptions;
|
|
91
93
|
validateOnBlur?: boolean;
|
|
94
|
+
restartOnError?: boolean;
|
|
92
95
|
debug?: boolean;
|
|
93
96
|
telemetryKey?: string;
|
|
94
97
|
redirectUrl?: string;
|
|
@@ -120,6 +123,7 @@ export declare const SignUpOrInFlow: _1.ComponentType<{
|
|
|
120
123
|
locale?: string;
|
|
121
124
|
autoFocus?: _2.AutoFocusOptions;
|
|
122
125
|
validateOnBlur?: boolean;
|
|
126
|
+
restartOnError?: boolean;
|
|
123
127
|
debug?: boolean;
|
|
124
128
|
telemetryKey?: string;
|
|
125
129
|
redirectUrl?: string;
|
|
@@ -26,6 +26,7 @@ export declare const Descope: _1.ComponentType<{
|
|
|
26
26
|
locale?: string;
|
|
27
27
|
autoFocus?: _2.AutoFocusOptions;
|
|
28
28
|
validateOnBlur?: boolean;
|
|
29
|
+
restartOnError?: boolean;
|
|
29
30
|
debug?: boolean;
|
|
30
31
|
telemetryKey?: string;
|
|
31
32
|
redirectUrl?: string;
|
|
@@ -58,6 +59,7 @@ export declare const SignInFlow: _1.ComponentType<{
|
|
|
58
59
|
locale?: string;
|
|
59
60
|
autoFocus?: _2.AutoFocusOptions;
|
|
60
61
|
validateOnBlur?: boolean;
|
|
62
|
+
restartOnError?: boolean;
|
|
61
63
|
debug?: boolean;
|
|
62
64
|
telemetryKey?: string;
|
|
63
65
|
redirectUrl?: string;
|
|
@@ -89,6 +91,7 @@ export declare const SignUpFlow: _1.ComponentType<{
|
|
|
89
91
|
locale?: string;
|
|
90
92
|
autoFocus?: _2.AutoFocusOptions;
|
|
91
93
|
validateOnBlur?: boolean;
|
|
94
|
+
restartOnError?: boolean;
|
|
92
95
|
debug?: boolean;
|
|
93
96
|
telemetryKey?: string;
|
|
94
97
|
redirectUrl?: string;
|
|
@@ -120,6 +123,7 @@ export declare const SignUpOrInFlow: _1.ComponentType<{
|
|
|
120
123
|
locale?: string;
|
|
121
124
|
autoFocus?: _2.AutoFocusOptions;
|
|
122
125
|
validateOnBlur?: boolean;
|
|
126
|
+
restartOnError?: boolean;
|
|
123
127
|
debug?: boolean;
|
|
124
128
|
telemetryKey?: string;
|
|
125
129
|
redirectUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare const Descope: _1.ComponentType<{
|
|
|
32
32
|
locale?: string;
|
|
33
33
|
autoFocus?: _2.AutoFocusOptions;
|
|
34
34
|
validateOnBlur?: boolean;
|
|
35
|
+
restartOnError?: boolean;
|
|
35
36
|
debug?: boolean;
|
|
36
37
|
telemetryKey?: string;
|
|
37
38
|
redirectUrl?: string;
|
|
@@ -64,6 +65,7 @@ declare const SignInFlow: _1.ComponentType<{
|
|
|
64
65
|
locale?: string;
|
|
65
66
|
autoFocus?: _2.AutoFocusOptions;
|
|
66
67
|
validateOnBlur?: boolean;
|
|
68
|
+
restartOnError?: boolean;
|
|
67
69
|
debug?: boolean;
|
|
68
70
|
telemetryKey?: string;
|
|
69
71
|
redirectUrl?: string;
|
|
@@ -95,6 +97,7 @@ declare const SignUpFlow: _1.ComponentType<{
|
|
|
95
97
|
locale?: string;
|
|
96
98
|
autoFocus?: _2.AutoFocusOptions;
|
|
97
99
|
validateOnBlur?: boolean;
|
|
100
|
+
restartOnError?: boolean;
|
|
98
101
|
debug?: boolean;
|
|
99
102
|
telemetryKey?: string;
|
|
100
103
|
redirectUrl?: string;
|
|
@@ -126,6 +129,7 @@ declare const SignUpOrInFlow: _1.ComponentType<{
|
|
|
126
129
|
locale?: string;
|
|
127
130
|
autoFocus?: _2.AutoFocusOptions;
|
|
128
131
|
validateOnBlur?: boolean;
|
|
132
|
+
restartOnError?: boolean;
|
|
129
133
|
debug?: boolean;
|
|
130
134
|
telemetryKey?: string;
|
|
131
135
|
redirectUrl?: string;
|
package/dist/server/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const DESCOPE_SESSION_HEADER = 'x-descope-session';
|
|
2
2
|
const baseHeaders = {
|
|
3
3
|
'x-descope-sdk-name': 'nextjs',
|
|
4
|
-
'x-descope-sdk-version': "0.3.
|
|
4
|
+
'x-descope-sdk-version': "0.3.10"
|
|
5
5
|
};
|
|
6
6
|
const DEFAULT_PUBLIC_ROUTES = {
|
|
7
7
|
signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../src/server/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\nexport const DESCOPE_SESSION_HEADER = 'x-descope-session';\n\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n\nexport const DEFAULT_PUBLIC_ROUTES = {\n\tsignIn: process.env.SIGN_IN_ROUTE || '/sign-in',\n\tsignUp: process.env.SIGN_UP_ROUTE || '/sign-up'\n};\n"],"names":[],"mappings":"AAGO,MAAM,sBAAsB,GAAG,oBAAoB;AAE7C,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/server/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\nexport const DESCOPE_SESSION_HEADER = 'x-descope-session';\n\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n\nexport const DEFAULT_PUBLIC_ROUTES = {\n\tsignIn: process.env.SIGN_IN_ROUTE || '/sign-in',\n\tsignUp: process.env.SIGN_UP_ROUTE || '/sign-up'\n};\n"],"names":[],"mappings":"AAGO,MAAM,sBAAsB,GAAG,oBAAoB;AAE7C,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,QAAa;EACrC;AAEW,MAAA,qBAAqB,GAAG;AACpC,IAAA,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,UAAU;AAC/C,IAAA,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,UAAU;;;;;"}
|
|
@@ -26,6 +26,7 @@ export declare const Descope: _1.ComponentType<{
|
|
|
26
26
|
locale?: string;
|
|
27
27
|
autoFocus?: _2.AutoFocusOptions;
|
|
28
28
|
validateOnBlur?: boolean;
|
|
29
|
+
restartOnError?: boolean;
|
|
29
30
|
debug?: boolean;
|
|
30
31
|
telemetryKey?: string;
|
|
31
32
|
redirectUrl?: string;
|
|
@@ -58,6 +59,7 @@ export declare const SignInFlow: _1.ComponentType<{
|
|
|
58
59
|
locale?: string;
|
|
59
60
|
autoFocus?: _2.AutoFocusOptions;
|
|
60
61
|
validateOnBlur?: boolean;
|
|
62
|
+
restartOnError?: boolean;
|
|
61
63
|
debug?: boolean;
|
|
62
64
|
telemetryKey?: string;
|
|
63
65
|
redirectUrl?: string;
|
|
@@ -89,6 +91,7 @@ export declare const SignUpFlow: _1.ComponentType<{
|
|
|
89
91
|
locale?: string;
|
|
90
92
|
autoFocus?: _2.AutoFocusOptions;
|
|
91
93
|
validateOnBlur?: boolean;
|
|
94
|
+
restartOnError?: boolean;
|
|
92
95
|
debug?: boolean;
|
|
93
96
|
telemetryKey?: string;
|
|
94
97
|
redirectUrl?: string;
|
|
@@ -120,6 +123,7 @@ export declare const SignUpOrInFlow: _1.ComponentType<{
|
|
|
120
123
|
locale?: string;
|
|
121
124
|
autoFocus?: _2.AutoFocusOptions;
|
|
122
125
|
validateOnBlur?: boolean;
|
|
126
|
+
restartOnError?: boolean;
|
|
123
127
|
debug?: boolean;
|
|
124
128
|
telemetryKey?: string;
|
|
125
129
|
redirectUrl?: string;
|
package/dist/shared/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../src/shared/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\n// eslint-disable-next-line import/prefer-default-export\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n"],"names":[],"mappings":"AAGA;AACa,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/shared/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\n// eslint-disable-next-line import/prefer-default-export\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n"],"names":[],"mappings":"AAGA;AACa,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,QAAa;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/nextjs-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "Descope NextJS SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@descope/node-sdk": "1.6.9",
|
|
64
|
-
"@descope/react-sdk": "2.3.
|
|
65
|
-
"@descope/core-js-sdk": "2.
|
|
66
|
-
"@descope/web-component": "3.29.
|
|
64
|
+
"@descope/react-sdk": "2.3.2",
|
|
65
|
+
"@descope/core-js-sdk": "2.31.0",
|
|
66
|
+
"@descope/web-component": "3.29.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/core": "7.23.9",
|