chore: bump dependencies (#4444)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -132,7 +132,7 @@ export const getComputedAuthHeaders = async (
|
||||
false,
|
||||
showKeyIfSecret
|
||||
)
|
||||
: request.auth.value ?? "",
|
||||
: (request.auth.value ?? ""),
|
||||
description: "",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user