@descope/nextjs-sdk 0.3.23 → 0.3.24
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/README.md +2 -2
- package/dist/server/constants.js +1 -1
- package/dist/shared/constants.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -272,7 +272,7 @@ export async function GET(req) {
|
|
|
272
272
|
### Pages Router
|
|
273
273
|
|
|
274
274
|
This section is Working in progress :-)
|
|
275
|
-
In the meantime, you can see the example in the [Pages Router](
|
|
275
|
+
In the meantime, you can see the example in the [Pages Router](./examples/pages-router/) folder.
|
|
276
276
|
|
|
277
277
|
### Widgets
|
|
278
278
|
|
|
@@ -441,7 +441,7 @@ Example:
|
|
|
441
441
|
|
|
442
442
|
## Code Example
|
|
443
443
|
|
|
444
|
-
You can find an example react app in the [examples folder](./examples). - [App Router](
|
|
444
|
+
You can find an example react app in the [examples folder](./examples). - [App Router](./examples/app-router/) - [Pages Router](./examples/pages-router/)
|
|
445
445
|
|
|
446
446
|
## Learn More
|
|
447
447
|
|
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.24"
|
|
5
5
|
};
|
|
6
6
|
const DEFAULT_PUBLIC_ROUTES = {
|
|
7
7
|
signIn: process.env.SIGN_IN_ROUTE || '/sign-in',
|
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.3.
|
|
3
|
+
"version": "0.3.24",
|
|
4
4
|
"description": "Descope NextJS SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@descope/node-sdk": "1.6.12",
|
|
64
64
|
"@descope/core-js-sdk": "2.33.0",
|
|
65
|
-
"@descope/
|
|
66
|
-
"@descope/
|
|
65
|
+
"@descope/web-component": "3.32.2",
|
|
66
|
+
"@descope/react-sdk": "2.3.13"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/core": "7.23.9",
|