@hogsend/client 0.13.2 → 0.14.0
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/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -163,13 +163,13 @@ interface UnsubscribeResult {
|
|
|
163
163
|
unsubscribed: boolean;
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* The
|
|
166
|
+
* The 14-event outbound catalog. MIRRORS the engine's `WEBHOOK_EVENT_TYPES`
|
|
167
167
|
* (`@hogsend/engine` lib/webhook-signing.ts) — the client cannot import the
|
|
168
168
|
* engine, so the union is re-declared here and MUST be kept in sync BY HAND
|
|
169
169
|
* when the engine catalog changes (there is no automated drift check today).
|
|
170
170
|
* The `webhook.test` sentinel is NOT a member (out-of-band).
|
|
171
171
|
*/
|
|
172
|
-
type OutboundEventType = "contact.created" | "contact.updated" | "contact.deleted" | "contact.unsubscribed" | "email.sent" | "email.delivered" | "email.opened" | "email.clicked" | "email.bounced" | "email.complained" | "journey.completed" | "bucket.entered" | "bucket.left";
|
|
172
|
+
type OutboundEventType = "contact.created" | "contact.updated" | "contact.deleted" | "contact.unsubscribed" | "email.sent" | "email.delivered" | "email.opened" | "email.clicked" | "email.action" | "email.bounced" | "email.complained" | "journey.completed" | "bucket.entered" | "bucket.left";
|
|
173
173
|
/**
|
|
174
174
|
* The delivery `kind` of a managed endpoint. `"webhook"` (default) is the signed
|
|
175
175
|
* Standard-Webhooks POST; any other value (e.g. `"posthog"`, `"segment"`,
|
package/dist/index.d.ts
CHANGED
|
@@ -163,13 +163,13 @@ interface UnsubscribeResult {
|
|
|
163
163
|
unsubscribed: boolean;
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* The
|
|
166
|
+
* The 14-event outbound catalog. MIRRORS the engine's `WEBHOOK_EVENT_TYPES`
|
|
167
167
|
* (`@hogsend/engine` lib/webhook-signing.ts) — the client cannot import the
|
|
168
168
|
* engine, so the union is re-declared here and MUST be kept in sync BY HAND
|
|
169
169
|
* when the engine catalog changes (there is no automated drift check today).
|
|
170
170
|
* The `webhook.test` sentinel is NOT a member (out-of-band).
|
|
171
171
|
*/
|
|
172
|
-
type OutboundEventType = "contact.created" | "contact.updated" | "contact.deleted" | "contact.unsubscribed" | "email.sent" | "email.delivered" | "email.opened" | "email.clicked" | "email.bounced" | "email.complained" | "journey.completed" | "bucket.entered" | "bucket.left";
|
|
172
|
+
type OutboundEventType = "contact.created" | "contact.updated" | "contact.deleted" | "contact.unsubscribed" | "email.sent" | "email.delivered" | "email.opened" | "email.clicked" | "email.action" | "email.bounced" | "email.complained" | "journey.completed" | "bucket.entered" | "bucket.left";
|
|
173
173
|
/**
|
|
174
174
|
* The delivery `kind` of a managed endpoint. `"webhook"` (default) is the signed
|
|
175
175
|
* Standard-Webhooks POST; any other value (e.g. `"posthog"`, `"segment"`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hogsend/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Typed HTTP client for the Hogsend data plane (contacts, events, emails, lists).",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/node": "^22.15.3",
|
|
32
32
|
"tsup": "^8.5.1",
|
|
33
33
|
"vitest": "^4.1.7",
|
|
34
|
-
"@hogsend/email": "^0.
|
|
34
|
+
"@hogsend/email": "^0.14.0",
|
|
35
35
|
"@repo/typescript-config": "0.0.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|