diff --git a/capacitor.config.ts b/capacitor.config.ts index f549c11..be1a67d 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -1,7 +1,7 @@ import type { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { - appId: 'app.timesafari.app', + appId: 'timesafari.app', appName: 'TimeSafari', webDir: 'dist', bundledWebRuntime: false, diff --git a/package-lock.json b/package-lock.json index 512335c..7180515 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8144,9 +8144,9 @@ } }, "node_modules/@react-native/metro-babel-transformer/node_modules/jscodeshift": { - "version": "17.1.2", - "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.1.2.tgz", - "integrity": "sha512-uime4vFOiZ1o3ICT4Sm/AbItHEVw2oCxQ3a0egYVy3JMMOctxe07H3SKL1v175YqjMt27jn1N+3+Bj9SKDNgdQ==", + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.2.0.tgz", + "integrity": "sha512-ZQeKdRmrUhk3vmESbWCUch6BQIngO6Sx6mgLJsR8QD9kqY0xyN9J8Vzkee4tULjekBnV9SiKf9m8ybNURh9s+g==", "license": "MIT", "optional": true, "peer": true, @@ -8166,7 +8166,7 @@ "micromatch": "^4.0.7", "neo-async": "^2.5.0", "picocolors": "^1.0.1", - "recast": "^0.23.9", + "recast": "^0.23.10", "tmp": "^0.2.3", "write-file-atomic": "^5.0.1" }, @@ -14384,9 +14384,9 @@ } }, "node_modules/electron": { - "version": "33.4.5", - "resolved": "https://registry.npmjs.org/electron/-/electron-33.4.5.tgz", - "integrity": "sha512-rbDc4QOqfMT1uopUG+KcaMKzKgFAXAzN3wNIdgErnB1tUnpgTxwFv1BDN/exCl1vaVWBeM9YtbO5PgbGZeq7xw==", + "version": "33.4.6", + "resolved": "https://registry.npmjs.org/electron/-/electron-33.4.6.tgz", + "integrity": "sha512-INNAYGkMWOb10FNMHaSdow0ekFiftFznpn6Cqo/vEgEapBMyNzGJa+0IVCezmgyRUW08FCHd+ngjvynALSndxQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -14515,9 +14515,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.121", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.121.tgz", - "integrity": "sha512-gpIEzIb3uvm6V8IK452TvzOvZ3EAF8D5i11SMUG7BjpF2aalh5KyKX5dO+GDW5m9Qdia1ejLm6WM5NOIOd7sbQ==", + "version": "1.5.122", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.122.tgz", + "integrity": "sha512-EML1wnwkY5MFh/xUnCvY8FrhUuKzdYhowuZExZOfwJo+Zu9OsNCI23Cgl5y7awy7HrUHSwB1Z8pZX5TI34lsUg==", "devOptional": true, "license": "ISC" }, @@ -23743,9 +23743,9 @@ } }, "node_modules/react-native/node_modules/jscodeshift": { - "version": "17.1.2", - "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.1.2.tgz", - "integrity": "sha512-uime4vFOiZ1o3ICT4Sm/AbItHEVw2oCxQ3a0egYVy3JMMOctxe07H3SKL1v175YqjMt27jn1N+3+Bj9SKDNgdQ==", + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.2.0.tgz", + "integrity": "sha512-ZQeKdRmrUhk3vmESbWCUch6BQIngO6Sx6mgLJsR8QD9kqY0xyN9J8Vzkee4tULjekBnV9SiKf9m8ybNURh9s+g==", "license": "MIT", "optional": true, "peer": true, @@ -23765,7 +23765,7 @@ "micromatch": "^4.0.7", "neo-async": "^2.5.0", "picocolors": "^1.0.1", - "recast": "^0.23.9", + "recast": "^0.23.10", "tmp": "^0.2.3", "write-file-atomic": "^5.0.1" }, diff --git a/src/services/deepLinks.ts b/src/services/deepLinks.ts index 48281a8..87096cf 100644 --- a/src/services/deepLinks.ts +++ b/src/services/deepLinks.ts @@ -121,12 +121,12 @@ export class DeepLinkHandler { "invite-one-accept": "invite-one-accept", "contact-import": "contact-import", "confirm-gift": "confirm-gift", - "claim": "claim", + claim: "claim", "claim-cert": "claim-cert", "claim-add-raw": "claim-add-raw", "contact-edit": "contact-edit", - "contacts": "contacts", - "did": "did", + contacts: "contacts", + did: "did", }; // First try to validate the route path diff --git a/src/views/ConfirmGiftView.vue b/src/views/ConfirmGiftView.vue index 1b39cbe..8a33cf9 100644 --- a/src/views/ConfirmGiftView.vue +++ b/src/views/ConfirmGiftView.vue @@ -829,7 +829,7 @@ export default class ConfirmGiftView extends Vue { 3000, ); } else { - console.error("Got error submitting the confirmation:", result); + logger.error("Got error submitting the confirmation:", result); this.$notify( { group: "alert", diff --git a/src/views/DeepLinkErrorView.vue b/src/views/DeepLinkErrorView.vue index e1e725e..9f2be5c 100644 --- a/src/views/DeepLinkErrorView.vue +++ b/src/views/DeepLinkErrorView.vue @@ -30,8 +30,8 @@ @@ -43,6 +43,7 @@ import { computed, onMounted } from "vue"; import { useRoute, useRouter } from "vue-router"; import { VALID_DEEP_LINK_ROUTES } from "../types/deepLinks"; import { logConsoleAndDb } from "../db"; +import { logger } from "../utils/logger"; const route = useRoute(); const router = useRouter(); @@ -61,14 +62,14 @@ const validRoutes = VALID_DEEP_LINK_ROUTES; // Format the path and include any parameters const formattedPath = computed(() => { - if (!originalPath.value) return ''; - let path = originalPath.value.replace(/^\/+/, ''); - + if (!originalPath.value) return ""; + const path = originalPath.value.replace(/^\/+/, ""); + // Log for debugging - console.log('Original Path:', originalPath.value); - console.log('Route Params:', route.params); - console.log('Route Query:', route.query); - + logger.log("Original Path:", originalPath.value); + logger.log("Route Params:", route.params); + logger.log("Route Query:", route.query); + return path; }); @@ -111,7 +112,8 @@ h1 { margin-bottom: 24px; } -h2, h3 { +h2, +h3 { color: #333; margin-bottom: 12px; }