Skip to content

Commit 5ad442c

Browse files
[SDK] fix: Simplify in-app wallet logout flow (#6046)
1 parent 5756c74 commit 5ad442c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.changeset/blue-rivers-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Simplify in-app wallet login flow

packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,6 @@ export class Auth {
324324
* @internal
325325
*/
326326
async logout(): Promise<LogoutReturnType> {
327-
if (this.AuthQuerier) {
328-
await this.AuthQuerier.call<LogoutReturnType>({
329-
procedureName: "logout",
330-
params: undefined,
331-
});
332-
}
333-
334327
const isRemoveAuthCookie = await this.localStorage.removeAuthCookie();
335328
const isRemoveUserId = await this.localStorage.removeWalletUserId();
336329

0 commit comments

Comments
 (0)