@sentry/server-utils 11.11.0 → 11.12.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.
Files changed (228) hide show
  1. package/LICENSE +31 -0
  2. package/build/cjs/ai/anthropic-ai/streaming.js +4 -1
  3. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -1
  4. package/build/cjs/ai/anthropic-ai/tool-runner.js +49 -1
  5. package/build/cjs/ai/anthropic-ai/tool-runner.js.map +1 -1
  6. package/build/cjs/ai/anthropic-ai/utils.js +8 -1
  7. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -1
  8. package/build/cjs/ai/flue/index.js +3 -5
  9. package/build/cjs/ai/flue/index.js.map +1 -1
  10. package/build/cjs/ai/google-genai/index.js +6 -1
  11. package/build/cjs/ai/google-genai/index.js.map +1 -1
  12. package/build/cjs/ai/google-genai/streaming.js +4 -1
  13. package/build/cjs/ai/google-genai/streaming.js.map +1 -1
  14. package/build/cjs/ai/langchain/utils.js +11 -10
  15. package/build/cjs/ai/langchain/utils.js.map +1 -1
  16. package/build/cjs/ai/langgraph/agent-span.js +94 -0
  17. package/build/cjs/ai/langgraph/agent-span.js.map +1 -0
  18. package/build/cjs/ai/langgraph/index.js +79 -119
  19. package/build/cjs/ai/langgraph/index.js.map +1 -1
  20. package/build/cjs/ai/langgraph/stream.js +117 -0
  21. package/build/cjs/ai/langgraph/stream.js.map +1 -0
  22. package/build/cjs/ai/langgraph/utils.js +1 -1
  23. package/build/cjs/ai/langgraph/utils.js.map +1 -1
  24. package/build/cjs/ai/mastra/utils.js.map +1 -1
  25. package/build/cjs/ai/openai/streaming.js +3 -0
  26. package/build/cjs/ai/openai/streaming.js.map +1 -1
  27. package/build/cjs/index.js +9 -0
  28. package/build/cjs/index.js.map +1 -1
  29. package/build/cjs/index.no-diagnostic-channels.js +4 -0
  30. package/build/cjs/index.no-diagnostic-channels.js.map +1 -1
  31. package/build/cjs/integrations/aws-sdk/index.js +1 -0
  32. package/build/cjs/integrations/aws-sdk/index.js.map +1 -1
  33. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +105 -52
  34. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -1
  35. package/build/cjs/integrations/google-genai.js +9 -3
  36. package/build/cjs/integrations/google-genai.js.map +1 -1
  37. package/build/cjs/integrations/hono/constants.js +2 -0
  38. package/build/cjs/integrations/hono/constants.js.map +1 -1
  39. package/build/cjs/integrations/hono/createHonoMiddleware.js +2 -3
  40. package/build/cjs/integrations/hono/createHonoMiddleware.js.map +1 -1
  41. package/build/cjs/integrations/hono/honoIntegration.js +10 -10
  42. package/build/cjs/integrations/hono/honoIntegration.js.map +1 -1
  43. package/build/cjs/integrations/hono/matchResult.js +67 -0
  44. package/build/cjs/integrations/hono/matchResult.js.map +1 -1
  45. package/build/cjs/integrations/hono/middlewareHandlers.js +15 -5
  46. package/build/cjs/integrations/hono/middlewareHandlers.js.map +1 -1
  47. package/build/cjs/integrations/hono/patchAppRequest.js +2 -6
  48. package/build/cjs/integrations/hono/patchAppRequest.js.map +1 -1
  49. package/build/cjs/integrations/hono/patchRoute.js +2 -6
  50. package/build/cjs/integrations/hono/patchRoute.js.map +1 -1
  51. package/build/cjs/integrations/hono/resolveRouteName.js +16 -18
  52. package/build/cjs/integrations/hono/resolveRouteName.js.map +1 -1
  53. package/build/cjs/integrations/hono/sentryOriginalTraps.js +21 -0
  54. package/build/cjs/integrations/hono/sentryOriginalTraps.js.map +1 -0
  55. package/build/cjs/integrations/hono/wrapMiddlewareSpan.js +4 -8
  56. package/build/cjs/integrations/hono/wrapMiddlewareSpan.js.map +1 -1
  57. package/build/cjs/integrations/langgraph.js +6 -20
  58. package/build/cjs/integrations/langgraph.js.map +1 -1
  59. package/build/cjs/integrations/nitro/captureTracingEvents.js.map +1 -1
  60. package/build/cjs/integrations/serveTunnel.js +33 -0
  61. package/build/cjs/integrations/serveTunnel.js.map +1 -0
  62. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +17 -9
  63. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  64. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  65. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  66. package/build/cjs/orchestrion/detect.js +16 -3
  67. package/build/cjs/orchestrion/detect.js.map +1 -1
  68. package/build/cjs/orchestrion/instrumentation.js +5 -5
  69. package/build/cjs/orchestrion/instrumentation.js.map +1 -1
  70. package/build/cjs/utils/diagnosticsChannel.js +2 -1
  71. package/build/cjs/utils/diagnosticsChannel.js.map +1 -1
  72. package/build/cjs/utils/runtime.js +19 -0
  73. package/build/cjs/utils/runtime.js.map +1 -0
  74. package/build/cjs/utils/tunnelServer.js +29 -0
  75. package/build/cjs/utils/tunnelServer.js.map +1 -0
  76. package/build/cjs/utils/wrapServerRequestHandler.js +18 -6
  77. package/build/cjs/utils/wrapServerRequestHandler.js.map +1 -1
  78. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -1
  79. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-Bd0h-mo3.js.map +1 -1
  80. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
  81. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  82. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +1 -1
  83. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -1
  84. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
  85. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  86. package/build/esm/ai/anthropic-ai/streaming.js +5 -2
  87. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -1
  88. package/build/esm/ai/anthropic-ai/tool-runner.js +52 -4
  89. package/build/esm/ai/anthropic-ai/tool-runner.js.map +1 -1
  90. package/build/esm/ai/anthropic-ai/utils.js +9 -2
  91. package/build/esm/ai/anthropic-ai/utils.js.map +1 -1
  92. package/build/esm/ai/flue/index.js +2 -4
  93. package/build/esm/ai/flue/index.js.map +1 -1
  94. package/build/esm/ai/google-genai/index.js +6 -1
  95. package/build/esm/ai/google-genai/index.js.map +1 -1
  96. package/build/esm/ai/google-genai/streaming.js +4 -1
  97. package/build/esm/ai/google-genai/streaming.js.map +1 -1
  98. package/build/esm/ai/langchain/utils.js +11 -11
  99. package/build/esm/ai/langchain/utils.js.map +1 -1
  100. package/build/esm/ai/langgraph/agent-span.js +89 -0
  101. package/build/esm/ai/langgraph/agent-span.js.map +1 -0
  102. package/build/esm/ai/langgraph/index.js +73 -115
  103. package/build/esm/ai/langgraph/index.js.map +1 -1
  104. package/build/esm/ai/langgraph/stream.js +115 -0
  105. package/build/esm/ai/langgraph/stream.js.map +1 -0
  106. package/build/esm/ai/langgraph/utils.js +1 -1
  107. package/build/esm/ai/langgraph/utils.js.map +1 -1
  108. package/build/esm/ai/mastra/utils.js.map +1 -1
  109. package/build/esm/ai/openai/streaming.js +3 -0
  110. package/build/esm/ai/openai/streaming.js.map +1 -1
  111. package/build/esm/index.js +3 -0
  112. package/build/esm/index.js.map +1 -1
  113. package/build/esm/index.no-diagnostic-channels.js +1 -0
  114. package/build/esm/index.no-diagnostic-channels.js.map +1 -1
  115. package/build/esm/integrations/aws-sdk/index.js +1 -0
  116. package/build/esm/integrations/aws-sdk/index.js.map +1 -1
  117. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +107 -54
  118. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -1
  119. package/build/esm/integrations/google-genai.js +9 -3
  120. package/build/esm/integrations/google-genai.js.map +1 -1
  121. package/build/esm/integrations/hono/constants.js +2 -1
  122. package/build/esm/integrations/hono/constants.js.map +1 -1
  123. package/build/esm/integrations/hono/createHonoMiddleware.js +2 -2
  124. package/build/esm/integrations/hono/createHonoMiddleware.js.map +1 -1
  125. package/build/esm/integrations/hono/honoIntegration.js +11 -11
  126. package/build/esm/integrations/hono/honoIntegration.js.map +1 -1
  127. package/build/esm/integrations/hono/matchResult.js +65 -2
  128. package/build/esm/integrations/hono/matchResult.js.map +1 -1
  129. package/build/esm/integrations/hono/middlewareHandlers.js +17 -7
  130. package/build/esm/integrations/hono/middlewareHandlers.js.map +1 -1
  131. package/build/esm/integrations/hono/patchAppRequest.js +2 -6
  132. package/build/esm/integrations/hono/patchAppRequest.js.map +1 -1
  133. package/build/esm/integrations/hono/patchRoute.js +2 -6
  134. package/build/esm/integrations/hono/patchRoute.js.map +1 -1
  135. package/build/esm/integrations/hono/resolveRouteName.js +16 -18
  136. package/build/esm/integrations/hono/resolveRouteName.js.map +1 -1
  137. package/build/esm/integrations/hono/sentryOriginalTraps.js +19 -0
  138. package/build/esm/integrations/hono/sentryOriginalTraps.js.map +1 -0
  139. package/build/esm/integrations/hono/wrapMiddlewareSpan.js +3 -7
  140. package/build/esm/integrations/hono/wrapMiddlewareSpan.js.map +1 -1
  141. package/build/esm/integrations/langgraph.js +7 -21
  142. package/build/esm/integrations/langgraph.js.map +1 -1
  143. package/build/esm/integrations/nitro/captureTracingEvents.js.map +1 -1
  144. package/build/esm/integrations/serveTunnel.js +30 -0
  145. package/build/esm/integrations/serveTunnel.js.map +1 -0
  146. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +18 -10
  147. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  148. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  149. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  150. package/build/esm/orchestrion/detect.js +15 -2
  151. package/build/esm/orchestrion/detect.js.map +1 -1
  152. package/build/esm/orchestrion/instrumentation.js +6 -6
  153. package/build/esm/orchestrion/instrumentation.js.map +1 -1
  154. package/build/esm/package.json +1 -1
  155. package/build/esm/utils/diagnosticsChannel.js +2 -1
  156. package/build/esm/utils/diagnosticsChannel.js.map +1 -1
  157. package/build/esm/utils/runtime.js +15 -0
  158. package/build/esm/utils/runtime.js.map +1 -0
  159. package/build/esm/utils/tunnelServer.js +27 -0
  160. package/build/esm/utils/tunnelServer.js.map +1 -0
  161. package/build/esm/utils/wrapServerRequestHandler.js +19 -7
  162. package/build/esm/utils/wrapServerRequestHandler.js.map +1 -1
  163. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -1
  164. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-Bd0h-mo3.js.map +1 -1
  165. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
  166. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  167. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +1 -1
  168. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -1
  169. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
  170. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  171. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -1
  172. package/build/types/ai/anthropic-ai/tool-runner.d.ts +1 -1
  173. package/build/types/ai/anthropic-ai/tool-runner.d.ts.map +1 -1
  174. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -1
  175. package/build/types/ai/flue/index.d.ts.map +1 -1
  176. package/build/types/ai/google-genai/index.d.ts.map +1 -1
  177. package/build/types/ai/google-genai/streaming.d.ts +1 -1
  178. package/build/types/ai/google-genai/streaming.d.ts.map +1 -1
  179. package/build/types/ai/langchain/utils.d.ts +6 -0
  180. package/build/types/ai/langchain/utils.d.ts.map +1 -1
  181. package/build/types/ai/langgraph/agent-span.d.ts +15 -0
  182. package/build/types/ai/langgraph/agent-span.d.ts.map +1 -0
  183. package/build/types/ai/langgraph/index.d.ts +7 -1
  184. package/build/types/ai/langgraph/index.d.ts.map +1 -1
  185. package/build/types/ai/langgraph/stream.d.ts +10 -0
  186. package/build/types/ai/langgraph/stream.d.ts.map +1 -0
  187. package/build/types/ai/langgraph/types.d.ts +1 -0
  188. package/build/types/ai/langgraph/types.d.ts.map +1 -1
  189. package/build/types/ai/mastra/utils.d.ts +1 -1
  190. package/build/types/ai/openai/streaming.d.ts.map +1 -1
  191. package/build/types/exports.d.ts +1 -0
  192. package/build/types/exports.d.ts.map +1 -1
  193. package/build/types/index.d.ts +2 -0
  194. package/build/types/index.d.ts.map +1 -1
  195. package/build/types/integrations/aws-sdk/index.d.ts.map +1 -1
  196. package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
  197. package/build/types/integrations/aws-sdk/types.d.ts +2 -0
  198. package/build/types/integrations/aws-sdk/types.d.ts.map +1 -1
  199. package/build/types/integrations/google-genai.d.ts.map +1 -1
  200. package/build/types/integrations/hono/constants.d.ts +1 -0
  201. package/build/types/integrations/hono/constants.d.ts.map +1 -1
  202. package/build/types/integrations/hono/createHonoMiddleware.d.ts +0 -1
  203. package/build/types/integrations/hono/createHonoMiddleware.d.ts.map +1 -1
  204. package/build/types/integrations/hono/honoIntegration.d.ts.map +1 -1
  205. package/build/types/integrations/hono/matchResult.d.ts +21 -4
  206. package/build/types/integrations/hono/matchResult.d.ts.map +1 -1
  207. package/build/types/integrations/hono/middlewareHandlers.d.ts +1 -2
  208. package/build/types/integrations/hono/middlewareHandlers.d.ts.map +1 -1
  209. package/build/types/integrations/hono/patchAppRequest.d.ts.map +1 -1
  210. package/build/types/integrations/hono/patchRoute.d.ts.map +1 -1
  211. package/build/types/integrations/hono/resolveRouteName.d.ts +4 -7
  212. package/build/types/integrations/hono/resolveRouteName.d.ts.map +1 -1
  213. package/build/types/integrations/hono/sentryOriginalTraps.d.ts +9 -0
  214. package/build/types/integrations/hono/sentryOriginalTraps.d.ts.map +1 -0
  215. package/build/types/integrations/hono/wrapMiddlewareSpan.d.ts.map +1 -1
  216. package/build/types/integrations/langgraph.d.ts.map +1 -1
  217. package/build/types/integrations/serveTunnel.d.ts +14 -0
  218. package/build/types/integrations/serveTunnel.d.ts.map +1 -0
  219. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  220. package/build/types/orchestrion/detect.d.ts.map +1 -1
  221. package/build/types/orchestrion/instrumentation.d.ts.map +1 -1
  222. package/build/types/utils/diagnosticsChannel.d.ts.map +1 -1
  223. package/build/types/utils/runtime.d.ts +7 -0
  224. package/build/types/utils/runtime.d.ts.map +1 -0
  225. package/build/types/utils/tunnelServer.d.ts +10 -0
  226. package/build/types/utils/tunnelServer.d.ts.map +1 -0
  227. package/build/types/utils/wrapServerRequestHandler.d.ts.map +1 -1
  228. package/package.json +26 -23
@@ -12,8 +12,7 @@ export declare function responseHandler(context: Context, shouldHandleError?: Se
12
12
  /**
13
13
  * Captures an unhandled context error, gated by the user's `shouldHandleError` (or the default).
14
14
  *
15
- * Split out from {@link responseHandler} so a deduplicated middleware can still report its own
16
- * context's error without re-resolving the route name or overwriting request data — e.g. the inner
15
+ * A deduplicated middleware calls it directly to report the error of its own context — e.g. the inner
17
16
  * context of an internal `.request()` whose route threw but whose failed response the outer handler
18
17
  * swallowed.
19
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"middlewareHandlers.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/middlewareHandlers.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,YAAY,CAAC;AAI5D,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAW3D;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAY3E;AAgED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,mBAAmB,CAAC,GACnE,IAAI,CAKN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,mBAAmB,CAAC,GACnE,IAAI,CAQN"}
1
+ {"version":3,"file":"middlewareHandlers.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/middlewareHandlers.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,YAAY,CAAC;AAM5D,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAW3D;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CA0B3E;AAgED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,mBAAmB,CAAC,GACnE,IAAI,CAEN;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,mBAAmB,CAAC,GACnE,IAAI,CAQN"}
@@ -1 +1 @@
1
- {"version":3,"file":"patchAppRequest.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/patchAppRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAe7C,8FAA8F;AAC9F,wBAAgB,2BAA2B,IAAI,OAAO,CAErD;AAWD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAiBtD;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAoDjE"}
1
+ {"version":3,"file":"patchAppRequest.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/patchAppRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAgB7C,8FAA8F;AAC9F,wBAAgB,2BAA2B,IAAI,OAAO,CAErD;AAWD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAiBtD;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CA+CjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"patchRoute.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/patchRoute.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKnD,YAAY,EAAE,SAAS,EAAE,CAAC;AAG1B,KAAK,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;AAEzB,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,CAAC;CACvC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC;IAChD,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC,CAAC;AAiCF;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAqCzF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAO9D"}
1
+ {"version":3,"file":"patchRoute.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/patchRoute.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAMnD,YAAY,EAAE,SAAS,EAAE,CAAC;AAG1B,KAAK,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;AAEzB,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,CAAC;CACvC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC;IAChD,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC,CAAC;AAiCF;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAgCzF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAO9D"}
@@ -1,10 +1,7 @@
1
- import type { Context } from './honoTypes';
1
+ import type { Context, HonoRoute } from './honoTypes';
2
2
  /**
3
- * Resolves the route path of the matched handler for the transaction name.
4
- *
5
- * Picking the handler (not just `routePath`) avoids two failure modes: a catch-all middleware
6
- * registered after the handlers (`routePath(c, -1)` would return just `/*`), and a middleware that
7
- * short-circuits before the handler runs (`routePath(c)` would return the middleware's path).
3
+ * Returns the path of the route that handles the request, or `undefined` if the request has no route.
4
+ * Not the last matched route: a catch-all registered later also matches.
8
5
  */
9
- export declare function resolveRouteName(context: Context): string;
6
+ export declare function resolveRouteName(context: Context, routes: HonoRoute[], middlewareFlags: boolean[]): string | undefined;
10
7
  //# sourceMappingURL=resolveRouteName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveRouteName.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/resolveRouteName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAa,MAAM,aAAa,CAAC;AAsBtD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAoBzD"}
1
+ {"version":3,"file":"resolveRouteName.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/resolveRouteName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAItD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,EAAE,EACnB,eAAe,EAAE,OAAO,EAAE,GACzB,MAAM,GAAG,SAAS,CAuBpB"}
@@ -0,0 +1,9 @@
1
+ type AnyFunction = Function;
2
+ /**
3
+ * Proxy traps that expose `original` as `__sentry_original__` on a wrapping Proxy without defining it on the target,
4
+ * which is the original itself. `functionToStringIntegration` only unwraps own properties, so the property has to
5
+ * look like an own one too.
6
+ */
7
+ export declare function sentryOriginalTraps<T extends AnyFunction>(original: AnyFunction): Pick<ProxyHandler<T>, 'get' | 'getOwnPropertyDescriptor'>;
8
+ export {};
9
+ //# sourceMappingURL=sentryOriginalTraps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sentryOriginalTraps.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/sentryOriginalTraps.ts"],"names":[],"mappings":"AACA,KAAK,WAAW,GAAG,QAAQ,CAAC;AAE5B;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,WAAW,EACvD,QAAQ,EAAE,WAAW,GACpB,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,0BAA0B,CAAC,CAe3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"wrapMiddlewareSpan.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/wrapMiddlewareSpan.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAMrD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,CA8CpF"}
1
+ {"version":3,"file":"wrapMiddlewareSpan.d.ts","sourceRoot":"","sources":["../../../../src/integrations/hono/wrapMiddlewareSpan.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAOrD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,CAyCpF"}
@@ -1 +1 @@
1
- {"version":3,"file":"langgraph.d.ts","sourceRoot":"","sources":["../../../src/integrations/langgraph.ts"],"names":[],"mappings":"AAwHA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;CAA2C,CAAC"}
1
+ {"version":3,"file":"langgraph.d.ts","sourceRoot":"","sources":["../../../src/integrations/langgraph.ts"],"names":[],"mappings":"AA8FA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;CAA2C,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { ServerTunnelOptions } from '@sentry/core';
2
+ /**
3
+ * Lets every `node:http` server answer managed tunnel requests before the app sees them, whatever framework runs on
4
+ * it. Nothing is answered unless the tunnel is on, through `serveTunnelIntegration` or a framework SDK.
5
+ */
6
+ export declare function instrumentTunnelServers(): void;
7
+ /**
8
+ * Makes a `serveTunnelIntegration` that, unless `intercept` is off, also runs `instrumentRuntimeServers` to answer
9
+ * tunnel requests on the runtime's own servers, like `Bun.serve` or `Deno.serve`.
10
+ */
11
+ export declare function makeServeTunnelIntegration(instrumentRuntimeServers?: () => void): (options?: ServerTunnelOptions | undefined) => import("@sentry/core").Integration & {
12
+ name: string;
13
+ };
14
+ //# sourceMappingURL=serveTunnel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serveTunnel.d.ts","sourceRoot":"","sources":["../../../src/integrations/serveTunnel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAaxD;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAU9C;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,wBAAwB,CAAC,EAAE,MAAM,IAAI;;EAY/E"}
@@ -1 +1 @@
1
- {"version":3,"file":"vercel-ai-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../../src/integrations/vercel-ai/vercel-ai-dc-subscriber.ts"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAczD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIrF,OAAO,EAAwC,KAAK,uBAAuB,EAA2B,MAAM,QAAQ,CAAC;AAErH;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,iBAAiB,CAAC;AA8D/D,2GAA2G;AAC3G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI,CAQnE;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAKzD;AA0FD,sEAAsE;AACtE,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,YAAY,GACZ,gBAAgB,GAChB,MAAM,GACN,mBAAmB,GACnB,aAAa,GACb,OAAO,GACP,WAAW,GACX,QAAQ,GACR,uBAAuB,GACvB,qBAAqB,CAAC;AAE1B;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAErG,mHAAmH;AACnH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,wBAAgB,+BAA+B,CAC7C,cAAc,EAAE,6BAA6B,EAC7C,OAAO,GAAE,sBAA2B,GACnC,IAAI,CAgBN;AAwCD,yGAAyG;AACzG,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAuBrG;AA+CD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,GAAG,SAAS,CAwFlB;AAyHD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,CAyEN;AAoJD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CA0B/F"}
1
+ {"version":3,"file":"vercel-ai-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../../src/integrations/vercel-ai/vercel-ai-dc-subscriber.ts"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAczD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIrF,OAAO,EAAwC,KAAK,uBAAuB,EAA2B,MAAM,QAAQ,CAAC;AAErH;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,iBAAiB,CAAC;AA+D/D,2GAA2G;AAC3G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI,CAQnE;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAKzD;AA0FD,sEAAsE;AACtE,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,YAAY,GACZ,gBAAgB,GAChB,MAAM,GACN,mBAAmB,GACnB,aAAa,GACb,OAAO,GACP,WAAW,GACX,QAAQ,GACR,uBAAuB,GACvB,qBAAqB,CAAC;AAE1B;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAErG,mHAAmH;AACnH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,wBAAgB,+BAA+B,CAC7C,cAAc,EAAE,6BAA6B,EAC7C,OAAO,GAAE,sBAA2B,GACnC,IAAI,CAgBN;AAwCD,yGAAyG;AACzG,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAuBrG;AA+CD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,GAAG,SAAS,CAwFlB;AAyHD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,CAyEN;AAoJD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CA0B/F"}
@@ -1 +1 @@
1
- {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAGxD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAwB7C"}
1
+ {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAGxD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAwC7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/instrumentation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAQ3C,QAAA,MAAM,YAAY,eAA8C,CAAC;AAIjE,KAAK,iBAAiB,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG;IAAE,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AASnF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,SAAS,iBAAiB,EACjF,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,EAK1B,EAAE,6BAAoC,EAAE,GAAE;IAAE,6BAA6B,CAAC,EAAE,OAAO,CAAA;CAAO,GACzF,IAAI,CAsFN"}
1
+ {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/instrumentation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAS3C,QAAA,MAAM,YAAY,eAA8C,CAAC;AAIjE,KAAK,iBAAiB,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG;IAAE,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAKnF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,SAAS,iBAAiB,EACjF,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,EAK1B,EAAE,6BAAoC,EAAE,GAAE;IAAE,6BAA6B,CAAC,EAAE,OAAO,CAAA;CAAO,GACzF,IAAI,CAwFN"}
@@ -1 +1 @@
1
- {"version":3,"file":"diagnosticsChannel.d.ts","sourceRoot":"","sources":["../../../src/utils/diagnosticsChannel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;AAanE,yFAAyF;AACzF,eAAO,MAAM,OAAO,EAAE,OAAO,sBAAsB,CAAC,OASlB,CAAC;AAEnC,iGAAiG;AACjG,eAAO,MAAM,SAAS,EAAE,OAAO,sBAAsB,CAAC,SAIlB,CAAC;AAErC;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,sBAAsB,CAAC,cAahB,CAAC"}
1
+ {"version":3,"file":"diagnosticsChannel.d.ts","sourceRoot":"","sources":["../../../src/utils/diagnosticsChannel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;AAcnE,yFAAyF;AACzF,eAAO,MAAM,OAAO,EAAE,OAAO,sBAAsB,CAAC,OASlB,CAAC;AAEnC,iGAAiG;AACjG,eAAO,MAAM,SAAS,EAAE,OAAO,sBAAsB,CAAC,SAIlB,CAAC;AAErC;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,sBAAsB,CAAC,cAahB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /** Whether the SDK runs in Bun. */
2
+ export declare function isBun(): boolean;
3
+ /** Whether the SDK runs in Deno. */
4
+ export declare function isDeno(): boolean;
5
+ /** Whether the SDK runs in Cloudflare Workers. */
6
+ export declare function isCloudflareWorkers(): boolean;
7
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/utils/runtime.ts"],"names":[],"mappings":"AAIA,mCAAmC;AACnC,wBAAgB,KAAK,IAAI,OAAO,CAE/B;AAED,oCAAoC;AACpC,wBAAgB,MAAM,IAAI,OAAO,CAEhC;AAED,kDAAkD;AAClD,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Wraps a Node server's `emit` once, so requests to the tunnel `serveTunnelIntegration` serves are answered before
3
+ * any of the app's `request` listeners run. A listener for the `http.server.request.start` diagnostics channel, which
4
+ * Node publishes right before it emits each request, so even the first request is answered. Only without core's HTTP
5
+ * server instrumentation, whose own `emit` wrapper answers them otherwise.
6
+ *
7
+ * It never throws, since Node rethrows a channel listener's error as an uncaught exception.
8
+ */
9
+ export declare function instrumentTunnelServer(message: unknown): void;
10
+ //# sourceMappingURL=tunnelServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tunnelServer.d.ts","sourceRoot":"","sources":["../../../src/utils/tunnelServer.ts"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAqB7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"wrapServerRequestHandler.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapServerRequestHandler.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAqB7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAUhE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,cAAc,EAAE,KAAK,CAAC;IACtB,sEAAsE;IACtE,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC;IAC7D,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,oGAAoG;IACpG,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACxE,yGAAyG;IACzG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,0FAA0F;IAC1F,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,GAAG,SAAS,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;CACnD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,SAAS,QAAQ,GAAG,SAAS,GAAG,QAAQ,EACtF,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAC5B,OAAO,CAAC,CAAC,CAAC,CAmMZ"}
1
+ {"version":3,"file":"wrapServerRequestHandler.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapServerRequestHandler.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAqB7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAWhE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,cAAc,EAAE,KAAK,CAAC;IACtB,sEAAsE;IACtE,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC;IAC7D,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,oGAAoG;IACpG,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACxE,yGAAyG;IACzG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,0FAA0F;IAC1F,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,GAAG,SAAS,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;CACnD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,SAAS,QAAQ,GAAG,SAAS,GAAG,QAAQ,EACtF,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAC5B,OAAO,CAAC,CAAC,CAAC,CAmNZ"}
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@sentry/server-utils",
3
- "version": "11.11.0",
3
+ "version": "11.12.0",
4
4
  "description": "Server Utilities for all Sentry JavaScript SDKs",
5
- "repository": "git://github.com/getsentry/sentry-javascript.git",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git://github.com/getsentry/sentry-javascript.git"
8
+ },
6
9
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
7
10
  "author": "Sentry",
8
11
  "license": "MIT",
@@ -102,18 +105,32 @@
102
105
  },
103
106
  "dependencies": {
104
107
  "@opentelemetry/api": "^1.9.1",
105
- "@sentry/conventions": "^0.30.0",
106
- "@sentry/core": "11.11.0"
108
+ "@sentry/conventions": "^0.32.0",
109
+ "@sentry/core": "11.12.0"
107
110
  },
108
111
  "devDependencies": {
109
112
  "@apm-js-collab/code-transformer-bundler-plugins": "^0.7.5",
110
113
  "@neondatabase/serverless": "1.2.0",
111
- "@sentry-internal/rollup-utils": "11.11.0",
114
+ "@sentry-internal/rollup-utils": "11.12.0",
112
115
  "@types/node": "^20.19.0",
113
116
  "meriyah": "^6.1.4",
114
- "vite": "^8.3.5",
117
+ "vite": "^8.3.6",
115
118
  "webpack": "^5.112.2"
116
119
  },
120
+ "sideEffects": false,
121
+ "nx": {
122
+ "targets": {
123
+ "build:transpile": {
124
+ "outputs": [
125
+ "{projectRoot}/build/esm",
126
+ "{projectRoot}/build/cjs",
127
+ "{projectRoot}/build/npm/esm",
128
+ "{projectRoot}/build/npm/cjs",
129
+ "{projectRoot}/build/THIRD-PARTY-LICENSES.txt"
130
+ ]
131
+ }
132
+ }
133
+ },
117
134
  "scripts": {
118
135
  "build": "run-p build:transpile build:types",
119
136
  "build:dev": "pnpm run build",
@@ -122,8 +139,8 @@
122
139
  "build:watch": "run-p build:transpile:watch",
123
140
  "build:dev:watch": "run-p build:transpile:watch",
124
141
  "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
125
- "build:tarball": "npm pack",
126
- "clean": "rimraf build coverage sentry-server-utils-*.tgz",
142
+ "build:tarball": "pnpm pack",
143
+ "clean": "node ../../scripts/rm.mjs build coverage sentry-server-utils-*.tgz",
127
144
  "lint:fix": "oxlint . --fix --type-aware",
128
145
  "lint": "oxlint . --type-aware",
129
146
  "lint:types": "oxlint src --type-aware --type-check",
@@ -132,19 +149,5 @@
132
149
  "test": "vitest run",
133
150
  "test:watch": "vitest --watch",
134
151
  "yalc:publish": "yalc publish --push --sig"
135
- },
136
- "sideEffects": false,
137
- "nx": {
138
- "targets": {
139
- "build:transpile": {
140
- "outputs": [
141
- "{projectRoot}/build/esm",
142
- "{projectRoot}/build/cjs",
143
- "{projectRoot}/build/npm/esm",
144
- "{projectRoot}/build/npm/cjs",
145
- "{projectRoot}/build/THIRD-PARTY-LICENSES.txt"
146
- ]
147
- }
148
- }
149
152
  }
150
- }
153
+ }