@descope/nextjs-sdk 0.14.7 → 0.14.9
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const DESCOPE_SESSION_HEADER = 'x-descope-session';
|
|
4
4
|
const baseHeaders = {
|
|
5
5
|
'x-descope-sdk-name': 'nextjs',
|
|
6
|
-
'x-descope-sdk-version': "0.14.
|
|
6
|
+
'x-descope-sdk-version': "0.14.9"
|
|
7
7
|
};
|
|
8
8
|
const DEFAULT_PUBLIC_ROUTES = {
|
|
9
9
|
signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
|
|
@@ -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.14.
|
|
4
|
+
'x-descope-sdk-version': "0.14.9"
|
|
5
5
|
};
|
|
6
6
|
const DEFAULT_PUBLIC_ROUTES = {
|
|
7
7
|
signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
|
|
@@ -38,6 +38,7 @@ export declare const Descope: React.ComponentType<{
|
|
|
38
38
|
dismissScreenErrorOnInput?: boolean;
|
|
39
39
|
onScreenUpdate?: (screenName: string, context: Record<string, any>, next: (interactionId: string, form: Record<string, any>) => Promise<unknown>, ref: HTMLElement) => boolean | Promise<boolean>;
|
|
40
40
|
children?: _1.ReactNode;
|
|
41
|
+
externalRequestId?: string;
|
|
41
42
|
} & _1.RefAttributes<HTMLElement> & AdditionalProps>;
|
|
42
43
|
export declare const SignInFlow: React.ComponentType<{
|
|
43
44
|
children?: _1.ReactNode;
|
|
@@ -71,6 +72,7 @@ export declare const SignInFlow: React.ComponentType<{
|
|
|
71
72
|
styleId?: string;
|
|
72
73
|
dismissScreenErrorOnInput?: boolean;
|
|
73
74
|
onScreenUpdate?: (screenName: string, context: Record<string, any>, next: (interactionId: string, form: Record<string, any>) => Promise<unknown>, ref: HTMLElement) => boolean | Promise<boolean>;
|
|
75
|
+
externalRequestId?: string;
|
|
74
76
|
} & AdditionalProps>;
|
|
75
77
|
export declare const SignUpFlow: React.ComponentType<{
|
|
76
78
|
children?: _1.ReactNode;
|
|
@@ -104,6 +106,7 @@ export declare const SignUpFlow: React.ComponentType<{
|
|
|
104
106
|
styleId?: string;
|
|
105
107
|
dismissScreenErrorOnInput?: boolean;
|
|
106
108
|
onScreenUpdate?: (screenName: string, context: Record<string, any>, next: (interactionId: string, form: Record<string, any>) => Promise<unknown>, ref: HTMLElement) => boolean | Promise<boolean>;
|
|
109
|
+
externalRequestId?: string;
|
|
107
110
|
} & AdditionalProps>;
|
|
108
111
|
export declare const SignUpOrInFlow: React.ComponentType<{
|
|
109
112
|
children?: _1.ReactNode;
|
|
@@ -137,5 +140,6 @@ export declare const SignUpOrInFlow: React.ComponentType<{
|
|
|
137
140
|
styleId?: string;
|
|
138
141
|
dismissScreenErrorOnInput?: boolean;
|
|
139
142
|
onScreenUpdate?: (screenName: string, context: Record<string, any>, next: (interactionId: string, form: Record<string, any>) => Promise<unknown>, ref: HTMLElement) => boolean | Promise<boolean>;
|
|
143
|
+
externalRequestId?: string;
|
|
140
144
|
} & AdditionalProps>;
|
|
141
145
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/nextjs-sdk",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.9",
|
|
4
4
|
"description": "Descope NextJS SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@descope/node-sdk": "1.6.13",
|
|
67
|
-
"@descope/
|
|
68
|
-
"@descope/
|
|
69
|
-
"@descope/
|
|
67
|
+
"@descope/core-js-sdk": "2.45.0",
|
|
68
|
+
"@descope/web-component": "3.45.1",
|
|
69
|
+
"@descope/react-sdk": "2.17.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@babel/core": "7.26.0",
|