free-games-claimer/src
nocci 728b0c734b refactor[epic-games]: migrate to GraphQL API and modularize authentication logic
This commit refactors epic-games.js to use the GraphQL API instead of the legacy promotions endpoint for retrieving free games. Key architectural improvements include:

- Added modular authentication module (device-auths.ts) supporting persistent device auth tokens
- Introduces cookie management module (cookie.ts) for persistent session handling
- Extracts GraphQL query structures and API endpoints into constants.ts
- Implements multiple fallback strategies: device auth login, token exchange, and fallback to standard login
- Adds support for both GraphQL and promotions-based game discovery
- Streamlines claim process with improved tracking and error handling
- Removes legacy selectors and redundant logic

Additionally, updates package.json to include TypeScript and reorganizes dependency order for better maintainability.
2026-03-06 15:26:26 +00:00
..
config.js feat: add optional new epic claimer mode 2025-12-31 12:25:07 +00:00
constants.ts refactor[epic-games]: migrate to GraphQL API and modularize authentication logic 2026-03-06 15:26:26 +00:00
cookie.ts refactor[epic-games]: migrate to GraphQL API and modularize authentication logic 2026-03-06 15:26:26 +00:00
device-auths.ts refactor[epic-games]: migrate to GraphQL API and modularize authentication logic 2026-03-06 15:26:26 +00:00
migrate.js Clean Sonar issues in store scripts 2025-12-30 16:08:59 +00:00
util.js Refactor prompt timeout plugin to reduce nesting 2025-12-30 14:56:50 +00:00
version.js Further clean Sonar: merge base RUN, strip comments, node imports 2025-12-30 15:47:28 +00:00