From e51a7b84a48f8e5bb479bec05a800a09c7f7f103 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Fri, 19 Jul 2024 21:15:56 -0600 Subject: [PATCH] fix linting --- src/libs/endorserServer.ts | 3 +-- src/libs/util.ts | 5 ++++- src/views/AccountViewView.vue | 2 +- src/views/ClaimAddRawView.vue | 4 +--- src/views/ClaimView.vue | 1 - src/views/ConfirmGiftView.vue | 1 - src/views/HomeView.vue | 1 - src/views/TestView.vue | 6 +++++- 8 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 754766b6e..126841cd3 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -5,10 +5,9 @@ import * as R from "ramda"; import { DEFAULT_IMAGE_API_SERVER } from "@/constants/app"; import { Contact } from "@/db/tables/contacts"; import { accessToken } from "@/libs/crypto"; -import { db, NonsensitiveDexie } from "@/db/index"; +import { NonsensitiveDexie } from "@/db/index"; import { getAccount, getPasskeyExpirationSeconds } from "@/libs/util"; import { createEndorserJwtForKey, KeyMeta } from "@/libs/crypto/vc"; -import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings"; export const SCHEMA_ORG_CONTEXT = "https://schema.org"; // the object in RegisterAction claims diff --git a/src/libs/util.ts b/src/libs/util.ts index c65268362..dc7fbf52b 100644 --- a/src/libs/util.ts +++ b/src/libs/util.ts @@ -6,7 +6,10 @@ import { useClipboard } from "@vueuse/core"; import { DEFAULT_PUSH_SERVER } from "@/constants/app"; import { accountsDB, db } from "@/db/index"; import { Account } from "@/db/tables/accounts"; -import {DEFAULT_PASSKEY_EXPIRATION_MINUTES, MASTER_SETTINGS_KEY} from "@/db/tables/settings"; +import { + DEFAULT_PASSKEY_EXPIRATION_MINUTES, + MASTER_SETTINGS_KEY, +} from "@/db/tables/settings"; import { deriveAddress, generateSeed, newIdentifier } from "@/libs/crypto"; import { GenericCredWrapper, containsHiddenDid } from "@/libs/endorserServer"; import * as serverUtil from "@/libs/endorserServer"; diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 2f997910b..2554de6f3 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -686,7 +686,7 @@ import ImageMethodDialog from "@/components/ImageMethodDialog.vue"; import QuickNav from "@/components/QuickNav.vue"; import TopMessage from "@/components/TopMessage.vue"; import { - AppString, DEFAULT_ENDORSER_API_SERVER, + AppString, DEFAULT_IMAGE_API_SERVER, DEFAULT_PUSH_SERVER, IMAGE_TYPE_PROFILE, diff --git a/src/views/ClaimAddRawView.vue b/src/views/ClaimAddRawView.vue index 4764f736d..18a8df87d 100644 --- a/src/views/ClaimAddRawView.vue +++ b/src/views/ClaimAddRawView.vue @@ -29,16 +29,14 @@