@rotorsoft/act-http 1.8.19 → 1.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -141,7 +141,8 @@ app.post("/webhook", { preHandler: webhookMiddleware({ store, secret }) }, async
141
141
  import { webhookMiddleware } from "@rotorsoft/act-http/receiver/hono";
142
142
  app.post("/webhook", webhookMiddleware({ store, secret }), (c) => {
143
143
  const { key, deduped } = c.get("idempotency");
144
- // Hono auto-finalizes off the response: a 2xx commits, a 5xx/throw releases.
144
+ // Hono auto-finalizes off the response: a 2xx/3xx commits, any 4xx/5xx (or a
145
+ // thrown handler) releases so a corrected same-key retry re-processes (#1364).
145
146
  // …
146
147
  return c.body(null, 204);
147
148
  });