@lowdefy/server 4.0.0-rc.4 → 4.0.0-rc.6

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.
@@ -14,13 +14,13 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- import { unstable_getServerSession } from 'next-auth/next';
17
+ import { getServerSession as getNextAuthServerSession } from 'next-auth/next';
18
18
  import { authOptions } from '../../pages/api/auth/[...nextauth].js';
19
19
  import authJson from '../../build/auth.json';
20
20
 
21
- async function getServerSession({ req, res }) {
21
+ function getServerSession({ req, res }) {
22
22
  if (authJson.configured === true) {
23
- return await unstable_getServerSession(req, res, authOptions);
23
+ return getNextAuthServerSession(req, res, authOptions);
24
24
  }
25
25
  return undefined;
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server",
3
- "version": "4.0.0-rc.4",
3
+ "version": "4.0.0-rc.6",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -45,31 +45,31 @@
45
45
  "next": "next"
46
46
  },
47
47
  "dependencies": {
48
- "@lowdefy/actions-core": "4.0.0-rc.4",
49
- "@lowdefy/api": "4.0.0-rc.4",
50
- "@lowdefy/blocks-antd": "4.0.0-rc.4",
51
- "@lowdefy/blocks-basic": "4.0.0-rc.4",
52
- "@lowdefy/blocks-loaders": "4.0.0-rc.4",
53
- "@lowdefy/client": "4.0.0-rc.4",
54
- "@lowdefy/helpers": "4.0.0-rc.4",
55
- "@lowdefy/layout": "4.0.0-rc.4",
56
- "@lowdefy/node-utils": "4.0.0-rc.4",
57
- "@lowdefy/operators-js": "4.0.0-rc.4",
58
- "@lowdefy/plugin-next-auth": "4.0.0-rc.4",
48
+ "@lowdefy/actions-core": "4.0.0-rc.6",
49
+ "@lowdefy/api": "4.0.0-rc.6",
50
+ "@lowdefy/blocks-antd": "4.0.0-rc.6",
51
+ "@lowdefy/blocks-basic": "4.0.0-rc.6",
52
+ "@lowdefy/blocks-loaders": "4.0.0-rc.6",
53
+ "@lowdefy/client": "4.0.0-rc.6",
54
+ "@lowdefy/helpers": "4.0.0-rc.6",
55
+ "@lowdefy/layout": "4.0.0-rc.6",
56
+ "@lowdefy/node-utils": "4.0.0-rc.6",
57
+ "@lowdefy/operators-js": "4.0.0-rc.6",
58
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.6",
59
59
  "next": "12.3.1",
60
- "next-auth": "4.18.8",
60
+ "next-auth": "4.20.1",
61
61
  "process": "0.11.10",
62
62
  "react": "18.2.0",
63
63
  "react-dom": "18.2.0",
64
64
  "react-icons": "4.7.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@lowdefy/build": "4.0.0-rc.4",
67
+ "@lowdefy/build": "4.0.0-rc.6",
68
68
  "@next/eslint-plugin-next": "12.1.6",
69
69
  "less": "4.1.3",
70
70
  "less-loader": "11.1.0",
71
71
  "next-with-less": "2.0.5",
72
- "webpack": "5.75.0",
72
+ "webpack": "5.76.0",
73
73
  "yaml": "2.2.1",
74
74
  "yargs": "17.6.2"
75
75
  },
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "64ac69e424c881ee15a5333b75bd22156bd58ccb"
80
+ "gitHead": "8238145a9eb26c6f3dc48661ab6eca6e3aca4f83"
81
81
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server",
3
- "version": "4.0.0-rc.4",
3
+ "version": "4.0.0-rc.6",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -45,31 +45,31 @@
45
45
  "next": "next"
46
46
  },
47
47
  "dependencies": {
48
- "@lowdefy/actions-core": "4.0.0-rc.4",
49
- "@lowdefy/api": "4.0.0-rc.4",
50
- "@lowdefy/blocks-antd": "4.0.0-rc.4",
51
- "@lowdefy/blocks-basic": "4.0.0-rc.4",
52
- "@lowdefy/blocks-loaders": "4.0.0-rc.4",
53
- "@lowdefy/client": "4.0.0-rc.4",
54
- "@lowdefy/helpers": "4.0.0-rc.4",
55
- "@lowdefy/layout": "4.0.0-rc.4",
56
- "@lowdefy/node-utils": "4.0.0-rc.4",
57
- "@lowdefy/operators-js": "4.0.0-rc.4",
58
- "@lowdefy/plugin-next-auth": "4.0.0-rc.4",
48
+ "@lowdefy/actions-core": "4.0.0-rc.6",
49
+ "@lowdefy/api": "4.0.0-rc.6",
50
+ "@lowdefy/blocks-antd": "4.0.0-rc.6",
51
+ "@lowdefy/blocks-basic": "4.0.0-rc.6",
52
+ "@lowdefy/blocks-loaders": "4.0.0-rc.6",
53
+ "@lowdefy/client": "4.0.0-rc.6",
54
+ "@lowdefy/helpers": "4.0.0-rc.6",
55
+ "@lowdefy/layout": "4.0.0-rc.6",
56
+ "@lowdefy/node-utils": "4.0.0-rc.6",
57
+ "@lowdefy/operators-js": "4.0.0-rc.6",
58
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.6",
59
59
  "next": "12.3.1",
60
- "next-auth": "4.18.8",
60
+ "next-auth": "4.20.1",
61
61
  "process": "0.11.10",
62
62
  "react": "18.2.0",
63
63
  "react-dom": "18.2.0",
64
64
  "react-icons": "4.7.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@lowdefy/build": "4.0.0-rc.4",
67
+ "@lowdefy/build": "4.0.0-rc.6",
68
68
  "@next/eslint-plugin-next": "12.1.6",
69
69
  "less": "4.1.3",
70
70
  "less-loader": "11.1.0",
71
71
  "next-with-less": "2.0.5",
72
- "webpack": "5.75.0",
72
+ "webpack": "5.76.0",
73
73
  "yaml": "2.2.1",
74
74
  "yargs": "17.6.2"
75
75
  },