@ampcode/plugin 0.0.0-20260721002933-g2d16ff6 → 0.0.0-20260722002806-g52a0c4a

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1493,7 +1493,12 @@ declare module '@ampcode/plugin' {
1493
1493
 
1494
1494
  /** Safe registration information returned to the plugin. */
1495
1495
  export interface WebhookRegistration {
1496
- /** Capability URL for webhook POST requests. Treat this URL as a credential. */
1496
+ /**
1497
+ * Capability URL for webhook POST requests. Treat this URL as a credential. Each webhook
1498
+ * accepts a burst of 10 new events and refills at 10 events per minute. A rate-limited
1499
+ * request returns HTTP 429 with a `Retry-After` header; a retry matching an event still
1500
+ * pending delivery by `Idempotency-Key` does not consume rate capacity.
1501
+ */
1497
1502
  url: string
1498
1503
  }
1499
1504
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260721002933-g2d16ff6",
3
+ "version": "0.0.0-20260722002806-g52a0c4a",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/manual/plugin-api",
6
6
  "author": {