@lowdefy/client 4.0.0-alpha.18 → 4.0.0-alpha.19
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.
|
@@ -37,11 +37,12 @@ function getCallbackUrl({ lowdefy , callbackUrl ={} }) {
|
|
|
37
37
|
function createAuthMethods({ lowdefy , auth }) {
|
|
38
38
|
// login and logout are Lowdefy function that handle action params
|
|
39
39
|
// signIn and signOut are the next-auth methods
|
|
40
|
-
function login({ authUrl , callbackUrl , providerId
|
|
40
|
+
function login({ authUrl , callbackUrl , providerId , ...rest } = {}) {
|
|
41
41
|
if (type.isNone(providerId) && auth.authConfig.providers.length === 1) {
|
|
42
42
|
providerId = auth.authConfig.providers[0].id;
|
|
43
43
|
}
|
|
44
44
|
auth.signIn(providerId, {
|
|
45
|
+
...rest,
|
|
45
46
|
callbackUrl: getCallbackUrl({
|
|
46
47
|
lowdefy,
|
|
47
48
|
callbackUrl
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/client",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.19",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy Client",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ant-design/icons": "4.7.0",
|
|
46
|
-
"@lowdefy/block-utils": "4.0.0-alpha.
|
|
47
|
-
"@lowdefy/engine": "4.0.0-alpha.
|
|
48
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
49
|
-
"@lowdefy/layout": "4.0.0-alpha.
|
|
46
|
+
"@lowdefy/block-utils": "4.0.0-alpha.19",
|
|
47
|
+
"@lowdefy/engine": "4.0.0-alpha.19",
|
|
48
|
+
"@lowdefy/helpers": "4.0.0-alpha.19",
|
|
49
|
+
"@lowdefy/layout": "4.0.0-alpha.19",
|
|
50
50
|
"classnames": "2.3.1",
|
|
51
51
|
"react": "18.1.0",
|
|
52
52
|
"react-dom": "18.1.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@emotion/jest": "11.9.1",
|
|
56
|
-
"@lowdefy/jest-yaml-transform": "4.0.0-alpha.
|
|
56
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-alpha.19",
|
|
57
57
|
"@swc/cli": "0.1.57",
|
|
58
58
|
"@swc/core": "1.2.194",
|
|
59
59
|
"@swc/jest": "0.2.21",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5240a074f7225295a8c92aaf0236b7680c296b57"
|
|
72
72
|
}
|