Commit Graph

36 Commits

Author SHA1 Message Date
cbd05d128e fix: Improve error handling and logging across multiple modules; enhance compatibility for legacy formats 2025-11-14 20:56:48 +01:00
8950da2563 fix: Enhance referral URL handling and improve diagnostic logging for account creation 2025-11-14 20:13:17 +01:00
47424be67b fix: Update version to 2.56.14 and enhance page reload logic to handle missing activities 2025-11-13 21:59:59 +01:00
c1ab595f25 fix: Update package version to 2.56.13 and improve timeout handling for custom elements registration 2025-11-13 21:48:59 +01:00
7331e6d490 fix: Enable automatic daily runs in scheduling configuration 2025-11-13 21:37:54 +01:00
5651f62088 Fix error 2025-11-13 20:23:57 +01:00
2959fc8c73 Feature: Improved handling of wait times for page checks and reloads, using a 10s timeout for slower networks 2025-11-13 14:37:17 +01:00
9f56227608 feature: Improved element management and diagnostics during navigation to the homepage 2025-11-12 23:16:29 +01:00
108c9bf215 feature: Improve wait times with adaptive detection for better element responsiveness 2025-11-11 14:48:57 +01:00
53fe16b1cc feat: Implement smart waiting utilities for improved page readiness and element detection
- Added `waitForPageReady` and `waitForElementSmart` functions to replace fixed timeouts with intelligent checks.
- Updated various parts of the codebase to utilize the new smart wait functions, enhancing performance and reliability.
- Improved logging for page readiness and element detection.
- Refactored login and browser functions to reduce unnecessary waits and enhance user experience.
- Fixed selector for MORE_ACTIVITIES to avoid strict mode violations.
- Added unit tests for smart wait utilities to ensure functionality and performance.
2025-11-11 14:20:37 +01:00
89bc226d6b New structure 2025-11-11 12:59:42 +01:00
04a1a4c0a4 Clean up 2025-11-10 19:57:43 +01:00
aeaffeb7ca fix: Revert version to 2.56.2 in package.json; enhance fingerprint injection error handling and configuration options 2025-11-10 19:51:34 +01:00
103312e0d2 feat: Improve browser stability with channel option and enhance fingerprint injection error handling 2025-11-10 19:50:25 +01:00
2c55fff61d feat: Improve error logging and validation across various flows and utilities 2025-11-09 18:05:43 +01:00
9fb5911fa2 feat: Centralize browser instance creation to eliminate duplication in Desktop and Mobile flows
fix: Update error message for HTTP 400 checks to English
refactor: Improve logging for network idle wait timeout in Workers
fix: Initialize lastError in Axios client to prevent undefined errors
chore: Update tsconfig to include path mappings for better module resolution
2025-11-09 17:56:46 +01:00
773304fc85 Refactor: Simplify recovery email handling and validation; update documentation for clarity 2025-11-08 21:26:06 +01:00
5e322af2c0 Fix: Enhance error handling and timeout management across various modules; improve validation and documentation 2025-11-08 18:52:31 +01:00
6b687a1018 Remove BuyMode and fix 2025-11-08 18:25:51 +01:00
d04289948e Fix: Reorganize imports for better clarity in test files 2025-11-08 12:20:38 +01:00
8eefd15b80 feat: Refactor and modularize flow handling for improved maintainability
- Extracted BuyModeHandler, DesktopFlow, MobileFlow, and SummaryReporter into separate modules for better organization and testability.
- Enhanced type safety and added interfaces for various return types in Load, Logger, UserAgent, and flow modules.
- Implemented comprehensive error handling and logging throughout the new modules.
- Added unit tests for DesktopFlow, MobileFlow, and SummaryReporter to ensure functionality and correctness.
- Updated existing utility functions to support new flow structures and improve code clarity.
2025-11-08 12:19:34 +01:00
1ff521f505 Refactor imports and improve error handling across multiple files for better maintainability and clarity 2025-11-08 10:55:51 +01:00
0d6ab38b48 Improved interactive mode: added an automatic job reset option for scheduled tasks and improved stealth mode to bypass CAPTCHAs. 2025-11-05 22:44:16 +01:00
9733c5698b feat: Improve error handling for HTTP 400 and network issues in browser navigation 2025-11-04 22:55:58 +01:00
f32c1bc039 Patch 2 2025-11-04 22:50:02 +01:00
9fbdd2be8a feat: Fix DNS 404 2025-11-04 22:45:56 +01:00
4c3a57a508 feat: refactor browser configuration handling and update validation logic 2025-11-04 22:43:09 +01:00
76c7ce3100 Fix bug rewards.bing 2025-11-04 22:20:59 +01:00
c0a868ff1f feat: implement error logging in catch blocks for improved error handling and debugging 2025-11-04 22:04:20 +01:00
39b62a4190 feat: Implement account suspension checks and improve error handling
- Added a method to check for account suspension using multiple detection methods in BrowserFunc.
- Refactored existing suspension checks to utilize the new method, reducing code duplication.
- Enhanced error handling in various functions to throw original errors instead of wrapping them.
- Improved environment variable parsing in constants to streamline validation.
- Updated login flow to optimize session restoration and error handling.
- Refined Axios request logic to include retry mechanisms for proxy authentication and network errors.
- Enhanced logging functionality to provide clearer output and error context.
- Improved utility functions with additional validation for input parameters.
2025-11-03 21:21:13 +01:00
f1db62823c Refactor: Enhance error handling and logging in Browser and MicrosoftRewardsBot classes; remove unused luxon declarations 2025-11-03 20:26:16 +01:00
36452e77e2 Refactor: Remove legacy code and improve import statements across multiple files 2025-11-03 20:03:42 +01:00
baf25103f7 Refactor: Clean up unused imports and improve code readability across multiple files 2025-11-03 19:52:27 +01:00
43ed6cd7f8 refactor: remove legacy scheduling and analytics code
- Deleted the scheduler module and its associated functions, transitioning to OS-level scheduling.
- Removed the Analytics module and its related interfaces, retaining only a placeholder for backward compatibility.
- Updated ConfigValidator to warn about legacy schedule and analytics configurations.
- Cleaned up StartupValidator to remove diagnostics and schedule validation logic.
- Adjusted Load.ts to handle legacy flags for diagnostics and analytics.
- Removed unused diagnostics capturing functionality.
2025-11-03 19:18:09 +01:00
579c8a4dcd Refactor page reload and dashboard extraction logic; consolidate dismissal methods in BrowserUtil; enhance Login TOTP handling; streamline environment variable parsing in scheduler 2025-11-03 16:29:38 +01:00
6d549e6590 Initial commit 2025-11-01 20:44:31 +01:00