From 072c759cd0cf0182e1657c201002049ce06c75ad Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 10 Mar 2025 03:23:42 -0400 Subject: [PATCH] fix: typos in packages/hoppscotch-common/src/platform (#4855) --- packages/hoppscotch-common/src/platform/auth.ts | 2 +- packages/hoppscotch-common/src/platform/io.ts | 2 +- .../src/platform/std/kernel-interceptors/proxy/index.ts | 2 +- packages/hoppscotch-common/src/platform/ui.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hoppscotch-common/src/platform/auth.ts b/packages/hoppscotch-common/src/platform/auth.ts index 82d96f92..c8c9edc1 100644 --- a/packages/hoppscotch-common/src/platform/auth.ts +++ b/packages/hoppscotch-common/src/platform/auth.ts @@ -24,7 +24,7 @@ export type HoppUser = { // Regarding `provider` and `accessToken`: // The current implementation and use case for these 2 fields are super weird due to legacy. - // Currrently these fields are only basically populated for Github Auth as we need the access token issued + // Currently these fields are only basically populated for Github Auth as we need the access token issued // by it to implement Gist submission. I would really love refactor to make this thing more sane. /** Name of the provider authenticating (NOTE: See notes on `platform/auth.ts`) */ diff --git a/packages/hoppscotch-common/src/platform/io.ts b/packages/hoppscotch-common/src/platform/io.ts index ca8791ab..f93cfb2c 100644 --- a/packages/hoppscotch-common/src/platform/io.ts +++ b/packages/hoppscotch-common/src/platform/io.ts @@ -46,7 +46,7 @@ export type SaveFileResponse = | { /** * The implementation was unable to determine the status of the save operation. - * This cannot be considered a success or a failure and should be handled as an uncertainity. + * This cannot be considered a success or a failure and should be handled as an uncertainty. * The browser standard implementation (std) returns this value as there is no way to * check if the user downloaded the file or not. */ diff --git a/packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/index.ts b/packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/index.ts index 9d81ed4c..66e3470c 100644 --- a/packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/index.ts +++ b/packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/index.ts @@ -241,7 +241,7 @@ export class ProxyKernelInterceptorService ? new Uint8Array(res.body.body) : null - // NOTE: This will become obsolete if we use native interceptor like error propogation. + // NOTE: This will become obsolete if we use native interceptor like error propagation. const proxyResponse = proxyBody ? (JSON.parse( new TextDecoder().decode(proxyBody) diff --git a/packages/hoppscotch-common/src/platform/ui.ts b/packages/hoppscotch-common/src/platform/ui.ts index ae98fc67..3122ac8c 100644 --- a/packages/hoppscotch-common/src/platform/ui.ts +++ b/packages/hoppscotch-common/src/platform/ui.ts @@ -29,7 +29,7 @@ export type UIPlatformDef = { onCodemirrorInstanceMount?: (element: HTMLElement) => void /** - * Additonal menu items shown in the "Help and Feedback" menu + * Additional menu items shown in the "Help and Feedback" menu * in the app footer. */ additionalFooterMenuItems?: HoppFooterMenuItem[]