@descope/nextjs-sdk 0.3.5 → 0.3.7

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.
@@ -11,6 +11,7 @@ export declare const UserManagement: _1.ComponentType<{
11
11
  widgetId: string;
12
12
  theme?: import("@descope/web-component").ThemeOptions;
13
13
  debug?: boolean;
14
+ styleId?: string;
14
15
  } & _1.RefAttributes<HTMLElement>>;
15
16
  export declare const RoleManagement: _1.ComponentType<{
16
17
  logger?: Partial<{
@@ -23,6 +24,7 @@ export declare const RoleManagement: _1.ComponentType<{
23
24
  widgetId: string;
24
25
  theme?: import("@descope/web-component").ThemeOptions;
25
26
  debug?: boolean;
27
+ styleId?: string;
26
28
  } & _1.RefAttributes<HTMLElement>>;
27
29
  export declare const AccessKeyManagement: _1.ComponentType<{
28
30
  logger?: Partial<{
@@ -35,6 +37,7 @@ export declare const AccessKeyManagement: _1.ComponentType<{
35
37
  widgetId: string;
36
38
  theme?: import("@descope/web-component").ThemeOptions;
37
39
  debug?: boolean;
40
+ styleId?: string;
38
41
  } & _1.RefAttributes<HTMLElement>>;
39
42
  export declare const AuditManagement: _1.ComponentType<{
40
43
  logger?: Partial<{
@@ -47,6 +50,7 @@ export declare const AuditManagement: _1.ComponentType<{
47
50
  widgetId: string;
48
51
  theme?: import("@descope/web-component").ThemeOptions;
49
52
  debug?: boolean;
53
+ styleId?: string;
50
54
  } & _1.RefAttributes<HTMLElement>>;
51
55
  export declare const UserProfile: _1.ComponentType<Omit<{
52
56
  logger?: Partial<{
@@ -59,6 +63,7 @@ export declare const UserProfile: _1.ComponentType<Omit<{
59
63
  widgetId: string;
60
64
  theme?: import("@descope/web-component").ThemeOptions;
61
65
  debug?: boolean;
66
+ styleId?: string;
62
67
  }, "tenant"> & {
63
68
  onLogout?: (e: CustomEvent<any>) => void;
64
69
  } & _1.RefAttributes<HTMLElement>>;
@@ -73,6 +78,7 @@ export declare const ApplicationsPortal: _1.ComponentType<Omit<{
73
78
  widgetId: string;
74
79
  theme?: import("@descope/web-component").ThemeOptions;
75
80
  debug?: boolean;
81
+ styleId?: string;
76
82
  }, "tenant"> & {
77
83
  onLogout?: (e: CustomEvent<any>) => void;
78
84
  } & _1.RefAttributes<HTMLElement>>;
@@ -11,6 +11,7 @@ export declare const UserManagement: _1.ComponentType<{
11
11
  widgetId: string;
12
12
  theme?: import("@descope/web-component").ThemeOptions;
13
13
  debug?: boolean;
14
+ styleId?: string;
14
15
  } & _1.RefAttributes<HTMLElement>>;
15
16
  export declare const RoleManagement: _1.ComponentType<{
16
17
  logger?: Partial<{
@@ -23,6 +24,7 @@ export declare const RoleManagement: _1.ComponentType<{
23
24
  widgetId: string;
24
25
  theme?: import("@descope/web-component").ThemeOptions;
25
26
  debug?: boolean;
27
+ styleId?: string;
26
28
  } & _1.RefAttributes<HTMLElement>>;
27
29
  export declare const AccessKeyManagement: _1.ComponentType<{
28
30
  logger?: Partial<{
@@ -35,6 +37,7 @@ export declare const AccessKeyManagement: _1.ComponentType<{
35
37
  widgetId: string;
36
38
  theme?: import("@descope/web-component").ThemeOptions;
37
39
  debug?: boolean;
40
+ styleId?: string;
38
41
  } & _1.RefAttributes<HTMLElement>>;
39
42
  export declare const AuditManagement: _1.ComponentType<{
40
43
  logger?: Partial<{
@@ -47,6 +50,7 @@ export declare const AuditManagement: _1.ComponentType<{
47
50
  widgetId: string;
48
51
  theme?: import("@descope/web-component").ThemeOptions;
49
52
  debug?: boolean;
53
+ styleId?: string;
50
54
  } & _1.RefAttributes<HTMLElement>>;
51
55
  export declare const UserProfile: _1.ComponentType<Omit<{
52
56
  logger?: Partial<{
@@ -59,6 +63,7 @@ export declare const UserProfile: _1.ComponentType<Omit<{
59
63
  widgetId: string;
60
64
  theme?: import("@descope/web-component").ThemeOptions;
61
65
  debug?: boolean;
66
+ styleId?: string;
62
67
  }, "tenant"> & {
63
68
  onLogout?: (e: CustomEvent<any>) => void;
64
69
  } & _1.RefAttributes<HTMLElement>>;
@@ -73,6 +78,7 @@ export declare const ApplicationsPortal: _1.ComponentType<Omit<{
73
78
  widgetId: string;
74
79
  theme?: import("@descope/web-component").ThemeOptions;
75
80
  debug?: boolean;
81
+ styleId?: string;
76
82
  }, "tenant"> & {
77
83
  onLogout?: (e: CustomEvent<any>) => void;
78
84
  } & _1.RefAttributes<HTMLElement>>;
package/dist/index.d.ts CHANGED
@@ -148,6 +148,7 @@ declare const UserManagement: _1.ComponentType<{
148
148
  widgetId: string;
149
149
  theme?: _descope_web_component.ThemeOptions;
150
150
  debug?: boolean;
151
+ styleId?: string;
151
152
  } & _1.RefAttributes<HTMLElement>>;
152
153
  declare const RoleManagement: _1.ComponentType<{
153
154
  logger?: Partial<{
@@ -160,6 +161,7 @@ declare const RoleManagement: _1.ComponentType<{
160
161
  widgetId: string;
161
162
  theme?: _descope_web_component.ThemeOptions;
162
163
  debug?: boolean;
164
+ styleId?: string;
163
165
  } & _1.RefAttributes<HTMLElement>>;
164
166
  declare const AccessKeyManagement: _1.ComponentType<{
165
167
  logger?: Partial<{
@@ -172,6 +174,7 @@ declare const AccessKeyManagement: _1.ComponentType<{
172
174
  widgetId: string;
173
175
  theme?: _descope_web_component.ThemeOptions;
174
176
  debug?: boolean;
177
+ styleId?: string;
175
178
  } & _1.RefAttributes<HTMLElement>>;
176
179
  declare const AuditManagement: _1.ComponentType<{
177
180
  logger?: Partial<{
@@ -184,6 +187,7 @@ declare const AuditManagement: _1.ComponentType<{
184
187
  widgetId: string;
185
188
  theme?: _descope_web_component.ThemeOptions;
186
189
  debug?: boolean;
190
+ styleId?: string;
187
191
  } & _1.RefAttributes<HTMLElement>>;
188
192
  declare const UserProfile: _1.ComponentType<Omit<{
189
193
  logger?: Partial<{
@@ -196,6 +200,7 @@ declare const UserProfile: _1.ComponentType<Omit<{
196
200
  widgetId: string;
197
201
  theme?: _descope_web_component.ThemeOptions;
198
202
  debug?: boolean;
203
+ styleId?: string;
199
204
  }, "tenant"> & {
200
205
  onLogout?: (e: CustomEvent<any>) => void;
201
206
  } & _1.RefAttributes<HTMLElement>>;
@@ -210,6 +215,7 @@ declare const ApplicationsPortal: _1.ComponentType<Omit<{
210
215
  widgetId: string;
211
216
  theme?: _descope_web_component.ThemeOptions;
212
217
  debug?: boolean;
218
+ styleId?: string;
213
219
  }, "tenant"> & {
214
220
  onLogout?: (e: CustomEvent<any>) => void;
215
221
  } & _1.RefAttributes<HTMLElement>>;
@@ -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.5"
4
+ 'x-descope-sdk-version': "0.3.7"
5
5
  };
6
6
  const DEFAULT_PUBLIC_ROUTES = {
7
7
  signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
@@ -11,6 +11,7 @@ export declare const UserManagement: _1.ComponentType<{
11
11
  widgetId: string;
12
12
  theme?: import("@descope/web-component").ThemeOptions;
13
13
  debug?: boolean;
14
+ styleId?: string;
14
15
  } & _1.RefAttributes<HTMLElement>>;
15
16
  export declare const RoleManagement: _1.ComponentType<{
16
17
  logger?: Partial<{
@@ -23,6 +24,7 @@ export declare const RoleManagement: _1.ComponentType<{
23
24
  widgetId: string;
24
25
  theme?: import("@descope/web-component").ThemeOptions;
25
26
  debug?: boolean;
27
+ styleId?: string;
26
28
  } & _1.RefAttributes<HTMLElement>>;
27
29
  export declare const AccessKeyManagement: _1.ComponentType<{
28
30
  logger?: Partial<{
@@ -35,6 +37,7 @@ export declare const AccessKeyManagement: _1.ComponentType<{
35
37
  widgetId: string;
36
38
  theme?: import("@descope/web-component").ThemeOptions;
37
39
  debug?: boolean;
40
+ styleId?: string;
38
41
  } & _1.RefAttributes<HTMLElement>>;
39
42
  export declare const AuditManagement: _1.ComponentType<{
40
43
  logger?: Partial<{
@@ -47,6 +50,7 @@ export declare const AuditManagement: _1.ComponentType<{
47
50
  widgetId: string;
48
51
  theme?: import("@descope/web-component").ThemeOptions;
49
52
  debug?: boolean;
53
+ styleId?: string;
50
54
  } & _1.RefAttributes<HTMLElement>>;
51
55
  export declare const UserProfile: _1.ComponentType<Omit<{
52
56
  logger?: Partial<{
@@ -59,6 +63,7 @@ export declare const UserProfile: _1.ComponentType<Omit<{
59
63
  widgetId: string;
60
64
  theme?: import("@descope/web-component").ThemeOptions;
61
65
  debug?: boolean;
66
+ styleId?: string;
62
67
  }, "tenant"> & {
63
68
  onLogout?: (e: CustomEvent<any>) => void;
64
69
  } & _1.RefAttributes<HTMLElement>>;
@@ -73,6 +78,7 @@ export declare const ApplicationsPortal: _1.ComponentType<Omit<{
73
78
  widgetId: string;
74
79
  theme?: import("@descope/web-component").ThemeOptions;
75
80
  debug?: boolean;
81
+ styleId?: string;
76
82
  }, "tenant"> & {
77
83
  onLogout?: (e: CustomEvent<any>) => void;
78
84
  } & _1.RefAttributes<HTMLElement>>;
@@ -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.3.5"
4
+ 'x-descope-sdk-version': "0.3.7"
5
5
  };
6
6
 
7
7
  export { baseHeaders };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/nextjs-sdk",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
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/core-js-sdk": "2.29.1",
65
- "@descope/react-sdk": "2.1.5",
66
- "@descope/web-component": "3.27.3"
64
+ "@descope/react-sdk": "2.2.0",
65
+ "@descope/web-component": "3.29.0",
66
+ "@descope/core-js-sdk": "2.29.1"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@babel/core": "7.23.9",