@relaymessenger/sdk 0.3.0-staging.1 → 0.3.0-staging.2
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 +3 -0
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -135,6 +135,9 @@ if (event.event_type === "contact.removed") {
|
|
|
135
135
|
}
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
+
The initial staged Relay webhook contract uses
|
|
139
|
+
`webhook_version: "2026-08-30"` on every event envelope.
|
|
140
|
+
|
|
138
141
|
Verification follows Standard Webhooks and must use the unmodified raw body.
|
|
139
142
|
Commit the complete event to a durable inbox, then return `2xx` before running
|
|
140
143
|
the handler or model. Relay uses that response as the agent's Delivered ACK.
|
package/dist/types.d.ts
CHANGED
|
@@ -424,7 +424,7 @@ export interface ContactRemovedEvent {
|
|
|
424
424
|
}
|
|
425
425
|
export interface RelayWebhookEnvelope<T = Record<string, unknown>, TEventType extends WebhookEventType = WebhookEventType> {
|
|
426
426
|
api_version: "v1";
|
|
427
|
-
webhook_version: "2026-
|
|
427
|
+
webhook_version: "2026-08-30";
|
|
428
428
|
event_type: TEventType;
|
|
429
429
|
event_id: UUID;
|
|
430
430
|
created_at: string;
|