@tapni/auth 1.0.8 → 1.0.9
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/README.md +2 -0
- package/dist/.vite/manifest.json +12 -12
- package/dist/.well-known/assetlinks.json +10 -12
- package/dist/.well-known/microsoft-identity-association.json +5 -5
- package/dist/{Apps-aanvwc1E.js → Apps-spt3-xmr.js} +1 -1
- package/dist/{Billing-C7LjeXBV.js → Billing-EQtSRyls.js} +1 -1
- package/dist/{CustomApp-Cd00FwXJ.js → CustomApp-DytcodWc.js} +1 -1
- package/dist/{General-DH-AnLIA.js → General-BBoC_TV2.js} +1 -1
- package/dist/{QR-cfWsMTIZ.js → QR-DmSyXgb5.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/blank.html +31 -0
- package/dist/{install-CBFqB-tX.js → install-DJ7V1wyP.js} +761 -744
- package/dist/site.webmanifest +11 -1
- package/dist/style.css +1 -1
- package/package.json +14 -4
- package/src/.prettierrc.json +16 -0
- package/src/components/DELETE_LinkIcon.vue +174 -225
- package/src/components/DELETE_SSOPick.vue +93 -148
- package/src/eslint.config.js +15 -0
- package/src/install.js +9 -10
- package/src/main.js +54 -57
- package/src/mixins/apple.mixin.js +56 -54
- package/src/mixins/auth.mixin.js +3 -2
- package/src/mixins/global.mixin.js +2 -2
- package/src/mixins/google.mixin.js +53 -54
- package/src/mixins/qr-auth.mixin.js +111 -107
- package/src/router/index.js +6 -6
- package/src/routes.js +1 -1
- package/src/services/Api.js +55 -57
- package/src/services/CompanyService.js +10 -10
- package/src/services/DeviceService.js +3 -3
- package/src/services/UserService.js +45 -45
- package/src/services/UtilService.js +256 -218
- package/src/store/event-bus.js +22 -22
- package/src/store/locales/cn.js +442 -458
- package/src/store/locales/de.js +438 -517
- package/src/store/locales/es.js +442 -524
- package/src/store/locales/fr.js +442 -516
- package/src/store/locales/it.js +442 -514
- package/src/store/locales/kr.js +442 -491
- package/src/store/locales/lang.js +43 -43
- package/src/store/locales/sr.js +439 -492
- package/src/store/locales/tr.js +436 -487
- package/src/store/store.js +6 -6
- package/src/views/Account.vue +2 -2
- package/src/views/Callback.vue +36 -33
- package/src/views/Login.vue +3 -3
- package/src/views/Reset.vue +132 -135
- package/src/views/Verify.vue +153 -151
package/dist/blank.html
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<title>Blank</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
<script>
|
|
9
|
+
(function() {
|
|
10
|
+
try {
|
|
11
|
+
// Read the auth payload from window.name.
|
|
12
|
+
var payload = window.name;
|
|
13
|
+
if (payload) {
|
|
14
|
+
var authData = JSON.parse(payload);
|
|
15
|
+
console.log('blank.html read authData:', authData);
|
|
16
|
+
// Instead of BroadcastChannel, we simply keep this page static.
|
|
17
|
+
// (The iframe is polling the popup window, which now shows blank.html.)
|
|
18
|
+
// Optionally, we could auto-close this page if needed.
|
|
19
|
+
setTimeout(function() {
|
|
20
|
+
// Do nothing here; the parent iframe is polling the popup.
|
|
21
|
+
window.close()
|
|
22
|
+
}, 3000);
|
|
23
|
+
}
|
|
24
|
+
} catch (e) {
|
|
25
|
+
console.error('Error in blank.html script:', e);
|
|
26
|
+
}
|
|
27
|
+
})();
|
|
28
|
+
</script>
|
|
29
|
+
<!-- This page intentionally left blank -->
|
|
30
|
+
</body>
|
|
31
|
+
</html>
|