@descope/nextjs-sdk 0.14.6 → 0.14.8

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"
6
+ 'x-descope-sdk-version': "0.14.8"
7
7
  };
8
8
  const DEFAULT_PUBLIC_ROUTES = {
9
9
  signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
@@ -3,7 +3,7 @@
3
3
  // eslint-disable-next-line import/prefer-default-export
4
4
  const baseHeaders = {
5
5
  'x-descope-sdk-name': 'nextjs',
6
- 'x-descope-sdk-version': "0.14.6"
6
+ 'x-descope-sdk-version': "0.14.8"
7
7
  };
8
8
 
9
9
  exports.baseHeaders = baseHeaders;
@@ -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.6"
4
+ 'x-descope-sdk-version': "0.14.8"
5
5
  };
6
6
  const DEFAULT_PUBLIC_ROUTES = {
7
7
  signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
@@ -1,7 +1,7 @@
1
1
  // eslint-disable-next-line import/prefer-default-export
2
2
  const baseHeaders = {
3
3
  'x-descope-sdk-name': 'nextjs',
4
- 'x-descope-sdk-version': "0.14.6"
4
+ 'x-descope-sdk-version': "0.14.8"
5
5
  };
6
6
 
7
7
  export { baseHeaders };
@@ -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.6",
3
+ "version": "0.14.8",
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/react-sdk": "2.16.4",
68
- "@descope/web-component": "3.44.3",
69
- "@descope/core-js-sdk": "2.44.4"
67
+ "@descope/react-sdk": "2.17.0",
68
+ "@descope/core-js-sdk": "2.45.0",
69
+ "@descope/web-component": "3.45.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/core": "7.26.0",