@descope/nextjs-sdk 0.0.2 → 0.0.3-alpha.1

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.
@@ -2,7 +2,7 @@ const DESCOPE_SESSION_HEADER = 'x-descope-session';
2
2
  // eslint-disable-next-line import/prefer-default-export
3
3
  const baseHeaders = {
4
4
  'x-descope-sdk-name': 'nextjs',
5
- 'x-descope-sdk-version': "0.0.2"
5
+ 'x-descope-sdk-version': "0.0.3-alpha.1"
6
6
  };
7
7
 
8
8
  export { DESCOPE_SESSION_HEADER, baseHeaders };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../src/server/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\nexport const DESCOPE_SESSION_HEADER = 'x-descope-session';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n"],"names":[],"mappings":"AAGO,MAAM,sBAAsB,GAAG,oBAAoB;AAE1D;AACa,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,OAAa;;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../src/server/constants.ts"],"sourcesContent":["// Replaced in build time\ndeclare const BUILD_VERSION: string;\n\nexport const DESCOPE_SESSION_HEADER = 'x-descope-session';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const baseHeaders = {\n\t'x-descope-sdk-name': 'nextjs',\n\t'x-descope-sdk-version': BUILD_VERSION\n};\n"],"names":[],"mappings":"AAGO,MAAM,sBAAsB,GAAG,oBAAoB;AAE1D;AACa,MAAA,WAAW,GAAG;AAC1B,IAAA,oBAAoB,EAAE,QAAQ;AAC9B,IAAA,uBAAuB,EAAE,eAAa;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/nextjs-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3-alpha.1",
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.2",
77
- "@descope/react-sdk": "0.0.0-next-c9382464-20240206"
77
+ "@descope/react-sdk": "2.0.6"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@babel/core": "7.23.9",
@@ -123,7 +123,7 @@
123
123
  "next": "^13.5.6",
124
124
  "rollup": "^2.79.1",
125
125
  "rollup-plugin-auto-external": "^2.0.0",
126
- "rollup-plugin-browsersync": "^1.3.3",
126
+ "rollup-plugin-browsersync": "^1.0.0",
127
127
  "rollup-plugin-define": "^1.0.1",
128
128
  "rollup-plugin-delete": "^2.0.0",
129
129
  "rollup-plugin-dotenv": "^0.5.0",