@sentry/node 10.70.0 → 11.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1194) hide show
  1. package/build/cjs/bundler-plugin/esbuild.js +19 -0
  2. package/build/cjs/bundler-plugin/esbuild.js.map +1 -0
  3. package/build/cjs/bundler-plugin/rollup.js +12 -0
  4. package/build/cjs/bundler-plugin/rollup.js.map +1 -0
  5. package/build/cjs/bundler-plugin/vite.js +12 -0
  6. package/build/cjs/bundler-plugin/vite.js.map +1 -0
  7. package/build/cjs/bundler-plugin/webpack.js +18 -0
  8. package/build/cjs/bundler-plugin/webpack.js.map +1 -0
  9. package/build/cjs/cron/common.js +52 -0
  10. package/build/cjs/cron/common.js.map +1 -0
  11. package/build/cjs/cron/cron.js +88 -0
  12. package/build/cjs/cron/cron.js.map +1 -0
  13. package/build/cjs/cron/index.js +14 -0
  14. package/build/cjs/cron/index.js.map +1 -0
  15. package/build/cjs/cron/node-cron.js +52 -0
  16. package/build/cjs/cron/node-cron.js.map +1 -0
  17. package/build/cjs/cron/node-schedule.js +41 -0
  18. package/build/cjs/cron/node-schedule.js.map +1 -0
  19. package/build/cjs/index.js +112 -123
  20. package/build/cjs/index.js.map +1 -1
  21. package/build/cjs/integrations/anr/index.js +159 -0
  22. package/build/cjs/integrations/anr/index.js.map +1 -0
  23. package/build/cjs/integrations/childProcess.js +81 -0
  24. package/build/cjs/integrations/childProcess.js.map +1 -0
  25. package/build/cjs/integrations/console.js +95 -0
  26. package/build/cjs/integrations/console.js.map +1 -0
  27. package/build/cjs/integrations/context.js +391 -0
  28. package/build/cjs/integrations/context.js.map +1 -0
  29. package/build/cjs/integrations/contextlines.js +251 -0
  30. package/build/cjs/integrations/contextlines.js.map +1 -0
  31. package/build/cjs/integrations/fs/index.js +1 -1
  32. package/build/cjs/integrations/fs/index.js.map +1 -1
  33. package/build/cjs/integrations/fs/vendored/constants.js.map +1 -1
  34. package/build/cjs/integrations/http/SentryHttpInstrumentation.js +67 -0
  35. package/build/cjs/integrations/http/SentryHttpInstrumentation.js.map +1 -0
  36. package/build/cjs/integrations/http/httpServerIntegration.js +77 -0
  37. package/build/cjs/integrations/http/httpServerIntegration.js.map +1 -0
  38. package/build/cjs/integrations/http/httpServerSpansIntegration.js +241 -0
  39. package/build/cjs/integrations/http/httpServerSpansIntegration.js.map +1 -0
  40. package/build/cjs/integrations/http/index.js +71 -0
  41. package/build/cjs/integrations/http/index.js.map +1 -0
  42. package/build/cjs/integrations/local-variables/common.js +20 -0
  43. package/build/cjs/integrations/local-variables/common.js.map +1 -0
  44. package/build/cjs/integrations/local-variables/index.js +10 -0
  45. package/build/cjs/integrations/local-variables/index.js.map +1 -0
  46. package/build/cjs/integrations/local-variables/local-variables-async.js +106 -0
  47. package/build/cjs/integrations/local-variables/local-variables-async.js.map +1 -0
  48. package/build/cjs/integrations/modules.js +98 -0
  49. package/build/cjs/integrations/modules.js.map +1 -0
  50. package/build/cjs/integrations/node-fetch/index.js +24 -0
  51. package/build/cjs/integrations/node-fetch/index.js.map +1 -0
  52. package/build/cjs/integrations/node-fetch/undici-instrumentation.js +262 -0
  53. package/build/cjs/integrations/node-fetch/undici-instrumentation.js.map +1 -0
  54. package/build/cjs/integrations/nodeRuntimeMetrics.js +181 -0
  55. package/build/cjs/integrations/nodeRuntimeMetrics.js.map +1 -0
  56. package/build/cjs/integrations/onuncaughtexception.js +92 -0
  57. package/build/cjs/integrations/onuncaughtexception.js.map +1 -0
  58. package/build/cjs/integrations/onunhandledrejection.js +92 -0
  59. package/build/cjs/integrations/onunhandledrejection.js.map +1 -0
  60. package/build/cjs/integrations/pino.js +116 -0
  61. package/build/cjs/integrations/pino.js.map +1 -0
  62. package/build/cjs/integrations/processSession.js +22 -0
  63. package/build/cjs/integrations/processSession.js.map +1 -0
  64. package/build/cjs/integrations/spotlight.js +79 -0
  65. package/build/cjs/integrations/spotlight.js.map +1 -0
  66. package/build/cjs/integrations/systemError.js +54 -0
  67. package/build/cjs/integrations/systemError.js.map +1 -0
  68. package/build/cjs/integrations/tracing/express.js +0 -52
  69. package/build/cjs/integrations/tracing/express.js.map +1 -1
  70. package/build/cjs/integrations/tracing/fastify/index.js +1 -16
  71. package/build/cjs/integrations/tracing/fastify/index.js.map +1 -1
  72. package/build/cjs/integrations/tracing/hapi/index.js +0 -16
  73. package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
  74. package/build/cjs/integrations/tracing/index.js +29 -87
  75. package/build/cjs/integrations/tracing/index.js.map +1 -1
  76. package/build/cjs/integrations/tracing/koa/index.js +0 -24
  77. package/build/cjs/integrations/tracing/koa/index.js.map +1 -1
  78. package/build/cjs/integrations/tracing/redis/cache.js +6 -4
  79. package/build/cjs/integrations/tracing/redis/cache.js.map +1 -1
  80. package/build/cjs/integrations/tracing/redis/index.js +10 -26
  81. package/build/cjs/integrations/tracing/redis/index.js.map +1 -1
  82. package/build/cjs/integrations/winston.js +84 -0
  83. package/build/cjs/integrations/winston.js.map +1 -0
  84. package/build/cjs/logs/capture.js +26 -0
  85. package/build/cjs/logs/capture.js.map +1 -0
  86. package/build/cjs/logs/exports.js +32 -0
  87. package/build/cjs/logs/exports.js.map +1 -0
  88. package/build/cjs/nodeVersion.js +10 -0
  89. package/build/cjs/nodeVersion.js.map +1 -0
  90. package/build/cjs/otel/logger.js +21 -0
  91. package/build/cjs/otel/logger.js.map +1 -0
  92. package/build/cjs/proxy/base.js +69 -0
  93. package/build/cjs/proxy/base.js.map +1 -0
  94. package/build/cjs/proxy/index.js +112 -0
  95. package/build/cjs/proxy/index.js.map +1 -0
  96. package/build/cjs/proxy/parse-proxy-response.js +88 -0
  97. package/build/cjs/proxy/parse-proxy-response.js.map +1 -0
  98. package/build/cjs/sdk/api.js +61 -0
  99. package/build/cjs/sdk/api.js.map +1 -0
  100. package/build/cjs/sdk/client.js +113 -0
  101. package/build/cjs/sdk/client.js.map +1 -0
  102. package/build/cjs/sdk/index.js +183 -41
  103. package/build/cjs/sdk/index.js.map +1 -1
  104. package/build/cjs/sdk/initOtel.js +9 -95
  105. package/build/cjs/sdk/initOtel.js.map +1 -1
  106. package/build/cjs/transports/http.js +102 -0
  107. package/build/cjs/transports/http.js.map +1 -0
  108. package/build/cjs/utils/debug.js +17 -0
  109. package/build/cjs/utils/debug.js.map +1 -0
  110. package/build/cjs/utils/entry-point.js +36 -0
  111. package/build/cjs/utils/entry-point.js.map +1 -0
  112. package/build/cjs/utils/errorhandling.js +33 -0
  113. package/build/cjs/utils/errorhandling.js.map +1 -0
  114. package/build/cjs/utils/module.js +37 -0
  115. package/build/cjs/utils/module.js.map +1 -0
  116. package/build/cjs/utils/outgoingFetchRequest.js +178 -0
  117. package/build/cjs/utils/outgoingFetchRequest.js.map +1 -0
  118. package/build/cjs/utils/spotlight.js +18 -0
  119. package/build/cjs/utils/spotlight.js.map +1 -0
  120. package/build/esm/bundler-plugin/esbuild.js +17 -0
  121. package/build/esm/bundler-plugin/esbuild.js.map +1 -0
  122. package/build/esm/bundler-plugin/rollup.js +10 -0
  123. package/build/esm/bundler-plugin/rollup.js.map +1 -0
  124. package/build/esm/bundler-plugin/vite.js +10 -0
  125. package/build/esm/bundler-plugin/vite.js.map +1 -0
  126. package/build/esm/bundler-plugin/webpack.js +16 -0
  127. package/build/esm/bundler-plugin/webpack.js.map +1 -0
  128. package/build/esm/cron/common.js +50 -0
  129. package/build/esm/cron/common.js.map +1 -0
  130. package/build/esm/cron/cron.js +86 -0
  131. package/build/esm/cron/cron.js.map +1 -0
  132. package/build/esm/cron/index.js +12 -0
  133. package/build/esm/cron/index.js.map +1 -0
  134. package/build/esm/cron/node-cron.js +50 -0
  135. package/build/esm/cron/node-cron.js.map +1 -0
  136. package/build/esm/cron/node-schedule.js +39 -0
  137. package/build/esm/cron/node-schedule.js.map +1 -0
  138. package/build/esm/index.js +36 -36
  139. package/build/esm/integrations/anr/index.js +155 -0
  140. package/build/esm/integrations/anr/index.js.map +1 -0
  141. package/build/esm/integrations/anr/worker-script.js +2 -0
  142. package/build/esm/integrations/childProcess.js +79 -0
  143. package/build/esm/integrations/childProcess.js.map +1 -0
  144. package/build/esm/integrations/console.js +93 -0
  145. package/build/esm/integrations/console.js.map +1 -0
  146. package/build/esm/integrations/context.js +383 -0
  147. package/build/esm/integrations/context.js.map +1 -0
  148. package/build/esm/integrations/contextlines.js +245 -0
  149. package/build/esm/integrations/contextlines.js.map +1 -0
  150. package/build/esm/integrations/fs/index.js +1 -1
  151. package/build/esm/integrations/fs/index.js.map +1 -1
  152. package/build/esm/integrations/fs/vendored/constants.js.map +1 -1
  153. package/build/esm/integrations/http/SentryHttpInstrumentation.js +65 -0
  154. package/build/esm/integrations/http/SentryHttpInstrumentation.js.map +1 -0
  155. package/build/esm/integrations/http/httpServerIntegration.js +74 -0
  156. package/build/esm/integrations/http/httpServerIntegration.js.map +1 -0
  157. package/build/esm/integrations/http/httpServerSpansIntegration.js +238 -0
  158. package/build/esm/integrations/http/httpServerSpansIntegration.js.map +1 -0
  159. package/build/esm/integrations/http/index.js +69 -0
  160. package/build/esm/integrations/http/index.js.map +1 -0
  161. package/build/esm/integrations/local-variables/common.js +15 -0
  162. package/build/esm/integrations/local-variables/common.js.map +1 -0
  163. package/build/esm/integrations/local-variables/index.js +8 -0
  164. package/build/esm/integrations/local-variables/index.js.map +1 -0
  165. package/build/esm/integrations/local-variables/local-variables-async.js +103 -0
  166. package/build/esm/integrations/local-variables/local-variables-async.js.map +1 -0
  167. package/build/esm/integrations/local-variables/worker-script.js +2 -0
  168. package/build/esm/integrations/modules.js +57 -0
  169. package/build/esm/integrations/modules.js.map +1 -0
  170. package/build/esm/integrations/node-fetch/index.js +22 -0
  171. package/build/esm/integrations/node-fetch/index.js.map +1 -0
  172. package/build/esm/integrations/node-fetch/undici-instrumentation.js +260 -0
  173. package/build/esm/integrations/node-fetch/undici-instrumentation.js.map +1 -0
  174. package/build/esm/integrations/nodeRuntimeMetrics.js +178 -0
  175. package/build/esm/integrations/nodeRuntimeMetrics.js.map +1 -0
  176. package/build/esm/integrations/onuncaughtexception.js +89 -0
  177. package/build/esm/integrations/onuncaughtexception.js.map +1 -0
  178. package/build/esm/integrations/onunhandledrejection.js +89 -0
  179. package/build/esm/integrations/onunhandledrejection.js.map +1 -0
  180. package/build/esm/integrations/pino.js +114 -0
  181. package/build/esm/integrations/pino.js.map +1 -0
  182. package/build/esm/integrations/processSession.js +20 -0
  183. package/build/esm/integrations/processSession.js.map +1 -0
  184. package/build/esm/integrations/spotlight.js +76 -0
  185. package/build/esm/integrations/spotlight.js.map +1 -0
  186. package/build/esm/integrations/systemError.js +52 -0
  187. package/build/esm/integrations/systemError.js.map +1 -0
  188. package/build/esm/integrations/tracing/express.js +2 -51
  189. package/build/esm/integrations/tracing/express.js.map +1 -1
  190. package/build/esm/integrations/tracing/fastify/index.js +3 -17
  191. package/build/esm/integrations/tracing/fastify/index.js.map +1 -1
  192. package/build/esm/integrations/tracing/hapi/index.js +2 -16
  193. package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
  194. package/build/esm/integrations/tracing/index.js +12 -69
  195. package/build/esm/integrations/tracing/index.js.map +1 -1
  196. package/build/esm/integrations/tracing/koa/index.js +2 -24
  197. package/build/esm/integrations/tracing/koa/index.js.map +1 -1
  198. package/build/esm/integrations/tracing/redis/cache.js +7 -5
  199. package/build/esm/integrations/tracing/redis/cache.js.map +1 -1
  200. package/build/esm/integrations/tracing/redis/index.js +11 -26
  201. package/build/esm/integrations/tracing/redis/index.js.map +1 -1
  202. package/build/esm/integrations/winston.js +82 -0
  203. package/build/esm/integrations/winston.js.map +1 -0
  204. package/build/esm/logs/capture.js +24 -0
  205. package/build/esm/logs/capture.js.map +1 -0
  206. package/build/esm/logs/exports.js +24 -0
  207. package/build/esm/logs/exports.js.map +1 -0
  208. package/build/esm/nodeVersion.js +8 -0
  209. package/build/esm/nodeVersion.js.map +1 -0
  210. package/build/esm/otel/logger.js +19 -0
  211. package/build/esm/otel/logger.js.map +1 -0
  212. package/build/esm/package.json +1 -1
  213. package/build/esm/proxy/base.js +67 -0
  214. package/build/esm/proxy/base.js.map +1 -0
  215. package/build/esm/proxy/index.js +110 -0
  216. package/build/esm/proxy/index.js.map +1 -0
  217. package/build/esm/proxy/parse-proxy-response.js +86 -0
  218. package/build/esm/proxy/parse-proxy-response.js.map +1 -0
  219. package/build/esm/sdk/api.js +58 -0
  220. package/build/esm/sdk/api.js.map +1 -0
  221. package/build/esm/sdk/client.js +111 -0
  222. package/build/esm/sdk/client.js.map +1 -0
  223. package/build/esm/sdk/index.js +184 -41
  224. package/build/esm/sdk/index.js.map +1 -1
  225. package/build/esm/sdk/initOtel.js +12 -96
  226. package/build/esm/sdk/initOtel.js.map +1 -1
  227. package/build/esm/transports/http.js +100 -0
  228. package/build/esm/transports/http.js.map +1 -0
  229. package/build/esm/utils/debug.js +15 -0
  230. package/build/esm/utils/debug.js.map +1 -0
  231. package/build/esm/utils/entry-point.js +33 -0
  232. package/build/esm/utils/entry-point.js.map +1 -0
  233. package/build/esm/utils/errorhandling.js +31 -0
  234. package/build/esm/utils/errorhandling.js.map +1 -0
  235. package/build/esm/utils/module.js +35 -0
  236. package/build/esm/utils/module.js.map +1 -0
  237. package/build/esm/utils/outgoingFetchRequest.js +174 -0
  238. package/build/esm/utils/outgoingFetchRequest.js.map +1 -0
  239. package/build/esm/utils/spotlight.js +16 -0
  240. package/build/esm/utils/spotlight.js.map +1 -0
  241. package/build/import-hook.mjs +0 -10
  242. package/build/types/bundler-plugin/esbuild.d.ts +34 -0
  243. package/build/types/bundler-plugin/esbuild.d.ts.map +1 -0
  244. package/build/types/bundler-plugin/rollup.d.ts +35 -0
  245. package/build/types/bundler-plugin/rollup.d.ts.map +1 -0
  246. package/build/types/bundler-plugin/vite.d.ts +36 -0
  247. package/build/types/bundler-plugin/vite.d.ts.map +1 -0
  248. package/build/types/bundler-plugin/webpack.d.ts +37 -0
  249. package/build/types/bundler-plugin/webpack.d.ts.map +1 -0
  250. package/build/types/cron/common.d.ts +5 -0
  251. package/build/types/cron/common.d.ts.map +1 -0
  252. package/build/types/cron/cron.d.ts +43 -0
  253. package/build/types/cron/cron.d.ts.map +1 -0
  254. package/build/types/cron/index.d.ts +10 -0
  255. package/build/types/cron/index.d.ts.map +1 -0
  256. package/build/types/cron/node-cron.d.ts +28 -0
  257. package/build/types/cron/node-cron.d.ts.map +1 -0
  258. package/build/types/cron/node-schedule.d.ts +19 -0
  259. package/build/types/cron/node-schedule.d.ts.map +1 -0
  260. package/build/types/index.d.ts +34 -34
  261. package/build/types/index.d.ts.map +1 -1
  262. package/build/types/integrations/anr/common.d.ts +79 -0
  263. package/build/types/integrations/anr/common.d.ts.map +1 -0
  264. package/build/types/integrations/anr/index.d.ts +59 -0
  265. package/build/types/integrations/anr/index.d.ts.map +1 -0
  266. package/build/types/integrations/anr/worker.d.ts +2 -0
  267. package/build/types/integrations/anr/worker.d.ts.map +1 -0
  268. package/build/types/integrations/childProcess.d.ts +22 -0
  269. package/build/types/integrations/childProcess.d.ts.map +1 -0
  270. package/build/types/integrations/console.d.ts +23 -0
  271. package/build/types/integrations/console.d.ts.map +1 -0
  272. package/build/types/integrations/context.d.ts +33 -0
  273. package/build/types/integrations/context.d.ts.map +1 -0
  274. package/build/types/integrations/contextlines.d.ts +35 -0
  275. package/build/types/integrations/contextlines.d.ts.map +1 -0
  276. package/build/types/integrations/featureFlagShims/openFeature.d.ts.map +1 -1
  277. package/build/types/integrations/fs/index.d.ts.map +1 -1
  278. package/build/types/integrations/http/SentryHttpInstrumentation.d.ts +102 -0
  279. package/build/types/integrations/http/SentryHttpInstrumentation.d.ts.map +1 -0
  280. package/build/types/integrations/http/httpServerIntegration.d.ts +67 -0
  281. package/build/types/integrations/http/httpServerIntegration.d.ts.map +1 -0
  282. package/build/types/integrations/http/httpServerSpansIntegration.d.ts +59 -0
  283. package/build/types/integrations/http/httpServerSpansIntegration.d.ts.map +1 -0
  284. package/build/types/integrations/http/index.d.ts +127 -0
  285. package/build/types/integrations/http/index.d.ts.map +1 -0
  286. package/build/types/integrations/local-variables/common.d.ts +79 -0
  287. package/build/types/integrations/local-variables/common.d.ts.map +1 -0
  288. package/build/types/integrations/local-variables/index.d.ts +4 -0
  289. package/build/types/integrations/local-variables/index.d.ts.map +1 -0
  290. package/build/types/integrations/local-variables/local-variables-async.d.ts +9 -0
  291. package/build/types/integrations/local-variables/local-variables-async.d.ts.map +1 -0
  292. package/build/types/integrations/local-variables/worker.d.ts +2 -0
  293. package/build/types/integrations/local-variables/worker.d.ts.map +1 -0
  294. package/build/types/integrations/modules.d.ts +17 -0
  295. package/build/types/integrations/modules.d.ts.map +1 -0
  296. package/build/types/integrations/node-fetch/index.d.ts +9 -0
  297. package/build/types/integrations/node-fetch/index.d.ts.map +1 -0
  298. package/build/types/integrations/node-fetch/types.d.ts +95 -0
  299. package/build/types/integrations/node-fetch/types.d.ts.map +1 -0
  300. package/build/types/integrations/node-fetch/undici-instrumentation.d.ts +17 -0
  301. package/build/types/integrations/node-fetch/undici-instrumentation.d.ts.map +1 -0
  302. package/build/types/integrations/nodeRuntimeMetrics.d.ts +66 -0
  303. package/build/types/integrations/nodeRuntimeMetrics.d.ts.map +1 -0
  304. package/build/types/integrations/onuncaughtexception.d.ts +33 -0
  305. package/build/types/integrations/onuncaughtexception.d.ts.map +1 -0
  306. package/build/types/integrations/onunhandledrejection.d.ts +22 -0
  307. package/build/types/integrations/onunhandledrejection.d.ts.map +1 -0
  308. package/build/types/integrations/pino.d.ts +61 -0
  309. package/build/types/integrations/pino.d.ts.map +1 -0
  310. package/build/types/integrations/processSession.d.ts +7 -0
  311. package/build/types/integrations/processSession.d.ts.map +1 -0
  312. package/build/types/integrations/spotlight.d.ts +18 -0
  313. package/build/types/integrations/spotlight.d.ts.map +1 -0
  314. package/build/types/integrations/systemError.d.ts +14 -0
  315. package/build/types/integrations/systemError.d.ts.map +1 -0
  316. package/build/types/integrations/tracing/express.d.ts +1 -14
  317. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  318. package/build/types/integrations/tracing/fastify/index.d.ts +1 -5
  319. package/build/types/integrations/tracing/fastify/index.d.ts.map +1 -1
  320. package/build/types/integrations/tracing/hapi/index.d.ts +0 -23
  321. package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  322. package/build/types/integrations/tracing/index.d.ts +0 -9
  323. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  324. package/build/types/integrations/tracing/koa/index.d.ts +0 -46
  325. package/build/types/integrations/tracing/koa/index.d.ts.map +1 -1
  326. package/build/types/integrations/tracing/redis/cache.d.ts.map +1 -1
  327. package/build/types/integrations/tracing/redis/index.d.ts +0 -7
  328. package/build/types/integrations/tracing/redis/index.d.ts.map +1 -1
  329. package/build/types/integrations/tracing/redis/vendored/types.d.ts +0 -15
  330. package/build/types/integrations/tracing/redis/vendored/types.d.ts.map +1 -1
  331. package/build/types/integrations/winston.d.ts +55 -0
  332. package/build/types/integrations/winston.d.ts.map +1 -0
  333. package/build/types/logs/capture.d.ts +29 -0
  334. package/build/types/logs/capture.d.ts.map +1 -0
  335. package/build/types/logs/exports.d.ts +150 -0
  336. package/build/types/logs/exports.d.ts.map +1 -0
  337. package/build/types/nodeVersion.d.ts +8 -0
  338. package/build/types/nodeVersion.d.ts.map +1 -0
  339. package/build/types/otel/logger.d.ts +5 -0
  340. package/build/types/otel/logger.d.ts.map +1 -0
  341. package/build/types/proxy/base.d.ts +61 -0
  342. package/build/types/proxy/base.d.ts.map +1 -0
  343. package/build/types/proxy/helpers.d.ts +37 -0
  344. package/build/types/proxy/helpers.d.ts.map +1 -0
  345. package/build/types/proxy/index.d.ts +70 -0
  346. package/build/types/proxy/index.d.ts.map +1 -0
  347. package/build/types/proxy/parse-proxy-response.d.ts +39 -0
  348. package/build/types/proxy/parse-proxy-response.d.ts.map +1 -0
  349. package/build/types/sdk/api.d.ts +8 -0
  350. package/build/types/sdk/api.d.ts.map +1 -0
  351. package/build/types/sdk/client.d.ts +31 -0
  352. package/build/types/sdk/client.d.ts.map +1 -0
  353. package/build/types/sdk/index.d.ts +1 -19
  354. package/build/types/sdk/index.d.ts.map +1 -1
  355. package/build/types/sdk/initOtel.d.ts +4 -22
  356. package/build/types/sdk/initOtel.d.ts.map +1 -1
  357. package/build/types/sdk/scope.d.ts +7 -0
  358. package/build/types/sdk/scope.d.ts.map +1 -0
  359. package/build/types/transports/http-module.d.ts +27 -0
  360. package/build/types/transports/http-module.d.ts.map +1 -0
  361. package/build/types/transports/http.d.ts +17 -0
  362. package/build/types/transports/http.d.ts.map +1 -0
  363. package/build/types/transports/index.d.ts +3 -0
  364. package/build/types/transports/index.d.ts.map +1 -0
  365. package/build/types/types.d.ts +23 -39
  366. package/build/types/types.d.ts.map +1 -1
  367. package/build/types/utils/addOriginToSpan.d.ts +5 -0
  368. package/build/types/utils/addOriginToSpan.d.ts.map +1 -0
  369. package/build/types/utils/debug.d.ts +5 -0
  370. package/build/types/utils/debug.d.ts.map +1 -0
  371. package/build/types/utils/entry-point.d.ts +24 -0
  372. package/build/types/utils/entry-point.d.ts.map +1 -0
  373. package/build/types/utils/errorhandling.d.ts +5 -0
  374. package/build/types/utils/errorhandling.d.ts.map +1 -0
  375. package/build/types/utils/module.d.ts +3 -0
  376. package/build/types/utils/module.d.ts.map +1 -0
  377. package/build/types/utils/outgoingFetchRequest.d.ts +20 -0
  378. package/build/types/utils/outgoingFetchRequest.d.ts.map +1 -0
  379. package/build/types/utils/prepareEvent.d.ts +17 -0
  380. package/build/types/utils/prepareEvent.d.ts.map +1 -0
  381. package/build/types/utils/spotlight.d.ts +8 -0
  382. package/build/types/utils/spotlight.d.ts.map +1 -0
  383. package/package.json +38 -32
  384. package/build/cjs/init.js +0 -4
  385. package/build/cjs/init.js.map +0 -1
  386. package/build/cjs/integrations/http.js +0 -69
  387. package/build/cjs/integrations/http.js.map +0 -1
  388. package/build/cjs/integrations/node-fetch.js +0 -24
  389. package/build/cjs/integrations/node-fetch.js.map +0 -1
  390. package/build/cjs/integrations/tracing/InstrumentationNodeModuleFile.js +0 -15
  391. package/build/cjs/integrations/tracing/InstrumentationNodeModuleFile.js.map +0 -1
  392. package/build/cjs/integrations/tracing/amqplib/index.js +0 -21
  393. package/build/cjs/integrations/tracing/amqplib/index.js.map +0 -1
  394. package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js +0 -117
  395. package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js.map +0 -1
  396. package/build/cjs/integrations/tracing/amqplib/vendored/patches.js +0 -185
  397. package/build/cjs/integrations/tracing/amqplib/vendored/patches.js.map +0 -1
  398. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js +0 -26
  399. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js.map +0 -1
  400. package/build/cjs/integrations/tracing/amqplib/vendored/types.js +0 -17
  401. package/build/cjs/integrations/tracing/amqplib/vendored/types.js.map +0 -1
  402. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js +0 -129
  403. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js.map +0 -1
  404. package/build/cjs/integrations/tracing/anthropic-ai/index.js +0 -24
  405. package/build/cjs/integrations/tracing/anthropic-ai/index.js.map +0 -1
  406. package/build/cjs/integrations/tracing/anthropic-ai/instrumentation.js +0 -72
  407. package/build/cjs/integrations/tracing/anthropic-ai/instrumentation.js.map +0 -1
  408. package/build/cjs/integrations/tracing/connect/index.js +0 -35
  409. package/build/cjs/integrations/tracing/connect/index.js.map +0 -1
  410. package/build/cjs/integrations/tracing/connect/vendored/enums/AttributeNames.js +0 -16
  411. package/build/cjs/integrations/tracing/connect/vendored/enums/AttributeNames.js.map +0 -1
  412. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js +0 -137
  413. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js.map +0 -1
  414. package/build/cjs/integrations/tracing/connect/vendored/internal-types.js +0 -8
  415. package/build/cjs/integrations/tracing/connect/vendored/internal-types.js.map +0 -1
  416. package/build/cjs/integrations/tracing/connect/vendored/utils.js +0 -36
  417. package/build/cjs/integrations/tracing/connect/vendored/utils.js.map +0 -1
  418. package/build/cjs/integrations/tracing/dataloader/index.js +0 -26
  419. package/build/cjs/integrations/tracing/dataloader/index.js.map +0 -1
  420. package/build/cjs/integrations/tracing/dataloader/vendored/instrumentation.js +0 -227
  421. package/build/cjs/integrations/tracing/dataloader/vendored/instrumentation.js.map +0 -1
  422. package/build/cjs/integrations/tracing/fastify/v3/constants.js +0 -6
  423. package/build/cjs/integrations/tracing/fastify/v3/constants.js.map +0 -1
  424. package/build/cjs/integrations/tracing/fastify/v3/enums/AttributeNames.js +0 -24
  425. package/build/cjs/integrations/tracing/fastify/v3/enums/AttributeNames.js.map +0 -1
  426. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js +0 -220
  427. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js.map +0 -1
  428. package/build/cjs/integrations/tracing/fastify/v3/utils.js +0 -64
  429. package/build/cjs/integrations/tracing/fastify/v3/utils.js.map +0 -1
  430. package/build/cjs/integrations/tracing/firebase/firebase.js +0 -21
  431. package/build/cjs/integrations/tracing/firebase/firebase.js.map +0 -1
  432. package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js +0 -28
  433. package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +0 -1
  434. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js +0 -155
  435. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js.map +0 -1
  436. package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js +0 -141
  437. package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js.map +0 -1
  438. package/build/cjs/integrations/tracing/genericPool/index.js +0 -21
  439. package/build/cjs/integrations/tracing/genericPool/index.js.map +0 -1
  440. package/build/cjs/integrations/tracing/genericPool/vendored/instrumentation.js +0 -122
  441. package/build/cjs/integrations/tracing/genericPool/vendored/instrumentation.js.map +0 -1
  442. package/build/cjs/integrations/tracing/google-genai/index.js +0 -23
  443. package/build/cjs/integrations/tracing/google-genai/index.js.map +0 -1
  444. package/build/cjs/integrations/tracing/google-genai/instrumentation.js +0 -68
  445. package/build/cjs/integrations/tracing/google-genai/instrumentation.js.map +0 -1
  446. package/build/cjs/integrations/tracing/graphql/index.js +0 -34
  447. package/build/cjs/integrations/tracing/graphql/index.js.map +0 -1
  448. package/build/cjs/integrations/tracing/graphql/vendored/enum.js +0 -47
  449. package/build/cjs/integrations/tracing/graphql/vendored/enum.js.map +0 -1
  450. package/build/cjs/integrations/tracing/graphql/vendored/enums/AttributeNames.js +0 -15
  451. package/build/cjs/integrations/tracing/graphql/vendored/enums/AttributeNames.js.map +0 -1
  452. package/build/cjs/integrations/tracing/graphql/vendored/instrumentation.js +0 -329
  453. package/build/cjs/integrations/tracing/graphql/vendored/instrumentation.js.map +0 -1
  454. package/build/cjs/integrations/tracing/graphql/vendored/internal-types.js +0 -6
  455. package/build/cjs/integrations/tracing/graphql/vendored/internal-types.js.map +0 -1
  456. package/build/cjs/integrations/tracing/graphql/vendored/symbols.js +0 -8
  457. package/build/cjs/integrations/tracing/graphql/vendored/symbols.js.map +0 -1
  458. package/build/cjs/integrations/tracing/graphql/vendored/utils.js +0 -265
  459. package/build/cjs/integrations/tracing/graphql/vendored/utils.js.map +0 -1
  460. package/build/cjs/integrations/tracing/hapi/vendored/enums/AttributeNames.js +0 -11
  461. package/build/cjs/integrations/tracing/hapi/vendored/enums/AttributeNames.js.map +0 -1
  462. package/build/cjs/integrations/tracing/hapi/vendored/instrumentation.js +0 -255
  463. package/build/cjs/integrations/tracing/hapi/vendored/instrumentation.js.map +0 -1
  464. package/build/cjs/integrations/tracing/hapi/vendored/internal-types.js +0 -24
  465. package/build/cjs/integrations/tracing/hapi/vendored/internal-types.js.map +0 -1
  466. package/build/cjs/integrations/tracing/hapi/vendored/utils.js +0 -85
  467. package/build/cjs/integrations/tracing/hapi/vendored/utils.js.map +0 -1
  468. package/build/cjs/integrations/tracing/hono/constants.js +0 -14
  469. package/build/cjs/integrations/tracing/hono/constants.js.map +0 -1
  470. package/build/cjs/integrations/tracing/hono/index.js +0 -86
  471. package/build/cjs/integrations/tracing/hono/index.js.map +0 -1
  472. package/build/cjs/integrations/tracing/hono/instrumentation.js +0 -201
  473. package/build/cjs/integrations/tracing/hono/instrumentation.js.map +0 -1
  474. package/build/cjs/integrations/tracing/kafka/index.js +0 -21
  475. package/build/cjs/integrations/tracing/kafka/index.js.map +0 -1
  476. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js +0 -237
  477. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js.map +0 -1
  478. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js +0 -22
  479. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js.map +0 -1
  480. package/build/cjs/integrations/tracing/kafka/vendored/utils.js +0 -114
  481. package/build/cjs/integrations/tracing/kafka/vendored/utils.js.map +0 -1
  482. package/build/cjs/integrations/tracing/knex/index.js +0 -26
  483. package/build/cjs/integrations/tracing/knex/index.js.map +0 -1
  484. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js +0 -135
  485. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js.map +0 -1
  486. package/build/cjs/integrations/tracing/knex/vendored/semconv.js +0 -10
  487. package/build/cjs/integrations/tracing/knex/vendored/semconv.js.map +0 -1
  488. package/build/cjs/integrations/tracing/knex/vendored/utils.js +0 -84
  489. package/build/cjs/integrations/tracing/knex/vendored/utils.js.map +0 -1
  490. package/build/cjs/integrations/tracing/koa/vendored/enums/AttributeNames.js +0 -10
  491. package/build/cjs/integrations/tracing/koa/vendored/enums/AttributeNames.js.map +0 -1
  492. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js +0 -127
  493. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js.map +0 -1
  494. package/build/cjs/integrations/tracing/koa/vendored/internal-types.js +0 -6
  495. package/build/cjs/integrations/tracing/koa/vendored/internal-types.js.map +0 -1
  496. package/build/cjs/integrations/tracing/koa/vendored/types.js +0 -10
  497. package/build/cjs/integrations/tracing/koa/vendored/types.js.map +0 -1
  498. package/build/cjs/integrations/tracing/koa/vendored/utils.js +0 -36
  499. package/build/cjs/integrations/tracing/koa/vendored/utils.js.map +0 -1
  500. package/build/cjs/integrations/tracing/langchain/index.js +0 -23
  501. package/build/cjs/integrations/tracing/langchain/index.js.map +0 -1
  502. package/build/cjs/integrations/tracing/langchain/instrumentation.js +0 -160
  503. package/build/cjs/integrations/tracing/langchain/instrumentation.js.map +0 -1
  504. package/build/cjs/integrations/tracing/langgraph/index.js +0 -23
  505. package/build/cjs/integrations/tracing/langgraph/index.js.map +0 -1
  506. package/build/cjs/integrations/tracing/langgraph/instrumentation.js +0 -96
  507. package/build/cjs/integrations/tracing/langgraph/instrumentation.js.map +0 -1
  508. package/build/cjs/integrations/tracing/lrumemoizer/index.js +0 -21
  509. package/build/cjs/integrations/tracing/lrumemoizer/index.js.map +0 -1
  510. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js +0 -38
  511. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +0 -1
  512. package/build/cjs/integrations/tracing/mongo/index.js +0 -21
  513. package/build/cjs/integrations/tracing/mongo/index.js.map +0 -1
  514. package/build/cjs/integrations/tracing/mongo/vendored/instrumentation.js +0 -129
  515. package/build/cjs/integrations/tracing/mongo/vendored/instrumentation.js.map +0 -1
  516. package/build/cjs/integrations/tracing/mongo/vendored/patches.js +0 -150
  517. package/build/cjs/integrations/tracing/mongo/vendored/patches.js.map +0 -1
  518. package/build/cjs/integrations/tracing/mongo/vendored/utils.js +0 -40
  519. package/build/cjs/integrations/tracing/mongo/vendored/utils.js.map +0 -1
  520. package/build/cjs/integrations/tracing/mongoose/index.js +0 -22
  521. package/build/cjs/integrations/tracing/mongoose/index.js.map +0 -1
  522. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js +0 -240
  523. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js.map +0 -1
  524. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js +0 -41
  525. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js.map +0 -1
  526. package/build/cjs/integrations/tracing/mysql/index.js +0 -21
  527. package/build/cjs/integrations/tracing/mysql/index.js.map +0 -1
  528. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js +0 -185
  529. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js.map +0 -1
  530. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js +0 -8
  531. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js.map +0 -1
  532. package/build/cjs/integrations/tracing/mysql/vendored/utils.js +0 -38
  533. package/build/cjs/integrations/tracing/mysql/vendored/utils.js.map +0 -1
  534. package/build/cjs/integrations/tracing/mysql2/index.js +0 -22
  535. package/build/cjs/integrations/tracing/mysql2/index.js.map +0 -1
  536. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js +0 -138
  537. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js.map +0 -1
  538. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js +0 -8
  539. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js.map +0 -1
  540. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js +0 -81
  541. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js.map +0 -1
  542. package/build/cjs/integrations/tracing/openai/index.js +0 -23
  543. package/build/cjs/integrations/tracing/openai/index.js.map +0 -1
  544. package/build/cjs/integrations/tracing/openai/instrumentation.js +0 -80
  545. package/build/cjs/integrations/tracing/openai/instrumentation.js.map +0 -1
  546. package/build/cjs/integrations/tracing/postgres/index.js +0 -27
  547. package/build/cjs/integrations/tracing/postgres/index.js.map +0 -1
  548. package/build/cjs/integrations/tracing/postgres/vendored/enums/AttributeNames.js +0 -11
  549. package/build/cjs/integrations/tracing/postgres/vendored/enums/AttributeNames.js.map +0 -1
  550. package/build/cjs/integrations/tracing/postgres/vendored/enums/SpanNames.js +0 -11
  551. package/build/cjs/integrations/tracing/postgres/vendored/enums/SpanNames.js.map +0 -1
  552. package/build/cjs/integrations/tracing/postgres/vendored/instrumentation.js +0 -225
  553. package/build/cjs/integrations/tracing/postgres/vendored/instrumentation.js.map +0 -1
  554. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js +0 -8
  555. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js.map +0 -1
  556. package/build/cjs/integrations/tracing/postgres/vendored/utils.js +0 -151
  557. package/build/cjs/integrations/tracing/postgres/vendored/utils.js.map +0 -1
  558. package/build/cjs/integrations/tracing/postgresjs.js +0 -265
  559. package/build/cjs/integrations/tracing/postgresjs.js.map +0 -1
  560. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js +0 -147
  561. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +0 -1
  562. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js +0 -445
  563. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js.map +0 -1
  564. package/build/cjs/integrations/tracing/redis/vendored/semconv.js +0 -8
  565. package/build/cjs/integrations/tracing/redis/vendored/semconv.js.map +0 -1
  566. package/build/cjs/integrations/tracing/tedious/index.js +0 -21
  567. package/build/cjs/integrations/tracing/tedious/index.js.map +0 -1
  568. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js +0 -154
  569. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js.map +0 -1
  570. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js +0 -8
  571. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js.map +0 -1
  572. package/build/cjs/integrations/tracing/tedious/vendored/utils.js +0 -29
  573. package/build/cjs/integrations/tracing/tedious/vendored/utils.js.map +0 -1
  574. package/build/cjs/integrations/tracing/vercelai/constants.js +0 -6
  575. package/build/cjs/integrations/tracing/vercelai/constants.js.map +0 -1
  576. package/build/cjs/integrations/tracing/vercelai/index.js +0 -36
  577. package/build/cjs/integrations/tracing/vercelai/index.js.map +0 -1
  578. package/build/cjs/integrations/tracing/vercelai/instrumentation.js +0 -176
  579. package/build/cjs/integrations/tracing/vercelai/instrumentation.js.map +0 -1
  580. package/build/cjs/preload.js +0 -8
  581. package/build/cjs/preload.js.map +0 -1
  582. package/build/cjs/sdk/diagnosticsChannelInjection.js +0 -21
  583. package/build/cjs/sdk/diagnosticsChannelInjection.js.map +0 -1
  584. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js +0 -33
  585. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js.map +0 -1
  586. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +0 -21
  587. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +0 -1
  588. package/build/esm/init.js +0 -4
  589. package/build/esm/init.js.map +0 -1
  590. package/build/esm/integrations/http.js +0 -66
  591. package/build/esm/integrations/http.js.map +0 -1
  592. package/build/esm/integrations/node-fetch.js +0 -22
  593. package/build/esm/integrations/node-fetch.js.map +0 -1
  594. package/build/esm/integrations/tracing/InstrumentationNodeModuleFile.js +0 -13
  595. package/build/esm/integrations/tracing/InstrumentationNodeModuleFile.js.map +0 -1
  596. package/build/esm/integrations/tracing/amqplib/index.js +0 -18
  597. package/build/esm/integrations/tracing/amqplib/index.js.map +0 -1
  598. package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js +0 -115
  599. package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js.map +0 -1
  600. package/build/esm/integrations/tracing/amqplib/vendored/patches.js +0 -177
  601. package/build/esm/integrations/tracing/amqplib/vendored/patches.js.map +0 -1
  602. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js +0 -14
  603. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js.map +0 -1
  604. package/build/esm/integrations/tracing/amqplib/vendored/types.js +0 -15
  605. package/build/esm/integrations/tracing/amqplib/vendored/types.js.map +0 -1
  606. package/build/esm/integrations/tracing/amqplib/vendored/utils.js +0 -117
  607. package/build/esm/integrations/tracing/amqplib/vendored/utils.js.map +0 -1
  608. package/build/esm/integrations/tracing/anthropic-ai/index.js +0 -21
  609. package/build/esm/integrations/tracing/anthropic-ai/index.js.map +0 -1
  610. package/build/esm/integrations/tracing/anthropic-ai/instrumentation.js +0 -70
  611. package/build/esm/integrations/tracing/anthropic-ai/instrumentation.js.map +0 -1
  612. package/build/esm/integrations/tracing/connect/index.js +0 -31
  613. package/build/esm/integrations/tracing/connect/index.js.map +0 -1
  614. package/build/esm/integrations/tracing/connect/vendored/enums/AttributeNames.js +0 -13
  615. package/build/esm/integrations/tracing/connect/vendored/enums/AttributeNames.js.map +0 -1
  616. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js +0 -135
  617. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js.map +0 -1
  618. package/build/esm/integrations/tracing/connect/vendored/internal-types.js +0 -6
  619. package/build/esm/integrations/tracing/connect/vendored/internal-types.js.map +0 -1
  620. package/build/esm/integrations/tracing/connect/vendored/utils.js +0 -32
  621. package/build/esm/integrations/tracing/connect/vendored/utils.js.map +0 -1
  622. package/build/esm/integrations/tracing/dataloader/index.js +0 -23
  623. package/build/esm/integrations/tracing/dataloader/index.js.map +0 -1
  624. package/build/esm/integrations/tracing/dataloader/vendored/instrumentation.js +0 -225
  625. package/build/esm/integrations/tracing/dataloader/vendored/instrumentation.js.map +0 -1
  626. package/build/esm/integrations/tracing/fastify/v3/constants.js +0 -4
  627. package/build/esm/integrations/tracing/fastify/v3/constants.js.map +0 -1
  628. package/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js +0 -20
  629. package/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js.map +0 -1
  630. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js +0 -218
  631. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js.map +0 -1
  632. package/build/esm/integrations/tracing/fastify/v3/utils.js +0 -60
  633. package/build/esm/integrations/tracing/fastify/v3/utils.js.map +0 -1
  634. package/build/esm/integrations/tracing/firebase/firebase.js +0 -18
  635. package/build/esm/integrations/tracing/firebase/firebase.js.map +0 -1
  636. package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js +0 -26
  637. package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +0 -1
  638. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js +0 -152
  639. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js.map +0 -1
  640. package/build/esm/integrations/tracing/firebase/otel/patches/functions.js +0 -138
  641. package/build/esm/integrations/tracing/firebase/otel/patches/functions.js.map +0 -1
  642. package/build/esm/integrations/tracing/genericPool/index.js +0 -18
  643. package/build/esm/integrations/tracing/genericPool/index.js.map +0 -1
  644. package/build/esm/integrations/tracing/genericPool/vendored/instrumentation.js +0 -120
  645. package/build/esm/integrations/tracing/genericPool/vendored/instrumentation.js.map +0 -1
  646. package/build/esm/integrations/tracing/google-genai/index.js +0 -20
  647. package/build/esm/integrations/tracing/google-genai/index.js.map +0 -1
  648. package/build/esm/integrations/tracing/google-genai/instrumentation.js +0 -66
  649. package/build/esm/integrations/tracing/google-genai/instrumentation.js.map +0 -1
  650. package/build/esm/integrations/tracing/graphql/index.js +0 -31
  651. package/build/esm/integrations/tracing/graphql/index.js.map +0 -1
  652. package/build/esm/integrations/tracing/graphql/vendored/enum.js +0 -43
  653. package/build/esm/integrations/tracing/graphql/vendored/enum.js.map +0 -1
  654. package/build/esm/integrations/tracing/graphql/vendored/enums/AttributeNames.js +0 -13
  655. package/build/esm/integrations/tracing/graphql/vendored/enums/AttributeNames.js.map +0 -1
  656. package/build/esm/integrations/tracing/graphql/vendored/instrumentation.js +0 -327
  657. package/build/esm/integrations/tracing/graphql/vendored/instrumentation.js.map +0 -1
  658. package/build/esm/integrations/tracing/graphql/vendored/internal-types.js +0 -4
  659. package/build/esm/integrations/tracing/graphql/vendored/internal-types.js.map +0 -1
  660. package/build/esm/integrations/tracing/graphql/vendored/symbols.js +0 -5
  661. package/build/esm/integrations/tracing/graphql/vendored/symbols.js.map +0 -1
  662. package/build/esm/integrations/tracing/graphql/vendored/utils.js +0 -257
  663. package/build/esm/integrations/tracing/graphql/vendored/utils.js.map +0 -1
  664. package/build/esm/integrations/tracing/hapi/vendored/enums/AttributeNames.js +0 -9
  665. package/build/esm/integrations/tracing/hapi/vendored/enums/AttributeNames.js.map +0 -1
  666. package/build/esm/integrations/tracing/hapi/vendored/instrumentation.js +0 -253
  667. package/build/esm/integrations/tracing/hapi/vendored/instrumentation.js.map +0 -1
  668. package/build/esm/integrations/tracing/hapi/vendored/internal-types.js +0 -19
  669. package/build/esm/integrations/tracing/hapi/vendored/internal-types.js.map +0 -1
  670. package/build/esm/integrations/tracing/hapi/vendored/utils.js +0 -76
  671. package/build/esm/integrations/tracing/hapi/vendored/utils.js.map +0 -1
  672. package/build/esm/integrations/tracing/hono/constants.js +0 -11
  673. package/build/esm/integrations/tracing/hono/constants.js.map +0 -1
  674. package/build/esm/integrations/tracing/hono/index.js +0 -82
  675. package/build/esm/integrations/tracing/hono/index.js.map +0 -1
  676. package/build/esm/integrations/tracing/hono/instrumentation.js +0 -199
  677. package/build/esm/integrations/tracing/hono/instrumentation.js.map +0 -1
  678. package/build/esm/integrations/tracing/kafka/index.js +0 -18
  679. package/build/esm/integrations/tracing/kafka/index.js.map +0 -1
  680. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js +0 -235
  681. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js.map +0 -1
  682. package/build/esm/integrations/tracing/kafka/vendored/semconv.js +0 -12
  683. package/build/esm/integrations/tracing/kafka/vendored/semconv.js.map +0 -1
  684. package/build/esm/integrations/tracing/kafka/vendored/utils.js +0 -108
  685. package/build/esm/integrations/tracing/kafka/vendored/utils.js.map +0 -1
  686. package/build/esm/integrations/tracing/knex/index.js +0 -23
  687. package/build/esm/integrations/tracing/knex/index.js.map +0 -1
  688. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js +0 -133
  689. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js.map +0 -1
  690. package/build/esm/integrations/tracing/knex/vendored/semconv.js +0 -6
  691. package/build/esm/integrations/tracing/knex/vendored/semconv.js.map +0 -1
  692. package/build/esm/integrations/tracing/knex/vendored/utils.js +0 -75
  693. package/build/esm/integrations/tracing/knex/vendored/utils.js.map +0 -1
  694. package/build/esm/integrations/tracing/koa/vendored/enums/AttributeNames.js +0 -8
  695. package/build/esm/integrations/tracing/koa/vendored/enums/AttributeNames.js.map +0 -1
  696. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js +0 -125
  697. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js.map +0 -1
  698. package/build/esm/integrations/tracing/koa/vendored/internal-types.js +0 -4
  699. package/build/esm/integrations/tracing/koa/vendored/internal-types.js.map +0 -1
  700. package/build/esm/integrations/tracing/koa/vendored/types.js +0 -8
  701. package/build/esm/integrations/tracing/koa/vendored/types.js.map +0 -1
  702. package/build/esm/integrations/tracing/koa/vendored/utils.js +0 -33
  703. package/build/esm/integrations/tracing/koa/vendored/utils.js.map +0 -1
  704. package/build/esm/integrations/tracing/langchain/index.js +0 -20
  705. package/build/esm/integrations/tracing/langchain/index.js.map +0 -1
  706. package/build/esm/integrations/tracing/langchain/instrumentation.js +0 -158
  707. package/build/esm/integrations/tracing/langchain/instrumentation.js.map +0 -1
  708. package/build/esm/integrations/tracing/langgraph/index.js +0 -20
  709. package/build/esm/integrations/tracing/langgraph/index.js.map +0 -1
  710. package/build/esm/integrations/tracing/langgraph/instrumentation.js +0 -94
  711. package/build/esm/integrations/tracing/langgraph/instrumentation.js.map +0 -1
  712. package/build/esm/integrations/tracing/lrumemoizer/index.js +0 -18
  713. package/build/esm/integrations/tracing/lrumemoizer/index.js.map +0 -1
  714. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js +0 -36
  715. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +0 -1
  716. package/build/esm/integrations/tracing/mongo/index.js +0 -18
  717. package/build/esm/integrations/tracing/mongo/index.js.map +0 -1
  718. package/build/esm/integrations/tracing/mongo/vendored/instrumentation.js +0 -127
  719. package/build/esm/integrations/tracing/mongo/vendored/instrumentation.js.map +0 -1
  720. package/build/esm/integrations/tracing/mongo/vendored/patches.js +0 -142
  721. package/build/esm/integrations/tracing/mongo/vendored/patches.js.map +0 -1
  722. package/build/esm/integrations/tracing/mongo/vendored/utils.js +0 -34
  723. package/build/esm/integrations/tracing/mongo/vendored/utils.js.map +0 -1
  724. package/build/esm/integrations/tracing/mongoose/index.js +0 -19
  725. package/build/esm/integrations/tracing/mongoose/index.js.map +0 -1
  726. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js +0 -236
  727. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js.map +0 -1
  728. package/build/esm/integrations/tracing/mongoose/vendored/utils.js +0 -38
  729. package/build/esm/integrations/tracing/mongoose/vendored/utils.js.map +0 -1
  730. package/build/esm/integrations/tracing/mysql/index.js +0 -18
  731. package/build/esm/integrations/tracing/mysql/index.js.map +0 -1
  732. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js +0 -183
  733. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js.map +0 -1
  734. package/build/esm/integrations/tracing/mysql/vendored/semconv.js +0 -5
  735. package/build/esm/integrations/tracing/mysql/vendored/semconv.js.map +0 -1
  736. package/build/esm/integrations/tracing/mysql/vendored/utils.js +0 -33
  737. package/build/esm/integrations/tracing/mysql/vendored/utils.js.map +0 -1
  738. package/build/esm/integrations/tracing/mysql2/index.js +0 -19
  739. package/build/esm/integrations/tracing/mysql2/index.js.map +0 -1
  740. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js +0 -136
  741. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js.map +0 -1
  742. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js +0 -5
  743. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js.map +0 -1
  744. package/build/esm/integrations/tracing/mysql2/vendored/utils.js +0 -75
  745. package/build/esm/integrations/tracing/mysql2/vendored/utils.js.map +0 -1
  746. package/build/esm/integrations/tracing/openai/index.js +0 -20
  747. package/build/esm/integrations/tracing/openai/index.js.map +0 -1
  748. package/build/esm/integrations/tracing/openai/instrumentation.js +0 -78
  749. package/build/esm/integrations/tracing/openai/instrumentation.js.map +0 -1
  750. package/build/esm/integrations/tracing/postgres/index.js +0 -24
  751. package/build/esm/integrations/tracing/postgres/index.js.map +0 -1
  752. package/build/esm/integrations/tracing/postgres/vendored/enums/AttributeNames.js +0 -9
  753. package/build/esm/integrations/tracing/postgres/vendored/enums/AttributeNames.js.map +0 -1
  754. package/build/esm/integrations/tracing/postgres/vendored/enums/SpanNames.js +0 -9
  755. package/build/esm/integrations/tracing/postgres/vendored/enums/SpanNames.js.map +0 -1
  756. package/build/esm/integrations/tracing/postgres/vendored/instrumentation.js +0 -223
  757. package/build/esm/integrations/tracing/postgres/vendored/instrumentation.js.map +0 -1
  758. package/build/esm/integrations/tracing/postgres/vendored/semconv.js +0 -5
  759. package/build/esm/integrations/tracing/postgres/vendored/semconv.js.map +0 -1
  760. package/build/esm/integrations/tracing/postgres/vendored/utils.js +0 -136
  761. package/build/esm/integrations/tracing/postgres/vendored/utils.js.map +0 -1
  762. package/build/esm/integrations/tracing/postgresjs.js +0 -261
  763. package/build/esm/integrations/tracing/postgresjs.js.map +0 -1
  764. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js +0 -145
  765. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +0 -1
  766. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js +0 -443
  767. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js.map +0 -1
  768. package/build/esm/integrations/tracing/redis/vendored/semconv.js +0 -5
  769. package/build/esm/integrations/tracing/redis/vendored/semconv.js.map +0 -1
  770. package/build/esm/integrations/tracing/tedious/index.js +0 -18
  771. package/build/esm/integrations/tracing/tedious/index.js.map +0 -1
  772. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js +0 -152
  773. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js.map +0 -1
  774. package/build/esm/integrations/tracing/tedious/vendored/semconv.js +0 -5
  775. package/build/esm/integrations/tracing/tedious/vendored/semconv.js.map +0 -1
  776. package/build/esm/integrations/tracing/tedious/vendored/utils.js +0 -26
  777. package/build/esm/integrations/tracing/tedious/vendored/utils.js.map +0 -1
  778. package/build/esm/integrations/tracing/vercelai/constants.js +0 -4
  779. package/build/esm/integrations/tracing/vercelai/constants.js.map +0 -1
  780. package/build/esm/integrations/tracing/vercelai/index.js +0 -33
  781. package/build/esm/integrations/tracing/vercelai/index.js.map +0 -1
  782. package/build/esm/integrations/tracing/vercelai/instrumentation.js +0 -171
  783. package/build/esm/integrations/tracing/vercelai/instrumentation.js.map +0 -1
  784. package/build/esm/preload.js +0 -8
  785. package/build/esm/preload.js.map +0 -1
  786. package/build/esm/sdk/diagnosticsChannelInjection.js +0 -17
  787. package/build/esm/sdk/diagnosticsChannelInjection.js.map +0 -1
  788. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js +0 -30
  789. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js.map +0 -1
  790. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +0 -19
  791. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +0 -1
  792. package/build/loader-hook.mjs +0 -1
  793. package/build/types/init.d.ts +0 -2
  794. package/build/types/init.d.ts.map +0 -1
  795. package/build/types/integrations/http.d.ts +0 -131
  796. package/build/types/integrations/http.d.ts.map +0 -1
  797. package/build/types/integrations/node-fetch.d.ts +0 -9
  798. package/build/types/integrations/node-fetch.d.ts.map +0 -1
  799. package/build/types/integrations/tracing/InstrumentationNodeModuleFile.d.ts +0 -9
  800. package/build/types/integrations/tracing/InstrumentationNodeModuleFile.d.ts.map +0 -1
  801. package/build/types/integrations/tracing/amqplib/index.d.ts +0 -22
  802. package/build/types/integrations/tracing/amqplib/index.d.ts.map +0 -1
  803. package/build/types/integrations/tracing/amqplib/vendored/amqplib-types.d.ts +0 -44
  804. package/build/types/integrations/tracing/amqplib/vendored/amqplib-types.d.ts.map +0 -1
  805. package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts +0 -11
  806. package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts.map +0 -1
  807. package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts +0 -11
  808. package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts.map +0 -1
  809. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -23
  810. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts.map +0 -1
  811. package/build/types/integrations/tracing/amqplib/vendored/types.d.ts +0 -49
  812. package/build/types/integrations/tracing/amqplib/vendored/types.d.ts.map +0 -1
  813. package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts +0 -42
  814. package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts.map +0 -1
  815. package/build/types/integrations/tracing/anthropic-ai/index.d.ts +0 -62
  816. package/build/types/integrations/tracing/anthropic-ai/index.d.ts.map +0 -1
  817. package/build/types/integrations/tracing/anthropic-ai/instrumentation.d.ts +0 -19
  818. package/build/types/integrations/tracing/anthropic-ai/instrumentation.d.ts.map +0 -1
  819. package/build/types/integrations/tracing/connect/index.d.ts +0 -48
  820. package/build/types/integrations/tracing/connect/index.d.ts.map +0 -1
  821. package/build/types/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts +0 -9
  822. package/build/types/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts.map +0 -1
  823. package/build/types/integrations/tracing/connect/vendored/instrumentation.d.ts +0 -18
  824. package/build/types/integrations/tracing/connect/vendored/instrumentation.d.ts.map +0 -1
  825. package/build/types/integrations/tracing/connect/vendored/internal-types.d.ts +0 -31
  826. package/build/types/integrations/tracing/connect/vendored/internal-types.d.ts.map +0 -1
  827. package/build/types/integrations/tracing/connect/vendored/utils.d.ts +0 -5
  828. package/build/types/integrations/tracing/connect/vendored/utils.d.ts.map +0 -1
  829. package/build/types/integrations/tracing/dataloader/index.d.ts +0 -22
  830. package/build/types/integrations/tracing/dataloader/index.d.ts.map +0 -1
  831. package/build/types/integrations/tracing/dataloader/vendored/instrumentation.d.ts +0 -18
  832. package/build/types/integrations/tracing/dataloader/vendored/instrumentation.d.ts.map +0 -1
  833. package/build/types/integrations/tracing/dataloader/vendored/types.d.ts +0 -22
  834. package/build/types/integrations/tracing/dataloader/vendored/types.d.ts.map +0 -1
  835. package/build/types/integrations/tracing/fastify/v3/constants.d.ts +0 -3
  836. package/build/types/integrations/tracing/fastify/v3/constants.d.ts.map +0 -1
  837. package/build/types/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts +0 -15
  838. package/build/types/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts.map +0 -1
  839. package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts +0 -16
  840. package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts.map +0 -1
  841. package/build/types/integrations/tracing/fastify/v3/internal-types.d.ts +0 -7
  842. package/build/types/integrations/tracing/fastify/v3/internal-types.d.ts.map +0 -1
  843. package/build/types/integrations/tracing/fastify/v3/types.d.ts +0 -21
  844. package/build/types/integrations/tracing/fastify/v3/types.d.ts.map +0 -1
  845. package/build/types/integrations/tracing/fastify/v3/utils.d.ts +0 -28
  846. package/build/types/integrations/tracing/fastify/v3/utils.d.ts.map +0 -1
  847. package/build/types/integrations/tracing/firebase/firebase.d.ts +0 -8
  848. package/build/types/integrations/tracing/firebase/firebase.d.ts.map +0 -1
  849. package/build/types/integrations/tracing/firebase/index.d.ts +0 -2
  850. package/build/types/integrations/tracing/firebase/index.d.ts.map +0 -1
  851. package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +0 -14
  852. package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts.map +0 -1
  853. package/build/types/integrations/tracing/firebase/otel/index.d.ts +0 -3
  854. package/build/types/integrations/tracing/firebase/otel/index.d.ts.map +0 -1
  855. package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts +0 -22
  856. package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts.map +0 -1
  857. package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts +0 -18
  858. package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts.map +0 -1
  859. package/build/types/integrations/tracing/firebase/otel/types.d.ts +0 -100
  860. package/build/types/integrations/tracing/firebase/otel/types.d.ts.map +0 -1
  861. package/build/types/integrations/tracing/genericPool/index.d.ts +0 -22
  862. package/build/types/integrations/tracing/genericPool/index.d.ts.map +0 -1
  863. package/build/types/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts +0 -5
  864. package/build/types/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts.map +0 -1
  865. package/build/types/integrations/tracing/genericPool/vendored/instrumentation.d.ts +0 -11
  866. package/build/types/integrations/tracing/genericPool/vendored/instrumentation.d.ts.map +0 -1
  867. package/build/types/integrations/tracing/google-genai/index.d.ts +0 -62
  868. package/build/types/integrations/tracing/google-genai/index.d.ts.map +0 -1
  869. package/build/types/integrations/tracing/google-genai/instrumentation.d.ts +0 -20
  870. package/build/types/integrations/tracing/google-genai/instrumentation.d.ts.map +0 -1
  871. package/build/types/integrations/tracing/graphql/index.d.ts +0 -50
  872. package/build/types/integrations/tracing/graphql/index.d.ts.map +0 -1
  873. package/build/types/integrations/tracing/graphql/vendored/enum.d.ts +0 -38
  874. package/build/types/integrations/tracing/graphql/vendored/enum.d.ts.map +0 -1
  875. package/build/types/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts +0 -10
  876. package/build/types/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts.map +0 -1
  877. package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts +0 -2
  878. package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts.map +0 -1
  879. package/build/types/integrations/tracing/graphql/vendored/instrumentation.d.ts +0 -25
  880. package/build/types/integrations/tracing/graphql/vendored/instrumentation.d.ts.map +0 -1
  881. package/build/types/integrations/tracing/graphql/vendored/internal-types.d.ts +0 -63
  882. package/build/types/integrations/tracing/graphql/vendored/internal-types.d.ts.map +0 -1
  883. package/build/types/integrations/tracing/graphql/vendored/symbols.d.ts +0 -3
  884. package/build/types/integrations/tracing/graphql/vendored/symbols.d.ts.map +0 -1
  885. package/build/types/integrations/tracing/graphql/vendored/types.d.ts +0 -33
  886. package/build/types/integrations/tracing/graphql/vendored/types.d.ts.map +0 -1
  887. package/build/types/integrations/tracing/graphql/vendored/utils.d.ts +0 -14
  888. package/build/types/integrations/tracing/graphql/vendored/utils.d.ts.map +0 -1
  889. package/build/types/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts +0 -6
  890. package/build/types/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts.map +0 -1
  891. package/build/types/integrations/tracing/hapi/vendored/hapi-types.d.ts +0 -70
  892. package/build/types/integrations/tracing/hapi/vendored/hapi-types.d.ts.map +0 -1
  893. package/build/types/integrations/tracing/hapi/vendored/instrumentation.d.ts +0 -72
  894. package/build/types/integrations/tracing/hapi/vendored/instrumentation.d.ts.map +0 -1
  895. package/build/types/integrations/tracing/hapi/vendored/internal-types.d.ts +0 -32
  896. package/build/types/integrations/tracing/hapi/vendored/internal-types.d.ts.map +0 -1
  897. package/build/types/integrations/tracing/hapi/vendored/utils.d.ts +0 -18
  898. package/build/types/integrations/tracing/hapi/vendored/utils.d.ts.map +0 -1
  899. package/build/types/integrations/tracing/hono/constants.d.ts +0 -11
  900. package/build/types/integrations/tracing/hono/constants.d.ts.map +0 -1
  901. package/build/types/integrations/tracing/hono/index.d.ts +0 -60
  902. package/build/types/integrations/tracing/hono/index.d.ts.map +0 -1
  903. package/build/types/integrations/tracing/hono/instrumentation.d.ts +0 -55
  904. package/build/types/integrations/tracing/hono/instrumentation.d.ts.map +0 -1
  905. package/build/types/integrations/tracing/hono/types.d.ts +0 -36
  906. package/build/types/integrations/tracing/hono/types.d.ts.map +0 -1
  907. package/build/types/integrations/tracing/kafka/index.d.ts +0 -21
  908. package/build/types/integrations/tracing/kafka/index.d.ts.map +0 -1
  909. package/build/types/integrations/tracing/kafka/vendored/instrumentation.d.ts +0 -15
  910. package/build/types/integrations/tracing/kafka/vendored/instrumentation.d.ts.map +0 -1
  911. package/build/types/integrations/tracing/kafka/vendored/kafkajs-types.d.ts +0 -79
  912. package/build/types/integrations/tracing/kafka/vendored/kafkajs-types.d.ts.map +0 -1
  913. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts +0 -54
  914. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts.map +0 -1
  915. package/build/types/integrations/tracing/kafka/vendored/utils.d.ts +0 -29
  916. package/build/types/integrations/tracing/kafka/vendored/utils.d.ts.map +0 -1
  917. package/build/types/integrations/tracing/knex/index.d.ts +0 -22
  918. package/build/types/integrations/tracing/knex/index.d.ts.map +0 -1
  919. package/build/types/integrations/tracing/knex/vendored/instrumentation.d.ts +0 -12
  920. package/build/types/integrations/tracing/knex/vendored/instrumentation.d.ts.map +0 -1
  921. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts +0 -7
  922. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts.map +0 -1
  923. package/build/types/integrations/tracing/knex/vendored/utils.d.ts +0 -9
  924. package/build/types/integrations/tracing/knex/vendored/utils.d.ts.map +0 -1
  925. package/build/types/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts +0 -5
  926. package/build/types/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts.map +0 -1
  927. package/build/types/integrations/tracing/koa/vendored/instrumentation.d.ts +0 -32
  928. package/build/types/integrations/tracing/koa/vendored/instrumentation.d.ts.map +0 -1
  929. package/build/types/integrations/tracing/koa/vendored/internal-types.d.ts +0 -34
  930. package/build/types/integrations/tracing/koa/vendored/internal-types.d.ts.map +0 -1
  931. package/build/types/integrations/tracing/koa/vendored/types.d.ts +0 -13
  932. package/build/types/integrations/tracing/koa/vendored/types.d.ts.map +0 -1
  933. package/build/types/integrations/tracing/koa/vendored/utils.d.ts +0 -15
  934. package/build/types/integrations/tracing/koa/vendored/utils.d.ts.map +0 -1
  935. package/build/types/integrations/tracing/langchain/index.d.ts +0 -101
  936. package/build/types/integrations/tracing/langchain/index.d.ts.map +0 -1
  937. package/build/types/integrations/tracing/langchain/instrumentation.d.ts +0 -38
  938. package/build/types/integrations/tracing/langchain/instrumentation.d.ts.map +0 -1
  939. package/build/types/integrations/tracing/langgraph/index.d.ts +0 -77
  940. package/build/types/integrations/tracing/langgraph/index.d.ts.map +0 -1
  941. package/build/types/integrations/tracing/langgraph/instrumentation.d.ts +0 -19
  942. package/build/types/integrations/tracing/langgraph/instrumentation.d.ts.map +0 -1
  943. package/build/types/integrations/tracing/lrumemoizer/index.d.ts +0 -21
  944. package/build/types/integrations/tracing/lrumemoizer/index.d.ts.map +0 -1
  945. package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts +0 -6
  946. package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts.map +0 -1
  947. package/build/types/integrations/tracing/mongo/index.d.ts +0 -22
  948. package/build/types/integrations/tracing/mongo/index.d.ts.map +0 -1
  949. package/build/types/integrations/tracing/mongo/vendored/instrumentation.d.ts +0 -11
  950. package/build/types/integrations/tracing/mongo/vendored/instrumentation.d.ts.map +0 -1
  951. package/build/types/integrations/tracing/mongo/vendored/internal-types.d.ts +0 -62
  952. package/build/types/integrations/tracing/mongo/vendored/internal-types.d.ts.map +0 -1
  953. package/build/types/integrations/tracing/mongo/vendored/patches.d.ts +0 -15
  954. package/build/types/integrations/tracing/mongo/vendored/patches.d.ts.map +0 -1
  955. package/build/types/integrations/tracing/mongo/vendored/utils.d.ts +0 -15
  956. package/build/types/integrations/tracing/mongo/vendored/utils.d.ts.map +0 -1
  957. package/build/types/integrations/tracing/mongoose/index.d.ts +0 -22
  958. package/build/types/integrations/tracing/mongoose/index.d.ts.map +0 -1
  959. package/build/types/integrations/tracing/mongoose/vendored/mongoose-types.d.ts +0 -33
  960. package/build/types/integrations/tracing/mongoose/vendored/mongoose-types.d.ts.map +0 -1
  961. package/build/types/integrations/tracing/mongoose/vendored/mongoose.d.ts +0 -18
  962. package/build/types/integrations/tracing/mongoose/vendored/mongoose.d.ts.map +0 -1
  963. package/build/types/integrations/tracing/mongoose/vendored/utils.d.ts +0 -4
  964. package/build/types/integrations/tracing/mongoose/vendored/utils.d.ts.map +0 -1
  965. package/build/types/integrations/tracing/mysql/index.d.ts +0 -22
  966. package/build/types/integrations/tracing/mysql/index.d.ts.map +0 -1
  967. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts +0 -14
  968. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts.map +0 -1
  969. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts +0 -78
  970. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts.map +0 -1
  971. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts +0 -19
  972. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts.map +0 -1
  973. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts +0 -22
  974. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts.map +0 -1
  975. package/build/types/integrations/tracing/mysql2/index.d.ts +0 -22
  976. package/build/types/integrations/tracing/mysql2/index.d.ts.map +0 -1
  977. package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts +0 -9
  978. package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts.map +0 -1
  979. package/build/types/integrations/tracing/mysql2/vendored/mysql2-types.d.ts +0 -39
  980. package/build/types/integrations/tracing/mysql2/vendored/mysql2-types.d.ts.map +0 -1
  981. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -3
  982. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts.map +0 -1
  983. package/build/types/integrations/tracing/mysql2/vendored/utils.d.ts +0 -25
  984. package/build/types/integrations/tracing/mysql2/vendored/utils.d.ts.map +0 -1
  985. package/build/types/integrations/tracing/openai/index.d.ts +0 -62
  986. package/build/types/integrations/tracing/openai/index.d.ts.map +0 -1
  987. package/build/types/integrations/tracing/openai/instrumentation.d.ts +0 -26
  988. package/build/types/integrations/tracing/openai/instrumentation.d.ts.map +0 -1
  989. package/build/types/integrations/tracing/postgres/index.d.ts +0 -26
  990. package/build/types/integrations/tracing/postgres/index.d.ts.map +0 -1
  991. package/build/types/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts +0 -6
  992. package/build/types/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts.map +0 -1
  993. package/build/types/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts +0 -6
  994. package/build/types/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts.map +0 -1
  995. package/build/types/integrations/tracing/postgres/vendored/instrumentation.d.ts +0 -12
  996. package/build/types/integrations/tracing/postgres/vendored/instrumentation.d.ts.map +0 -1
  997. package/build/types/integrations/tracing/postgres/vendored/internal-types.d.ts +0 -33
  998. package/build/types/integrations/tracing/postgres/vendored/internal-types.d.ts.map +0 -1
  999. package/build/types/integrations/tracing/postgres/vendored/pg-pool-types.d.ts +0 -20
  1000. package/build/types/integrations/tracing/postgres/vendored/pg-pool-types.d.ts.map +0 -1
  1001. package/build/types/integrations/tracing/postgres/vendored/pg-types.d.ts +0 -54
  1002. package/build/types/integrations/tracing/postgres/vendored/pg-types.d.ts.map +0 -1
  1003. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts +0 -13
  1004. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts.map +0 -1
  1005. package/build/types/integrations/tracing/postgres/vendored/types.d.ts +0 -11
  1006. package/build/types/integrations/tracing/postgres/vendored/types.d.ts.map +0 -1
  1007. package/build/types/integrations/tracing/postgres/vendored/utils.d.ts +0 -56
  1008. package/build/types/integrations/tracing/postgres/vendored/utils.d.ts.map +0 -1
  1009. package/build/types/integrations/tracing/postgresjs.d.ts +0 -103
  1010. package/build/types/integrations/tracing/postgresjs.d.ts.map +0 -1
  1011. package/build/types/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts +0 -10
  1012. package/build/types/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts.map +0 -1
  1013. package/build/types/integrations/tracing/redis/vendored/redis-instrumentation.d.ts +0 -16
  1014. package/build/types/integrations/tracing/redis/vendored/redis-instrumentation.d.ts.map +0 -1
  1015. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  1016. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts.map +0 -1
  1017. package/build/types/integrations/tracing/tedious/index.d.ts +0 -22
  1018. package/build/types/integrations/tracing/tedious/index.d.ts.map +0 -1
  1019. package/build/types/integrations/tracing/tedious/vendored/instrumentation.d.ts +0 -11
  1020. package/build/types/integrations/tracing/tedious/vendored/instrumentation.d.ts.map +0 -1
  1021. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts +0 -19
  1022. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts.map +0 -1
  1023. package/build/types/integrations/tracing/tedious/vendored/tedious-types.d.ts +0 -21
  1024. package/build/types/integrations/tracing/tedious/vendored/tedious-types.d.ts.map +0 -1
  1025. package/build/types/integrations/tracing/tedious/vendored/utils.d.ts +0 -9
  1026. package/build/types/integrations/tracing/tedious/vendored/utils.d.ts.map +0 -1
  1027. package/build/types/integrations/tracing/vercelai/constants.d.ts +0 -2
  1028. package/build/types/integrations/tracing/vercelai/constants.d.ts.map +0 -1
  1029. package/build/types/integrations/tracing/vercelai/index.d.ts +0 -44
  1030. package/build/types/integrations/tracing/vercelai/index.d.ts.map +0 -1
  1031. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts +0 -56
  1032. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts.map +0 -1
  1033. package/build/types/integrations/tracing/vercelai/types.d.ts +0 -50
  1034. package/build/types/integrations/tracing/vercelai/types.d.ts.map +0 -1
  1035. package/build/types/preload.d.ts +0 -2
  1036. package/build/types/preload.d.ts.map +0 -1
  1037. package/build/types/sdk/diagnosticsChannelInjection.d.ts +0 -41
  1038. package/build/types/sdk/diagnosticsChannelInjection.d.ts.map +0 -1
  1039. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +0 -37
  1040. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts.map +0 -1
  1041. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +0 -9
  1042. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +0 -1
  1043. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1044. package/build/types-ts3.8/index.d.ts +0 -44
  1045. package/build/types-ts3.8/init.d.ts +0 -2
  1046. package/build/types-ts3.8/integrations/featureFlagShims/growthbook.d.ts +0 -6
  1047. package/build/types-ts3.8/integrations/featureFlagShims/index.d.ts +0 -6
  1048. package/build/types-ts3.8/integrations/featureFlagShims/launchDarkly.d.ts +0 -12
  1049. package/build/types-ts3.8/integrations/featureFlagShims/openFeature.d.ts +0 -25
  1050. package/build/types-ts3.8/integrations/featureFlagShims/statsig.d.ts +0 -8
  1051. package/build/types-ts3.8/integrations/featureFlagShims/unleash.d.ts +0 -8
  1052. package/build/types-ts3.8/integrations/fs/index.d.ts +0 -14
  1053. package/build/types-ts3.8/integrations/fs/vendored/constants.d.ts +0 -5
  1054. package/build/types-ts3.8/integrations/fs/vendored/instrumentation.d.ts +0 -3
  1055. package/build/types-ts3.8/integrations/fs/vendored/types.d.ts +0 -23
  1056. package/build/types-ts3.8/integrations/fs/vendored/utils.d.ts +0 -15
  1057. package/build/types-ts3.8/integrations/http.d.ts +0 -134
  1058. package/build/types-ts3.8/integrations/node-fetch.d.ts +0 -9
  1059. package/build/types-ts3.8/integrations/tracing/InstrumentationNodeModuleFile.d.ts +0 -9
  1060. package/build/types-ts3.8/integrations/tracing/amqplib/index.d.ts +0 -22
  1061. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/amqplib-types.d.ts +0 -44
  1062. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/instrumentation.d.ts +0 -11
  1063. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/patches.d.ts +0 -11
  1064. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -23
  1065. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/types.d.ts +0 -49
  1066. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/utils.d.ts +0 -42
  1067. package/build/types-ts3.8/integrations/tracing/anthropic-ai/index.d.ts +0 -62
  1068. package/build/types-ts3.8/integrations/tracing/anthropic-ai/instrumentation.d.ts +0 -19
  1069. package/build/types-ts3.8/integrations/tracing/connect/index.d.ts +0 -48
  1070. package/build/types-ts3.8/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts +0 -9
  1071. package/build/types-ts3.8/integrations/tracing/connect/vendored/instrumentation.d.ts +0 -18
  1072. package/build/types-ts3.8/integrations/tracing/connect/vendored/internal-types.d.ts +0 -36
  1073. package/build/types-ts3.8/integrations/tracing/connect/vendored/utils.d.ts +0 -5
  1074. package/build/types-ts3.8/integrations/tracing/dataloader/index.d.ts +0 -22
  1075. package/build/types-ts3.8/integrations/tracing/dataloader/vendored/instrumentation.d.ts +0 -18
  1076. package/build/types-ts3.8/integrations/tracing/dataloader/vendored/types.d.ts +0 -22
  1077. package/build/types-ts3.8/integrations/tracing/express.d.ts +0 -19
  1078. package/build/types-ts3.8/integrations/tracing/fastify/index.d.ts +0 -119
  1079. package/build/types-ts3.8/integrations/tracing/fastify/types.d.ts +0 -33
  1080. package/build/types-ts3.8/integrations/tracing/fastify/v3/constants.d.ts +0 -3
  1081. package/build/types-ts3.8/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts +0 -15
  1082. package/build/types-ts3.8/integrations/tracing/fastify/v3/instrumentation.d.ts +0 -16
  1083. package/build/types-ts3.8/integrations/tracing/fastify/v3/internal-types.d.ts +0 -7
  1084. package/build/types-ts3.8/integrations/tracing/fastify/v3/types.d.ts +0 -21
  1085. package/build/types-ts3.8/integrations/tracing/fastify/v3/utils.d.ts +0 -28
  1086. package/build/types-ts3.8/integrations/tracing/firebase/firebase.d.ts +0 -8
  1087. package/build/types-ts3.8/integrations/tracing/firebase/index.d.ts +0 -2
  1088. package/build/types-ts3.8/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +0 -14
  1089. package/build/types-ts3.8/integrations/tracing/firebase/otel/index.d.ts +0 -3
  1090. package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/firestore.d.ts +0 -22
  1091. package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/functions.d.ts +0 -18
  1092. package/build/types-ts3.8/integrations/tracing/firebase/otel/types.d.ts +0 -100
  1093. package/build/types-ts3.8/integrations/tracing/genericPool/index.d.ts +0 -22
  1094. package/build/types-ts3.8/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts +0 -5
  1095. package/build/types-ts3.8/integrations/tracing/genericPool/vendored/instrumentation.d.ts +0 -11
  1096. package/build/types-ts3.8/integrations/tracing/google-genai/index.d.ts +0 -62
  1097. package/build/types-ts3.8/integrations/tracing/google-genai/instrumentation.d.ts +0 -20
  1098. package/build/types-ts3.8/integrations/tracing/graphql/index.d.ts +0 -50
  1099. package/build/types-ts3.8/integrations/tracing/graphql/vendored/enum.d.ts +0 -38
  1100. package/build/types-ts3.8/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts +0 -10
  1101. package/build/types-ts3.8/integrations/tracing/graphql/vendored/graphql-types.d.ts +0 -2
  1102. package/build/types-ts3.8/integrations/tracing/graphql/vendored/instrumentation.d.ts +0 -25
  1103. package/build/types-ts3.8/integrations/tracing/graphql/vendored/internal-types.d.ts +0 -63
  1104. package/build/types-ts3.8/integrations/tracing/graphql/vendored/symbols.d.ts +0 -3
  1105. package/build/types-ts3.8/integrations/tracing/graphql/vendored/types.d.ts +0 -33
  1106. package/build/types-ts3.8/integrations/tracing/graphql/vendored/utils.d.ts +0 -14
  1107. package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +0 -52
  1108. package/build/types-ts3.8/integrations/tracing/hapi/types.d.ts +0 -166
  1109. package/build/types-ts3.8/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts +0 -6
  1110. package/build/types-ts3.8/integrations/tracing/hapi/vendored/hapi-types.d.ts +0 -70
  1111. package/build/types-ts3.8/integrations/tracing/hapi/vendored/instrumentation.d.ts +0 -72
  1112. package/build/types-ts3.8/integrations/tracing/hapi/vendored/internal-types.d.ts +0 -32
  1113. package/build/types-ts3.8/integrations/tracing/hapi/vendored/utils.d.ts +0 -18
  1114. package/build/types-ts3.8/integrations/tracing/hono/constants.d.ts +0 -11
  1115. package/build/types-ts3.8/integrations/tracing/hono/index.d.ts +0 -60
  1116. package/build/types-ts3.8/integrations/tracing/hono/instrumentation.d.ts +0 -55
  1117. package/build/types-ts3.8/integrations/tracing/hono/types.d.ts +0 -36
  1118. package/build/types-ts3.8/integrations/tracing/index.d.ts +0 -12
  1119. package/build/types-ts3.8/integrations/tracing/kafka/index.d.ts +0 -21
  1120. package/build/types-ts3.8/integrations/tracing/kafka/vendored/instrumentation.d.ts +0 -15
  1121. package/build/types-ts3.8/integrations/tracing/kafka/vendored/kafkajs-types.d.ts +0 -79
  1122. package/build/types-ts3.8/integrations/tracing/kafka/vendored/semconv.d.ts +0 -54
  1123. package/build/types-ts3.8/integrations/tracing/kafka/vendored/utils.d.ts +0 -29
  1124. package/build/types-ts3.8/integrations/tracing/knex/index.d.ts +0 -22
  1125. package/build/types-ts3.8/integrations/tracing/knex/vendored/instrumentation.d.ts +0 -12
  1126. package/build/types-ts3.8/integrations/tracing/knex/vendored/semconv.d.ts +0 -7
  1127. package/build/types-ts3.8/integrations/tracing/knex/vendored/utils.d.ts +0 -9
  1128. package/build/types-ts3.8/integrations/tracing/koa/index.d.ts +0 -72
  1129. package/build/types-ts3.8/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts +0 -5
  1130. package/build/types-ts3.8/integrations/tracing/koa/vendored/instrumentation.d.ts +0 -32
  1131. package/build/types-ts3.8/integrations/tracing/koa/vendored/internal-types.d.ts +0 -34
  1132. package/build/types-ts3.8/integrations/tracing/koa/vendored/types.d.ts +0 -13
  1133. package/build/types-ts3.8/integrations/tracing/koa/vendored/utils.d.ts +0 -15
  1134. package/build/types-ts3.8/integrations/tracing/langchain/index.d.ts +0 -101
  1135. package/build/types-ts3.8/integrations/tracing/langchain/instrumentation.d.ts +0 -38
  1136. package/build/types-ts3.8/integrations/tracing/langgraph/index.d.ts +0 -77
  1137. package/build/types-ts3.8/integrations/tracing/langgraph/instrumentation.d.ts +0 -19
  1138. package/build/types-ts3.8/integrations/tracing/lrumemoizer/index.d.ts +0 -21
  1139. package/build/types-ts3.8/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts +0 -6
  1140. package/build/types-ts3.8/integrations/tracing/mongo/index.d.ts +0 -22
  1141. package/build/types-ts3.8/integrations/tracing/mongo/vendored/instrumentation.d.ts +0 -11
  1142. package/build/types-ts3.8/integrations/tracing/mongo/vendored/internal-types.d.ts +0 -62
  1143. package/build/types-ts3.8/integrations/tracing/mongo/vendored/patches.d.ts +0 -15
  1144. package/build/types-ts3.8/integrations/tracing/mongo/vendored/utils.d.ts +0 -15
  1145. package/build/types-ts3.8/integrations/tracing/mongoose/index.d.ts +0 -22
  1146. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/mongoose-types.d.ts +0 -33
  1147. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/mongoose.d.ts +0 -18
  1148. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/utils.d.ts +0 -4
  1149. package/build/types-ts3.8/integrations/tracing/mysql/index.d.ts +0 -22
  1150. package/build/types-ts3.8/integrations/tracing/mysql/vendored/instrumentation.d.ts +0 -14
  1151. package/build/types-ts3.8/integrations/tracing/mysql/vendored/mysql-types.d.ts +0 -78
  1152. package/build/types-ts3.8/integrations/tracing/mysql/vendored/semconv.d.ts +0 -19
  1153. package/build/types-ts3.8/integrations/tracing/mysql/vendored/utils.d.ts +0 -22
  1154. package/build/types-ts3.8/integrations/tracing/mysql2/index.d.ts +0 -22
  1155. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/instrumentation.d.ts +0 -9
  1156. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/mysql2-types.d.ts +0 -39
  1157. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -3
  1158. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/utils.d.ts +0 -25
  1159. package/build/types-ts3.8/integrations/tracing/openai/index.d.ts +0 -62
  1160. package/build/types-ts3.8/integrations/tracing/openai/instrumentation.d.ts +0 -26
  1161. package/build/types-ts3.8/integrations/tracing/postgres/index.d.ts +0 -26
  1162. package/build/types-ts3.8/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts +0 -6
  1163. package/build/types-ts3.8/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts +0 -6
  1164. package/build/types-ts3.8/integrations/tracing/postgres/vendored/instrumentation.d.ts +0 -12
  1165. package/build/types-ts3.8/integrations/tracing/postgres/vendored/internal-types.d.ts +0 -33
  1166. package/build/types-ts3.8/integrations/tracing/postgres/vendored/pg-pool-types.d.ts +0 -20
  1167. package/build/types-ts3.8/integrations/tracing/postgres/vendored/pg-types.d.ts +0 -54
  1168. package/build/types-ts3.8/integrations/tracing/postgres/vendored/semconv.d.ts +0 -13
  1169. package/build/types-ts3.8/integrations/tracing/postgres/vendored/types.d.ts +0 -11
  1170. package/build/types-ts3.8/integrations/tracing/postgres/vendored/utils.d.ts +0 -56
  1171. package/build/types-ts3.8/integrations/tracing/postgresjs.d.ts +0 -103
  1172. package/build/types-ts3.8/integrations/tracing/redis/cache.d.ts +0 -22
  1173. package/build/types-ts3.8/integrations/tracing/redis/index.d.ts +0 -28
  1174. package/build/types-ts3.8/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts +0 -10
  1175. package/build/types-ts3.8/integrations/tracing/redis/vendored/redis-instrumentation.d.ts +0 -16
  1176. package/build/types-ts3.8/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  1177. package/build/types-ts3.8/integrations/tracing/redis/vendored/types.d.ts +0 -24
  1178. package/build/types-ts3.8/integrations/tracing/tedious/index.d.ts +0 -22
  1179. package/build/types-ts3.8/integrations/tracing/tedious/vendored/instrumentation.d.ts +0 -11
  1180. package/build/types-ts3.8/integrations/tracing/tedious/vendored/semconv.d.ts +0 -19
  1181. package/build/types-ts3.8/integrations/tracing/tedious/vendored/tedious-types.d.ts +0 -21
  1182. package/build/types-ts3.8/integrations/tracing/tedious/vendored/utils.d.ts +0 -9
  1183. package/build/types-ts3.8/integrations/tracing/vercelai/constants.d.ts +0 -2
  1184. package/build/types-ts3.8/integrations/tracing/vercelai/index.d.ts +0 -44
  1185. package/build/types-ts3.8/integrations/tracing/vercelai/instrumentation.d.ts +0 -56
  1186. package/build/types-ts3.8/integrations/tracing/vercelai/types.d.ts +0 -50
  1187. package/build/types-ts3.8/preload.d.ts +0 -2
  1188. package/build/types-ts3.8/sdk/diagnosticsChannelInjection.d.ts +0 -41
  1189. package/build/types-ts3.8/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +0 -37
  1190. package/build/types-ts3.8/sdk/index.d.ts +0 -36
  1191. package/build/types-ts3.8/sdk/initOtel.d.ts +0 -30
  1192. package/build/types-ts3.8/types.d.ts +0 -89
  1193. package/build/types-ts3.8/utils/redisCache.d.ts +0 -17
  1194. package/build/types-ts3.8/utils/setHttpServerSpanRouteAttribute.d.ts +0 -9
@@ -1,90 +1,95 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
 
3
- const http = require('./integrations/http.js');
4
- const nodeFetch = require('./integrations/node-fetch.js');
5
- const index$6 = require('./integrations/fs/index.js');
3
+ const index$6 = require('./integrations/http/index.js');
4
+ const index$8 = require('./integrations/node-fetch/index.js');
5
+ const index$3 = require('./integrations/fs/index.js');
6
6
  const express = require('./integrations/tracing/express.js');
7
- const index$5 = require('./integrations/tracing/fastify/index.js');
8
- const index$a = require('./integrations/tracing/graphql/index.js');
9
- const index$d = require('./integrations/tracing/kafka/index.js');
10
- const index$i = require('./integrations/tracing/lrumemoizer/index.js');
11
- const index$j = require('./integrations/tracing/mongo/index.js');
12
- const index$k = require('./integrations/tracing/mongoose/index.js');
13
- const index$m = require('./integrations/tracing/mysql/index.js');
14
- const index$l = require('./integrations/tracing/mysql2/index.js');
15
- const index$p = require('./integrations/tracing/redis/index.js');
16
- const index$o = require('./integrations/tracing/postgres/index.js');
17
- const postgresjs = require('./integrations/tracing/postgresjs.js');
7
+ const index$2 = require('./integrations/tracing/fastify/index.js');
8
+ const orchestrion = require('@sentry/server-utils/orchestrion');
9
+ const index$9 = require('./integrations/tracing/redis/index.js');
18
10
  const serverUtils = require('@sentry/server-utils');
19
- const index$b = require('./integrations/tracing/hapi/index.js');
20
- const index$c = require('./integrations/tracing/hono/index.js');
21
- const index$f = require('./integrations/tracing/koa/index.js');
22
- const index$3 = require('./integrations/tracing/connect/index.js');
23
- const index$e = require('./integrations/tracing/knex/index.js');
24
- const index$q = require('./integrations/tracing/tedious/index.js');
25
- const index$7 = require('./integrations/tracing/genericPool/index.js');
26
- const index$4 = require('./integrations/tracing/dataloader/index.js');
27
- const index = require('./integrations/tracing/amqplib/index.js');
28
- const index$r = require('./integrations/tracing/vercelai/index.js');
29
- const index$n = require('./integrations/tracing/openai/index.js');
30
- const index$1 = require('./integrations/tracing/anthropic-ai/index.js');
31
- const index$9 = require('./integrations/tracing/google-genai/index.js');
32
- const index$g = require('./integrations/tracing/langchain/index.js');
33
- const index$h = require('./integrations/tracing/langgraph/index.js');
11
+ const index$a = require('./integrations/tracing/hapi/index.js');
12
+ const index$b = require('./integrations/tracing/koa/index.js');
34
13
  const launchDarkly = require('./integrations/featureFlagShims/launchDarkly.js');
35
14
  const openFeature = require('./integrations/featureFlagShims/openFeature.js');
36
15
  const statsig = require('./integrations/featureFlagShims/statsig.js');
37
16
  const unleash = require('./integrations/featureFlagShims/unleash.js');
38
17
  const growthbook = require('./integrations/featureFlagShims/growthbook.js');
39
- const firebase = require('./integrations/tracing/firebase/firebase.js');
40
- const index$2 = require('./sdk/index.js');
41
- const experimentalUseDiagnosticsChannelInjection = require('./sdk/experimentalUseDiagnosticsChannelInjection.js');
42
- const diagnosticsChannelInjection = require('./sdk/diagnosticsChannelInjection.js');
18
+ const index$5 = require('./sdk/index.js');
43
19
  const initOtel = require('./sdk/initOtel.js');
44
- const index$8 = require('./integrations/tracing/index.js');
20
+ const index$4 = require('./integrations/tracing/index.js');
45
21
  const opentelemetry = require('@sentry/opentelemetry');
46
22
  const core = require('@sentry/core');
47
- const nodeCore = require('@sentry/node-core');
23
+ const exports$1 = require('./logs/exports.js');
24
+ const childProcess = require('./integrations/childProcess.js');
25
+ const console = require('./integrations/console.js');
26
+ const context = require('./integrations/context.js');
27
+ const contextlines = require('./integrations/contextlines.js');
28
+ const index$7 = require('./integrations/local-variables/index.js');
29
+ const modules = require('./integrations/modules.js');
30
+ const nodeRuntimeMetrics = require('./integrations/nodeRuntimeMetrics.js');
31
+ const onuncaughtexception = require('./integrations/onuncaughtexception.js');
32
+ const onunhandledrejection = require('./integrations/onunhandledrejection.js');
33
+ const pino = require('./integrations/pino.js');
34
+ const spotlight = require('./integrations/spotlight.js');
35
+ const systemError = require('./integrations/systemError.js');
36
+ const winston = require('./integrations/winston.js');
37
+ const index$1 = require('./cron/index.js');
38
+ const nodeVersion = require('./nodeVersion.js');
39
+ const api = require('./sdk/api.js');
40
+ const http = require('./transports/http.js');
41
+ const module$1 = require('./utils/module.js');
42
+ const httpServerIntegration = require('./integrations/http/httpServerIntegration.js');
43
+ const httpServerSpansIntegration = require('./integrations/http/httpServerSpansIntegration.js');
44
+ const processSession = require('./integrations/processSession.js');
45
+ const client = require('./sdk/client.js');
46
+ const index = require('./integrations/anr/index.js');
48
47
 
49
48
 
50
49
 
51
- exports.httpIntegration = http.httpIntegration;
52
- exports.nativeNodeFetchIntegration = nodeFetch.nativeNodeFetchIntegration;
53
- exports.fsIntegration = index$6.fsIntegration;
54
- exports.expressIntegration = express.expressIntegration;
50
+ exports.httpIntegration = index$6.httpIntegration;
51
+ exports.nativeNodeFetchIntegration = index$8.nativeNodeFetchIntegration;
52
+ exports.fsIntegration = index$3.fsIntegration;
55
53
  exports.setupExpressErrorHandler = express.setupExpressErrorHandler;
56
- exports.fastifyIntegration = index$5.fastifyIntegration;
57
- exports.setupFastifyErrorHandler = index$5.setupFastifyErrorHandler;
58
- exports.graphqlIntegration = index$a.graphqlIntegration;
59
- exports.kafkaIntegration = index$d.kafkaIntegration;
60
- exports.lruMemoizerIntegration = index$i.lruMemoizerIntegration;
61
- exports.mongoIntegration = index$j.mongoIntegration;
62
- exports.mongooseIntegration = index$k.mongooseIntegration;
63
- exports.mysqlIntegration = index$m.mysqlIntegration;
64
- exports.mysql2Integration = index$l.mysql2Integration;
65
- exports.redisIntegration = index$p.redisIntegration;
66
- exports.postgresIntegration = index$o.postgresIntegration;
67
- exports.postgresJsIntegration = postgresjs.postgresJsIntegration;
54
+ exports.fastifyIntegration = index$2.fastifyIntegration;
55
+ exports.setupFastifyErrorHandler = index$2.setupFastifyErrorHandler;
56
+ exports.amqplibIntegration = orchestrion.amqplibIntegration;
57
+ exports.anthropicAIIntegration = orchestrion.anthropicIntegration;
58
+ exports.dataloaderIntegration = orchestrion.dataloaderIntegration;
59
+ exports.expressIntegration = orchestrion.expressIntegration;
60
+ exports.firebaseIntegration = orchestrion.firebaseIntegration;
61
+ exports.genericPoolIntegration = orchestrion.genericPoolIntegration;
62
+ exports.googleGenAIIntegration = orchestrion.googleGenAIIntegration;
63
+ exports.graphqlIntegration = orchestrion.graphqlDiagnosticsIntegration;
64
+ exports.hapiIntegration = orchestrion.hapiIntegration;
65
+ exports.kafkaIntegration = orchestrion.kafkajsIntegration;
66
+ exports.knexIntegration = orchestrion.knexIntegration;
67
+ exports.koaIntegration = orchestrion.koaIntegration;
68
+ exports.langChainIntegration = orchestrion.langChainIntegration;
69
+ exports.langGraphIntegration = orchestrion.langGraphIntegration;
70
+ exports.lruMemoizerIntegration = orchestrion.lruMemoizerIntegration;
71
+ exports.mongoIntegration = orchestrion.mongodbIntegration;
72
+ exports.mongooseIntegration = orchestrion.mongooseIntegration;
73
+ exports.mysql2Integration = orchestrion.mysql2Integration;
74
+ exports.mysqlIntegration = orchestrion.mysqlIntegration;
75
+ exports.openAIIntegration = orchestrion.openaiIntegration;
76
+ exports.postgresIntegration = orchestrion.postgresIntegration;
77
+ exports.postgresJsIntegration = orchestrion.postgresJsIntegration;
78
+ exports.tediousIntegration = orchestrion.tediousIntegration;
79
+ exports.vercelAIIntegration = orchestrion.vercelAiIntegration;
80
+ exports.redisIntegration = index$9.redisIntegration;
81
+ exports.createLangChainCallbackHandler = serverUtils.createLangChainCallbackHandler;
82
+ exports.getOtlpTracesEndpoint = serverUtils.getOtlpTracesEndpoint;
83
+ exports.instrumentAnthropicAiClient = serverUtils.instrumentAnthropicAiClient;
84
+ exports.instrumentGoogleGenAIClient = serverUtils.instrumentGoogleGenAIClient;
85
+ exports.instrumentLangChainEmbeddings = serverUtils.instrumentLangChainEmbeddings;
86
+ exports.instrumentOpenAiClient = serverUtils.instrumentOpenAiClient;
87
+ exports.instrumentStateGraph = serverUtils.instrumentStateGraph;
88
+ exports.instrumentStateGraphCompile = serverUtils.instrumentStateGraphCompile;
89
+ exports.otlpIntegration = serverUtils.otlpIntegration;
68
90
  exports.prismaIntegration = serverUtils.prismaIntegration;
69
- exports.hapiIntegration = index$b.hapiIntegration;
70
- exports.setupHapiErrorHandler = index$b.setupHapiErrorHandler;
71
- exports.honoIntegration = index$c.honoIntegration;
72
- exports.setupHonoErrorHandler = index$c.setupHonoErrorHandler;
73
- exports.koaIntegration = index$f.koaIntegration;
74
- exports.setupKoaErrorHandler = index$f.setupKoaErrorHandler;
75
- exports.connectIntegration = index$3.connectIntegration;
76
- exports.setupConnectErrorHandler = index$3.setupConnectErrorHandler;
77
- exports.knexIntegration = index$e.knexIntegration;
78
- exports.tediousIntegration = index$q.tediousIntegration;
79
- exports.genericPoolIntegration = index$7.genericPoolIntegration;
80
- exports.dataloaderIntegration = index$4.dataloaderIntegration;
81
- exports.amqplibIntegration = index.amqplibIntegration;
82
- exports.vercelAIIntegration = index$r.vercelAIIntegration;
83
- exports.openAIIntegration = index$n.openAIIntegration;
84
- exports.anthropicAIIntegration = index$1.anthropicAIIntegration;
85
- exports.googleGenAIIntegration = index$9.googleGenAIIntegration;
86
- exports.langChainIntegration = index$g.langChainIntegration;
87
- exports.langGraphIntegration = index$h.langGraphIntegration;
91
+ exports.setupHapiErrorHandler = index$a.setupHapiErrorHandler;
92
+ exports.setupKoaErrorHandler = index$b.setupKoaErrorHandler;
88
93
  exports.buildLaunchDarklyFlagUsedHandler = launchDarkly.buildLaunchDarklyFlagUsedHandlerShim;
89
94
  exports.launchDarklyIntegration = launchDarkly.launchDarklyIntegrationShim;
90
95
  exports.OpenFeatureIntegrationHook = openFeature.OpenFeatureIntegrationHookShim;
@@ -92,19 +97,13 @@ exports.openFeatureIntegration = openFeature.openFeatureIntegrationShim;
92
97
  exports.statsigIntegration = statsig.statsigIntegrationShim;
93
98
  exports.unleashIntegration = unleash.unleashIntegrationShim;
94
99
  exports.growthbookIntegration = growthbook.growthbookIntegrationShim;
95
- exports.firebaseIntegration = firebase.firebaseIntegration;
96
- exports.applyDiagnosticsChannelInjectionIntegrations = index$2.applyDiagnosticsChannelInjectionIntegrations;
97
- exports.getDefaultIntegrations = index$2.getDefaultIntegrations;
98
- exports.getDefaultIntegrationsWithoutPerformance = index$2.getDefaultIntegrationsWithoutPerformance;
99
- exports.init = index$2.init;
100
- exports.initWithoutDefaultIntegrations = index$2.initWithoutDefaultIntegrations;
101
- exports.diagnosticsChannelInjectionIntegrations = experimentalUseDiagnosticsChannelInjection.diagnosticsChannelInjectionIntegrations;
102
- exports.experimentalUseDiagnosticsChannelInjection = experimentalUseDiagnosticsChannelInjection.experimentalUseDiagnosticsChannelInjection;
103
- exports.isDiagnosticsChannelInjectionEnabled = diagnosticsChannelInjection.isDiagnosticsChannelInjectionEnabled;
100
+ exports.getDefaultIntegrations = index$5.getDefaultIntegrations;
101
+ exports.getDefaultIntegrationsWithoutPerformance = index$5.getDefaultIntegrationsWithoutPerformance;
102
+ exports.init = index$5.init;
103
+ exports.initWithoutDefaultIntegrations = index$5.initWithoutDefaultIntegrations;
104
104
  exports.initOpenTelemetry = initOtel.initOpenTelemetry;
105
- exports.preloadOpenTelemetry = initOtel.preloadOpenTelemetry;
106
- exports.getAutoPerformanceIntegrations = index$8.getAutoPerformanceIntegrations;
107
- exports.setNodeAsyncContextStrategy = opentelemetry.setOpenTelemetryContextAsyncContextStrategy;
105
+ exports.getAutoPerformanceIntegrations = index$4.getAutoPerformanceIntegrations;
106
+ exports.setOpenTelemetryContextAsyncContextStrategy = opentelemetry.setOpenTelemetryContextAsyncContextStrategy;
108
107
  exports.SDK_VERSION = core.SDK_VERSION;
109
108
  exports.SEMANTIC_ATTRIBUTE_SENTRY_OP = core.SEMANTIC_ATTRIBUTE_SENTRY_OP;
110
109
  exports.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;
@@ -126,7 +125,6 @@ exports.close = core.close;
126
125
  exports.consoleLoggingIntegration = core.consoleLoggingIntegration;
127
126
  exports.continueTrace = core.continueTrace;
128
127
  exports.createConsolaReporter = core.createConsolaReporter;
129
- exports.createLangChainCallbackHandler = core.createLangChainCallbackHandler;
130
128
  exports.createTransport = core.createTransport;
131
129
  exports.dedupeIntegration = core.dedupeIntegration;
132
130
  exports.endSession = core.endSession;
@@ -147,19 +145,12 @@ exports.getSpanStatusFromHttpCode = core.getSpanStatusFromHttpCode;
147
145
  exports.getTraceData = core.getTraceData;
148
146
  exports.getTraceMetaTags = core.getTraceMetaTags;
149
147
  exports.httpHeadersToSpanAttributes = core.httpHeadersToSpanAttributes;
150
- exports.inboundFiltersIntegration = core.inboundFiltersIntegration;
151
- exports.instrumentAnthropicAiClient = core.instrumentAnthropicAiClient;
152
- exports.instrumentGoogleGenAIClient = core.instrumentGoogleGenAIClient;
153
- exports.instrumentLangChainEmbeddings = core.instrumentLangChainEmbeddings;
154
- exports.instrumentLangGraph = core.instrumentLangGraph;
155
- exports.instrumentOpenAiClient = core.instrumentOpenAiClient;
156
- exports.instrumentStateGraph = core.instrumentStateGraph;
157
- exports.instrumentStateGraphCompile = core.instrumentStateGraphCompile;
158
148
  exports.instrumentSupabaseClient = core.instrumentSupabaseClient;
159
149
  exports.isEnabled = core.isEnabled;
160
150
  exports.isInitialized = core.isInitialized;
161
151
  exports.lastEventId = core.lastEventId;
162
152
  exports.linkedErrorsIntegration = core.linkedErrorsIntegration;
153
+ exports.metrics = core.metrics;
163
154
  exports.parameterize = core.parameterize;
164
155
  exports.profiler = core.profiler;
165
156
  exports.requestDataIntegration = core.requestDataIntegration;
@@ -179,6 +170,7 @@ exports.setUser = core.setUser;
179
170
  exports.spanStreamingIntegration = core.spanStreamingIntegration;
180
171
  exports.spanToBaggageHeader = core.spanToBaggageHeader;
181
172
  exports.spanToJSON = core.spanToJSON;
173
+ exports.spanToStaticSpanJSON = core.spanToStaticSpanJSON;
182
174
  exports.spanToTraceHeader = core.spanToTraceHeader;
183
175
  exports.startInactiveSpan = core.startInactiveSpan;
184
176
  exports.startNewTrace = core.startNewTrace;
@@ -194,38 +186,35 @@ exports.withActiveSpan = core.withActiveSpan;
194
186
  exports.withIsolationScope = core.withIsolationScope;
195
187
  exports.withMonitor = core.withMonitor;
196
188
  exports.withScope = core.withScope;
189
+ exports.withStaticSpan = core.withStaticSpan;
190
+ exports.withStreamedSpan = core.withStreamedSpan;
197
191
  exports.wrapMcpServerWithSentry = core.wrapMcpServerWithSentry;
198
192
  exports.zodErrorsIntegration = core.zodErrorsIntegration;
199
- exports.NODE_VERSION = nodeCore.NODE_VERSION;
200
- exports.NodeClient = nodeCore.NodeClient;
201
- exports.SentryContextManager = nodeCore.SentryContextManager;
202
- exports._INTERNAL_normalizeCollectionInterval = nodeCore._INTERNAL_normalizeCollectionInterval;
203
- exports.anrIntegration = nodeCore.anrIntegration;
204
- exports.childProcessIntegration = nodeCore.childProcessIntegration;
205
- exports.consoleIntegration = nodeCore.consoleIntegration;
206
- exports.contextLinesIntegration = nodeCore.contextLinesIntegration;
207
- exports.createGetModuleFromFilename = nodeCore.createGetModuleFromFilename;
208
- exports.createSentryWinstonTransport = nodeCore.createSentryWinstonTransport;
209
- exports.cron = nodeCore.cron;
210
- exports.defaultStackParser = nodeCore.defaultStackParser;
211
- exports.disableAnrDetectionForCallback = nodeCore.disableAnrDetectionForCallback;
212
- exports.generateInstrumentOnce = nodeCore.generateInstrumentOnce;
213
- exports.getSentryRelease = nodeCore.getSentryRelease;
214
- exports.httpServerIntegration = nodeCore.httpServerIntegration;
215
- exports.httpServerSpansIntegration = nodeCore.httpServerSpansIntegration;
216
- exports.localVariablesIntegration = nodeCore.localVariablesIntegration;
217
- exports.logger = nodeCore.logger;
218
- exports.makeNodeTransport = nodeCore.makeNodeTransport;
219
- exports.metrics = nodeCore.metrics;
220
- exports.modulesIntegration = nodeCore.modulesIntegration;
221
- exports.nodeContextIntegration = nodeCore.nodeContextIntegration;
222
- exports.nodeRuntimeMetricsIntegration = nodeCore.nodeRuntimeMetricsIntegration;
223
- exports.onUncaughtExceptionIntegration = nodeCore.onUncaughtExceptionIntegration;
224
- exports.onUnhandledRejectionIntegration = nodeCore.onUnhandledRejectionIntegration;
225
- exports.pinoIntegration = nodeCore.pinoIntegration;
226
- exports.processSessionIntegration = nodeCore.processSessionIntegration;
227
- exports.spotlightIntegration = nodeCore.spotlightIntegration;
228
- exports.systemErrorIntegration = nodeCore.systemErrorIntegration;
229
- exports.validateOpenTelemetrySetup = nodeCore.validateOpenTelemetrySetup;
230
- exports.withStreamedSpan = nodeCore.withStreamedSpan;
193
+ exports.logger = exports$1;
194
+ exports.childProcessIntegration = childProcess.childProcessIntegration;
195
+ exports.consoleIntegration = console.consoleIntegration;
196
+ exports.nodeContextIntegration = context.nodeContextIntegration;
197
+ exports.contextLinesIntegration = contextlines.contextLinesIntegration;
198
+ exports.localVariablesIntegration = index$7.localVariablesIntegration;
199
+ exports.modulesIntegration = modules.modulesIntegration;
200
+ exports._INTERNAL_normalizeCollectionInterval = nodeRuntimeMetrics._INTERNAL_normalizeCollectionInterval;
201
+ exports.nodeRuntimeMetricsIntegration = nodeRuntimeMetrics.nodeRuntimeMetricsIntegration;
202
+ exports.onUncaughtExceptionIntegration = onuncaughtexception.onUncaughtExceptionIntegration;
203
+ exports.onUnhandledRejectionIntegration = onunhandledrejection.onUnhandledRejectionIntegration;
204
+ exports.pinoIntegration = pino.pinoIntegration;
205
+ exports.spotlightIntegration = spotlight.spotlightIntegration;
206
+ exports.systemErrorIntegration = systemError.systemErrorIntegration;
207
+ exports.createSentryWinstonTransport = winston.createSentryWinstonTransport;
208
+ exports.cron = index$1.cron;
209
+ exports.NODE_VERSION = nodeVersion.NODE_VERSION;
210
+ exports.defaultStackParser = api.defaultStackParser;
211
+ exports.getSentryRelease = api.getSentryRelease;
212
+ exports.makeNodeTransport = http.makeNodeTransport;
213
+ exports.createGetModuleFromFilename = module$1.createGetModuleFromFilename;
214
+ exports.httpServerIntegration = httpServerIntegration.httpServerIntegration;
215
+ exports.httpServerSpansIntegration = httpServerSpansIntegration.httpServerSpansIntegration;
216
+ exports.processSessionIntegration = processSession.processSessionIntegration;
217
+ exports.NodeClient = client.NodeClient;
218
+ exports.anrIntegration = index.anrIntegration;
219
+ exports.disableAnrDetectionForCallback = index.disableAnrDetectionForCallback;
231
220
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,159 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const util = require('node:util');
4
+ const node_worker_threads = require('node:worker_threads');
5
+ const core = require('@sentry/core');
6
+ const debug = require('../../utils/debug.js');
7
+
8
+ const { isPromise } = util.types;
9
+ const base64WorkerScript = "LyohIEBzZW50cnkvbm9kZSAxMS4wLjAtYWxwaGEuMSAoNmFiN2VmZCkgfCBodHRwczovL2dpdGh1Yi5jb20vZ2V0c2VudHJ5L3NlbnRyeS1qYXZhc2NyaXB0ICovCmltcG9ydHtTZXNzaW9uIGFzIHR9ZnJvbSJub2RlOmluc3BlY3RvciI7aW1wb3J0e3dvcmtlckRhdGEgYXMgZSxwYXJlbnRQb3J0IGFzIG59ZnJvbSJub2RlOndvcmtlcl90aHJlYWRzIjtpbXBvcnR7cG9zaXggYXMgcixzZXAgYXMgb31mcm9tIm5vZGU6cGF0aCI7aW1wb3J0KmFzIHMgZnJvbSJub2RlOmh0dHAiO2ltcG9ydCphcyBpIGZyb20ibm9kZTpodHRwcyI7aW1wb3J0e1JlYWRhYmxlIGFzIGN9ZnJvbSJub2RlOnN0cmVhbSI7aW1wb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ExPT09cyYmdD5lK24mJihzPSEwLGkmJnIoKSksdDxlK24mJihzPSExKX0sMjApLHtwb2xsOigpPT57by5yZXNldCgpfSxlbmFibGVkOnQ9PntpPXR9fX0oZnVuY3Rpb24oKXtsZXQgdD1wcm9jZXNzLmhydGltZSgpO3JldHVybntnZXRUaW1lTXM6KCk9Pntjb25zdFtlLG5dPXByb2Nlc3MuaHJ0aW1lKHQpO3JldHVybiBNYXRoLmZsb29yKDFlMyplK24vMWU2KX0scmVzZXQ6KCk9Pnt0PXByb2Nlc3MuaHJ0aW1lKCl9fX0sVXQucG9sbEludGVydmFsLFV0LmFuclRocmVzaG9sZCxmdW5jdGlvbigpe3p0KCJXYXRjaGRvZyB0aW1lb3V0IikscXQ/KHp0KCJQYXVzaW5nIGRlYnVnZ2VyIHRvIGNhcHR1cmUgc3RhY2sgdHJhY2UiKSxxdCgpKTooenQoIkNhcHR1cmluZyBldmVudCB3aXRob3V0IGEgc3RhY2sgdHJhY2UiKSxadCgpLnRoZW4obnVsbCwoKT0+e3p0KCJTZW5kaW5nIEFOUiBldmVudCBmYWlsZWQgb24gd2F0Y2hkb2cgdGltZW91dC4iKX0pKX0pO24/Lm9uKCJtZXNzYWdlIix0PT57dC5zZXNzaW9uJiYoQnQ9SCh0LnNlc3Npb24pKSx0LmRlYnVnSW1hZ2VzJiYoTXQ9dC5kZWJ1Z0ltYWdlcyksS3QoKX0pOw==";
10
+ const DEFAULT_INTERVAL = 50;
11
+ const DEFAULT_HANG_THRESHOLD = 5e3;
12
+ function log(message, ...args) {
13
+ core.debug.log(`[ANR] ${message}`, ...args);
14
+ }
15
+ function globalWithScopeFetchFn() {
16
+ return core.GLOBAL_OBJ;
17
+ }
18
+ function getScopeData() {
19
+ const scope = core.getCombinedScopeData(core.getIsolationScope(), core.getCurrentScope());
20
+ scope.attachments = [];
21
+ scope.eventProcessors = [];
22
+ return scope;
23
+ }
24
+ async function getContexts(client) {
25
+ let event = { message: "ANR" };
26
+ const eventHint = {};
27
+ for (const processor of client.getEventProcessors()) {
28
+ if (event === null) break;
29
+ event = await processor(event, eventHint);
30
+ }
31
+ return event?.contexts || {};
32
+ }
33
+ const INTEGRATION_NAME = "Anr";
34
+ const _anrIntegration = ((options = {}) => {
35
+ let worker;
36
+ let client;
37
+ const gbl = globalWithScopeFetchFn();
38
+ gbl.__SENTRY_GET_SCOPES__ = getScopeData;
39
+ return {
40
+ name: INTEGRATION_NAME,
41
+ startWorker: () => {
42
+ if (worker) {
43
+ return;
44
+ }
45
+ if (client) {
46
+ worker = _startWorker(client, options);
47
+ }
48
+ },
49
+ stopWorker: () => {
50
+ if (worker) {
51
+ worker.then((stop) => {
52
+ stop();
53
+ worker = void 0;
54
+ });
55
+ }
56
+ },
57
+ async setup(initClient) {
58
+ client = initClient;
59
+ if (options.captureStackTrace && await debug.isDebuggerEnabled()) {
60
+ core.debug.warn("ANR captureStackTrace has been disabled because the debugger was already enabled");
61
+ options.captureStackTrace = false;
62
+ }
63
+ setImmediate(() => this.startWorker());
64
+ }
65
+ };
66
+ });
67
+ const anrIntegration = core.defineIntegration(_anrIntegration);
68
+ async function _startWorker(client, integrationOptions) {
69
+ const dsn = client.getDsn();
70
+ if (!dsn) {
71
+ return () => {
72
+ };
73
+ }
74
+ const contexts = await getContexts(client);
75
+ delete contexts.app?.app_memory;
76
+ delete contexts.device?.free_memory;
77
+ const initOptions = client.getOptions();
78
+ const sdkMetadata = client.getSdkMetadata() || {};
79
+ if (sdkMetadata.sdk) {
80
+ sdkMetadata.sdk.integrations = initOptions.integrations.map((i) => i.name);
81
+ }
82
+ const options = {
83
+ debug: core.debug.isEnabled(),
84
+ dsn,
85
+ tunnel: initOptions.tunnel,
86
+ environment: initOptions.environment || "production",
87
+ release: initOptions.release,
88
+ dist: initOptions.dist,
89
+ sdkMetadata,
90
+ appRootPath: integrationOptions.appRootPath,
91
+ pollInterval: integrationOptions.pollInterval || DEFAULT_INTERVAL,
92
+ anrThreshold: integrationOptions.anrThreshold || DEFAULT_HANG_THRESHOLD,
93
+ captureStackTrace: !!integrationOptions.captureStackTrace,
94
+ maxAnrEvents: integrationOptions.maxAnrEvents || 1,
95
+ staticTags: integrationOptions.staticTags || {},
96
+ contexts
97
+ };
98
+ if (options.captureStackTrace) {
99
+ const inspector = await import('node:inspector');
100
+ if (!inspector.url()) {
101
+ inspector.open(0);
102
+ }
103
+ }
104
+ const worker = new node_worker_threads.Worker(new URL(`data:application/javascript;base64,${base64WorkerScript}`), {
105
+ workerData: options,
106
+ // We don't want any Node args to be passed to the worker
107
+ execArgv: [],
108
+ env: { ...process.env, NODE_OPTIONS: void 0 }
109
+ });
110
+ process.on("exit", () => {
111
+ worker.terminate();
112
+ });
113
+ const timer = setInterval(() => {
114
+ try {
115
+ const currentSession = core.getIsolationScope().getSession();
116
+ const session = currentSession ? { ...currentSession, toJSON: void 0 } : void 0;
117
+ worker.postMessage({ session, debugImages: core.getFilenameToDebugIdMap(initOptions.stackParser) });
118
+ } catch {
119
+ }
120
+ }, options.pollInterval);
121
+ timer.unref();
122
+ worker.on("message", (msg) => {
123
+ if (msg === "session-ended") {
124
+ log("ANR event sent from ANR worker. Clearing session in this thread.");
125
+ core.getIsolationScope().setSession(void 0);
126
+ }
127
+ });
128
+ worker.once("error", (err) => {
129
+ clearInterval(timer);
130
+ log("ANR worker error", err);
131
+ });
132
+ worker.once("exit", (code) => {
133
+ clearInterval(timer);
134
+ log("ANR worker exit", code);
135
+ });
136
+ worker.unref();
137
+ return () => {
138
+ worker.terminate();
139
+ clearInterval(timer);
140
+ };
141
+ }
142
+ function disableAnrDetectionForCallback(callback) {
143
+ const integration = core.getClient()?.getIntegrationByName(INTEGRATION_NAME);
144
+ if (!integration) {
145
+ return callback();
146
+ }
147
+ integration.stopWorker();
148
+ const result = callback();
149
+ if (isPromise(result)) {
150
+ return result.finally(() => integration.startWorker());
151
+ }
152
+ integration.startWorker();
153
+ return result;
154
+ }
155
+
156
+ exports.anrIntegration = anrIntegration;
157
+ exports.base64WorkerScript = base64WorkerScript;
158
+ exports.disableAnrDetectionForCallback = disableAnrDetectionForCallback;
159
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/integrations/anr/index.ts"],"sourcesContent":["import { types } from 'node:util';\nimport { Worker } from 'node:worker_threads';\nimport type { Contexts, Event, EventHint, Integration, IntegrationFn, ScopeData } from '@sentry/core';\nimport {\n debug,\n defineIntegration,\n getClient,\n getCombinedScopeData,\n getCurrentScope,\n getFilenameToDebugIdMap,\n getIsolationScope,\n GLOBAL_OBJ,\n} from '@sentry/core';\nimport type { NodeClient } from '../../sdk/client';\nimport { isDebuggerEnabled } from '../../utils/debug';\nimport type { AnrIntegrationOptions, WorkerStartData } from './common';\n\nconst { isPromise } = types;\n\n// This string is a placeholder that gets overwritten with the worker code.\nexport const base64WorkerScript = '###AnrWorkerScript###';\n\nconst DEFAULT_INTERVAL = 50;\nconst DEFAULT_HANG_THRESHOLD = 5000;\n\nfunction log(message: string, ...args: unknown[]): void {\n debug.log(`[ANR] ${message}`, ...args);\n}\n\nfunction globalWithScopeFetchFn(): typeof GLOBAL_OBJ & { __SENTRY_GET_SCOPES__?: () => ScopeData } {\n return GLOBAL_OBJ;\n}\n\n/** Fetches merged scope data */\nfunction getScopeData(): ScopeData {\n const scope = getCombinedScopeData(getIsolationScope(), getCurrentScope());\n\n // We remove attachments because they likely won't serialize well as json\n scope.attachments = [];\n // We can't serialize event processor functions\n scope.eventProcessors = [];\n\n return scope;\n}\n\n/**\n * Gets contexts by calling all event processors. This shouldn't be called until all integrations are setup\n */\nasync function getContexts(client: NodeClient): Promise<Contexts> {\n let event: Event | null = { message: 'ANR' };\n const eventHint: EventHint = {};\n\n for (const processor of client.getEventProcessors()) {\n if (event === null) break;\n event = await processor(event, eventHint);\n }\n\n return event?.contexts || {};\n}\n\nconst INTEGRATION_NAME = 'Anr' as const;\n\ntype AnrInternal = { startWorker: () => void; stopWorker: () => void };\n\n// eslint-disable-next-line typescript/no-deprecated\nconst _anrIntegration = ((options: Partial<AnrIntegrationOptions> = {}) => {\n let worker: Promise<() => void> | undefined;\n let client: NodeClient | undefined;\n\n // Hookup the scope fetch function to the global object so that it can be called from the worker thread via the\n // debugger when it pauses\n const gbl = globalWithScopeFetchFn();\n gbl.__SENTRY_GET_SCOPES__ = getScopeData;\n\n return {\n name: INTEGRATION_NAME,\n startWorker: () => {\n if (worker) {\n return;\n }\n\n if (client) {\n worker = _startWorker(client, options);\n }\n },\n stopWorker: () => {\n if (worker) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n worker.then(stop => {\n stop();\n worker = undefined;\n });\n }\n },\n async setup(initClient: NodeClient) {\n client = initClient;\n\n if (options.captureStackTrace && (await isDebuggerEnabled())) {\n debug.warn('ANR captureStackTrace has been disabled because the debugger was already enabled');\n options.captureStackTrace = false;\n }\n\n // setImmediate is used to ensure that all other integrations have had their setup called first.\n // This allows us to call into all integrations to fetch the full context\n setImmediate(() => this.startWorker());\n },\n } as Integration & AnrInternal;\n}) satisfies IntegrationFn;\n\n// eslint-disable-next-line typescript/no-deprecated\ntype AnrReturn = (options?: Partial<AnrIntegrationOptions>) => Integration & AnrInternal;\n\n/**\n * Application Not Responding (ANR) integration for Node.js applications.\n *\n * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.\n *\n * Detects when the Node.js main thread event loop is blocked for more than the configured\n * threshold (5 seconds by default) and reports these as Sentry events.\n *\n * ANR detection uses a worker thread to monitor the event loop in the main app thread.\n * The main app thread sends a heartbeat message to the ANR worker thread every 50ms by default.\n * If the ANR worker does not receive a heartbeat message for the configured threshold duration,\n * it triggers an ANR event.\n *\n * - Node.js 16.17.0 or higher\n * - Only supported in the Node.js runtime (not browsers)\n * - Not supported for Node.js clusters\n *\n * Overhead should be minimal:\n * - Main thread: Only polling the ANR worker over IPC every 50ms\n * - Worker thread: Consumes around 10-20 MB of RAM\n * - When ANR detected: Brief pause in debugger to capture stack trace (negligible compared to the blocking)\n *\n * @example\n * ```javascript\n * Sentry.init({\n * dsn: \"https://examplePublicKey@o0.ingest.sentry.io/0\",\n * integrations: [\n * Sentry.anrIntegration({\n * anrThreshold: 5000,\n * captureStackTrace: true,\n * pollInterval: 50,\n * }),\n * ],\n * });\n * ```\n */\nexport const anrIntegration = defineIntegration(_anrIntegration) as AnrReturn;\n\n/**\n * Starts the ANR worker thread\n *\n * @returns A function to stop the worker\n */\nasync function _startWorker(\n client: NodeClient,\n // eslint-disable-next-line typescript/no-deprecated\n integrationOptions: Partial<AnrIntegrationOptions>,\n): Promise<() => void> {\n const dsn = client.getDsn();\n\n if (!dsn) {\n return () => {\n //\n };\n }\n\n const contexts = await getContexts(client);\n\n // These will not be accurate if sent later from the worker thread\n delete contexts.app?.app_memory;\n delete contexts.device?.free_memory;\n\n const initOptions = client.getOptions();\n\n const sdkMetadata = client.getSdkMetadata() || {};\n if (sdkMetadata.sdk) {\n sdkMetadata.sdk.integrations = initOptions.integrations.map(i => i.name);\n }\n\n const options: WorkerStartData = {\n debug: debug.isEnabled(),\n dsn,\n tunnel: initOptions.tunnel,\n environment: initOptions.environment || 'production',\n release: initOptions.release,\n dist: initOptions.dist,\n sdkMetadata,\n appRootPath: integrationOptions.appRootPath,\n pollInterval: integrationOptions.pollInterval || DEFAULT_INTERVAL,\n anrThreshold: integrationOptions.anrThreshold || DEFAULT_HANG_THRESHOLD,\n captureStackTrace: !!integrationOptions.captureStackTrace,\n maxAnrEvents: integrationOptions.maxAnrEvents || 1,\n staticTags: integrationOptions.staticTags || {},\n contexts,\n };\n\n if (options.captureStackTrace) {\n const inspector = await import('node:inspector');\n if (!inspector.url()) {\n inspector.open(0);\n }\n }\n\n const worker = new Worker(new URL(`data:application/javascript;base64,${base64WorkerScript}`), {\n workerData: options,\n // We don't want any Node args to be passed to the worker\n execArgv: [],\n env: { ...process.env, NODE_OPTIONS: undefined },\n });\n\n process.on('exit', () => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n worker.terminate();\n });\n\n const timer = setInterval(() => {\n try {\n const currentSession = getIsolationScope().getSession();\n // We need to copy the session object and remove the toJSON method so it can be sent to the worker\n // serialized without making it a SerializedSession\n const session = currentSession ? { ...currentSession, toJSON: undefined } : undefined;\n // message the worker to tell it the main event loop is still running\n worker.postMessage({ session, debugImages: getFilenameToDebugIdMap(initOptions.stackParser) });\n } catch {\n //\n }\n }, options.pollInterval);\n // Timer should not block exit\n timer.unref();\n\n worker.on('message', (msg: string) => {\n if (msg === 'session-ended') {\n log('ANR event sent from ANR worker. Clearing session in this thread.');\n getIsolationScope().setSession(undefined);\n }\n });\n\n worker.once('error', (err: Error) => {\n clearInterval(timer);\n log('ANR worker error', err);\n });\n\n worker.once('exit', (code: number) => {\n clearInterval(timer);\n log('ANR worker exit', code);\n });\n\n // Ensure this thread can't block app exit\n worker.unref();\n\n return () => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n worker.terminate();\n clearInterval(timer);\n };\n}\n\n/**\n * @see {@link disableBlockDetectionForCallback}\n *\n * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.\n */\nexport function disableAnrDetectionForCallback<T>(callback: () => T): T;\n/**\n * @see {@link disableBlockDetectionForCallback}\n *\n * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.\n */\nexport function disableAnrDetectionForCallback<T>(callback: () => Promise<T>): Promise<T>;\n/**\n * Temporarily disables ANR detection for the duration of a callback function.\n *\n * This utility function allows you to disable ANR detection during operations that\n * are expected to block the event loop, such as intensive computational tasks or\n * synchronous I/O operations.\n *\n * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.\n */\nexport function disableAnrDetectionForCallback<T>(callback: () => T | Promise<T>): T | Promise<T> {\n const integration = getClient()?.getIntegrationByName(INTEGRATION_NAME) as AnrInternal | undefined;\n\n if (!integration) {\n return callback();\n }\n\n integration.stopWorker();\n\n const result = callback();\n if (isPromise(result)) {\n return result.finally(() => integration.startWorker());\n }\n\n integration.startWorker();\n return result;\n}\n"],"names":["types","debug","GLOBAL_OBJ","getCombinedScopeData","getIsolationScope","getCurrentScope","isDebuggerEnabled","defineIntegration","Worker","getFilenameToDebugIdMap","getClient"],"mappings":";;;;;;;AAiBA,MAAM,EAAE,WAAU,GAAIA,UAAA;AAGf,MAAM,kBAAA,GAAqB;AAElC,MAAM,gBAAA,GAAmB,EAAA;AACzB,MAAM,sBAAA,GAAyB,GAAA;AAE/B,SAAS,GAAA,CAAI,YAAoB,IAAA,EAAuB;AACtD,EAAAC,UAAA,CAAM,GAAA,CAAI,CAAA,MAAA,EAAS,OAAO,CAAA,CAAA,EAAI,GAAG,IAAI,CAAA;AACvC;AAEA,SAAS,sBAAA,GAA0F;AACjG,EAAA,OAAOC,eAAA;AACT;AAGA,SAAS,YAAA,GAA0B;AACjC,EAAA,MAAM,KAAA,GAAQC,yBAAA,CAAqBC,sBAAA,EAAkB,EAAGC,sBAAiB,CAAA;AAGzE,EAAA,KAAA,CAAM,cAAc,EAAC;AAErB,EAAA,KAAA,CAAM,kBAAkB,EAAC;AAEzB,EAAA,OAAO,KAAA;AACT;AAKA,eAAe,YAAY,MAAA,EAAuC;AAChE,EAAA,IAAI,KAAA,GAAsB,EAAE,OAAA,EAAS,KAAA,EAAM;AAC3C,EAAA,MAAM,YAAuB,EAAC;AAE9B,EAAA,KAAA,MAAW,SAAA,IAAa,MAAA,CAAO,kBAAA,EAAmB,EAAG;AACnD,IAAA,IAAI,UAAU,IAAA,EAAM;AACpB,IAAA,KAAA,GAAQ,MAAM,SAAA,CAAU,KAAA,EAAO,SAAS,CAAA;AAAA,EAC1C;AAEA,EAAA,OAAO,KAAA,EAAO,YAAY,EAAC;AAC7B;AAEA,MAAM,gBAAA,GAAmB,KAAA;AAKzB,MAAM,eAAA,IAAmB,CAAC,OAAA,GAA0C,EAAC,KAAM;AACzE,EAAA,IAAI,MAAA;AACJ,EAAA,IA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