From 602ebe3ff72b7021c215e232699e0bcf10e33f73 Mon Sep 17 00:00:00 2001 From: kws Date: Tue, 6 Jan 2026 15:10:55 +0900 Subject: [PATCH] fix(keplr mobile): Throw after redirection --- src/connectors/keplrMobile/index.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/connectors/keplrMobile/index.ts b/src/connectors/keplrMobile/index.ts index b96891e..9125653 100644 --- a/src/connectors/keplrMobile/index.ts +++ b/src/connectors/keplrMobile/index.ts @@ -58,14 +58,8 @@ export class KeplrMobileBaseConnector extends Connector { } async connect(_args: ConnectArgs = {}): Promise { - await this.ensureWallet() - - // will return empty data, connect will only open keplr mobile app - // will require to implement the wallet connection - return { - account: "", - chainId: BigInt(0), - } + this.ensureWallet() + throw new Error("Please continue in Keplr mobile app") } async disconnect(): Promise {