Skip to content

Commit

Permalink
fix create session
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshuchawla009 committed Nov 26, 2024
1 parent 78457af commit 5deb674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mpcCoreKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,9 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
if (!this.options.disableSessionManager && !this.sessionManager) {
throw new Error("sessionManager is not available");
}
if (this.options.disableSessionManager) {
return;
}

try {
const sessionId = SessionManager.generateRandomSessionKey();
Expand Down

0 comments on commit 5deb674

Please sign in to comment.