@descope/nextjs-sdk 0.0.11 → 0.0.14
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 +8 -0
- package/dist/dts/src/shared/DescopeFlows.d.ts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/server/constants.js +1 -1
- package/dist/server/dts/src/shared/DescopeFlows.d.ts +8 -0
- package/dist/shared/constants.js +1 -1
- package/package.json +2 -2
|
@@ -13,6 +13,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
13
13
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
14
14
|
locale?: string;
|
|
15
15
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
16
|
+
validateOnBlur?: boolean;
|
|
16
17
|
debug?: boolean;
|
|
17
18
|
telemetryKey?: string;
|
|
18
19
|
redirectUrl?: string;
|
|
@@ -32,6 +33,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
32
33
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
33
34
|
locale?: string;
|
|
34
35
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
36
|
+
validateOnBlur?: boolean;
|
|
35
37
|
debug?: boolean;
|
|
36
38
|
telemetryKey?: string;
|
|
37
39
|
redirectUrl?: string;
|
|
@@ -54,6 +56,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
54
56
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
55
57
|
locale?: string;
|
|
56
58
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
59
|
+
validateOnBlur?: boolean;
|
|
57
60
|
debug?: boolean;
|
|
58
61
|
telemetryKey?: string;
|
|
59
62
|
redirectUrl?: string;
|
|
@@ -72,6 +75,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
72
75
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
73
76
|
locale?: string;
|
|
74
77
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
78
|
+
validateOnBlur?: boolean;
|
|
75
79
|
debug?: boolean;
|
|
76
80
|
telemetryKey?: string;
|
|
77
81
|
redirectUrl?: string;
|
|
@@ -93,6 +97,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
93
97
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
94
98
|
locale?: string;
|
|
95
99
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
100
|
+
validateOnBlur?: boolean;
|
|
96
101
|
debug?: boolean;
|
|
97
102
|
telemetryKey?: string;
|
|
98
103
|
redirectUrl?: string;
|
|
@@ -111,6 +116,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
111
116
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
112
117
|
locale?: string;
|
|
113
118
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
119
|
+
validateOnBlur?: boolean;
|
|
114
120
|
debug?: boolean;
|
|
115
121
|
telemetryKey?: string;
|
|
116
122
|
redirectUrl?: string;
|
|
@@ -132,6 +138,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
132
138
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
133
139
|
locale?: string;
|
|
134
140
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
141
|
+
validateOnBlur?: boolean;
|
|
135
142
|
debug?: boolean;
|
|
136
143
|
telemetryKey?: string;
|
|
137
144
|
redirectUrl?: string;
|
|
@@ -150,6 +157,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
150
157
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
151
158
|
locale?: string;
|
|
152
159
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
160
|
+
validateOnBlur?: boolean;
|
|
153
161
|
debug?: boolean;
|
|
154
162
|
telemetryKey?: string;
|
|
155
163
|
redirectUrl?: string;
|
|
@@ -13,6 +13,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
13
13
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
14
14
|
locale?: string;
|
|
15
15
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
16
|
+
validateOnBlur?: boolean;
|
|
16
17
|
debug?: boolean;
|
|
17
18
|
telemetryKey?: string;
|
|
18
19
|
redirectUrl?: string;
|
|
@@ -32,6 +33,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
32
33
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
33
34
|
locale?: string;
|
|
34
35
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
36
|
+
validateOnBlur?: boolean;
|
|
35
37
|
debug?: boolean;
|
|
36
38
|
telemetryKey?: string;
|
|
37
39
|
redirectUrl?: string;
|
|
@@ -54,6 +56,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
54
56
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
55
57
|
locale?: string;
|
|
56
58
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
59
|
+
validateOnBlur?: boolean;
|
|
57
60
|
debug?: boolean;
|
|
58
61
|
telemetryKey?: string;
|
|
59
62
|
redirectUrl?: string;
|
|
@@ -72,6 +75,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
72
75
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
73
76
|
locale?: string;
|
|
74
77
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
78
|
+
validateOnBlur?: boolean;
|
|
75
79
|
debug?: boolean;
|
|
76
80
|
telemetryKey?: string;
|
|
77
81
|
redirectUrl?: string;
|
|
@@ -93,6 +97,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
93
97
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
94
98
|
locale?: string;
|
|
95
99
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
100
|
+
validateOnBlur?: boolean;
|
|
96
101
|
debug?: boolean;
|
|
97
102
|
telemetryKey?: string;
|
|
98
103
|
redirectUrl?: string;
|
|
@@ -111,6 +116,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
111
116
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
112
117
|
locale?: string;
|
|
113
118
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
119
|
+
validateOnBlur?: boolean;
|
|
114
120
|
debug?: boolean;
|
|
115
121
|
telemetryKey?: string;
|
|
116
122
|
redirectUrl?: string;
|
|
@@ -132,6 +138,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
132
138
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
133
139
|
locale?: string;
|
|
134
140
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
141
|
+
validateOnBlur?: boolean;
|
|
135
142
|
debug?: boolean;
|
|
136
143
|
telemetryKey?: string;
|
|
137
144
|
redirectUrl?: string;
|
|
@@ -150,6 +157,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
150
157
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
151
158
|
locale?: string;
|
|
152
159
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
160
|
+
validateOnBlur?: boolean;
|
|
153
161
|
debug?: boolean;
|
|
154
162
|
telemetryKey?: string;
|
|
155
163
|
redirectUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const Descope: React__default.ComponentType<(({
|
|
|
19
19
|
theme?: _descope_web_component.ThemeOptions;
|
|
20
20
|
locale?: string;
|
|
21
21
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
22
|
+
validateOnBlur?: boolean;
|
|
22
23
|
debug?: boolean;
|
|
23
24
|
telemetryKey?: string;
|
|
24
25
|
redirectUrl?: string;
|
|
@@ -38,6 +39,7 @@ declare const Descope: React__default.ComponentType<(({
|
|
|
38
39
|
theme?: _descope_web_component.ThemeOptions;
|
|
39
40
|
locale?: string;
|
|
40
41
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
42
|
+
validateOnBlur?: boolean;
|
|
41
43
|
debug?: boolean;
|
|
42
44
|
telemetryKey?: string;
|
|
43
45
|
redirectUrl?: string;
|
|
@@ -60,6 +62,7 @@ declare const SignInFlow: React__default.ComponentType<({
|
|
|
60
62
|
theme?: _descope_web_component.ThemeOptions;
|
|
61
63
|
locale?: string;
|
|
62
64
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
65
|
+
validateOnBlur?: boolean;
|
|
63
66
|
debug?: boolean;
|
|
64
67
|
telemetryKey?: string;
|
|
65
68
|
redirectUrl?: string;
|
|
@@ -78,6 +81,7 @@ declare const SignInFlow: React__default.ComponentType<({
|
|
|
78
81
|
theme?: _descope_web_component.ThemeOptions;
|
|
79
82
|
locale?: string;
|
|
80
83
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
84
|
+
validateOnBlur?: boolean;
|
|
81
85
|
debug?: boolean;
|
|
82
86
|
telemetryKey?: string;
|
|
83
87
|
redirectUrl?: string;
|
|
@@ -99,6 +103,7 @@ declare const SignUpFlow: React__default.ComponentType<({
|
|
|
99
103
|
theme?: _descope_web_component.ThemeOptions;
|
|
100
104
|
locale?: string;
|
|
101
105
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
106
|
+
validateOnBlur?: boolean;
|
|
102
107
|
debug?: boolean;
|
|
103
108
|
telemetryKey?: string;
|
|
104
109
|
redirectUrl?: string;
|
|
@@ -117,6 +122,7 @@ declare const SignUpFlow: React__default.ComponentType<({
|
|
|
117
122
|
theme?: _descope_web_component.ThemeOptions;
|
|
118
123
|
locale?: string;
|
|
119
124
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
125
|
+
validateOnBlur?: boolean;
|
|
120
126
|
debug?: boolean;
|
|
121
127
|
telemetryKey?: string;
|
|
122
128
|
redirectUrl?: string;
|
|
@@ -138,6 +144,7 @@ declare const SignUpOrInFlow: React__default.ComponentType<({
|
|
|
138
144
|
theme?: _descope_web_component.ThemeOptions;
|
|
139
145
|
locale?: string;
|
|
140
146
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
147
|
+
validateOnBlur?: boolean;
|
|
141
148
|
debug?: boolean;
|
|
142
149
|
telemetryKey?: string;
|
|
143
150
|
redirectUrl?: string;
|
|
@@ -156,6 +163,7 @@ declare const SignUpOrInFlow: React__default.ComponentType<({
|
|
|
156
163
|
theme?: _descope_web_component.ThemeOptions;
|
|
157
164
|
locale?: string;
|
|
158
165
|
autoFocus?: _descope_web_component.AutoFocusOptions;
|
|
166
|
+
validateOnBlur?: boolean;
|
|
159
167
|
debug?: boolean;
|
|
160
168
|
telemetryKey?: string;
|
|
161
169
|
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.0.
|
|
4
|
+
'x-descope-sdk-version': "0.0.14"
|
|
5
5
|
};
|
|
6
6
|
const DEFAULT_PUBLIC_ROUTES = {
|
|
7
7
|
signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
|
|
@@ -13,6 +13,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
13
13
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
14
14
|
locale?: string;
|
|
15
15
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
16
|
+
validateOnBlur?: boolean;
|
|
16
17
|
debug?: boolean;
|
|
17
18
|
telemetryKey?: string;
|
|
18
19
|
redirectUrl?: string;
|
|
@@ -32,6 +33,7 @@ export declare const Descope: React.ComponentType<(({
|
|
|
32
33
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
33
34
|
locale?: string;
|
|
34
35
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
36
|
+
validateOnBlur?: boolean;
|
|
35
37
|
debug?: boolean;
|
|
36
38
|
telemetryKey?: string;
|
|
37
39
|
redirectUrl?: string;
|
|
@@ -54,6 +56,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
54
56
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
55
57
|
locale?: string;
|
|
56
58
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
59
|
+
validateOnBlur?: boolean;
|
|
57
60
|
debug?: boolean;
|
|
58
61
|
telemetryKey?: string;
|
|
59
62
|
redirectUrl?: string;
|
|
@@ -72,6 +75,7 @@ export declare const SignInFlow: React.ComponentType<({
|
|
|
72
75
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
73
76
|
locale?: string;
|
|
74
77
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
78
|
+
validateOnBlur?: boolean;
|
|
75
79
|
debug?: boolean;
|
|
76
80
|
telemetryKey?: string;
|
|
77
81
|
redirectUrl?: string;
|
|
@@ -93,6 +97,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
93
97
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
94
98
|
locale?: string;
|
|
95
99
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
100
|
+
validateOnBlur?: boolean;
|
|
96
101
|
debug?: boolean;
|
|
97
102
|
telemetryKey?: string;
|
|
98
103
|
redirectUrl?: string;
|
|
@@ -111,6 +116,7 @@ export declare const SignUpFlow: React.ComponentType<({
|
|
|
111
116
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
112
117
|
locale?: string;
|
|
113
118
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
119
|
+
validateOnBlur?: boolean;
|
|
114
120
|
debug?: boolean;
|
|
115
121
|
telemetryKey?: string;
|
|
116
122
|
redirectUrl?: string;
|
|
@@ -132,6 +138,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
132
138
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
133
139
|
locale?: string;
|
|
134
140
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
141
|
+
validateOnBlur?: boolean;
|
|
135
142
|
debug?: boolean;
|
|
136
143
|
telemetryKey?: string;
|
|
137
144
|
redirectUrl?: string;
|
|
@@ -150,6 +157,7 @@ export declare const SignUpOrInFlow: React.ComponentType<({
|
|
|
150
157
|
theme?: import("@descope/web-component").ThemeOptions;
|
|
151
158
|
locale?: string;
|
|
152
159
|
autoFocus?: import("@descope/web-component").AutoFocusOptions;
|
|
160
|
+
validateOnBlur?: boolean;
|
|
153
161
|
debug?: boolean;
|
|
154
162
|
telemetryKey?: string;
|
|
155
163
|
redirectUrl?: string;
|
package/dist/shared/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/nextjs-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "Descope NextJS SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/nextjs-sdk",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@descope/node-sdk": "1.6.8",
|
|
77
|
-
"@descope/react-sdk": "2.0.
|
|
77
|
+
"@descope/react-sdk": "2.0.35"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@babel/core": "7.23.9",
|