mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-20 21:53:56 +00:00
refactor: Change default exports to named exports for consistency
This commit is contained in:
@@ -9,7 +9,7 @@ import { getAntiDetectionScript, getTimezoneScript } from '../util/security/Anti
|
||||
import { loadSessionData, saveFingerprintData } from '../util/state/Load'
|
||||
import { logFingerprintValidation, validateFingerprintConsistency } from '../util/validation/FingerprintValidator'
|
||||
|
||||
class Browser {
|
||||
export class Browser {
|
||||
private bot: MicrosoftRewardsBot
|
||||
|
||||
constructor(bot: MicrosoftRewardsBot) {
|
||||
@@ -281,6 +281,4 @@ class Browser {
|
||||
|
||||
return updatedFingerPrintData
|
||||
}
|
||||
}
|
||||
|
||||
export default Browser
|
||||
}
|
||||
@@ -13,7 +13,7 @@ import { extractBalancedObject } from '../util/core/Utils'
|
||||
import { saveSessionData } from '../util/state/Load'
|
||||
|
||||
|
||||
export default class BrowserFunc {
|
||||
export class BrowserFunc {
|
||||
private bot: MicrosoftRewardsBot
|
||||
|
||||
constructor(bot: MicrosoftRewardsBot) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import { logError } from '../util/notifications/Logger'
|
||||
|
||||
type DismissButton = { selector: string; label: string; isXPath?: boolean }
|
||||
|
||||
export default class BrowserUtil {
|
||||
export class BrowserUtil {
|
||||
private bot: MicrosoftRewardsBot
|
||||
|
||||
private static readonly DISMISS_BUTTONS: readonly DismissButton[] = [
|
||||
|
||||
Reference in New Issue
Block a user