| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 3.0.7 source code.tar.gz | < 24 hours ago | 319.8 kB | |
| 3.0.7 source code.zip | < 24 hours ago | 504.7 kB | |
| README.md | < 24 hours ago | 1.0 kB | |
| Totals: 3 Items | 825.6 kB | 0 | |
3.0.7 (2026-03-07)
:factory: New feature(s)
-
Allow multiple error ids on catchers (dc93190)
:::ts // Previously: const api = wretch("https://api.example.com") .catcher(401, err => redirect("/login")) .catcher(403, err => redirect("/login")) .catcher(407, err => redirect("/login"))
// Now we can write: const api = wretch("https://api.example.com") .catcher([401, 403, 407], err => redirect("/login"))