Skip to content

Commit 126316d

Browse files
[SDK] fix: Simplify in-app wallet logout flow
1 parent ace1dc5 commit 126316d

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
@@ -321,13 +321,6 @@ export class Auth {
321321
* @internal
322322
*/
323323
async logout(): Promise<LogoutReturnType> {
324-
if (this.AuthQuerier) {
325-
await this.AuthQuerier.call<LogoutReturnType>({
326-
procedureName: "logout",
327-
params: undefined,
328-
});
329-
}
330-
331324
const isRemoveAuthCookie = await this.localStorage.removeAuthCookie();
332325
const isRemoveUserId = await this.localStorage.removeWalletUserId();
333326

0 commit comments

Comments
 (0)