@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 +2 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/receiver/hono/index.d.ts +8 -4
- package/dist/@types/receiver/hono/index.d.ts.map +1 -1
- package/dist/{chunk-M7XFCGYR.js → chunk-KC2NW7XQ.js} +2 -2
- package/dist/chunk-KC2NW7XQ.js.map +1 -0
- package/dist/hono/index.cjs +1 -1
- package/dist/hono/index.cjs.map +1 -1
- package/dist/hono/index.js +1 -1
- package/dist/hono/index.js.map +1 -1
- package/dist/receiver/hono/index.cjs +1 -1
- package/dist/receiver/hono/index.cjs.map +1 -1
- package/dist/receiver/hono/index.js +1 -1
- package/dist/receiver/index.cjs +1 -1
- package/dist/receiver/index.cjs.map +1 -1
- package/dist/receiver/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-M7XFCGYR.js.map +0 -1
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,
|
|
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
|
});
|