Skip to content

v1.0.12

Choose a tag to compare

@github-actions github-actions released this 06 May 00:22
· 47 commits to main since this release

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') inside drawPixels.
  • The 2026 Int32 Bug — The animation loop was calculating frames using (Date.now() >> 7) % length. Because Date.now() in 2026 exceeds INT32_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 with Math.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.