File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export function shouldSupportPasskey(): { isBrowserSupported: boolean; isOsSuppo
48
48
firefox : ">=122" ,
49
49
} ,
50
50
Android : {
51
- chrome : ">=121 " ,
51
+ chrome : ">=108 " ,
52
52
} ,
53
53
Windows : {
54
54
edge : ">=108" ,
Original file line number Diff line number Diff line change @@ -205,17 +205,17 @@ class Web3Auth extends SafeEventEmitter implements IWeb3Auth {
205
205
}
206
206
207
207
async addChain ( chainConfig : CustomChainConfig ) : Promise < void > {
208
- if ( this . status !== ADAPTER_STATUS . READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
208
+ if ( this . status === ADAPTER_STATUS . NOT_READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
209
209
return this . privKeyProvider . addChain ( chainConfig ) ;
210
210
}
211
211
212
212
switchChain ( params : { chainId : string } ) : Promise < void > {
213
- if ( this . status !== ADAPTER_STATUS . READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
213
+ if ( this . status === ADAPTER_STATUS . NOT_READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
214
214
return this . privKeyProvider . switchChain ( params ) ;
215
215
}
216
216
217
217
async getPostboxKey ( loginParams : LoginParams ) : Promise < string > {
218
- if ( this . status !== ADAPTER_STATUS . READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
218
+ if ( this . status === ADAPTER_STATUS . NOT_READY ) throw WalletInitializationError . notReady ( "Please call init first." ) ;
219
219
return this . getTorusKey ( loginParams ) ;
220
220
}
221
221
You can’t perform that action at this time.
0 commit comments