@live-change/user-frontend 0.9.27 → 0.9.28
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.
|
@@ -62,17 +62,20 @@
|
|
|
62
62
|
}
|
|
63
63
|
}, redirectTime.value - currentTime.value)
|
|
64
64
|
} else {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
setTimeout(() => { // it could be next tick
|
|
66
|
+
toast.add({
|
|
67
|
+
severity: 'info', life: 6000,
|
|
68
|
+
summary: 'Signed in',
|
|
69
|
+
detail: 'Congratulations! You have successfully logged in to your account.'
|
|
70
|
+
})
|
|
71
|
+
router.push(route)
|
|
72
|
+
}, 100)
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
let finished = false
|
|
75
77
|
onMounted(async () => {
|
|
78
|
+
console.log("WAIT FOR USER?", !finished, !api.client.value.user, !finished && !api.client.value.user)
|
|
76
79
|
while(!finished && !api.client.value.user) {
|
|
77
80
|
console.log("WAITING FOR USER...")
|
|
78
81
|
await new Promise(resolve => setTimeout(resolve, 200))
|
|
@@ -137,17 +137,20 @@
|
|
|
137
137
|
}
|
|
138
138
|
}, redirectTime.value - currentTime.value)
|
|
139
139
|
} else {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
140
|
+
setTimeout(() => { // it could be next tick
|
|
141
|
+
toast.add({
|
|
142
|
+
severity: 'info', life: 6000,
|
|
143
|
+
summary: 'Signed up',
|
|
144
|
+
detail: 'Congratulations! You have successfully created your account.'
|
|
145
|
+
})
|
|
146
|
+
router.push(route)
|
|
147
|
+
}, 100)
|
|
146
148
|
}
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
151
|
let finished = false
|
|
150
152
|
onMounted(async () => {
|
|
153
|
+
console.log("WAIT FOR USER?", !finished, !api.client.value.user, !finished && !api.client.value.user)
|
|
151
154
|
while(!finished && !api.client.value.user) {
|
|
152
155
|
console.log("WAITING FOR USER...")
|
|
153
156
|
await new Promise(resolve => setTimeout(resolve, 200))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/user-frontend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.28",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node --inspect --expose-gc server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/cli": "^0.9.
|
|
26
|
-
"@live-change/dao": "^0.9.
|
|
27
|
-
"@live-change/dao-vue3": "^0.9.
|
|
28
|
-
"@live-change/dao-websocket": "^0.9.
|
|
29
|
-
"@live-change/email-service": "^0.9.
|
|
30
|
-
"@live-change/framework": "^0.9.
|
|
31
|
-
"@live-change/identicon-service": "^0.9.
|
|
32
|
-
"@live-change/image-frontend": "^0.9.
|
|
33
|
-
"@live-change/message-authentication-service": "^0.9.
|
|
34
|
-
"@live-change/notification-service": "^0.9.
|
|
35
|
-
"@live-change/password-authentication-service": "^0.9.
|
|
36
|
-
"@live-change/pattern": "^0.9.
|
|
37
|
-
"@live-change/secret-code-service": "^0.9.
|
|
38
|
-
"@live-change/secret-link-service": "^0.9.
|
|
39
|
-
"@live-change/security-frontend": "^0.9.
|
|
40
|
-
"@live-change/security-service": "^0.9.
|
|
41
|
-
"@live-change/session-service": "^0.9.
|
|
42
|
-
"@live-change/timer-service": "^0.9.
|
|
43
|
-
"@live-change/upload-service": "^0.9.
|
|
44
|
-
"@live-change/user-identification-service": "^0.9.
|
|
45
|
-
"@live-change/user-service": "^0.9.
|
|
46
|
-
"@live-change/vue3-components": "^0.9.
|
|
47
|
-
"@live-change/vue3-ssr": "^0.9.
|
|
25
|
+
"@live-change/cli": "^0.9.28",
|
|
26
|
+
"@live-change/dao": "^0.9.28",
|
|
27
|
+
"@live-change/dao-vue3": "^0.9.28",
|
|
28
|
+
"@live-change/dao-websocket": "^0.9.28",
|
|
29
|
+
"@live-change/email-service": "^0.9.28",
|
|
30
|
+
"@live-change/framework": "^0.9.28",
|
|
31
|
+
"@live-change/identicon-service": "^0.9.28",
|
|
32
|
+
"@live-change/image-frontend": "^0.9.28",
|
|
33
|
+
"@live-change/message-authentication-service": "^0.9.28",
|
|
34
|
+
"@live-change/notification-service": "^0.9.28",
|
|
35
|
+
"@live-change/password-authentication-service": "^0.9.28",
|
|
36
|
+
"@live-change/pattern": "^0.9.28",
|
|
37
|
+
"@live-change/secret-code-service": "^0.9.28",
|
|
38
|
+
"@live-change/secret-link-service": "^0.9.28",
|
|
39
|
+
"@live-change/security-frontend": "^0.9.28",
|
|
40
|
+
"@live-change/security-service": "^0.9.28",
|
|
41
|
+
"@live-change/session-service": "^0.9.28",
|
|
42
|
+
"@live-change/timer-service": "^0.9.28",
|
|
43
|
+
"@live-change/upload-service": "^0.9.28",
|
|
44
|
+
"@live-change/user-identification-service": "^0.9.28",
|
|
45
|
+
"@live-change/user-service": "^0.9.28",
|
|
46
|
+
"@live-change/vue3-components": "^0.9.28",
|
|
47
|
+
"@live-change/vue3-ssr": "^0.9.28",
|
|
48
48
|
"@vueuse/core": "^12.3.0",
|
|
49
49
|
"codeceptjs-assert": "^0.0.5",
|
|
50
50
|
"codeceptjs-video-helper": "0.1.3",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"wtfnode": "^0.9.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@live-change/codeceptjs-helper": "^0.9.
|
|
68
|
+
"@live-change/codeceptjs-helper": "^0.9.28",
|
|
69
69
|
"codeceptjs": "^3.6.10",
|
|
70
70
|
"generate-password": "1.7.1",
|
|
71
71
|
"playwright": "1.49.1",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
77
77
|
"license": "BSD-3-Clause",
|
|
78
78
|
"description": "",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f308e368e678fa38ddef6a6d4999ad730b18e8ce"
|
|
80
80
|
}
|