@tapni/auth 0.0.44 → 0.0.46

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/icon.png ADDED
Binary file
@@ -0,0 +1 @@
1
+ {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"redirect"}
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .app-store-icon[data-v-c5cb659c]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-af1531aa],#emailInput[data-v-af1531aa],#emailInput[data-v-4f85b89a]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-a128c2fa]{opacity:1}.sso-img[data-v-11f19a09]{margin:2px auto 0;width:35px}input[data-v-11f19a09]{margin:0 auto;height:25px}.sso-img[data-v-4f821f65]{margin:2px auto 0;width:35px}input[data-v-4f821f65]{margin:0 auto;height:25px}.link-grid,.user-link-img{width:100%;display:inline-table;position:relative}.link-grid{width:30%;margin:1.6%;padding:1.6%}.link-grid .user-link-img img{border-radius:25%!important}.link-grid .edit-icon{border-radius:20px;right:-3%;top:-3%;position:absolute;z-index:3;max-width:23%;overflow:hidden;min-width:30px}.link-grid .direct-icon{border-radius:20px;left:-3%;top:-3%;position:absolute;z-index:555;max-width:23%;overflow:hidden;min-width:30px}.link-grid .link-text{min-height:20px;margin-top:3px!important;display:block;text-align:center;line-height:normal;overflow-wrap:anywhere}.link-list{width:93%;max-height:67px!important;margin:0 auto;display:flex;border-radius:15px!important;background-color:#fff;border:solid 1px #e8e8e8;position:relative;align-items:center}.link-list .user-link-img{display:inline-block;width:65px;border-radius:25%!important}.link-list .link-text{display:inline-block;padding:18px 0% 17px 10%;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;border-radius:15px!important}.link-list .edit-icon{border-radius:20px;right:7%;top:30%;position:absolute;z-index:3;width:26px;overflow:hidden}.link-list .switching{width:45px}.link-list .direct-icon{border-radius:20px;left:-2%;top:-13%;position:absolute;z-index:555;width:26px;overflow:hidden}.small{width:22%!important;margin:2% 4% 0%;padding:0%}.small .link-text{margin-top:0!important;font-size:13px}.linkExternal{margin-right:20px;width:20px;display:inline-block!important;height:20px;background:#000;-webkit-mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;transform:scale(1.5)}.user-img[data-v-34a6b7b2]{margin:2px auto 0;width:65px}input[data-v-34a6b7b2]{margin:0 auto;height:25px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:550px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -17,11 +17,9 @@
17
17
  },
18
18
  "scripts": {
19
19
  "dev": "vite",
20
- "build": "vite build",
20
+ "build": "vite build --mode standalone",
21
21
  "preview": "vite preview",
22
- "build-lib": "vite build --lib",
23
- "build-lib:staging": "vite build --lib --mode staging",
24
- "build-lib:production": "vite build --lib --mode production"
22
+ "build-lib": "vite build --config=vite-lib.config.js"
25
23
  },
26
24
  "dependencies": {
27
25
  "@braintree/sanitize-url": "^7.0.0",
package/src/App.vue CHANGED
@@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', function() {
16
16
  <a v-if="display === 'redirect'"
17
17
  @click="toggleLanguageModal"
18
18
  class="font-18 no-border pointer color-black"
19
- style="position: absolute; right: 20px; top: -10px">
19
+ style="position: absolute; right: 20px; top: -10px; z-index: 1;">
20
20
  <span class="lang-icon">{{ appLanguage.toUpperCase() }}</span>
21
21
  </a>
22
22
 
@@ -168,6 +168,15 @@ html * {
168
168
  font-family: "Inter", sans-serif;
169
169
  }
170
170
 
171
+ #bodyId {
172
+ padding-top: 3%;
173
+ max-width: 550px !important;
174
+ margin: auto;
175
+ height: 95%!important;
176
+ margin-top: 1.5%;
177
+ border-radius: 20px;
178
+ }
179
+
171
180
  .action-block-top .default-text,
172
181
  .action-block-top .default-text:after {
173
182
  border-radius: 50%;
@@ -45,11 +45,10 @@ export default {
45
45
  }
46
46
  await this.loginSetup(response)
47
47
  this.getLoggedInAccounts()
48
- // TODO: Check if same as Google Login
49
- this.$router.push('/' + response.data.data.username + '#edit')
48
+ // TODO: Pass proper variable isModal
49
+ this.loginSuccess({ ...response, isModal: false });
50
50
  setTimeout(() => {
51
51
  this.appleLoad = false
52
- EventBus.$emit('ssoEvent', {name: 'setLoading', data: false})
53
52
  }, 1000)
54
53
  } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)
55
54
  } else {
@@ -283,8 +283,7 @@ export default {
283
283
  return console.log("Redirect URI not allowed");
284
284
  }
285
285
 
286
- location.href = -
287
- this.redirect_uri +
286
+ location.href = this.redirect_uri +
288
287
  "?code=" +
289
288
  response.data.auth_code +
290
289
  "&state=" +
@@ -68,11 +68,11 @@ export default {
68
68
  }
69
69
  await this.loginSetup(response);
70
70
  this.getLoggedInAccounts();
71
- this.$router.push("/" + response.data.data.username + "#edit");
71
+ // TODO: Pass proper variable isModal
72
+ this.loginSuccess({ ...response, isModal: false });
72
73
  setTimeout(() => {
73
74
  this.microsoftLoad = false;
74
75
  this.microsoftSSOLoad = false;
75
- EventBus.$emit("ssoEvent", { name: "setLoading", data: false });
76
76
  }, 1000);
77
77
  } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
78
78
  } else {
@@ -195,7 +195,7 @@ export default {
195
195
  logout: "退出",
196
196
  version: "版本",
197
197
  configure: "配置",
198
- unexpected_err: "出现意外错误,请联系我们:support@tapni.co",
198
+ unexpected_err: "出现意外错误,请联系我们:support@tapni.com",
199
199
  success_login: "成功使用其他帐户登录。",
200
200
  password_reset_success: "密码重置代码已发送到您的电子邮件。",
201
201
  password_reseted_success: "密码成功更改。您现在可以登录了。",
@@ -267,7 +267,7 @@ export default {
267
267
  link_add_p1: "选择链接类型",
268
268
  link_add_not_found: "未找到链接🤷",
269
269
  link_add_not_found_p2:
270
- "如果我们遗漏了您最喜欢的平台,请给我们发送电子邮件(<b>support@tapni.co</b>)或在社交媒体上私信我们(<b>@tapni</b>)",
270
+ "如果我们遗漏了您最喜欢的平台,请给我们发送电子邮件(<b>support@tapni.com</b>)或在社交媒体上私信我们(<b>@tapni</b>)",
271
271
  link_add_not_found_p3: "我们将尽力支持所有平台😉",
272
272
  featured: "特色",
273
273
  social_media: "社交媒体",
@@ -230,7 +230,7 @@ export default {
230
230
  version: "Version",
231
231
  configure: "Konfigurieren",
232
232
  unexpected_err:
233
- "Ein unerwarteter Fehler ist aufgetreten, bitte kontaktieren Sie uns unter support@tapni.co",
233
+ "Ein unerwarteter Fehler ist aufgetreten, bitte kontaktieren Sie uns unter support@tapni.com",
234
234
  success_login: "Erfolgreich mit einem anderen Konto angemeldet.",
235
235
  password_reset_success: "Erfolgreich mit einem anderen Konto angemeldet.",
236
236
  password_reseted_success:
@@ -316,7 +316,7 @@ export default {
316
316
  link_add_p1: "Linktyp auswählen",
317
317
  link_add_not_found: "Keine Links gefunden 🤷",
318
318
  link_add_not_found_p2:
319
- "Wenn wir Ihre Lieblingsplattform verpasst haben, senden Sie uns bitte eine Email (<b>support@tapni.co</b>) oder eine DM in den sozialen Medien (<b>@tapni</b>).",
319
+ "Wenn wir Ihre Lieblingsplattform verpasst haben, senden Sie uns bitte eine Email (<b>support@tapni.com</b>) oder eine DM in den sozialen Medien (<b>@tapni</b>).",
320
320
  link_add_not_found_p3:
321
321
  "Wir werden unser Bestes geben, um alle Plattformen zu unterstützen 😉",
322
322
  featured: "Populär",
@@ -224,7 +224,7 @@ export default {
224
224
  version: "Version",
225
225
  configure: "Configure",
226
226
  unexpected_err:
227
- "Unexpected error occurred, please contact us at support@tapni.co",
227
+ "Unexpected error occurred, please contact us at support@tapni.com",
228
228
  success_login: "Successfully logged in with another account.",
229
229
  password_reset_success: "Password reset code was sent to your email.",
230
230
  password_reseted_success:
@@ -307,7 +307,7 @@ export default {
307
307
  link_add_p1: "Choose a link type",
308
308
  link_add_not_found: "No links found 🤷",
309
309
  link_add_not_found_p2:
310
- "If we missed your favourite platform, please drop us and email (<b>support@tapni.co</b>) or DM us on social media (<b>@tapni</b>)",
310
+ "If we missed your favourite platform, please drop us and email (<b>support@tapni.com</b>) or DM us on social media (<b>@tapni</b>)",
311
311
  link_add_not_found_p3: "We will try our best to support all platforms 😉",
312
312
  featured: "Featured",
313
313
  social_media: "Social media",
@@ -230,7 +230,7 @@ export default {
230
230
  version: "Versión",
231
231
  configure: "Configurar",
232
232
  unexpected_err:
233
- "Ha ocurrido un error, por favor contactanos en support@tapni.co",
233
+ "Ha ocurrido un error, por favor contactanos en support@tapni.com",
234
234
  success_login: "Has iniciado sesión con otra cuenta exitosamente.",
235
235
  password_reset_success:
236
236
  "Se ha enviado un código para restablecer la contraseña a tu correo.",
@@ -317,7 +317,7 @@ export default {
317
317
  link_add_p1: "Escoge un tipo de enlace",
318
318
  link_add_not_found: "Ningún enlace encontrado 🤷",
319
319
  link_add_not_found_p2:
320
- "Si no encuentras tu plataforma favorita, mándanos un correo (<b>support@tapni.co</b>) o envíanos un mensaje en nuestras redes sociales (<b>@tapni</b>)",
320
+ "Si no encuentras tu plataforma favorita, mándanos un correo (<b>support@tapni.com</b>) o envíanos un mensaje en nuestras redes sociales (<b>@tapni</b>)",
321
321
  link_add_not_found_p3:
322
322
  "Haremos lo posible para incluir todas las plataformas 😉",
323
323
  featured: "Destacado",
@@ -218,7 +218,7 @@ export default {
218
218
  version: "Version",
219
219
  configure: "Configurez",
220
220
  unexpected_err:
221
- "Une erreur inattendue s'est produite, veuillez nous contacter à support@tapni.co",
221
+ "Une erreur inattendue s'est produite, veuillez nous contacter à support@tapni.com",
222
222
  success_login: "Connecté avec succès avec un autre compte.",
223
223
  password_reset_success:
224
224
  "Le code de réinitialisation du mot de passe a été envoyé à votre email.",
@@ -235,7 +235,7 @@ export default {
235
235
  tag_active: "Produit maintenant actif.",
236
236
  tag_inactive:
237
237
  "Produit maintenant désactivé. Vos visiteurs vont atterrir sur tapni.co",
238
- tag_removed: "Produit enlevé. Veuillez nous écrire à support@tapni.co",
238
+ tag_removed: "Produit enlevé. Veuillez nous écrire à support@tapni.com",
239
239
  connection_accepted: "Demande de connexion acceptée.",
240
240
  connection_added: "Nouvelle connexion ajoutée avec succès",
241
241
  connection_exist: "Vous êtes déjà connecté à cet utilisateur",
@@ -303,7 +303,7 @@ export default {
303
303
  link_add_p1: "Choisissez un type de lien",
304
304
  link_add_not_found: "Aucun lien trouvé 🤷",
305
305
  link_add_not_found_p2:
306
- "Si nous avons manqué votre plate-forme préférée, veuillez nous envoyer un courriel (<b> support@tapni.co </b>) ou un MP sur les réseaux sociaux (<b> @tapni </b>)",
306
+ "Si nous avons manqué votre plate-forme préférée, veuillez nous envoyer un courriel (<b> support@tapni.com </b>) ou un MP sur les réseaux sociaux (<b> @tapni </b>)",
307
307
  link_add_not_found_p3:
308
308
  "Nous ferons de notre mieux pour prendre en charge toutes les plateformes 😉",
309
309
  featured: "Les vedettes",
@@ -219,7 +219,7 @@ export default {
219
219
  version: "Versione",
220
220
  configure: "Configura",
221
221
  unexpected_err:
222
- "Si è verificato un errore imprevisto, contattaci all'indirizzo support@tapni.co",
222
+ "Si è verificato un errore imprevisto, contattaci all'indirizzo support@tapni.com",
223
223
  success_login: "Accesso riuscito con un altro account.",
224
224
  password_reset_success:
225
225
  "Il codice di reimpostazione della password è stato inviato alla tua email.",
@@ -236,7 +236,7 @@ export default {
236
236
  tag_active: "Il tag è ora attivo. Facciamo i tap!",
237
237
  tag_inactive:
238
238
  "Il tag è ora disabilitato. I tuoi visitatori saranno reindirizzati su tapni.co",
239
- tag_removed: "Tag rimossa. Scrivici a support@tapni.co",
239
+ tag_removed: "Tag rimossa. Scrivici a support@tapni.com",
240
240
  connection_accepted: "Richiesta di connessione accettata.",
241
241
  connection_added: "Nuova connessione aggiunta con successo",
242
242
  connection_exist: "Sei già connesso a questo utente",
@@ -304,7 +304,7 @@ export default {
304
304
  link_add_p1: "Scegli un tipo di link",
305
305
  link_add_not_found: "Nessun link trovato 🤷",
306
306
  link_add_not_found_p2:
307
- "Se abbiamo dimenticato la tua social piattaforma preferita, inviaci un'e-mail (<b>support@tapni.co</b>) o inviaci un messaggio DM sui social media (<b>@tapni</b>)",
307
+ "Se abbiamo dimenticato la tua social piattaforma preferita, inviaci un'e-mail (<b>support@tapni.com</b>) o inviaci un messaggio DM sui social media (<b>@tapni</b>)",
308
308
  link_add_not_found_p3:
309
309
  "Faremo del nostro meglio per supportare tutte le piattaforme 😉",
310
310
  featured: "In primo piano",
@@ -206,7 +206,7 @@ export default {
206
206
  version: "버젼",
207
207
  configure: "설정하다",
208
208
  unexpected_err:
209
- "예기치 않은 오류가 발생했습니다. 지원 센터에 문의하십시오.@tapni.co",
209
+ "예기치 않은 오류가 발생했습니다. 지원 센터에 문의하십시오.@tapni.com",
210
210
  success_login: "다른 계정으로 로그인했습니다.",
211
211
  password_reset_success: "비밀번호 재설정 코드가 이메일로 전송되었습니다.",
212
212
  password_reseted_success:
@@ -222,7 +222,7 @@ export default {
222
222
  tag_active: "자동-회선 링크 사용 안함",
223
223
  tag_inactive:
224
224
  "이제 태그가 비활성화되었습니다. 당신의 방문자들은 tapni.co사이트에 들어가집니다.",
225
- tag_removed: "태그가 제거되었습니다. 도움이 필요하시면 연락주세요@tapni.co",
225
+ tag_removed: "태그가 제거되었습니다. 도움이 필요하시면 연락주세요@tapni.com",
226
226
  connection_accepted: "연결 요청을 수락했습니다.",
227
227
  connection_added: "새 연결이 성공적으로 추가되었습니다",
228
228
  connection_exist: "이 사용자와 이미 연결되어 있습니다",
@@ -288,7 +288,7 @@ export default {
288
288
  link_add_p1: "링크 유형 선택",
289
289
  link_add_not_found: "링크를 찾을 수 없습니다. 🤷",
290
290
  link_add_not_found_p2:
291
- "즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.co</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",
291
+ "즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.com</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",
292
292
  link_add_not_found_p3:
293
293
  "모든 플랫폼을 지원할 수 있도록 최선을 다하겠습니다. 😉",
294
294
  featured: "피처링",
@@ -207,7 +207,7 @@ export default {
207
207
  version: "Verzija",
208
208
  configure: "Konfiguriši",
209
209
  unexpected_err:
210
- "Došlo je do neočekivane greške, kontaktirajte nas na support@tapni.co",
210
+ "Došlo je do neočekivane greške, kontaktirajte nas na support@tapni.com",
211
211
  success_login: "Uspešno ste prijavljeni sa drugim nalogom.",
212
212
  password_reset_success:
213
213
  "Kod za resetovanje lozinke je poslat na vašu email adresu.",
@@ -224,7 +224,7 @@ export default {
224
224
  tag_active: "Tag je sada aktivan. Preostaje samo da tapneš!",
225
225
  tag_inactive:
226
226
  "Tag je sada onemogućen. Tvoj posetioci će biti preusmereni na tapni.co",
227
- tag_removed: "Tag je uklonjen. Pišite nam na support@tapni.co",
227
+ tag_removed: "Tag je uklonjen. Pišite nam na support@tapni.com",
228
228
  connection_accepted: "Zahtev za povezivanje je prihvaćen",
229
229
  connection_added: "Nova konekcija uspešno dodata",
230
230
  connection_exist: "Konekcija već postoji",
@@ -291,7 +291,7 @@ export default {
291
291
  link_add_p1: "Izaberite tip linka",
292
292
  link_add_not_found: "Nisu pronađeni linkovi 🤷",
293
293
  link_add_not_found_p2:
294
- "Ako smo propustili vašu omiljenu platformu, javite nam se i pošaljite nam email (<b>support@tapni.co</b>) ili nam pošaljite DM na društvenim mrežama (<b>@tapni</b>)",
294
+ "Ako smo propustili vašu omiljenu platformu, javite nam se i pošaljite nam email (<b>support@tapni.com</b>) ili nam pošaljite DM na društvenim mrežama (<b>@tapni</b>)",
295
295
  link_add_not_found_p3: "Daćemo sve od sebe da podržimo sve platforme 😉",
296
296
  featured: "Istaknuto",
297
297
  social_media: "Društvene mreže",
@@ -204,7 +204,7 @@ export default {
204
204
  version: "Sürüm",
205
205
  configure: "Ayarlayın",
206
206
  unexpected_err:
207
- "Beklenmeyen bir hata oluştu, lütfen support@tapni.co adresinden bizimle iletişime geçin.",
207
+ "Beklenmeyen bir hata oluştu, lütfen support@tapni.com adresinden bizimle iletişime geçin.",
208
208
  success_login: "Başka bir hesapla başarıyla giriş yapıldı.",
209
209
  password_reset_success: "Parola sıfırlama kodu e-postanıza gönderildi.",
210
210
  password_reseted_success:
@@ -220,7 +220,7 @@ export default {
220
220
  tag_active: "Tag şimdi aktif. Hadi başlayalım!",
221
221
  tag_inactive: "Tag şimdi devre dışı. Ziyaretçileriniz tapni.co'ya gelecek",
222
222
  tag_removed:
223
- "Tag kaldırıldı. Lütfen bize support@tapni.co adresinden yazın.",
223
+ "Tag kaldırıldı. Lütfen bize support@tapni.com adresinden yazın.",
224
224
  connection_accepted: "Bağlantı isteği kabul edildi.",
225
225
  connection_added: "Yeni bağlantı başarıyla eklendi",
226
226
  connection_exist: "Bu kullanıcıya zaten bağlısınız",
@@ -285,7 +285,7 @@ export default {
285
285
  link_add_p1: "Bir link tipi seçin",
286
286
  link_add_not_found: "Link bulunamadı🤷",
287
287
  link_add_not_found_p2:
288
- "Eğer favori platformunuzu kaçırdıysak lütfen bize e mail gönderin (<b>support@tapni.co</b>) ya da sosyal medya üzerinden meesaj atabilirsiniz (<b>@tapni</b>)",
288
+ "Eğer favori platformunuzu kaçırdıysak lütfen bize e mail gönderin (<b>support@tapni.com</b>) ya da sosyal medya üzerinden meesaj atabilirsiniz (<b>@tapni</b>)",
289
289
  link_add_not_found_p3:
290
290
  "Tüm platformları desteklemek için elimizden geleni yapıyoruz 😉",
291
291
  featured: "Önce çıkanlar",
@@ -15,7 +15,7 @@
15
15
  </button>
16
16
  <div class="decoration decoration-lines-thin no-bottom half-top"></div>
17
17
  <p class="close-text center-text half-top color-black">
18
- <span v-html="ssoLang[this.appLanguage].reset_password_p1"></span><a :href="'mailto:support@tapni.co?subject=' + ssoLang[this.appLanguage].password_reset_t"> support@tapni.co</a>
18
+ <span v-html="ssoLang[this.appLanguage].reset_password_p1"></span><a :href="'mailto:support@tapni.com?subject=' + ssoLang[this.appLanguage].password_reset_t"> support@tapni.com</a>
19
19
  </p>
20
20
  <div class="decoration decoration-lines-thin no-bottom half-top"></div>
21
21
 
@@ -55,7 +55,7 @@
55
55
 
56
56
  <div class="decoration decoration-lines-thin no-bottom half-top"></div>
57
57
  <p class="close-text center-text half-top color-black">
58
- <span v-html="ssoLang[this.appLanguage].reset_password_p2"></span> <a :href="'mailto:support@tapni.co?subject=' + ssoLang[this.appLanguage].password_reset_t"> support@tapni.co</a>
58
+ <span v-html="ssoLang[this.appLanguage].reset_password_p2"></span> <a :href="'mailto:support@tapni.com?subject=' + ssoLang[this.appLanguage].password_reset_t"> support@tapni.com</a>
59
59
  </p>
60
60
  </form>
61
61
  </template>
@@ -29,7 +29,7 @@
29
29
 
30
30
  <p class="close-text center-text half-top color-black">
31
31
  <span v-html="ssoLang[this.appLanguage].verify_account_p1"></span>
32
- <a href="mailto:support@tapni.co?subject=Email Verification"> support@tapni.co</a>
32
+ <a href="mailto:support@tapni.com?subject=Email Verification"> support@tapni.com</a>
33
33
  </p>
34
34
 
35
35
  <div class="decoration decoration-lines-thin no-bottom"></div>
@@ -42,9 +42,17 @@ export default {
42
42
  }
43
43
  },
44
44
  async mounted () {
45
- // Autoplay video - iOS 12 controls fix
46
- const video = document.getElementById('tapniVideo');
47
- video.play();
45
+ // Autoplay video - iOS 12 controls fix
46
+ let videoElement = document.getElementById('tapniVideo');
47
+ // Ensure the video is ready to play
48
+ videoElement.addEventListener('canplay', function() {
49
+ // Check if the video element is still in the DOM
50
+ if (document.body.contains(videoElement)) {
51
+ videoElement.play().catch(error => {
52
+ console.log('Play was interrupted:', error);
53
+ });
54
+ }
55
+ });
48
56
 
49
57
  setTimeout(() => {
50
58
  if (this.$storage.token) {