Commit Graph
4 Commits
Author SHA1 Message Date
GarboMuffin 2f0010294f Fix packaging very large projects as HTML files in Chrome (#862)
Actually fixes https://github.com/TurboWarp/packager/issues/528

https://github.com/TurboWarp/packager/pull/861 fixed running large projects
in Chrome, but packaging still used string concatenation so it remained broken.
Now the concatenation part is done using TextEncoder & Uint8Arrays and a
template tag function to keep it readable.

This time I have actually tested it with a 1.0GB sb3.

Breaking Node API change: The data property returned by Packager#package() is
now always a Uint8Array instead of sometimes string and sometimes ArrayBuffer.
2024-05-23 23:47:40 -05:00
GarboMuffin e83b0a0b8b Use /api instead of /proxy in trampoline examples 2023-04-14 17:48:40 -05:00
GarboMuffin d07b03b7d8 Update documentation now that unshared projects are not accessible (#588)
It's clear that our Node API *sucks* and needs to be rewritten from the
ground up.
2022-11-12 20:29:40 -06:00
Thomas Weber c95419203c Rename api -> node-api-docs 2022-06-16 11:06:04 -05:00