From 7daf0dd016b691e4c3edd40c3652ca8742704fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E8=80=BF=E6=9E=97?= Date: Mon, 12 May 2025 16:22:50 +0800 Subject: [PATCH] fix typos --- packages/walletconnect/src/utils/core.ts | 4 ++-- wallets/shell-extension/src/extension/types.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/walletconnect/src/utils/core.ts b/packages/walletconnect/src/utils/core.ts index 68c05f0cc..c4ff96ccb 100644 --- a/packages/walletconnect/src/utils/core.ts +++ b/packages/walletconnect/src/utils/core.ts @@ -32,9 +32,9 @@ export const CoreUtil = { return `${plainAppUrl}/wc?uri=${encodedWcUrl}`; }, - async wait(miliseconds: number) { + async wait(milliseconds: number) { return new Promise((resolve) => { - setTimeout(resolve, miliseconds); + setTimeout(resolve, milliseconds); }); }, diff --git a/wallets/shell-extension/src/extension/types.ts b/wallets/shell-extension/src/extension/types.ts index 7879cb721..99ee26acf 100644 --- a/wallets/shell-extension/src/extension/types.ts +++ b/wallets/shell-extension/src/extension/types.ts @@ -38,7 +38,7 @@ export interface Shell { /** * mode means that how Keplr is connected. * If the connected Keplr is browser's extension, the mode should be "extension". - * If the connected Keplr is on the mobile app with the embeded web browser, the mode should be "mobile-web". + * If the connected Keplr is on the mobile app with the embedded web browser, the mode should be "mobile-web". */ readonly mode: ShellMode; defaultOptions: ShellIntereactionOptions; @@ -138,9 +138,9 @@ export interface Shell { types: Record< string, | { - name: string; - type: string; - }[] + name: string; + type: string; + }[] | undefined >; domain: Record;