Limits
A value's size is its JSON in UTF-8 bytes. Pro, Tinylib's paid plan for developers, raises how many apps you can have, and that row shows its Pro value in parentheses.
npx tinylib-sdk publish and preview refuse a folder past one of these.
An app you unpublish still counts toward your apps until you delete it.
npx tinylib-sdk dev reports a field past its limit, and publish refuses it.
Past the data limit, tinylib.data.set throws a TinylibError with code limit. For a key that's too long, it throws a TypeError. A write by your rules past their limit is skipped and shows as an error on the developer page.
A call past a limit on calls, rooms, short codes, or invitations rejects with limit. A room counts toward the user's rooms until it ends or they leave it.
Saves past their rate wait on the user's device and sync when the rate allows them.
tinylib.rooms.create with options too large, and room.act with an action too large or too frequent, reject with limit. room.relay sent too often throws limit.
A room is full when it has its most members. Joining a full room rejects with limit and a sentence such as "This room is full."
Any input that would leave a room's state or room data past its limit changes nothing. tinylib.rooms.create and room.act reject with limit, and any other handler's changes are dropped and show on the developer page.
Tinylib ends a room when nobody has had it open, acted in it, joined it, or left it for its kind's idleMs.
A handler that runs past its CPU time fails as if it had thrown. An event, view, status, or room name past its limit isn't sent or set, and shows as an error on the developer page. A sentence given to ctx.refuse past its limit is cut short. A timer set sooner than the shortest delay goes off at that delay.
ctx.notify with a title or text past its length sends nothing and shows as an error on the developer page. Past either rate, Tinylib drops the room's notifications silently.
tinylib.reminders.set rejects with limit when the user already has the most reminders your app may set, and with refused for a field past its length.
A reminder that can't go off within its lateness limit, for example because the device was off, skips to its next time.