@thunderid/vue 1.4.1 → 1.5.0
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/dist/cjs/index.cjs
CHANGED
|
@@ -1183,6 +1183,11 @@ const ThunderIDProvider = (0, vue.defineComponent)({
|
|
|
1183
1183
|
await client.on("sign-in", async () => {
|
|
1184
1184
|
await updateSession();
|
|
1185
1185
|
});
|
|
1186
|
+
await client.on("sign-out", () => {
|
|
1187
|
+
user.value = null;
|
|
1188
|
+
userProfile.value = null;
|
|
1189
|
+
isSignedIn.value = false;
|
|
1190
|
+
});
|
|
1186
1191
|
if (await client.isSignedIn()) await updateSession();
|
|
1187
1192
|
else {
|
|
1188
1193
|
const currentUrl = new URL(window.location.href);
|
package/dist/index.js
CHANGED
|
@@ -1157,6 +1157,11 @@ const ThunderIDProvider = defineComponent({
|
|
|
1157
1157
|
await client.on("sign-in", async () => {
|
|
1158
1158
|
await updateSession();
|
|
1159
1159
|
});
|
|
1160
|
+
await client.on("sign-out", () => {
|
|
1161
|
+
user.value = null;
|
|
1162
|
+
userProfile.value = null;
|
|
1163
|
+
isSignedIn.value = false;
|
|
1164
|
+
});
|
|
1160
1165
|
if (await client.isSignedIn()) await updateSession();
|
|
1161
1166
|
else {
|
|
1162
1167
|
const currentUrl = new URL(window.location.href);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AAsBA,OAAO,EAEL,KAAK,SAAS,EAcf,MAAM,KAAK,CAAC;AAgDb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AAsBA,OAAO,EAEL,KAAK,SAAS,EAcf,MAAM,KAAK,CAAC;AAgDb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,SAwdvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Vue SDK for ThunderID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thunderid",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@thunderid/browser": "^1.
|
|
60
|
+
"@thunderid/browser": "^1.4.0",
|
|
61
61
|
"dompurify": "3.4.17",
|
|
62
62
|
"tslib": "2.8.1"
|
|
63
63
|
},
|