@depup/sentry__server-utils 10.67.0-depup.0 → 10.68.0-depup.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 (360) hide show
  1. package/README.md +5 -4
  2. package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
  3. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  4. package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
  5. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  6. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  7. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
  8. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  9. package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
  10. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
  12. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
  14. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  15. package/build/cjs/orchestrion/bundler/esbuild.js +24 -1
  16. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  17. package/build/cjs/orchestrion/bundler/options.js +16 -2
  18. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  19. package/build/cjs/orchestrion/bundler/rollup.js +11 -1
  20. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  21. package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
  22. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
  23. package/build/cjs/orchestrion/bundler/vite.js +13 -0
  24. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  25. package/build/cjs/orchestrion/bundler/webpack.js +32 -1
  26. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  27. package/build/cjs/orchestrion/channels.js +0 -4
  28. package/build/cjs/orchestrion/channels.js.map +1 -1
  29. package/build/cjs/orchestrion/config/amqplib.js +4 -0
  30. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  31. package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
  32. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  33. package/build/cjs/orchestrion/config/aws-sdk.js +4 -0
  34. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  35. package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
  36. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
  37. package/build/cjs/orchestrion/config/dataloader.js +4 -0
  38. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  39. package/build/cjs/orchestrion/config/express.js +4 -0
  40. package/build/cjs/orchestrion/config/express.js.map +1 -1
  41. package/build/cjs/orchestrion/config/firebase.js +79 -2
  42. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  43. package/build/cjs/orchestrion/config/generic-pool.js +4 -0
  44. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  45. package/build/cjs/orchestrion/config/google-genai.js +4 -0
  46. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  47. package/build/cjs/orchestrion/config/graphql.js +4 -0
  48. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  49. package/build/cjs/orchestrion/config/hapi.js +4 -0
  50. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  51. package/build/cjs/orchestrion/config/index.js +33 -5
  52. package/build/cjs/orchestrion/config/index.js.map +1 -1
  53. package/build/cjs/orchestrion/config/ioredis.js +4 -0
  54. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  55. package/build/cjs/orchestrion/config/kafkajs.js +4 -0
  56. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  57. package/build/cjs/orchestrion/config/knex.js +4 -0
  58. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  59. package/build/cjs/orchestrion/config/koa.js +4 -0
  60. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  61. package/build/cjs/orchestrion/config/langchain.js +4 -0
  62. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  63. package/build/cjs/orchestrion/config/langgraph.js +4 -0
  64. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  65. package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
  66. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  67. package/build/cjs/orchestrion/config/mongodb.js +4 -0
  68. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  69. package/build/cjs/orchestrion/config/mongoose.js +4 -0
  70. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  71. package/build/cjs/orchestrion/config/mysql.js +4 -0
  72. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  73. package/build/cjs/orchestrion/config/mysql2.js +4 -0
  74. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  75. package/build/cjs/orchestrion/config/nestjs.js +4 -0
  76. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  77. package/build/cjs/orchestrion/config/openai.js +4 -0
  78. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  79. package/build/cjs/orchestrion/config/pg.js +4 -0
  80. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  81. package/build/cjs/orchestrion/config/postgres.js +4 -0
  82. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  83. package/build/cjs/orchestrion/config/redis.js +4 -0
  84. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  85. package/build/cjs/orchestrion/config/remix.js +4 -0
  86. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  87. package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
  88. package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
  89. package/build/cjs/orchestrion/config/tedious.js +4 -0
  90. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  91. package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
  92. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  93. package/build/cjs/orchestrion/index.js +12 -7
  94. package/build/cjs/orchestrion/index.js.map +1 -1
  95. package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
  96. package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
  97. package/build/cjs/vercel-ai/index.js.map +1 -1
  98. package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
  99. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  100. package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
  101. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  102. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  103. package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
  104. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  105. package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
  106. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
  107. package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
  108. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
  109. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
  110. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  111. package/build/esm/orchestrion/bundler/esbuild.js +25 -2
  112. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  113. package/build/esm/orchestrion/bundler/options.js +15 -3
  114. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  115. package/build/esm/orchestrion/bundler/rollup.js +12 -2
  116. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  117. package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
  118. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
  119. package/build/esm/orchestrion/bundler/vite.js +14 -1
  120. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  121. package/build/esm/orchestrion/bundler/webpack.js +33 -3
  122. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  123. package/build/esm/orchestrion/channels.js +0 -4
  124. package/build/esm/orchestrion/channels.js.map +1 -1
  125. package/build/esm/orchestrion/config/amqplib.js +4 -1
  126. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  127. package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
  128. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  129. package/build/esm/orchestrion/config/aws-sdk.js +4 -1
  130. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  131. package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
  132. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
  133. package/build/esm/orchestrion/config/dataloader.js +4 -1
  134. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  135. package/build/esm/orchestrion/config/express.js +4 -1
  136. package/build/esm/orchestrion/config/express.js.map +1 -1
  137. package/build/esm/orchestrion/config/firebase.js +79 -3
  138. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  139. package/build/esm/orchestrion/config/generic-pool.js +4 -1
  140. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  141. package/build/esm/orchestrion/config/google-genai.js +4 -1
  142. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  143. package/build/esm/orchestrion/config/graphql.js +4 -1
  144. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  145. package/build/esm/orchestrion/config/hapi.js +4 -1
  146. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  147. package/build/esm/orchestrion/config/index.js +61 -34
  148. package/build/esm/orchestrion/config/index.js.map +1 -1
  149. package/build/esm/orchestrion/config/ioredis.js +4 -1
  150. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  151. package/build/esm/orchestrion/config/kafkajs.js +4 -1
  152. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  153. package/build/esm/orchestrion/config/knex.js +4 -1
  154. package/build/esm/orchestrion/config/knex.js.map +1 -1
  155. package/build/esm/orchestrion/config/koa.js +4 -1
  156. package/build/esm/orchestrion/config/koa.js.map +1 -1
  157. package/build/esm/orchestrion/config/langchain.js +4 -1
  158. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  159. package/build/esm/orchestrion/config/langgraph.js +4 -1
  160. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  161. package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
  162. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  163. package/build/esm/orchestrion/config/mongodb.js +4 -1
  164. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  165. package/build/esm/orchestrion/config/mongoose.js +4 -1
  166. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  167. package/build/esm/orchestrion/config/mysql.js +4 -1
  168. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  169. package/build/esm/orchestrion/config/mysql2.js +4 -1
  170. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  171. package/build/esm/orchestrion/config/nestjs.js +4 -1
  172. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  173. package/build/esm/orchestrion/config/openai.js +4 -1
  174. package/build/esm/orchestrion/config/openai.js.map +1 -1
  175. package/build/esm/orchestrion/config/pg.js +4 -1
  176. package/build/esm/orchestrion/config/pg.js.map +1 -1
  177. package/build/esm/orchestrion/config/postgres.js +4 -1
  178. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  179. package/build/esm/orchestrion/config/redis.js +4 -1
  180. package/build/esm/orchestrion/config/redis.js.map +1 -1
  181. package/build/esm/orchestrion/config/remix.js +4 -1
  182. package/build/esm/orchestrion/config/remix.js.map +1 -1
  183. package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
  184. package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
  185. package/build/esm/orchestrion/config/tedious.js +4 -1
  186. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  187. package/build/esm/orchestrion/config/vercel-ai.js +4 -1
  188. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  189. package/build/esm/orchestrion/index.js +5 -2
  190. package/build/esm/orchestrion/index.js.map +1 -1
  191. package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
  192. package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
  193. package/build/esm/package.json +1 -1
  194. package/build/esm/vercel-ai/index.js.map +1 -1
  195. package/build/types/index.d.ts +1 -1
  196. package/build/types/index.d.ts.map +1 -1
  197. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  198. package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
  199. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
  200. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  201. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
  202. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  203. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
  204. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  205. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
  206. package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  207. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
  208. package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
  209. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
  210. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  211. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
  212. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  213. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  214. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
  215. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  216. package/build/types/orchestrion/bundler/options.d.ts +34 -0
  217. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  218. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  219. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  220. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
  221. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  222. package/build/types/orchestrion/bundler/webpack.d.ts +6 -1
  223. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  224. package/build/types/orchestrion/channels.d.ts +15 -0
  225. package/build/types/orchestrion/channels.d.ts.map +1 -1
  226. package/build/types/orchestrion/config/amqplib.d.ts +2 -0
  227. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  228. package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
  229. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  230. package/build/types/orchestrion/config/aws-sdk.d.ts +2 -0
  231. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  232. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
  233. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
  234. package/build/types/orchestrion/config/dataloader.d.ts +2 -0
  235. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  236. package/build/types/orchestrion/config/express.d.ts +2 -0
  237. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  238. package/build/types/orchestrion/config/firebase.d.ts +41 -2
  239. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  240. package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
  241. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  242. package/build/types/orchestrion/config/google-genai.d.ts +2 -0
  243. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  244. package/build/types/orchestrion/config/graphql.d.ts +2 -0
  245. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  246. package/build/types/orchestrion/config/hapi.d.ts +2 -0
  247. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  248. package/build/types/orchestrion/config/index.d.ts +12 -0
  249. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  250. package/build/types/orchestrion/config/ioredis.d.ts +1 -0
  251. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  252. package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
  253. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  254. package/build/types/orchestrion/config/knex.d.ts +1 -0
  255. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  256. package/build/types/orchestrion/config/koa.d.ts +2 -0
  257. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  258. package/build/types/orchestrion/config/langchain.d.ts +2 -0
  259. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  260. package/build/types/orchestrion/config/langgraph.d.ts +2 -0
  261. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  262. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
  263. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  264. package/build/types/orchestrion/config/mongodb.d.ts +2 -0
  265. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  266. package/build/types/orchestrion/config/mongoose.d.ts +2 -0
  267. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  268. package/build/types/orchestrion/config/mysql.d.ts +2 -0
  269. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  270. package/build/types/orchestrion/config/mysql2.d.ts +2 -0
  271. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  272. package/build/types/orchestrion/config/nestjs.d.ts +1 -0
  273. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  274. package/build/types/orchestrion/config/openai.d.ts +2 -0
  275. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  276. package/build/types/orchestrion/config/pg.d.ts +2 -0
  277. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  278. package/build/types/orchestrion/config/postgres.d.ts +1 -0
  279. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  280. package/build/types/orchestrion/config/redis.d.ts +2 -0
  281. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  282. package/build/types/orchestrion/config/remix.d.ts +1 -0
  283. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  284. package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
  285. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
  286. package/build/types/orchestrion/config/tedious.d.ts +1 -0
  287. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  288. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
  289. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  290. package/build/types/orchestrion/index.d.ts +7 -6
  291. package/build/types/orchestrion/index.d.ts.map +1 -1
  292. package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
  293. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
  294. package/build/types/vercel-ai/index.d.ts +2 -3
  295. package/build/types/vercel-ai/index.d.ts.map +1 -1
  296. package/build/types-ts3.8/index.d.ts +1 -1
  297. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
  298. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  299. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  300. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  301. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  302. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
  303. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  304. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  305. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
  306. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +34 -0
  307. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  308. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +6 -1
  309. package/build/types-ts3.8/orchestrion/channels.d.ts +15 -0
  310. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
  311. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
  312. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +2 -0
  313. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
  314. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
  315. package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -0
  316. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +41 -2
  317. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
  318. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
  319. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
  320. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
  321. package/build/types-ts3.8/orchestrion/config/index.d.ts +12 -0
  322. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -0
  323. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
  324. package/build/types-ts3.8/orchestrion/config/knex.d.ts +1 -0
  325. package/build/types-ts3.8/orchestrion/config/koa.d.ts +2 -0
  326. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +2 -0
  327. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -0
  328. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
  329. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +2 -0
  330. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +2 -0
  331. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
  332. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
  333. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +1 -0
  334. package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -0
  335. package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
  336. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -0
  337. package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
  338. package/build/types-ts3.8/orchestrion/config/remix.d.ts +1 -0
  339. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
  340. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +1 -0
  341. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
  342. package/build/types-ts3.8/orchestrion/index.d.ts +7 -6
  343. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
  344. package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
  345. package/changes.json +7 -3
  346. package/package.json +11 -6
  347. package/build/cjs/orchestrion/config/prisma.js +0 -8
  348. package/build/cjs/orchestrion/config/prisma.js.map +0 -1
  349. package/build/cjs/orchestrion/config/react-router.js +0 -8
  350. package/build/cjs/orchestrion/config/react-router.js.map +0 -1
  351. package/build/esm/orchestrion/config/prisma.js +0 -5
  352. package/build/esm/orchestrion/config/prisma.js.map +0 -1
  353. package/build/esm/orchestrion/config/react-router.js +0 -5
  354. package/build/esm/orchestrion/config/react-router.js.map +0 -1
  355. package/build/types/orchestrion/config/prisma.d.ts +0 -4
  356. package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
  357. package/build/types/orchestrion/config/react-router.d.ts +0 -4
  358. package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
  359. package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
  360. package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
@@ -1,4 +1,43 @@
1
1
  import { InstrumentationConfig } from '..';
2
- export declare const firebaseConfig: InstrumentationConfig[];
3
- export declare const firebaseChannels: {};
2
+ export declare const firebaseConfig: ({
3
+ channelName: "add-doc" | "get-docs" | "set-doc" | "delete-doc";
4
+ module: {
5
+ name: string;
6
+ versionRange: string;
7
+ filePath: RegExp;
8
+ };
9
+ functionQuery: {
10
+ functionName: "addDoc" | "getDocs" | "setDoc" | "deleteDoc";
11
+ kind: "Auto";
12
+ };
13
+ } | {
14
+ channelName: "http-request" | "http-call" | "firestore-created" | "firestore-updated" | "firestore-deleted" | "firestore-written" | "scheduler" | "storage-finalized" | "storage-archived" | "storage-deleted" | "storage-metadata-updated";
15
+ module: {
16
+ name: string;
17
+ versionRange: string;
18
+ filePath: "lib/v2/providers/https.js" | "lib/v2/providers/firestore.js" | "lib/v2/providers/scheduler.js" | "lib/v2/providers/storage.js";
19
+ };
20
+ functionQuery: {
21
+ functionName: "onRequest" | "onCall" | "onDocumentCreated" | "onDocumentCreatedWithAuthContext" | "onDocumentUpdated" | "onDocumentUpdatedWithAuthContext" | "onDocumentDeleted" | "onDocumentDeletedWithAuthContext" | "onDocumentWritten" | "onDocumentWrittenWithAuthContext" | "onSchedule" | "onObjectFinalized" | "onObjectArchived" | "onObjectDeleted" | "onObjectMetadataUpdated";
22
+ kind: "Sync";
23
+ };
24
+ })[];
25
+ export declare const firebaseChannels: {
26
+ readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
27
+ readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
28
+ readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
29
+ readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
30
+ readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
31
+ readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
32
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
33
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
34
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
35
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
36
+ readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
37
+ readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
38
+ readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
39
+ readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
40
+ readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
41
+ };
42
+ export declare const firebaseSubscribeInjection: InstrumentationConfig[];
4
43
  //# sourceMappingURL=firebase.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const genericPoolConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -28,4 +29,5 @@ export declare const genericPoolConfig: ({
28
29
  export declare const genericPoolChannels: {
29
30
  readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
30
31
  };
32
+ export declare const genericPoolSubscribeInjection: InstrumentationConfig[];
31
33
  //# sourceMappingURL=generic-pool.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const googleGenAiConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -27,4 +28,5 @@ export declare const googleGenAiChannels: {
27
28
  readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
28
29
  readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
29
30
  };
31
+ export declare const googleGenAiSubscribeInjection: InstrumentationConfig[];
30
32
  //# sourceMappingURL=google-genai.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const graphqlConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -26,4 +27,5 @@ export declare const graphqlChannels: {
26
27
  readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
27
28
  readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
28
29
  };
30
+ export declare const graphqlSubscribeInjection: InstrumentationConfig[];
29
31
  //# sourceMappingURL=graphql.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const hapiConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -14,4 +15,5 @@ export declare const hapiChannels: {
14
15
  readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
15
16
  readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
16
17
  };
18
+ export declare const hapiSubscribeInjection: InstrumentationConfig[];
17
19
  //# sourceMappingURL=hapi.d.ts.map
@@ -7,6 +7,18 @@ import { InstrumentationConfig } from '..';
7
7
  * transformed is centralized here.
8
8
  */
9
9
  export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
10
+ /**
11
+ * The `Program`-matching injection configs that make each instrumented file
12
+ * self-register its channel subscriber at load (used by bundler-only SDKs like
13
+ * `@sentry/cloudflare`).
14
+ *
15
+ * Deliberately separate from `SENTRY_INSTRUMENTATIONS`: these reference a custom
16
+ * transform that only the opted-in bundler plugin registers, so feeding them to
17
+ * the runtime `--import` hook (which can't register it) would make the
18
+ * code-transformer drop the whole file. Each library owns its own
19
+ * `*SubscribeInjection` (derived from its channel configs), collected here.
20
+ */
21
+ export declare const SUBSCRIBE_INJECTIONS: InstrumentationConfig[];
10
22
  /**
11
23
  * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
12
24
  * merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
@@ -4,4 +4,5 @@ export declare const ioredisChannels: {
4
4
  readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
5
5
  readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
6
6
  };
7
+ export declare const ioredisSubscribeInjection: InstrumentationConfig[];
7
8
  //# sourceMappingURL=ioredis.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const kafkajsConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -14,4 +15,5 @@ export declare const kafkajsChannels: {
14
15
  readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
15
16
  readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
16
17
  };
18
+ export declare const kafkajsSubscribeInjection: InstrumentationConfig[];
17
19
  //# sourceMappingURL=kafkajs.d.ts.map
@@ -6,4 +6,5 @@ export declare const knexChannels: {
6
6
  readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
7
7
  readonly KNEX_RAW: "orchestrion:knex:raw";
8
8
  };
9
+ export declare const knexSubscribeInjection: InstrumentationConfig[];
9
10
  //# sourceMappingURL=knex.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
2
  export declare const koaConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -14,4 +15,5 @@ export declare const koaConfig: {
14
15
  export declare const koaChannels: {
15
16
  readonly KOA_USE: "orchestrion:koa:use";
16
17
  };
18
+ export declare const koaSubscribeInjection: InstrumentationConfig[];
17
19
  //# sourceMappingURL=koa.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const langchainConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -15,4 +16,5 @@ export declare const langchainChannels: {
15
16
  readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
16
17
  readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
17
18
  };
19
+ export declare const langchainSubscribeInjection: InstrumentationConfig[];
18
20
  //# sourceMappingURL=langchain.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const langgraphConfig: ({
2
3
  channelName: string;
3
4
  module: import("@apm-js-collab/code-transformer").ModuleMatcher;
@@ -18,4 +19,5 @@ export declare const langgraphChannels: {
18
19
  readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
19
20
  readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
20
21
  };
22
+ export declare const langgraphSubscribeInjection: InstrumentationConfig[];
21
23
  //# sourceMappingURL=langgraph.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const lruMemoizerConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -13,4 +14,5 @@ export declare const lruMemoizerConfig: {
13
14
  export declare const lruMemoizerChannels: {
14
15
  readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
15
16
  };
17
+ export declare const lruMemoizerSubscribeInjection: InstrumentationConfig[];
16
18
  //# sourceMappingURL=lru-memoizer.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const mongodbConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -56,4 +57,5 @@ export declare const mongodbChannels: {
56
57
  readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
57
58
  readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
58
59
  };
60
+ export declare const mongodbSubscribeInjection: InstrumentationConfig[];
59
61
  //# sourceMappingURL=mongodb.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const mongooseConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -37,4 +38,5 @@ export declare const mongooseChannels: {
37
38
  * parent span (see `mongooseChannels` for the span-creating channels).
38
39
  */
39
40
  export declare const MONGOOSE_CONTEXT_CAPTURE_CHANNELS: string[];
41
+ export declare const mongooseSubscribeInjection: InstrumentationConfig[];
40
42
  //# sourceMappingURL=mongoose.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const mysqlConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -13,4 +14,5 @@ export declare const mysqlConfig: {
13
14
  export declare const mysqlChannels: {
14
15
  readonly MYSQL_QUERY: "orchestrion:mysql:query";
15
16
  };
17
+ export declare const mysqlSubscribeInjection: InstrumentationConfig[];
16
18
  //# sourceMappingURL=mysql.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const mysql2Config: {
2
3
  channelName: string;
3
4
  module: {
@@ -15,4 +16,5 @@ export declare const mysql2Channels: {
15
16
  readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
16
17
  readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
17
18
  };
19
+ export declare const mysql2SubscribeInjection: InstrumentationConfig[];
18
20
  //# sourceMappingURL=mysql2.d.ts.map
@@ -21,4 +21,5 @@ export declare const nestjsChannels: {
21
21
  readonly NESTJS_ONEVENT: "orchestrion:@nestjs/event-emitter:onEventDecorator";
22
22
  readonly NESTJS_PROCESSOR: "orchestrion:@nestjs/bullmq:processorDecorator";
23
23
  };
24
+ export declare const nestjsSubscribeInjection: InstrumentationConfig[];
24
25
  //# sourceMappingURL=nestjs.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const openaiConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -15,4 +16,5 @@ export declare const openaiChannels: {
15
16
  readonly OPENAI_CHAT: "orchestrion:openai:chat";
16
17
  readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
17
18
  };
19
+ export declare const openaiSubscribeInjection: InstrumentationConfig[];
18
20
  //# sourceMappingURL=openai.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const pgConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -30,4 +31,5 @@ export declare const pgChannels: {
30
31
  readonly PG_CONNECT: "orchestrion:pg:connect";
31
32
  readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
32
33
  };
34
+ export declare const pgSubscribeInjection: InstrumentationConfig[];
33
35
  //# sourceMappingURL=pg.d.ts.map
@@ -6,4 +6,5 @@ export declare const postgresJsChannels: {
6
6
  readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
7
7
  readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
8
8
  };
9
+ export declare const postgresJsSubscribeInjection: InstrumentationConfig[];
9
10
  //# sourceMappingURL=postgres.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
1
2
  export declare const redisConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -34,4 +35,5 @@ export declare const redisChannels: {
34
35
  readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
35
36
  readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
36
37
  };
38
+ export declare const redisSubscribeInjection: InstrumentationConfig[];
37
39
  //# sourceMappingURL=redis.d.ts.map
@@ -6,4 +6,5 @@ export declare const remixChannels: {
6
6
  readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
7
7
  readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
8
8
  };
9
+ export declare const remixSubscribeInjection: InstrumentationConfig[];
9
10
  //# sourceMappingURL=remix.d.ts.map
@@ -0,0 +1,31 @@
1
+ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ /**
3
+ * Name shared by the `Program` injection configs (their `transform` field) and
4
+ * the custom transform registered on the bundler plugin (its `customTransforms`
5
+ * key). Any unique string works — it only has to match on both sides.
6
+ *
7
+ * Lives in this dependency-free leaf so the per-library config files can build
8
+ * their injection configs without importing the transform implementation (which
9
+ * pulls in `meriyah` and must never reach the runtime `--import` path).
10
+ */
11
+ export declare const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
12
+ /**
13
+ * Turn a library's channel-publishing configs into the `Program`-matching
14
+ * injection configs that make each instrumented file self-register its channel
15
+ * subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).
16
+ *
17
+ * Emits one injection per distinct instrumented file (deduped by module
18
+ * matcher), so the subscribe snippet lands in exactly the files that receive
19
+ * channels and inherits their precise version ranges. `channelName` carries the
20
+ * package name (not a real channel — nothing is wrapped here) so the transform
21
+ * can look up which subscriber to import.
22
+ *
23
+ * Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but
24
+ * kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes
25
+ * that list and can't register the custom transform, and an unregistered
26
+ * `transform` makes the code-transformer drop the whole file. They are
27
+ * aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler
28
+ * plugin that opts in (and registers the transform).
29
+ */
30
+ export declare function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[];
31
+ //# sourceMappingURL=subscribe-injection.d.ts.map
@@ -9,4 +9,5 @@ export declare const tediousChannels: {
9
9
  readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
10
10
  readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
11
11
  };
12
+ export declare const tediousSubscribeInjection: InstrumentationConfig[];
12
13
  //# sourceMappingURL=tedious.d.ts.map
@@ -9,4 +9,5 @@ export declare const vercelAiChannels: {
9
9
  readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
10
10
  readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
11
11
  };
12
+ export declare const vercelAiSubscribeInjection: InstrumentationConfig[];
12
13
  //# sourceMappingURL=vercel-ai.d.ts.map
@@ -23,10 +23,12 @@ import { postgresJsChannelIntegration } from '../integrations/tracing-channel/po
23
23
  import { tediousChannelIntegration } from '../integrations/tracing-channel/tedious';
24
24
  import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
25
25
  import { expressChannelIntegration } from '../integrations/tracing-channel/express';
26
+ import { firebaseChannelIntegration } from '../integrations/tracing-channel/firebase';
26
27
  export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
28
+ export { registerOrchestrionChannelIntegration } from './registerChannelIntegration';
27
29
  export { nestjsChannels } from './config/nestjs';
28
30
  export { remixChannels } from './config/remix';
29
- export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
31
+ export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, firebaseChannelIntegration, };
30
32
  export { KoaChannelIntegrationOptions } from '../integrations/tracing-channel/koa';
31
33
  export { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
32
34
  export { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
@@ -98,11 +100,7 @@ export declare const channelIntegrations: {
98
100
  readonly langGraphIntegration: (options?: import("@sentry/core").LangGraphOptions | undefined) => import("@sentry/core").Integration & {
99
101
  name: "LangGraph";
100
102
  };
101
- readonly vercelAiIntegration: (options?: {
102
- recordInputs?: boolean;
103
- recordOutputs?: boolean;
104
- enableTruncation?: boolean;
105
- } | undefined) => import("@sentry/core").Integration & {
103
+ readonly vercelAiIntegration: (options?: import("..").VercelAiOptions | undefined) => import("@sentry/core").Integration & {
106
104
  name: "VercelAI";
107
105
  };
108
106
  readonly amqplibIntegration: () => import("@sentry/core").Integration & {
@@ -134,5 +132,8 @@ export declare const channelIntegrations: {
134
132
  readonly awsIntegration: () => import("@sentry/core").Integration & {
135
133
  name: "Aws";
136
134
  };
135
+ readonly firebaseIntegration: () => import("@sentry/core").Integration & {
136
+ name: "Firebase";
137
+ };
137
138
  };
138
139
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,33 @@
1
+ import { Integration } from '@sentry/core';
2
+ /**
3
+ * Register an orchestrion channel-subscriber integration from an instrumented
4
+ * module. This is the runtime target of the snippet the subscribe-injection
5
+ * transform splices into each transformed package (see
6
+ * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.
7
+ * `@sentry/cloudflare`, running in workerd where requires can't be
8
+ * monkey-patched) wires up subscribers with no runtime module hook.
9
+ *
10
+ * It does two things, covering the two disjoint timing cases:
11
+ *
12
+ * 1. Stores the factory on the global orchestrion marker under `name`, so a
13
+ * later `init()` (a fresh isolate, or a client created after this module
14
+ * loads) picks it up via `getDefaultIntegrations()`.
15
+ * 2. If a client already exists, registers the integration on it right away.
16
+ * This is what makes the mechanism robust against module load order:
17
+ * bundler-only SDKs call `init()` per request, but a package like `mysql`
18
+ * loads its instrumented file lazily on first use, i.e. AFTER that request's
19
+ * `init()` already snapshotted the marker. Without the live add, the first
20
+ * request that touches such a package would publish to a channel nobody
21
+ * subscribed to yet.
22
+ *
23
+ * `addIntegration` dedupes by integration name and only runs `setupOnce` once,
24
+ * so storing AND live-adding never double-subscribes.
25
+ *
26
+ * The marker is a `Map` keyed by `name` (the factory's export name) so a package
27
+ * split across several instrumented files (e.g. `pg`'s JS and native clients, or
28
+ * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,
29
+ * no matter how many of its files land in the bundle. `.set` on the shared key
30
+ * is idempotent.
31
+ */
32
+ export declare function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void;
33
+ //# sourceMappingURL=registerChannelIntegration.d.ts.map
@@ -1,4 +1,4 @@
1
- type VercelAiOptions = {
1
+ export interface VercelAiOptions {
2
2
  /**
3
3
  * Enable or disable input recording. Enabled if `dataCollection.genAI.inputs` (or the deprecated `sendDefaultPii` option) is `true`
4
4
  * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.
@@ -16,12 +16,11 @@ type VercelAiOptions = {
16
16
  * Defaults to `true`.
17
17
  */
18
18
  enableTruncation?: boolean;
19
- };
19
+ }
20
20
  /**
21
21
  * Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).
22
22
  */
23
23
  export declare const vercelAiIntegration: (options?: VercelAiOptions | undefined) => import("@sentry/core").Integration & {
24
24
  name: "VercelAI";
25
25
  };
26
- export {};
27
26
  //# sourceMappingURL=index.d.ts.map
package/changes.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "bumped": {
3
3
  "@apm-js-collab/code-transformer-bundler-plugins": {
4
- "from": "^0.7.1",
4
+ "from": "0.7.1",
5
5
  "to": "^0.7.2"
6
6
  },
7
7
  "@sentry/conventions": {
8
8
  "from": "^0.16.0",
9
9
  "to": "^0.17.0"
10
+ },
11
+ "meriyah": {
12
+ "from": "^6.1.4",
13
+ "to": "^7.2.0"
10
14
  }
11
15
  },
12
- "timestamp": "2026-07-21T16:07:56.165Z",
13
- "totalUpdated": 2
16
+ "timestamp": "2026-07-24T16:34:39.847Z",
17
+ "totalUpdated": 3
14
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/sentry__server-utils",
3
- "version": "10.67.0-depup.0",
3
+ "version": "10.68.0-depup.0",
4
4
  "description": "Server Utilities for all Sentry JavaScript SDKs (with updated dependencies)",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
@@ -118,7 +118,8 @@
118
118
  "@apm-js-collab/code-transformer-bundler-plugins": "^0.7.2",
119
119
  "@apm-js-collab/tracing-hooks": "^0.13.0",
120
120
  "@sentry/conventions": "^0.17.0",
121
- "@sentry/core": "10.67.0"
121
+ "@sentry/core": "10.68.0",
122
+ "meriyah": "^7.2.0"
122
123
  },
123
124
  "devDependencies": {
124
125
  "@types/node": "^18.19.1",
@@ -172,18 +173,22 @@
172
173
  "depup": {
173
174
  "changes": {
174
175
  "@apm-js-collab/code-transformer-bundler-plugins": {
175
- "from": "^0.7.1",
176
+ "from": "0.7.1",
176
177
  "to": "^0.7.2"
177
178
  },
178
179
  "@sentry/conventions": {
179
180
  "from": "^0.16.0",
180
181
  "to": "^0.17.0"
182
+ },
183
+ "meriyah": {
184
+ "from": "^6.1.4",
185
+ "to": "^7.2.0"
181
186
  }
182
187
  },
183
- "depsUpdated": 2,
188
+ "depsUpdated": 3,
184
189
  "originalPackage": "@sentry/server-utils",
185
- "originalVersion": "10.67.0",
186
- "processedAt": "2026-07-21T16:07:59.675Z",
190
+ "originalVersion": "10.68.0",
191
+ "processedAt": "2026-07-24T16:34:47.016Z",
187
192
  "smokeTest": "passed"
188
193
  }
189
194
  }
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const prismaConfig = [];
4
- const prismaChannels = {};
5
-
6
- exports.prismaChannels = prismaChannels;
7
- exports.prismaConfig = prismaConfig;
8
- //# sourceMappingURL=prisma.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prisma.js","sources":["../../../../src/orchestrion/config/prisma.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `prisma` orchestrion integration (ports `@prisma/instrumentation`).\nexport const prismaConfig: InstrumentationConfig[] = [];\n\nexport const prismaChannels = {} as const;\n"],"names":[],"mappings":";;AAGO,MAAM,eAAwC;AAE9C,MAAM,iBAAiB;;;;;"}
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const reactRouterConfig = [];
4
- const reactRouterChannels = {};
5
-
6
- exports.reactRouterChannels = reactRouterChannels;
7
- exports.reactRouterConfig = reactRouterConfig;
8
- //# sourceMappingURL=react-router.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-router.js","sources":["../../../../src/orchestrion/config/react-router.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `react-router` orchestrion integration (ports `ReactRouterInstrumentation`).\nexport const reactRouterConfig: InstrumentationConfig[] = [];\n\nexport const reactRouterChannels = {} as const;\n"],"names":[],"mappings":";;AAGO,MAAM,oBAA6C;AAEnD,MAAM,sBAAsB;;;;;"}
@@ -1,5 +0,0 @@
1
- const prismaConfig = [];
2
- const prismaChannels = {};
3
-
4
- export { prismaChannels, prismaConfig };
5
- //# sourceMappingURL=prisma.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prisma.js","sources":["../../../../src/orchestrion/config/prisma.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `prisma` orchestrion integration (ports `@prisma/instrumentation`).\nexport const prismaConfig: InstrumentationConfig[] = [];\n\nexport const prismaChannels = {} as const;\n"],"names":[],"mappings":"AAGO,MAAM,eAAwC;AAE9C,MAAM,iBAAiB;;;;"}
@@ -1,5 +0,0 @@
1
- const reactRouterConfig = [];
2
- const reactRouterChannels = {};
3
-
4
- export { reactRouterChannels, reactRouterConfig };
5
- //# sourceMappingURL=react-router.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-router.js","sources":["../../../../src/orchestrion/config/react-router.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `react-router` orchestrion integration (ports `ReactRouterInstrumentation`).\nexport const reactRouterConfig: InstrumentationConfig[] = [];\n\nexport const reactRouterChannels = {} as const;\n"],"names":[],"mappings":"AAGO,MAAM,oBAA6C;AAEnD,MAAM,sBAAsB;;;;"}
@@ -1,4 +0,0 @@
1
- import type { InstrumentationConfig } from '..';
2
- export declare const prismaConfig: InstrumentationConfig[];
3
- export declare const prismaChannels: {};
4
- //# sourceMappingURL=prisma.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prisma.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/prisma.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,YAAY,EAAE,qBAAqB,EAAO,CAAC;AAExD,eAAO,MAAM,cAAc,IAAc,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { InstrumentationConfig } from '..';
2
- export declare const reactRouterConfig: InstrumentationConfig[];
3
- export declare const reactRouterChannels: {};
4
- //# sourceMappingURL=react-router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-router.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/react-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAAO,CAAC;AAE7D,eAAO,MAAM,mBAAmB,IAAc,CAAC"}
@@ -1,4 +0,0 @@
1
- import { InstrumentationConfig } from '..';
2
- export declare const prismaConfig: InstrumentationConfig[];
3
- export declare const prismaChannels: {};
4
- //# sourceMappingURL=prisma.d.ts.map
@@ -1,4 +0,0 @@
1
- import { InstrumentationConfig } from '..';
2
- export declare const reactRouterConfig: InstrumentationConfig[];
3
- export declare const reactRouterChannels: {};
4
- //# sourceMappingURL=react-router.d.ts.map