Skip to content

Commit dcfe28e

Browse files
mydeaclaude
andcommitted
feat(hono): re-export honoMiddleware from astro, aws-serverless, google-cloud-serverless
These SDKs already re-export the server-side integration surface (incl. `honoIntegration`); add `honoMiddleware` alongside so users of those SDKs can manually instrument a Hono app where automatic constructor-channel instrumentation can't run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RaYGdTstWVZKU9X4NjtYV1
1 parent 9d2ddf5 commit dcfe28e

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/astro/src/index.server.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export {
7373
isEnabled,
7474
kafkaIntegration,
7575
honoIntegration,
76+
honoMiddleware,
7677
koaIntegration,
7778
knexIntegration,
7879
lastEventId,

‎packages/aws-serverless/src/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export {
102102
// oxlint-disable-next-line typescript/no-deprecated
103103
setupExpressErrorHandler,
104104
honoIntegration,
105+
honoMiddleware,
105106
koaIntegration,
106107
// oxlint-disable-next-line typescript/no-deprecated
107108
setupKoaErrorHandler,

‎packages/google-cloud-serverless/src/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export {
103103
// oxlint-disable-next-line typescript/no-deprecated
104104
setupExpressErrorHandler,
105105
honoIntegration,
106+
honoMiddleware,
106107
koaIntegration,
107108
// oxlint-disable-next-line typescript/no-deprecated
108109
setupKoaErrorHandler,

0 commit comments

Comments
 (0)