Closed starknetdev closed 3 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
loot-survivor | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 7, 2024 0:18am |
The changes primarily affect the indexer/src/items.ts
file, where the import statements have been reordered, and new constants and utility functions have been introduced. New event types, DISCOVERED_LOOT
and EQUIPMENT_CHANGED
, have been added, along with their respective parsing functions. The event handling logic has been updated to set default properties for item entities and to ensure proper processing of these new events. Additionally, the UPGRADES_AVAILABLE
case has been modified, and the timestamp property is now consistently set during updates.
File | Change Summary |
---|---|
indexer/src/items.ts | Reordered import statements; added constants and utility functions; introduced new event types and parsing functions; updated event handling logic for item properties and timestamp. |
./utils/events.ts | Added methods: parseDiscoveredLoot and parseEquipmentChanged . |
In the land of code where bunnies play,
New events hop in, brightening the day.
Loot discovered, equipment changed,
With each little tweak, our game is rearranged.
So let’s celebrate with a joyful cheer,
For every new feature brings us near! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Bug presented where a double G20 upgrade presents a market larger than the one produced from VRF.
To fix, the indexer should always store the xp, greatness and special data when an item is purchased and not solely rely on the UpgradesAvailable market data.
Summary by CodeRabbit
DISCOVERED_LOOT
andEQUIPMENT_CHANGED
.UPGRADES_AVAILABLE
case for correct item processing.