name = "idempotent-orders"
main = "idempotent-orders.ts"
compatibility_date = "2026-01-01"

# A single KV namespace holds both the short-lived "pending" markers and the
# 24h response cache. Create it once, then paste the id below:
#   wrangler kv namespace create ORDERS
[[kv_namespaces]]
binding = "ORDERS"
id = "<your-kv-namespace-id>"

[observability]
enabled = true
