@hogsend/engine 0.46.0 → 0.46.1
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/package.json +10 -10
- package/src/routes/admin/readiness.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hogsend/engine",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"svix": "^1.95.1",
|
|
52
52
|
"winston": "^3.19.0",
|
|
53
53
|
"zod": "^4.4.3",
|
|
54
|
-
"@hogsend/attribution": "^0.46.
|
|
55
|
-
"@hogsend/core": "^0.46.
|
|
56
|
-
"@hogsend/db": "^0.46.
|
|
57
|
-
"@hogsend/email": "^0.46.
|
|
58
|
-
"@hogsend/plugin-posthog": "^0.46.
|
|
59
|
-
"@hogsend/plugin-resend": "^0.46.
|
|
60
|
-
"@hogsend/sms": "^0.46.
|
|
54
|
+
"@hogsend/attribution": "^0.46.1",
|
|
55
|
+
"@hogsend/core": "^0.46.1",
|
|
56
|
+
"@hogsend/db": "^0.46.1",
|
|
57
|
+
"@hogsend/email": "^0.46.1",
|
|
58
|
+
"@hogsend/plugin-posthog": "^0.46.1",
|
|
59
|
+
"@hogsend/plugin-resend": "^0.46.1",
|
|
60
|
+
"@hogsend/sms": "^0.46.1"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@hogsend/plugin-postmark": "^0.46.
|
|
64
|
-
"@hogsend/plugin-twilio": "^0.46.
|
|
63
|
+
"@hogsend/plugin-postmark": "^0.46.1",
|
|
64
|
+
"@hogsend/plugin-twilio": "^0.46.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/node": "^22.15.3",
|
|
@@ -78,7 +78,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
78
78
|
detail: env.HATCHET_CLIENT_TOKEN
|
|
79
79
|
? `Connected (${env.HATCHET_CLIENT_HOST_PORT}).`
|
|
80
80
|
: "Set HATCHET_CLIENT_TOKEN so the worker can run your journeys.",
|
|
81
|
-
docsUrl: DOCS
|
|
81
|
+
docsUrl: `${DOCS}/docs/getting-started/hatchet`,
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
// 3. Email provider key — sends fail without it.
|
|
@@ -98,7 +98,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
98
98
|
detail: providerKeyPresent
|
|
99
99
|
? `${providerId} key configured.`
|
|
100
100
|
: `No ${providerId} API key yet — sends will fail until one is set.`,
|
|
101
|
-
docsUrl: DOCS
|
|
101
|
+
docsUrl: `${DOCS}/docs/guides/email`,
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
// 4. Data-plane API key — any non-revoked key lets your app code ingest.
|
|
@@ -120,7 +120,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
120
120
|
dataPlaneKeys > 0
|
|
121
121
|
? `${dataPlaneKeys} active key${dataPlaneKeys === 1 ? "" : "s"}.`
|
|
122
122
|
: "Mint one (run bootstrap, or POST /v1/admin/api-keys) so your app can send events.",
|
|
123
|
-
docsUrl: DOCS
|
|
123
|
+
docsUrl: `${DOCS}/docs/data-api/authentication`,
|
|
124
124
|
});
|
|
125
125
|
|
|
126
126
|
// 5. Sending domain — derive from the (now graceful) domain status. A bad
|
|
@@ -134,7 +134,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
134
134
|
status: "optional",
|
|
135
135
|
detail:
|
|
136
136
|
"No EMAIL_DOMAIN set — sends use the provider default. Configure one to send from your own domain.",
|
|
137
|
-
docsUrl: DOCS
|
|
137
|
+
docsUrl: `${DOCS}/docs/operating/production-email`,
|
|
138
138
|
});
|
|
139
139
|
} else if (dom.status?.state === "verified") {
|
|
140
140
|
checks.push({
|
|
@@ -152,7 +152,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
152
152
|
dom.status === null
|
|
153
153
|
? `${dom.domain}: can't read status — confirm your ${providerId} key can read domains.`
|
|
154
154
|
: `${dom.domain} is ${dom.status.state.replace("_", " ")} — verify it below.`,
|
|
155
|
-
docsUrl: DOCS
|
|
155
|
+
docsUrl: `${DOCS}/docs/operating/production-email`,
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
} catch {
|
|
@@ -161,7 +161,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
161
161
|
label: "Sending domain",
|
|
162
162
|
status: "action",
|
|
163
163
|
detail: "Couldn't read domain status — check your email provider key.",
|
|
164
|
-
docsUrl: DOCS
|
|
164
|
+
docsUrl: `${DOCS}/docs/operating/production-email`,
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -175,7 +175,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
175
175
|
detail: analyticsConfigured
|
|
176
176
|
? "Connected."
|
|
177
177
|
: "Optional — connect PostHog to capture events and person properties.",
|
|
178
|
-
docsUrl: DOCS
|
|
178
|
+
docsUrl: `${DOCS}/docs/getting-started/posthog-setup`,
|
|
179
179
|
});
|
|
180
180
|
|
|
181
181
|
// 7–10. Attribution readiness (impact plan §5.4) — the "how's it doing"
|
|
@@ -234,7 +234,7 @@ export const readinessRouter = new OpenAPIHono<AppEnv>().openapi(
|
|
|
234
234
|
: seen
|
|
235
235
|
? okDetail
|
|
236
236
|
: missingDetail,
|
|
237
|
-
docsUrl: `${DOCS}/conversions/impact`,
|
|
237
|
+
docsUrl: `${DOCS}/docs/conversions/impact`,
|
|
238
238
|
});
|
|
239
239
|
checks.push(
|
|
240
240
|
probeCheck(
|