@sentry/node 8.41.0 → 8.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/build/cjs/index.js +1 -0
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/integrations/anr/index.js +26 -1
  4. package/build/cjs/integrations/anr/index.js.map +1 -1
  5. package/build/cjs/integrations/console.js.map +1 -1
  6. package/build/cjs/integrations/context.js +1 -2
  7. package/build/cjs/integrations/context.js.map +1 -1
  8. package/build/cjs/integrations/contextlines.js.map +1 -1
  9. package/build/cjs/integrations/http/SentryHttpInstrumentation.js +3 -2
  10. package/build/cjs/integrations/http/SentryHttpInstrumentation.js.map +1 -1
  11. package/build/cjs/integrations/http/index.js +12 -9
  12. package/build/cjs/integrations/http/index.js.map +1 -1
  13. package/build/cjs/integrations/http/vendor/getRequestInfo.js +130 -0
  14. package/build/cjs/integrations/http/vendor/getRequestInfo.js.map +1 -0
  15. package/build/cjs/integrations/local-variables/index.js.map +1 -1
  16. package/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
  17. package/build/cjs/integrations/local-variables/local-variables-async.js.map +1 -1
  18. package/build/cjs/integrations/local-variables/local-variables-sync.js.map +1 -1
  19. package/build/cjs/integrations/modules.js.map +1 -1
  20. package/build/cjs/integrations/node-fetch.js +9 -19
  21. package/build/cjs/integrations/node-fetch.js.map +1 -1
  22. package/build/cjs/integrations/onuncaughtexception.js.map +1 -1
  23. package/build/cjs/integrations/onunhandledrejection.js +2 -8
  24. package/build/cjs/integrations/onunhandledrejection.js.map +1 -1
  25. package/build/cjs/integrations/spotlight.js.map +1 -1
  26. package/build/cjs/integrations/tracing/amqplib.js.map +1 -1
  27. package/build/cjs/integrations/tracing/connect.js.map +1 -1
  28. package/build/cjs/integrations/tracing/dataloader.js.map +1 -1
  29. package/build/cjs/integrations/tracing/express.js +1 -0
  30. package/build/cjs/integrations/tracing/express.js.map +1 -1
  31. package/build/cjs/integrations/tracing/fastify.js.map +1 -1
  32. package/build/cjs/integrations/tracing/genericPool.js.map +1 -1
  33. package/build/cjs/integrations/tracing/graphql.js.map +1 -1
  34. package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
  35. package/build/cjs/integrations/tracing/index.js +5 -2
  36. package/build/cjs/integrations/tracing/index.js.map +1 -1
  37. package/build/cjs/integrations/tracing/kafka.js.map +1 -1
  38. package/build/cjs/integrations/tracing/knex.js.map +1 -1
  39. package/build/cjs/integrations/tracing/koa.js.map +1 -1
  40. package/build/cjs/integrations/tracing/lrumemoizer.js.map +1 -1
  41. package/build/cjs/integrations/tracing/mongo.js.map +1 -1
  42. package/build/cjs/integrations/tracing/mongoose.js.map +1 -1
  43. package/build/cjs/integrations/tracing/mysql.js.map +1 -1
  44. package/build/cjs/integrations/tracing/mysql2.js.map +1 -1
  45. package/build/cjs/integrations/tracing/nest/helpers.js.map +1 -1
  46. package/build/cjs/integrations/tracing/nest/nest.js +9 -2
  47. package/build/cjs/integrations/tracing/nest/nest.js.map +1 -1
  48. package/build/cjs/integrations/tracing/nest/sentry-nest-event-instrumentation.js.map +1 -1
  49. package/build/cjs/integrations/tracing/nest/sentry-nest-instrumentation.js.map +1 -1
  50. package/build/cjs/integrations/tracing/postgres.js.map +1 -1
  51. package/build/cjs/integrations/tracing/prisma.js.map +1 -1
  52. package/build/cjs/integrations/tracing/redis.js.map +1 -1
  53. package/build/cjs/integrations/tracing/tedious.js.map +1 -1
  54. package/build/cjs/integrations/tracing/vercelai/index.js +202 -0
  55. package/build/cjs/integrations/tracing/vercelai/index.js.map +1 -0
  56. package/build/cjs/integrations/tracing/vercelai/instrumentation.js +75 -0
  57. package/build/cjs/integrations/tracing/vercelai/instrumentation.js.map +1 -0
  58. package/build/cjs/otel/instrument.js +6 -4
  59. package/build/cjs/otel/instrument.js.map +1 -1
  60. package/build/cjs/proxy/base.js +0 -1
  61. package/build/cjs/proxy/base.js.map +1 -1
  62. package/build/cjs/sdk/api.js +0 -3
  63. package/build/cjs/sdk/api.js.map +1 -1
  64. package/build/cjs/sdk/client.js.map +1 -1
  65. package/build/cjs/sdk/index.js +2 -1
  66. package/build/cjs/sdk/index.js.map +1 -1
  67. package/build/cjs/sdk/initOtel.js +30 -5
  68. package/build/cjs/sdk/initOtel.js.map +1 -1
  69. package/build/cjs/transports/http.js.map +1 -1
  70. package/build/cjs/utils/addOriginToSpan.js.map +1 -1
  71. package/build/cjs/utils/createMissingInstrumentationContext.js.map +1 -1
  72. package/build/cjs/utils/ensureIsWrapped.js.map +1 -1
  73. package/build/cjs/utils/errorhandling.js.map +1 -1
  74. package/build/cjs/utils/module.js +8 -10
  75. package/build/cjs/utils/module.js.map +1 -1
  76. package/build/esm/index.js +1 -1
  77. package/build/esm/integrations/anr/index.js +27 -3
  78. package/build/esm/integrations/anr/index.js.map +1 -1
  79. package/build/esm/integrations/anr/worker-script.js +2 -2
  80. package/build/esm/integrations/console.js.map +1 -1
  81. package/build/esm/integrations/context.js +1 -2
  82. package/build/esm/integrations/context.js.map +1 -1
  83. package/build/esm/integrations/contextlines.js.map +1 -1
  84. package/build/esm/integrations/http/SentryHttpInstrumentation.js +3 -2
  85. package/build/esm/integrations/http/SentryHttpInstrumentation.js.map +1 -1
  86. package/build/esm/integrations/http/index.js +12 -9
  87. package/build/esm/integrations/http/index.js.map +1 -1
  88. package/build/esm/integrations/http/vendor/getRequestInfo.js +128 -0
  89. package/build/esm/integrations/http/vendor/getRequestInfo.js.map +1 -0
  90. package/build/esm/integrations/local-variables/index.js.map +1 -1
  91. package/build/esm/integrations/local-variables/local-variables-async.js +1 -1
  92. package/build/esm/integrations/local-variables/local-variables-async.js.map +1 -1
  93. package/build/esm/integrations/local-variables/local-variables-sync.js.map +1 -1
  94. package/build/esm/integrations/local-variables/worker-script.js +2 -2
  95. package/build/esm/integrations/modules.js.map +1 -1
  96. package/build/esm/integrations/node-fetch.js +10 -20
  97. package/build/esm/integrations/node-fetch.js.map +1 -1
  98. package/build/esm/integrations/onuncaughtexception.js.map +1 -1
  99. package/build/esm/integrations/onunhandledrejection.js +2 -8
  100. package/build/esm/integrations/onunhandledrejection.js.map +1 -1
  101. package/build/esm/integrations/spotlight.js.map +1 -1
  102. package/build/esm/integrations/tracing/amqplib.js.map +1 -1
  103. package/build/esm/integrations/tracing/connect.js.map +1 -1
  104. package/build/esm/integrations/tracing/dataloader.js.map +1 -1
  105. package/build/esm/integrations/tracing/express.js +1 -0
  106. package/build/esm/integrations/tracing/express.js.map +1 -1
  107. package/build/esm/integrations/tracing/fastify.js.map +1 -1
  108. package/build/esm/integrations/tracing/genericPool.js.map +1 -1
  109. package/build/esm/integrations/tracing/graphql.js.map +1 -1
  110. package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
  111. package/build/esm/integrations/tracing/index.js +3 -0
  112. package/build/esm/integrations/tracing/index.js.map +1 -1
  113. package/build/esm/integrations/tracing/kafka.js.map +1 -1
  114. package/build/esm/integrations/tracing/knex.js.map +1 -1
  115. package/build/esm/integrations/tracing/koa.js.map +1 -1
  116. package/build/esm/integrations/tracing/lrumemoizer.js.map +1 -1
  117. package/build/esm/integrations/tracing/mongo.js.map +1 -1
  118. package/build/esm/integrations/tracing/mongoose.js.map +1 -1
  119. package/build/esm/integrations/tracing/mysql.js.map +1 -1
  120. package/build/esm/integrations/tracing/mysql2.js.map +1 -1
  121. package/build/esm/integrations/tracing/nest/helpers.js.map +1 -1
  122. package/build/esm/integrations/tracing/nest/nest.js +9 -2
  123. package/build/esm/integrations/tracing/nest/nest.js.map +1 -1
  124. package/build/esm/integrations/tracing/nest/sentry-nest-event-instrumentation.js.map +1 -1
  125. package/build/esm/integrations/tracing/nest/sentry-nest-instrumentation.js.map +1 -1
  126. package/build/esm/integrations/tracing/postgres.js.map +1 -1
  127. package/build/esm/integrations/tracing/prisma.js.map +1 -1
  128. package/build/esm/integrations/tracing/redis.js.map +1 -1
  129. package/build/esm/integrations/tracing/tedious.js.map +1 -1
  130. package/build/esm/integrations/tracing/vercelai/index.js +196 -0
  131. package/build/esm/integrations/tracing/vercelai/index.js.map +1 -0
  132. package/build/esm/integrations/tracing/vercelai/instrumentation.js +73 -0
  133. package/build/esm/integrations/tracing/vercelai/instrumentation.js.map +1 -0
  134. package/build/esm/otel/instrument.js +4 -2
  135. package/build/esm/otel/instrument.js.map +1 -1
  136. package/build/esm/package.json +1 -1
  137. package/build/esm/proxy/base.js +0 -1
  138. package/build/esm/proxy/base.js.map +1 -1
  139. package/build/esm/sdk/api.js +0 -3
  140. package/build/esm/sdk/api.js.map +1 -1
  141. package/build/esm/sdk/client.js.map +1 -1
  142. package/build/esm/sdk/index.js +2 -1
  143. package/build/esm/sdk/index.js.map +1 -1
  144. package/build/esm/sdk/initOtel.js +30 -6
  145. package/build/esm/sdk/initOtel.js.map +1 -1
  146. package/build/esm/transports/http.js.map +1 -1
  147. package/build/esm/utils/addOriginToSpan.js.map +1 -1
  148. package/build/esm/utils/createMissingInstrumentationContext.js.map +1 -1
  149. package/build/esm/utils/ensureIsWrapped.js.map +1 -1
  150. package/build/esm/utils/errorhandling.js.map +1 -1
  151. package/build/esm/utils/module.js +8 -10
  152. package/build/esm/utils/module.js.map +1 -1
  153. package/build/types/index.d.ts +2 -2
  154. package/build/types/index.d.ts.map +1 -1
  155. package/build/types/integrations/anr/common.d.ts +1 -1
  156. package/build/types/integrations/anr/common.d.ts.map +1 -1
  157. package/build/types/integrations/anr/index.d.ts +3 -1
  158. package/build/types/integrations/anr/index.d.ts.map +1 -1
  159. package/build/types/integrations/childProcess.d.ts +2 -2
  160. package/build/types/integrations/childProcess.d.ts.map +1 -1
  161. package/build/types/integrations/console.d.ts +1 -1
  162. package/build/types/integrations/console.d.ts.map +1 -1
  163. package/build/types/integrations/context.d.ts +2 -2
  164. package/build/types/integrations/context.d.ts.map +1 -1
  165. package/build/types/integrations/contextlines.d.ts +2 -2
  166. package/build/types/integrations/contextlines.d.ts.map +1 -1
  167. package/build/types/integrations/fs.d.ts +1 -1
  168. package/build/types/integrations/fs.d.ts.map +1 -1
  169. package/build/types/integrations/http/SentryHttpInstrumentation.d.ts.map +1 -1
  170. package/build/types/integrations/http/index.d.ts +11 -2
  171. package/build/types/integrations/http/index.d.ts.map +1 -1
  172. package/build/types/integrations/http/vendor/getRequestInfo.d.ts +21 -0
  173. package/build/types/integrations/http/vendor/getRequestInfo.d.ts.map +1 -0
  174. package/build/types/integrations/local-variables/index.d.ts +1 -1
  175. package/build/types/integrations/local-variables/index.d.ts.map +1 -1
  176. package/build/types/integrations/local-variables/local-variables-async.d.ts +1 -1
  177. package/build/types/integrations/local-variables/local-variables-async.d.ts.map +1 -1
  178. package/build/types/integrations/local-variables/local-variables-sync.d.ts +2 -2
  179. package/build/types/integrations/local-variables/local-variables-sync.d.ts.map +1 -1
  180. package/build/types/integrations/modules.d.ts +1 -1
  181. package/build/types/integrations/modules.d.ts.map +1 -1
  182. package/build/types/integrations/node-fetch.d.ts +1 -1
  183. package/build/types/integrations/node-fetch.d.ts.map +1 -1
  184. package/build/types/integrations/onuncaughtexception.d.ts +1 -1
  185. package/build/types/integrations/onuncaughtexception.d.ts.map +1 -1
  186. package/build/types/integrations/onunhandledrejection.d.ts +2 -2
  187. package/build/types/integrations/onunhandledrejection.d.ts.map +1 -1
  188. package/build/types/integrations/spotlight.d.ts +1 -1
  189. package/build/types/integrations/spotlight.d.ts.map +1 -1
  190. package/build/types/integrations/tracing/amqplib.d.ts +1 -1
  191. package/build/types/integrations/tracing/amqplib.d.ts.map +1 -1
  192. package/build/types/integrations/tracing/connect.d.ts +1 -1
  193. package/build/types/integrations/tracing/connect.d.ts.map +1 -1
  194. package/build/types/integrations/tracing/dataloader.d.ts +1 -1
  195. package/build/types/integrations/tracing/dataloader.d.ts.map +1 -1
  196. package/build/types/integrations/tracing/express.d.ts +1 -1
  197. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  198. package/build/types/integrations/tracing/fastify.d.ts +1 -1
  199. package/build/types/integrations/tracing/fastify.d.ts.map +1 -1
  200. package/build/types/integrations/tracing/genericPool.d.ts +1 -1
  201. package/build/types/integrations/tracing/genericPool.d.ts.map +1 -1
  202. package/build/types/integrations/tracing/graphql.d.ts +1 -1
  203. package/build/types/integrations/tracing/graphql.d.ts.map +1 -1
  204. package/build/types/integrations/tracing/hapi/index.d.ts +1 -1
  205. package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  206. package/build/types/integrations/tracing/index.d.ts +1 -1
  207. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  208. package/build/types/integrations/tracing/kafka.d.ts +1 -1
  209. package/build/types/integrations/tracing/kafka.d.ts.map +1 -1
  210. package/build/types/integrations/tracing/knex.d.ts +1 -1
  211. package/build/types/integrations/tracing/knex.d.ts.map +1 -1
  212. package/build/types/integrations/tracing/koa.d.ts +1 -1
  213. package/build/types/integrations/tracing/koa.d.ts.map +1 -1
  214. package/build/types/integrations/tracing/lrumemoizer.d.ts +1 -1
  215. package/build/types/integrations/tracing/lrumemoizer.d.ts.map +1 -1
  216. package/build/types/integrations/tracing/mongo.d.ts +1 -1
  217. package/build/types/integrations/tracing/mongo.d.ts.map +1 -1
  218. package/build/types/integrations/tracing/mongoose.d.ts +1 -1
  219. package/build/types/integrations/tracing/mongoose.d.ts.map +1 -1
  220. package/build/types/integrations/tracing/mysql.d.ts +1 -15
  221. package/build/types/integrations/tracing/mysql.d.ts.map +1 -1
  222. package/build/types/integrations/tracing/mysql2.d.ts +1 -1
  223. package/build/types/integrations/tracing/mysql2.d.ts.map +1 -1
  224. package/build/types/integrations/tracing/nest/helpers.d.ts +1 -1
  225. package/build/types/integrations/tracing/nest/helpers.d.ts.map +1 -1
  226. package/build/types/integrations/tracing/nest/nest.d.ts +1 -1
  227. package/build/types/integrations/tracing/nest/nest.d.ts.map +1 -1
  228. package/build/types/integrations/tracing/nest/sentry-nest-event-instrumentation.d.ts.map +1 -1
  229. package/build/types/integrations/tracing/nest/sentry-nest-instrumentation.d.ts.map +1 -1
  230. package/build/types/integrations/tracing/nest/types.d.ts +14 -6
  231. package/build/types/integrations/tracing/nest/types.d.ts.map +1 -1
  232. package/build/types/integrations/tracing/postgres.d.ts +1 -1
  233. package/build/types/integrations/tracing/postgres.d.ts.map +1 -1
  234. package/build/types/integrations/tracing/prisma.d.ts +1 -1
  235. package/build/types/integrations/tracing/prisma.d.ts.map +1 -1
  236. package/build/types/integrations/tracing/redis.d.ts +1 -1
  237. package/build/types/integrations/tracing/redis.d.ts.map +1 -1
  238. package/build/types/integrations/tracing/tedious.d.ts +1 -1
  239. package/build/types/integrations/tracing/tedious.d.ts.map +1 -1
  240. package/build/types/integrations/tracing/vercelai/index.d.ts +40 -0
  241. package/build/types/integrations/tracing/vercelai/index.d.ts.map +1 -0
  242. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts +21 -0
  243. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts.map +1 -0
  244. package/build/types/integrations/tracing/vercelai/types.d.ts +38 -0
  245. package/build/types/integrations/tracing/vercelai/types.d.ts.map +1 -0
  246. package/build/types/otel/instrument.d.ts +1 -1
  247. package/build/types/otel/instrument.d.ts.map +1 -1
  248. package/build/types/proxy/base.d.ts.map +1 -1
  249. package/build/types/sdk/api.d.ts +1 -1
  250. package/build/types/sdk/api.d.ts.map +1 -1
  251. package/build/types/sdk/client.d.ts +1 -2
  252. package/build/types/sdk/client.d.ts.map +1 -1
  253. package/build/types/sdk/index.d.ts +1 -1
  254. package/build/types/sdk/index.d.ts.map +1 -1
  255. package/build/types/sdk/initOtel.d.ts +2 -0
  256. package/build/types/sdk/initOtel.d.ts.map +1 -1
  257. package/build/types/sdk/scope.d.ts +1 -1
  258. package/build/types/sdk/scope.d.ts.map +1 -1
  259. package/build/types/transports/http.d.ts +1 -1
  260. package/build/types/transports/http.d.ts.map +1 -1
  261. package/build/types/types.d.ts +2 -2
  262. package/build/types/types.d.ts.map +1 -1
  263. package/build/types/utils/addOriginToSpan.d.ts +1 -1
  264. package/build/types/utils/addOriginToSpan.d.ts.map +1 -1
  265. package/build/types/utils/createMissingInstrumentationContext.d.ts +1 -1
  266. package/build/types/utils/createMissingInstrumentationContext.d.ts.map +1 -1
  267. package/build/types/utils/ensureIsWrapped.d.ts.map +1 -1
  268. package/build/types/utils/entry-point.d.ts +24 -0
  269. package/build/types/utils/entry-point.d.ts.map +1 -0
  270. package/build/types/utils/errorhandling.d.ts +1 -1
  271. package/build/types/utils/errorhandling.d.ts.map +1 -1
  272. package/build/types/utils/module.d.ts.map +1 -1
  273. package/build/types/utils/prepareEvent.d.ts +1 -1
  274. package/build/types/utils/prepareEvent.d.ts.map +1 -1
  275. package/build/types-ts3.8/index.d.ts +2 -2
  276. package/build/types-ts3.8/integrations/anr/common.d.ts +1 -1
  277. package/build/types-ts3.8/integrations/anr/index.d.ts +3 -1
  278. package/build/types-ts3.8/integrations/childProcess.d.ts +2 -2
  279. package/build/types-ts3.8/integrations/console.d.ts +1 -1
  280. package/build/types-ts3.8/integrations/context.d.ts +2 -2
  281. package/build/types-ts3.8/integrations/contextlines.d.ts +2 -2
  282. package/build/types-ts3.8/integrations/fs.d.ts +1 -1
  283. package/build/types-ts3.8/integrations/http/index.d.ts +11 -2
  284. package/build/types-ts3.8/integrations/http/vendor/getRequestInfo.d.ts +21 -0
  285. package/build/types-ts3.8/integrations/local-variables/index.d.ts +1 -1
  286. package/build/types-ts3.8/integrations/local-variables/local-variables-async.d.ts +1 -1
  287. package/build/types-ts3.8/integrations/local-variables/local-variables-sync.d.ts +2 -2
  288. package/build/types-ts3.8/integrations/modules.d.ts +1 -1
  289. package/build/types-ts3.8/integrations/node-fetch.d.ts +1 -1
  290. package/build/types-ts3.8/integrations/onuncaughtexception.d.ts +1 -1
  291. package/build/types-ts3.8/integrations/onunhandledrejection.d.ts +2 -2
  292. package/build/types-ts3.8/integrations/spotlight.d.ts +1 -1
  293. package/build/types-ts3.8/integrations/tracing/amqplib.d.ts +1 -1
  294. package/build/types-ts3.8/integrations/tracing/connect.d.ts +1 -1
  295. package/build/types-ts3.8/integrations/tracing/dataloader.d.ts +1 -1
  296. package/build/types-ts3.8/integrations/tracing/express.d.ts +1 -1
  297. package/build/types-ts3.8/integrations/tracing/fastify.d.ts +1 -1
  298. package/build/types-ts3.8/integrations/tracing/genericPool.d.ts +1 -1
  299. package/build/types-ts3.8/integrations/tracing/graphql.d.ts +1 -1
  300. package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +1 -1
  301. package/build/types-ts3.8/integrations/tracing/index.d.ts +1 -1
  302. package/build/types-ts3.8/integrations/tracing/kafka.d.ts +1 -1
  303. package/build/types-ts3.8/integrations/tracing/knex.d.ts +1 -1
  304. package/build/types-ts3.8/integrations/tracing/koa.d.ts +1 -1
  305. package/build/types-ts3.8/integrations/tracing/lrumemoizer.d.ts +1 -1
  306. package/build/types-ts3.8/integrations/tracing/mongo.d.ts +1 -1
  307. package/build/types-ts3.8/integrations/tracing/mongoose.d.ts +1 -1
  308. package/build/types-ts3.8/integrations/tracing/mysql.d.ts +1 -15
  309. package/build/types-ts3.8/integrations/tracing/mysql2.d.ts +1 -1
  310. package/build/types-ts3.8/integrations/tracing/nest/helpers.d.ts +1 -1
  311. package/build/types-ts3.8/integrations/tracing/nest/nest.d.ts +1 -1
  312. package/build/types-ts3.8/integrations/tracing/nest/types.d.ts +14 -6
  313. package/build/types-ts3.8/integrations/tracing/postgres.d.ts +1 -1
  314. package/build/types-ts3.8/integrations/tracing/prisma.d.ts +1 -1
  315. package/build/types-ts3.8/integrations/tracing/redis.d.ts +1 -1
  316. package/build/types-ts3.8/integrations/tracing/tedious.d.ts +1 -1
  317. package/build/types-ts3.8/integrations/tracing/vercelai/index.d.ts +40 -0
  318. package/build/types-ts3.8/integrations/tracing/vercelai/instrumentation.d.ts +21 -0
  319. package/build/types-ts3.8/integrations/tracing/vercelai/types.d.ts +38 -0
  320. package/build/types-ts3.8/sdk/api.d.ts +1 -1
  321. package/build/types-ts3.8/sdk/client.d.ts +1 -2
  322. package/build/types-ts3.8/sdk/index.d.ts +1 -1
  323. package/build/types-ts3.8/sdk/initOtel.d.ts +2 -0
  324. package/build/types-ts3.8/sdk/scope.d.ts +1 -1
  325. package/build/types-ts3.8/transports/http.d.ts +1 -1
  326. package/build/types-ts3.8/types.d.ts +2 -2
  327. package/build/types-ts3.8/utils/addOriginToSpan.d.ts +1 -1
  328. package/build/types-ts3.8/utils/createMissingInstrumentationContext.d.ts +1 -1
  329. package/build/types-ts3.8/utils/entry-point.d.ts +24 -0
  330. package/build/types-ts3.8/utils/errorhandling.d.ts +1 -1
  331. package/build/types-ts3.8/utils/prepareEvent.d.ts +1 -1
  332. package/package.json +33 -34
@@ -1,8 +1,7 @@
1
1
  import type { Tracer } from '@opentelemetry/api';
2
2
  import type { BasicTracerProvider } from '@opentelemetry/sdk-trace-base';
3
- import type { Scope } from '@sentry/core';
3
+ import type { DynamicSamplingContext, Scope, TraceContext } from '@sentry/core';
4
4
  import { ServerRuntimeClient } from '@sentry/core';
5
- import type { DynamicSamplingContext, TraceContext } from '@sentry/types';
6
5
  import type { NodeClientOptions } from '../types';
7
6
  /** A client for using Sentry with Node & OpenTelemetry. */
8
7
  export declare class NodeClient extends ServerRuntimeClient<NodeClientOptions> {
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/sdk/client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAA8B,MAAM,cAAc,CAAC;AACtE,OAAO,EAAe,mBAAmB,EAA4B,MAAM,cAAc,CAAC;AAE1F,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAIlD,2DAA2D;AAC3D,qBAAa,UAAW,SAAQ,mBAAmB,CAAC,iBAAiB,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2B;gBAEhD,OAAO,EAAE,iBAAiB;IAuB7C,2BAA2B;IAC3B,IAAW,MAAM,IAAI,MAAM,CAW1B;IAIY,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAiB/C,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC;IAYhE;;;;;;OAMG;IASI,yBAAyB,IAAI,IAAI;IAqBxC,2EAA2E;IAC3E,SAAS,CAAC,sBAAsB,CAC9B,KAAK,EAAE,KAAK,GAAG,SAAS,GACvB,CAAC,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,EAAE,YAAY,EAAE,YAAY,GAAG,SAAS,CAAC;CAOjH"}
@@ -1,4 +1,4 @@
1
- import type { Integration, Options } from '@sentry/types';
1
+ import type { Integration, Options } from '@sentry/core';
2
2
  import type { NodeOptions } from '../types';
3
3
  import { NodeClient } from './client';
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/index.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAgB1D,OAAO,KAAK,EAAqB,WAAW,EAAE,MAAM,UAAU,CAAC;AAI/D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAOtC;;GAEG;AACH,wBAAgB,wCAAwC,IAAI,WAAW,EAAE,CAqBxE;AAED,qDAAqD;AACrD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CAStE;AAYD;;GAEG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAW,GAAG,SAAc,GAAG,UAAU,GAAG,SAAS,CAElF;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,WAAW,GAAG,SAAc,GAAG,UAAU,CAEhG;AAqED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CA0BjD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAuCzD,OAAO,KAAK,EAAqB,WAAW,EAAE,MAAM,UAAU,CAAC;AAI/D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAOtC;;GAEG;AACH,wBAAgB,wCAAwC,IAAI,WAAW,EAAE,CAqBxE;AAED,qDAAqD;AACrD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CAStE;AAYD;;GAEG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAW,GAAG,SAAc,GAAG,UAAU,GAAG,SAAS,CAElF;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,WAAW,GAAG,SAAc,GAAG,UAAU,CAEhG;AAsED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CA0BjD"}
@@ -20,5 +20,7 @@ interface NodePreloadOptions {
20
20
  export declare function preloadOpenTelemetry(options?: NodePreloadOptions): void;
21
21
  /** Just exported for tests. */
22
22
  export declare function setupOtel(client: NodeClient): BasicTracerProvider;
23
+ /** Just exported for tests. */
24
+ export declare function _clampSpanProcessorTimeout(maxSpanWaitDuration: number | undefined): number | undefined;
23
25
  export {};
24
26
  //# sourceMappingURL=initOtel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"initOtel.d.ts","sourceRoot":"","sources":["../../../src/sdk/initOtel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAapE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C;;GAEG;AACH,wBAAgB,iBAAi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EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAiBtG"}
@@ -1,4 +1,4 @@
1
- import type { Scope } from '@sentry/types';
1
+ import type { Scope } from '@sentry/core';
2
2
  /**
3
3
  * Update the active isolation scope.
4
4
  * Should be used with caution!
@@ -1 +1 @@
1
- {"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../../src/sdk/scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,KAAK,GAAG,IAAI,CAK7D"}
1
+ {"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../../src/sdk/scope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAG1C;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,KAAK,GAAG,IAAI,CAK7D"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import type { BaseTransportOptions, Transport } from '@sentry/types';
2
+ import type { BaseTransportOptions, Transport } from '@sentry/core';
3
3
  import type { HTTPModule } from './http-module';
4
4
  export interface NodeTransportOptions extends BaseTransportOptions {
5
5
  /** Define custom headers */
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/transports/http.ts"],"names":[],"mappings":";AAMA,OAAO,KAAK,EACV,oBAAoB,EACpB,SAAS,EAIV,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACnD,6EAA6E;IAC7E,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAkBD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAmC1E"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/transports/http.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,SAAS,EAIV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACnD,6EAA6E;IAC7E,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAkBD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAmC1E"}
@@ -1,7 +1,7 @@
1
1
  import type { Span as WriteableSpan } from '@opentelemetry/api';
2
2
  import type { Instrumentation } from '@opentelemetry/instrumentation';
3
3
  import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
4
- import type { ClientOptions, Options, SamplingContext, Scope, Span, TracePropagationTargets } from '@sentry/types';
4
+ import type { ClientOptions, Options, SamplingContext, Scope, Span, TracePropagationTargets } from '@sentry/core';
5
5
  import type { NodeTransportOptions } from './transports';
6
6
  /**
7
7
  * Note: In the next major version of the Sentry SDK this interface will be removed and the SDK will by default only wrap
@@ -152,7 +152,7 @@ export interface BaseNodeOptions {
152
152
  }
153
153
  /**
154
154
  * Configuration options for the Sentry Node SDK
155
- * @see @sentry/types Options for more information.
155
+ * @see @sentry/core Options for more information.
156
156
  */
157
157
  export interface NodeOptions extends Options<NodeTransportOptions>, BaseNodeOptions {
158
158
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAEnH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEjC;;;;;;;;;;;;;OAaG;IAEH,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;;;;;;;OAeG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAElD;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;;;;;OAWG;IACH,eAAe,CAAC,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,MAAM,GAAG,OAAO,CAAC;IAEzE,iDAAiD;IACjD,UAAU,CAAC,EAA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,kEAAkE;IAClE,YAAY,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,oBAAoB,CAAC,EAAE,eAAe;CAAG;AAEtF;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,aAAa,CAAC,oBAAoB,CAAC,EAAE,eAAe;CAAG;AAElG,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC;IACb,cAAc,EAAE,KAAK,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,IAAI,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Span } from '@opentelemetry/api';
2
- import type { SpanOrigin } from '@sentry/types';
2
+ import type { SpanOrigin } from '@sentry/core';
3
3
  /** Adds an origin to an OTEL Span. */
4
4
  export declare function addOriginToSpan(span: Span, origin: SpanOrigin): void;
5
5
  //# sourceMappingURL=addOriginToSpan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addOriginToSpan.d.ts","sourceRoot":"","sources":["../../../src/utils/addOriginToSpan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,sCAAsC;AACtC,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAEpE"}
1
+ {"version":3,"file":"addOriginToSpan.d.ts","sourceRoot":"","sources":["../../../src/utils/addOriginToSpan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,sCAAsC;AACtC,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAEpE"}
@@ -1,3 +1,3 @@
1
- import type { MissingInstrumentationContext } from '@sentry/types';
1
+ import type { MissingInstrumentationContext } from '@sentry/core';
2
2
  export declare const createMissingInstrumentationContext: (pkg: string) => MissingInstrumentationContext;
3
3
  //# sourceMappingURL=createMissingInstrumentationContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createMissingInstrumentationContext.d.ts","sourceRoot":"","sources":["../../../src/utils/createMissingInstrumentationContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAGnE,eAAO,MAAM,mCAAmC,QAAS,MAAM,KAAG,6BAGhE,CAAC"}
1
+ {"version":3,"file":"createMissingInstrumentationContext.d.ts","sourceRoot":"","sources":["../../../src/utils/createMissingInstrumentationContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,mCAAmC,QAAS,MAAM,KAAG,6BAGhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ensureIsWrapped.d.ts","sourceRoot":"","sources":["../../../src/utils/ensureIsWrapped.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,eAAe,CAC7B,oBAAoB,EAAE,OAAO,EAC7B,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,GACvD,IAAI,CAwBN"}
1
+ {"version":3,"file":"ensureIsWrapped.d.ts","sourceRoot":"","sources":["../../../src/utils/ensureIsWrapped.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,eAAe,CAC7B,oBAAoB,EAAE,OAAO,EAC7B,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,GACvD,IAAI,CAwBN"}
@@ -0,0 +1,24 @@
1
+ export interface ProcessInterface {
2
+ execArgv: string[];
3
+ argv: string[];
4
+ cwd: () => string;
5
+ }
6
+ export interface ProcessArgs {
7
+ appPath: string;
8
+ importPaths: string[];
9
+ requirePaths: string[];
10
+ }
11
+ /**
12
+ * Parses the process arguments to determine the app path, import paths, and require paths.
13
+ */
14
+ export declare function parseProcessPaths(proc: ProcessInterface): ProcessArgs;
15
+ /**
16
+ * Gets the current entry point type.
17
+ *
18
+ * `app` means this function was most likely called via the app entry point.
19
+ * `import` means this function was most likely called from an --import cli arg.
20
+ * `require` means this function was most likely called from a --require cli arg.
21
+ * `unknown` means we couldn't determine for sure.
22
+ */
23
+ export declare function getEntryPointType(proc?: ProcessInterface): 'import' | 'require' | 'app' | 'unknown';
24
+ //# sourceMappingURL=entry-point.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry-point.d.ts","sourceRoot":"","sources":["../../../src/utils/entry-point.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,MAAM,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,GAAG,WAAW,CAUrE;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,GAAE,gBAA0B,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,CA2B5G"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * @hidden
3
3
  */
4
- export declare function logAndExitProcess(error: Error): void;
4
+ export declare function logAndExitProcess(error: unknown): void;
5
5
  //# sourceMappingURL=errorhandling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../../../src/utils/errorhandling.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CA6BpD"}
1
+ {"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../../../src/utils/errorhandling.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CA6BtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/utils/module.ts"],"names":[],"mappings":"AAUA,mEAAmE;AACnE,wBAAgB,2BAA2B,CACzC,QAAQ,GAAE,MAAmE,EAC7E,SAAS,GAAE,OAAsB,GAChC,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CA0CtD"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/utils/module.ts"],"names":[],"mappings":"AAUA,mEAAmE;AACnE,wBAAgB,2BAA2B,CACzC,QAAQ,GAAE,MAAmE,EAC7E,SAAS,GAAE,OAAsB,GAChC,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAwCtD"}
@@ -1,4 +1,4 @@
1
- import type { CaptureContext, EventHint, ScopeContext } from '@sentry/types';
1
+ import type { CaptureContext, EventHint, ScopeContext } from '@sentry/core';
2
2
  /**
3
3
  * This type makes sure that we get either a CaptureContext, OR an EventHint.
4
4
  * It does not allow mixing them, which could lead to unexpected outcomes, e.g. this is disallowed:
@@ -1 +1 @@
1
- {"version":3,"file":"prepareEvent.d.ts","sourceRoot":"","sources":["../../../src/utils/prepareEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAA2B,YAAY,EAAE,MAAM,eAAe,CAAC;AAEtG;;;;GAIG;AACH,MAAM,MAAM,kCAAkC,GAC1C,CAAC,cAAc,GAAG,OAAO,CAAC;KAAG,GAAG,IAAI,MAAM,SAAS,GAAG,KAAK;CAAE,CAAC,CAAC,GAC/D,CAAC,SAAS,GAAG,OAAO,CAAC;KAAG,GAAG,IAAI,MAAM,YAAY,GAAG,KAAK;CAAE,CAAC,CAAC,CAAC;AAElE;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,kCAAkC,GAAG,SAAS,GACnD,SAAS,GAAG,SAAS,CAiBvB"}
1
+ {"version":3,"file":"prepareEvent.d.ts","sourceRoot":"","sources":["../../../src/utils/prepareEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAA2B,YAAY,EAAE,MAAM,cAAc,CAAC;AAErG;;;;GAIG;AACH,MAAM,MAAM,kCAAkC,GAC1C,CAAC,cAAc,GAAG,OAAO,CAAC;KAAG,GAAG,IAAI,MAAM,SAAS,GAAG,KAAK;CAAE,CAAC,CAAC,GAC/D,CAAC,SAAS,GAAG,OAAO,CAAC;KAAG,GAAG,IAAI,MAAM,YAAY,GAAG,KAAK;CAAE,CAAC,CAAC,CAAC;AAElE;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,kCAAkC,GAAG,SAAS,GACnD,SAAS,GAAG,SAAS,CAiBvB"}
@@ -8,7 +8,7 @@ export { localVariablesIntegration } from './integrations/local-variables';
8
8
  export { modulesIntegration } from './integrations/modules';
9
9
  export { onUncaughtExceptionIntegration } from './integrations/onuncaughtexception';
10
10
  export { onUnhandledRejectionIntegration } from './integrations/onunhandledrejection';
11
- export { anrIntegration } from './integrations/anr';
11
+ export { anrIntegration, disableAnrDetectionForCallback } from './integrations/anr';
12
12
  export { expressIntegration, expressErrorHandler, setupExpressErrorHandler } from './integrations/tracing/express';
13
13
  export { fastifyIntegration, setupFastifyErrorHandler } from './integrations/tracing/fastify';
14
14
  export { graphqlIntegration } from './integrations/tracing/graphql';
@@ -46,5 +46,5 @@ export { NodeOptions } from './types';
46
46
  export { addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData } from '@sentry/core';
47
47
  export { addOpenTelemetryInstrumentation, continueTrace, setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy, } from '@sentry/opentelemetry';
48
48
  export { addBreadcrumb, isInitialized, getGlobalScope, lastEventId, close, createTransport, flush, SDK_VERSION, getSpanStatusFromHttpCode, setHttpStatus, captureCheckIn, withMonitor, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, addEventProcessor, setContext, setExtra, setExtras, setTag, setTags, setUser, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, setCurrentClient, Scope, setMeasurement, getSpanDescendants, parameterize, getClient, getCurrentHub, getCurrentScope, getIsolationScope, getTraceData, getTraceMetaTags, withScope, withIsolationScope, captureException, captureEvent, captureMessage, captureFeedback, captureConsoleIntegration, debugIntegration, dedupeIntegration, extraErrorDataIntegration, rewriteFramesIntegration, sessionTimingIntegration, metricsDefault as metrics, startSession, captureSession, endSession, addIntegration, startSpan, startSpanManual, startInactiveSpan, startNewTrace, suppressTracing, getActiveSpan, withActiveSpan, getRootSpan, spanToJSON, spanToTraceHeader, spanToBaggageHeader, trpcMiddleware, zodErrorsIntegration, profiler, } from '@sentry/core';
49
- export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, } from '@sentry/types';
49
+ export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, } from '@sentry/core';
50
50
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/types';
1
+ import { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/core';
2
2
  export interface AnrIntegrationOptions {
3
3
  /**
4
4
  * Interval to send heartbeat messages to the ANR worker.
@@ -1,4 +1,4 @@
1
- import { Integration } from '@sentry/types';
1
+ import { Integration } from '@sentry/core';
2
2
  import { AnrIntegrationOptions } from './common';
3
3
  export declare const base64WorkerScript = "###AnrWorkerScript###";
4
4
  type AnrInternal = {
@@ -7,5 +7,7 @@ type AnrInternal = {
7
7
  };
8
8
  type AnrReturn = (options?: Partial<AnrIntegrationOptions>) => Integration & AnrInternal;
9
9
  export declare const anrIntegration: AnrReturn;
10
+ export declare function disableAnrDetectionForCallback<T>(callback: () => T): T;
11
+ export declare function disableAnrDetectionForCallback<T>(callback: () => Promise<T>): Promise<T>;
10
12
  export {};
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -9,12 +9,12 @@ interface Options {
9
9
  /**
10
10
  * Capture breadcrumbs for child processes and worker threads.
11
11
  */
12
- export declare const childProcessIntegration: (options?: Options | undefined) => import("@sentry/types").Integration;
12
+ export declare const childProcessIntegration: (options?: Options | undefined) => import("@sentry/core").Integration;
13
13
  /**
14
14
  * Capture breadcrumbs for child processes and worker threads.
15
15
  *
16
16
  * @deprecated Use `childProcessIntegration` integration instead. Functionally they are the same. `processThreadBreadcrumbIntegration` will be removed in the next major version.
17
17
  */
18
- export declare const processThreadBreadcrumbIntegration: (options?: Options | undefined) => import("@sentry/types").Integration;
18
+ export declare const processThreadBreadcrumbIntegration: (options?: Options | undefined) => import("@sentry/core").Integration;
19
19
  export {};
20
20
  //# sourceMappingURL=childProcess.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Capture console logs as breadcrumbs.
3
3
  */
4
- export declare const consoleIntegration: () => import("@sentry/types").Integration;
4
+ export declare const consoleIntegration: () => import("@sentry/core").Integration;
5
5
  //# sourceMappingURL=console.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { readFile, readdir } from 'node:fs';
3
- import { AppContext, DeviceContext } from '@sentry/types';
3
+ import { AppContext, DeviceContext } from '@sentry/core';
4
4
  export declare const readFileAsync: typeof readFile.__promisify__;
5
5
  export declare const readDirAsync: typeof readdir.__promisify__;
6
6
  interface DeviceContextOptions {
@@ -17,7 +17,7 @@ interface ContextOptions {
17
17
  /**
18
18
  * Capture context about the environment and the device that the client is running on, to events.
19
19
  */
20
- export declare const nodeContextIntegration: (options?: ContextOptions | undefined) => import("@sentry/types").Integration;
20
+ export declare const nodeContextIntegration: (options?: ContextOptions | undefined) => import("@sentry/core").Integration;
21
21
  /**
22
22
  * Get app context information from process
23
23
  */
@@ -1,4 +1,4 @@
1
- import { Event, StackFrame } from '@sentry/types';
1
+ import { Event, StackFrame } from '@sentry/core';
2
2
  export declare const MAX_CONTEXTLINES_COLNO: number;
3
3
  export declare const MAX_CONTEXTLINES_LINENO: number;
4
4
  interface ContextLinesOptions {
@@ -26,6 +26,6 @@ export declare const _contextLinesIntegration: (options?: ContextLinesOptions) =
26
26
  /**
27
27
  * Capture the lines before and after the frame's context.
28
28
  */
29
- export declare const contextLinesIntegration: (options?: ContextLinesOptions | undefined) => import("@sentry/types").Integration;
29
+ export declare const contextLinesIntegration: (options?: ContextLinesOptions | undefined) => import("@sentry/core").Integration;
30
30
  export {};
31
31
  //# sourceMappingURL=contextlines.d.ts.map
@@ -20,5 +20,5 @@ export declare const fsIntegration: (options?: {
20
20
  * Defaults to `false`.
21
21
  */
22
22
  recordErrorMessagesAsSpanAttributes?: boolean | undefined;
23
- } | undefined) => import("@sentry/types").Integration;
23
+ } | undefined) => import("@sentry/core").Integration;
24
24
  //# sourceMappingURL=fs.d.ts.map
@@ -2,7 +2,7 @@
2
2
  import { ClientRequest, IncomingMessage, RequestOptions, ServerResponse } from 'node:http';
3
3
  import { HttpInstrumentationConfig } from '@opentelemetry/instrumentation-http';
4
4
  import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
5
- import { Span } from '@sentry/types';
5
+ import { Span } from '@sentry/core';
6
6
  import { HTTPModuleRequestIncomingMessage } from '../../transports/http-module';
7
7
  interface HttpOptions {
8
8
  /**
@@ -16,6 +16,15 @@ interface HttpOptions {
16
16
  * only the Sentry-specific instrumentation for request isolation is applied.
17
17
  */
18
18
  spans?: boolean;
19
+ /**
20
+ * Whether the integration should create [Sessions](https://docs.sentry.io/product/releases/health/#sessions) for incoming requests to track the health and crash-free rate of your releases in Sentry.
21
+ * Read more about Release Health: https://docs.sentry.io/product/releases/health/
22
+ *
23
+ * Defaults to `true`.
24
+ *
25
+ * Note: If `autoSessionTracking` is set to `false` in `Sentry.init()` or the Client owning this integration, this option will be ignored.
26
+ */
27
+ trackIncomingRequestsAsSessions?: boolean;
19
28
  /**
20
29
  * Do not capture spans or breadcrumbs for outgoing HTTP requests to URLs where the given callback returns `true`.
21
30
  * This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
@@ -70,6 +79,6 @@ export declare const instrumentOtelHttp: ((options?: HttpInstrumentationConfig |
70
79
  * The http integration instruments Node's internal http and https modules.
71
80
  * It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
72
81
  */
73
- export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/types").Integration;
82
+ export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/core").Integration;
74
83
  export {};
75
84
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Vendored in from https://github.com/open-telemetry/opentelemetry-js/commit/87bd98edd24c98a5fbb9a56fed4b673b7f17a724
3
+ */
4
+ import { RequestOptions } from 'node:http';
5
+ import * as url from 'url';
6
+ import { DiagLogger } from '@opentelemetry/api';
7
+ /**
8
+ * Makes sure options is an url object
9
+ * return an object with default value and parsed options
10
+ * @param logger component logger
11
+ * @param options original options for the request
12
+ * @param [extraOptions] additional options for the request
13
+ */
14
+ export declare const getRequestInfo: (logger: DiagLogger, options: url.URL | RequestOptions | string, extraOptions?: RequestOptions) => {
15
+ origin: string;
16
+ pathname: string;
17
+ method: string;
18
+ invalidUrl: boolean;
19
+ optionsParsed: RequestOptions;
20
+ };
21
+ //# sourceMappingURL=getRequestInfo.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Integration } from '@sentry/types';
1
+ import { Integration } from '@sentry/core';
2
2
  import { LocalVariablesIntegrationOptions } from './common';
3
3
  export declare const localVariablesIntegration: (options?: LocalVariablesIntegrationOptions) => Integration;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -3,5 +3,5 @@ export declare const base64WorkerScript = "###LocalVariablesWorkerScript###";
3
3
  /**
4
4
  * Adds local variables to exception frames
5
5
  */
6
- export declare const localVariablesAsyncIntegration: (integrationOptions?: LocalVariablesIntegrationOptions | undefined) => import("@sentry/types").Integration;
6
+ export declare const localVariablesAsyncIntegration: (integrationOptions?: LocalVariablesIntegrationOptions | undefined) => import("@sentry/core").Integration;
7
7
  //# sourceMappingURL=local-variables-async.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { Debugger, InspectorNotification } from 'node:inspector';
3
- import { StackFrame, StackParser } from '@sentry/types';
3
+ import { StackFrame, StackParser } from '@sentry/core';
4
4
  import { LocalVariablesIntegrationOptions, Variables } from './common';
5
5
  /** Creates a unique hash from stack frames */
6
6
  export declare function hashFrames(frames: StackFrame[] | undefined): string | undefined;
@@ -29,6 +29,6 @@ export declare function createCallbackList<T>(complete: Next<T>): CallbackWrappe
29
29
  /**
30
30
  * Adds local variables to exception frames.
31
31
  */
32
- export declare const localVariablesSyncIntegration: (options?: LocalVariablesIntegrationOptions | undefined, sessionOverride?: DebugSession | undefined) => import("@sentry/types").Integration;
32
+ export declare const localVariablesSyncIntegration: (options?: LocalVariablesIntegrationOptions | undefined, sessionOverride?: DebugSession | undefined) => import("@sentry/core").Integration;
33
33
  export {};
34
34
  //# sourceMappingURL=local-variables-sync.d.ts.map
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Only works in CommonJS (CJS) environments.
5
5
  */
6
- export declare const modulesIntegration: () => import("@sentry/types").Integration;
6
+ export declare const modulesIntegration: () => import("@sentry/core").Integration;
7
7
  //# sourceMappingURL=modules.d.ts.map
@@ -10,6 +10,6 @@ interface NodeFetchOptions {
10
10
  */
11
11
  ignoreOutgoingRequests?: (url: string) => boolean;
12
12
  }
13
- export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/types").Integration;
13
+ export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/core").Integration;
14
14
  export {};
15
15
  //# sourceMappingURL=node-fetch.d.ts.map
@@ -21,7 +21,7 @@ interface OnUncaughtExceptionOptions {
21
21
  /**
22
22
  * Add a global exception handler.
23
23
  */
24
- export declare const onUncaughtExceptionIntegration: (options?: Partial<OnUncaughtExceptionOptions> | undefined) => import("@sentry/types").Integration;
24
+ export declare const onUncaughtExceptionIntegration: (options?: Partial<OnUncaughtExceptionOptions> | undefined) => import("@sentry/core").Integration;
25
25
  type ErrorHandler = {
26
26
  _errorHandler: boolean;
27
27
  } & ((error: Error) => void);
@@ -1,4 +1,4 @@
1
- import { Client } from '@sentry/types';
1
+ import { Client } from '@sentry/core';
2
2
  type UnhandledRejectionMode = 'none' | 'warn' | 'strict';
3
3
  interface OnUnhandledRejectionOptions {
4
4
  /**
@@ -10,7 +10,7 @@ interface OnUnhandledRejectionOptions {
10
10
  /**
11
11
  * Add a global promise rejection handler.
12
12
  */
13
- export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/types").Integration;
13
+ export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/core").Integration;
14
14
  /**
15
15
  * Send an exception with reason
16
16
  * @param reason string
@@ -14,7 +14,7 @@ export declare const INTEGRATION_NAME = "Spotlight";
14
14
  *
15
15
  * Important: This integration only works with Node 18 or newer.
16
16
  */
17
- export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/types").Integration;
17
+ export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/core").Integration;
18
18
  type HttpRequestImpl = typeof http.request;
19
19
  /**
20
20
  * We want to get an unpatched http request implementation to avoid capturing our own calls.
@@ -15,5 +15,5 @@ export declare const instrumentAmqplib: ((options?: unknown) => void) & {
15
15
  * });
16
16
  * ```
17
17
  */
18
- export declare const amqplibIntegration: () => import("@sentry/types").Integration;
18
+ export declare const amqplibIntegration: () => import("@sentry/core").Integration;
19
19
  //# sourceMappingURL=amqplib.d.ts.map
@@ -20,7 +20,7 @@ export declare const instrumentConnect: ((options?: unknown) => void) & {
20
20
  * })
21
21
  * ```
22
22
  */
23
- export declare const connectIntegration: () => import("@sentry/types").Integration;
23
+ export declare const connectIntegration: () => import("@sentry/core").Integration;
24
24
  /**
25
25
  * Add a Connect middleware to capture errors to Sentry.
26
26
  *
@@ -15,5 +15,5 @@ export declare const instrumentDataloader: ((options?: unknown) => void) & {
15
15
  * });
16
16
  * ```
17
17
  */
18
- export declare const dataloaderIntegration: () => import("@sentry/types").Integration;
18
+ export declare const dataloaderIntegration: () => import("@sentry/core").Integration;
19
19
  //# sourceMappingURL=dataloader.d.ts.map
@@ -19,7 +19,7 @@ export declare const instrumentExpress: ((options?: unknown) => void) & {
19
19
  * })
20
20
  * ```
21
21
  */
22
- export declare const expressIntegration: () => import("@sentry/types").Integration;
22
+ export declare const expressIntegration: () => import("@sentry/core").Integration;
23
23
  interface MiddlewareError extends Error {
24
24
  status?: number | string;
25
25
  statusCode?: number | string;
@@ -21,7 +21,7 @@ export declare const instrumentFastify: ((options?: unknown) => void) & {
21
21
  * })
22
22
  * ```
23
23
  */
24
- export declare const fastifyIntegration: () => import("@sentry/types").Integration;
24
+ export declare const fastifyIntegration: () => import("@sentry/core").Integration;
25
25
  /**
26
26
  * Add an Fastify error handler to capture errors to Sentry.
27
27
  *
@@ -15,5 +15,5 @@ export declare const instrumentGenericPool: ((options?: unknown) => void) & {
15
15
  * });
16
16
  * ```
17
17
  */
18
- export declare const genericPoolIntegration: () => import("@sentry/types").Integration;
18
+ export declare const genericPoolIntegration: () => import("@sentry/core").Integration;
19
19
  //# sourceMappingURL=genericPool.d.ts.map
@@ -42,6 +42,6 @@ export declare const instrumentGraphql: ((options?: GraphqlOptions | undefined)
42
42
  * integrations: [Sentry.graphqlIntegration()],
43
43
  * });
44
44
  */
45
- export declare const graphqlIntegration: (options?: GraphqlOptions | undefined) => import("@sentry/types").Integration;
45
+ export declare const graphqlIntegration: (options?: GraphqlOptions | undefined) => import("@sentry/core").Integration;
46
46
  export {};
47
47
  //# sourceMappingURL=graphql.d.ts.map
@@ -18,7 +18,7 @@ export declare const instrumentHapi: ((options?: unknown) => void) & {
18
18
  * })
19
19
  * ```
20
20
  */
21
- export declare const hapiIntegration: () => import("@sentry/types").Integration;
21
+ export declare const hapiIntegration: () => import("@sentry/core").Integration;
22
22
  export declare const hapiErrorPlugin: {
23
23
  name: string;
24
24
  version: string;
@@ -1,4 +1,4 @@
1
- import { Integration } from '@sentry/types';
1
+ import { Integration } from '@sentry/core';
2
2
  /**
3
3
  * With OTEL, all performance integrations will be added, as OTEL only initializes them when the patched package is actually required.
4
4
  */
@@ -14,5 +14,5 @@ export declare const instrumentKafka: ((options?: unknown) => void) & {
14
14
  * integrations: [Sentry.kafkaIntegration()],
15
15
  * });
16
16
  */
17
- export declare const kafkaIntegration: () => import("@sentry/types").Integration;
17
+ export declare const kafkaIntegration: () => import("@sentry/core").Integration;
18
18
  //# sourceMappingURL=kafka.d.ts.map
@@ -15,5 +15,5 @@ export declare const instrumentKnex: ((options?: unknown) => void) & {
15
15
  * });
16
16
  * ```
17
17
  */
18
- export declare const knexIntegration: () => import("@sentry/types").Integration;
18
+ export declare const knexIntegration: () => import("@sentry/core").Integration;
19
19
  //# sourceMappingURL=knex.d.ts.map
@@ -17,7 +17,7 @@ export declare const instrumentKoa: ((options?: unknown) => void) & {
17
17
  * })
18
18
  * ```
19
19
  */
20
- export declare const koaIntegration: () => import("@sentry/types").Integration;
20
+ export declare const koaIntegration: () => import("@sentry/core").Integration;
21
21
  /**
22
22
  * Add an Koa error handler to capture errors to Sentry.
23
23
  *
@@ -14,5 +14,5 @@ export declare const instrumentLruMemoizer: ((options?: unknown) => void) & {
14
14
  * integrations: [Sentry.lruMemoizerIntegration()],
15
15
  * });
16
16
  */
17
- export declare const lruMemoizerIntegration: () => import("@sentry/types").Integration;
17
+ export declare const lruMemoizerIntegration: () => import("@sentry/core").Integration;
18
18
  //# sourceMappingURL=lrumemoizer.d.ts.map
@@ -19,5 +19,5 @@ export declare function _defaultDbStatementSerializer(commandObj: Record<string,
19
19
  * });
20
20
  * ```
21
21
  */
22
- export declare const mongoIntegration: () => import("@sentry/types").Integration;
22
+ export declare const mongoIntegration: () => import("@sentry/core").Integration;
23
23
  //# sourceMappingURL=mongo.d.ts.map
@@ -15,5 +15,5 @@ export declare const instrumentMongoose: ((options?: unknown) => void) & {
15
15
  * });
16
16
  * ```
17
17
  */
18
- export declare const mongooseIntegration: () => import("@sentry/types").Integration;
18
+ export declare const mongooseIntegration: () => import("@sentry/core").Integration;
19
19
  //# sourceMappingURL=mongoose.d.ts.map