@@ -3,10 +3,10 @@ import {
3
3
VerifiedOwner ,
4
4
VerifyOwnerParams ,
5
5
Wallet ,
6
- } from ' @near-wallet-selector/core' ;
6
+ } from " @near-wallet-selector/core" ;
7
7
import { setupIntearWallet } from "@near-wallet-selector/intear-wallet" ;
8
- import { setupModal } from ' @near-wallet-selector/modal-ui' ;
9
- import { distinctUntilChanged , map , Subscription } from ' rxjs' ;
8
+ import { setupModal } from " @near-wallet-selector/modal-ui" ;
9
+ import { distinctUntilChanged , map , Subscription } from " rxjs" ;
10
10
11
11
import {
12
12
WALLET_CONNECTION_POLL_INTERVAL ,
@@ -20,7 +20,7 @@ import type {
20
20
} from "@near-wallet-selector/core" ;
21
21
import type { WalletSelectorModal } from "@near-wallet-selector/modal-ui" ;
22
22
23
- import { setupMeteorWallet } from ' @near-wallet-selector/meteor-wallet' ;
23
+ import { setupMeteorWallet } from " @near-wallet-selector/meteor-wallet" ;
24
24
25
25
const SUPPORT =
26
26
"- further help available on our telegram channel: https://t.me/mintdev" ;
@@ -64,21 +64,20 @@ export const BitteWalletAuth = {
64
64
walletUrl ?: string ,
65
65
) : Promise < WalletSelectorComponents > => {
66
66
if ( onlyBitteWallet === false ) {
67
- BitteWalletAuth . walletSelectorComponents . selector = await setupWalletSelector ( {
68
- network : network || 'mainnet' ,
69
- modules : [
70
- ...( options ?. additionalWallets || [ ] ) ,
71
- ...SUPPORTED_NEAR_WALLETS ,
72
- ] ,
73
- } ) ;
67
+ BitteWalletAuth . walletSelectorComponents . selector =
68
+ await setupWalletSelector ( {
69
+ network : network || "mainnet" ,
70
+ modules : [
71
+ ...( options ?. additionalWallets || [ ] ) ,
72
+ ...SUPPORTED_NEAR_WALLETS ,
73
+ ] ,
74
+ } ) ;
74
75
} else {
75
- BitteWalletAuth . walletSelectorComponents . selector = await setupWalletSelector ( {
76
-
77
- network : network || 'mainnet' ,
78
- modules : [
79
- ...SUPPORTED_NEAR_WALLETS ,
80
- ] ,
81
- } ) ;
76
+ BitteWalletAuth . walletSelectorComponents . selector =
77
+ await setupWalletSelector ( {
78
+ network : network || "mainnet" ,
79
+ modules : [ ...SUPPORTED_NEAR_WALLETS ] ,
80
+ } ) ;
82
81
}
83
82
84
83
BitteWalletAuth . walletSelectorComponents . modal = setupModal (
0 commit comments