chore: bump dependencies (#4444)

This commit is contained in:
James George
2024-10-23 14:55:55 -07:00
committed by GitHub
parent 7dfb06c137
commit 7aa43232cc
22 changed files with 4984 additions and 6463 deletions

View File

@@ -2,7 +2,6 @@ import { ref } from "vue"
import {
createClient,
TypedDocumentNode,
dedupExchange,
OperationContext,
fetchExchange,
makeOperation,
@@ -69,7 +68,6 @@ const createSubscriptionClient = () => {
const createHoppClient = () => {
const exchanges = [
// devtoolsExchange,
dedupExchange,
authExchange(async (): Promise<AuthConfig> => {
const probableUser = platform.auth.getProbableUser()
if (probableUser !== null)

View File

@@ -23,9 +23,8 @@ import { replaceInsomniaTemplating } from "./insomniaEnv"
// TODO: Insomnia allows custom prefixes for Bearer token auth, Hoppscotch doesn't. We just ignore the prefix for now
type UnwrapPromise<T extends Promise<any>> = T extends Promise<infer Y>
? Y
: never
type UnwrapPromise<T extends Promise<any>> =
T extends Promise<infer Y> ? Y : never
type InsomniaDoc = UnwrapPromise<ReturnType<typeof convert>>
type InsomniaResource = ImportRequest

View File

@@ -132,7 +132,7 @@ export const getComputedAuthHeaders = async (
false,
showKeyIfSecret
)
: request.auth.value ?? "",
: (request.auth.value ?? ""),
description: "",
})
}