You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APPROACH:
Phase 1: Investment API
- Gets items >10 days old
- Enriches with prices
- Stores in DB
Phase 2: Content Script (SteamAuth pattern)
- Runs on Steam inventory page
- Has cookies → bypasses 10-day restriction
- Gets ALL items including fresh purchases
- Sends to backend to merge
USER EXPERIENCE:
1. Click "Sync Full Inventory"
2. Phase 1/2: API Sync... (Investment API)
3. Phase 2/2: Fetching New Items... (Content script)
4. ✅ Synced X+ fresh items!
RESULT:
Complete inventory including items purchased <10 days ago
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
alert(`Failed to sync inventory:\n${error.message}\n\nMake sure:\n1. You're logged into SteamLedger\n2. Your Steam account is linked\n3. Your Steam inventory is set to Public`);
596
+
alert(`Failed to sync inventory:\n${error.message}\n\nMake sure:\n1. You're logged into SteamLedger\n2. Your Steam account is linked`);
0 commit comments