@live-change/user-frontend 0.9.98 → 0.9.100
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/front/src/sign/SignOut.vue +17 -8
- package/package.json +26 -26
|
@@ -27,14 +27,23 @@
|
|
|
27
27
|
const { signOut } = actions().user
|
|
28
28
|
|
|
29
29
|
if(typeof window != 'undefined') {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
onMounted(() => {
|
|
31
|
+
workingZone.addPromise('signOut', (async () => {
|
|
32
|
+
try {
|
|
33
|
+
await signOut({})
|
|
34
|
+
} catch(e) {
|
|
35
|
+
if(e !== 'notSignedIn') {
|
|
36
|
+
console.error("SIGN OUT ERROR", e)
|
|
37
|
+
throw e
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
while(api.client.value.user) {
|
|
41
|
+
await new Promise(resolve => setTimeout(resolve, 100))
|
|
42
|
+
}
|
|
43
|
+
console.log("ROUTER", router)
|
|
44
|
+
router.push({ name: 'user:signOutFinished' })
|
|
45
|
+
})())
|
|
46
|
+
})
|
|
38
47
|
}
|
|
39
48
|
</script>
|
|
40
49
|
|
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.100",
|
|
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.100",
|
|
26
|
+
"@live-change/dao": "^0.9.100",
|
|
27
|
+
"@live-change/dao-vue3": "^0.9.100",
|
|
28
|
+
"@live-change/dao-websocket": "^0.9.100",
|
|
29
|
+
"@live-change/email-service": "^0.9.100",
|
|
30
|
+
"@live-change/framework": "^0.9.100",
|
|
31
|
+
"@live-change/identicon-service": "^0.9.100",
|
|
32
|
+
"@live-change/image-frontend": "^0.9.100",
|
|
33
|
+
"@live-change/message-authentication-service": "^0.9.100",
|
|
34
|
+
"@live-change/notification-service": "^0.9.100",
|
|
35
|
+
"@live-change/password-authentication-service": "^0.9.100",
|
|
36
|
+
"@live-change/pattern": "^0.9.100",
|
|
37
|
+
"@live-change/secret-code-service": "^0.9.100",
|
|
38
|
+
"@live-change/secret-link-service": "^0.9.100",
|
|
39
|
+
"@live-change/security-frontend": "^0.9.100",
|
|
40
|
+
"@live-change/security-service": "^0.9.100",
|
|
41
|
+
"@live-change/session-service": "^0.9.100",
|
|
42
|
+
"@live-change/timer-service": "^0.9.100",
|
|
43
|
+
"@live-change/upload-service": "^0.9.100",
|
|
44
|
+
"@live-change/user-identification-service": "^0.9.100",
|
|
45
|
+
"@live-change/user-service": "^0.9.100",
|
|
46
|
+
"@live-change/vue3-components": "^0.9.100",
|
|
47
|
+
"@live-change/vue3-ssr": "^0.9.100",
|
|
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.100",
|
|
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": "4e7ef4d160d217e1d82b8dc5fdf542a65f8a1834"
|
|
80
80
|
}
|