Repository navigation
v1.0.12
What's Changed
Fixed
- Blinking Public Sprite & Console Errors — Fixed a bug where the "Sprite of the Minute" would constantly blink and spam the console with
TypeError: Cannot read properties of undefined (reading 'length')insidedrawPixels. - The 2026 Int32 Bug — The animation loop was calculating frames using
(Date.now() >> 7) % length. BecauseDate.now()in 2026 exceedsINT32_MAX, the bitwise shift operator coerced the timestamp into a negative 32-bit integer. This resulted in negative array indices and crashed the renderer. Replaced withMath.floor(Date.now() / 128)to safely stay in standard JavaScript number space. - Added defensive type guards to the canvas renderer to prevent future crashes on malformed payloads.
Verified: syntax check, npm audit --omit=dev clean.