@@ -404,32 +404,18 @@ export class SessionKit {
404404 return true
405405 } )
406406
407- // DEBUG: Log wallet plugin filtering
408- console . log ( '[SessionKit] Wallet plugin selection debug:' , {
409- totalWalletPlugins : this . walletPlugins . length ,
410- walletPluginIds : this . walletPlugins . map ( ( p ) => p . id ) ,
411- sessionKeyManager : ! ! this . sessionKeyManager ,
412- disableWalletPlugin : this . sessionKeyManager ?. config . disableWalletPlugin ,
413- selectableWalletPlugins : selectableWalletPlugins . length ,
414- selectableIds : selectableWalletPlugins . map ( ( p ) => p . id ) ,
415- } )
416-
417407 // Predetermine WalletPlugin (if possible) to prevent uneeded UI interactions.
418408 let walletPlugin : WalletPlugin | undefined = undefined
419409 if ( selectableWalletPlugins . length === 1 ) {
420410 walletPlugin = selectableWalletPlugins [ 0 ] // Default to first when only one.
421411 context . walletPluginIndex = this . walletPlugins . indexOf ( walletPlugin )
422412 context . uiRequirements . requiresWalletSelect = false
423- console . log ( '[SessionKit] Auto-selected wallet:' , walletPlugin . id )
424413 } else if ( options ?. walletPlugin ) {
425414 walletPlugin = this . getWalletPlugin ( options . walletPlugin )
426415 if ( walletPlugin ) {
427416 context . walletPluginIndex = this . walletPlugins . indexOf ( walletPlugin )
428417 context . uiRequirements . requiresWalletSelect = false
429- console . log ( '[SessionKit] Wallet selected via options:' , walletPlugin . id )
430418 }
431- } else {
432- console . log ( '[SessionKit] Multiple wallets available, UI will prompt for selection' )
433419 }
434420 // Set any uiRequirement overrides from the wallet plugin
435421 if ( walletPlugin ) {
0 commit comments