Repository navigation
4.22.1
The library's code is the same as in 4.22.0. This release corrects the author details npm shows, and updates the
examples.
Changed
- The package's author and maintainer are now
Mehmet Kose <mehmetkose@duck.com>with
mehmetkose.github.io, replacing an email address and website that were wrong.
Documentation
- The Next.js, Astro and Remix examples use dependency versions that fix published security advisories:
next
16.4.2 andzod4.6.7, and in the Astro exampleundici8.12.3,qs6.16.1,body-parser2.4.0 andfast-uri
3.1.9. The Remix example overridesesbuildto 0.28.2, sinceremixstill asks for 0.27. - The Hono example and
its recipe use what 4.22.0 documented. Chat
messages are requests the server answers withpostedorrefused, and a retry with the same key isn't posted
twice. The server tells clients when to come back: a full room closes with1013and a delay, long-lived
connections are asked tomigrate(), and a page built for an older protocol is closed with a code it doesn't
retry, and asks the user to reload. A newbot.tsjoins from Node with a token in a header, through a proxy if
HTTPS_PROXYis set.