Skip to content

todos: fetchInventory() - referrer header, next batch of items & error handling#8

Open
0xBoom wants to merge 1 commit intoCS2-Inventory-Loader:devfrom
0xBoom:fetchInventory-todos-implementation
Open

todos: fetchInventory() - referrer header, next batch of items & error handling#8
0xBoom wants to merge 1 commit intoCS2-Inventory-Loader:devfrom
0xBoom:fetchInventory-todos-implementation

Conversation

@0xBoom
Copy link

@0xBoom 0xBoom commented Apr 5, 2024

background-worker.js:

fetchInventory(steamId, appId, contextId)

  • Updated fetchInventory function to fetch 75 items initially and then up to 2000 more if available.
  • Added error handling and referrer headers to fetch requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant