Commit Graph

19 Commits

Author SHA1 Message Date
4bc44917e2 Fix 2025-11-15 13:52:37 +01:00
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
9f56227608 feature: Improved element management and diagnostics during navigation to the homepage 2025-11-12 23:16:29 +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
088a3a024f feat: Enhance Microsoft Rewards Bot with recovery email normalization and improved logging
- Added `normalizeRecoveryEmail` utility function for consistent recovery email validation.
- Improved logging functionality in `Logger.ts` with enhanced edge case handling and null checks.
- Centralized browser cleanup logic in `BrowserFactory.ts` to eliminate duplication.
- Refactored error handling and message formatting in `Utils.ts` for better clarity and consistency.
- Updated various log messages for improved readability and consistency across the codebase.
- Implemented periodic cleanup of webhook buffers in `Logger.ts` using centralized constants.
2025-11-11 12:31:27 +01:00
842218ca4d feat: Refactor configuration files for clarity and structure; enhance error reporting with obfuscated webhook URL 2025-11-09 19:38:32 +01:00
3a3f416d92 feat: Centralize timeout constants and improve logging validation across modules 2025-11-09 18:15:01 +01:00
2c55fff61d feat: Improve error logging and validation across various flows and utilities 2025-11-09 18:05:43 +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
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
0fcc8c3307 Fix webook 2025-11-04 22:25:10 +01:00
411b435555 feat: update sign-in URL to redirect to the rewards dashboard 2025-11-04 22:23:58 +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
baf25103f7 Refactor: Clean up unused imports and improve code readability across multiple files 2025-11-03 19:52:27 +01:00
7270204c67 Update pfp 2025-11-03 15:56:16 +01:00
8ccfdd23c9 Add comprehensive FAQ and README documentation for Microsoft Rewards Script
- Created FAQ.md with detailed answers to common questions regarding the project, installation, configuration, troubleshooting, safety, and features.
- Established README.md to serve as a documentation hub, outlining the structure and providing quick navigation links to various guides and resources.
2025-11-03 14:54:07 +01:00
6d549e6590 Initial commit 2025-11-01 20:44:31 +01:00