@sentry/server-utils 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 (1235) hide show
  1. package/README.md +1 -1
  2. package/build/THIRD-PARTY-LICENSES.txt +976 -0
  3. package/build/cjs/_virtual/_commonjsHelpers.js +8 -0
  4. package/build/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  5. package/build/cjs/_virtual/array-set.js +6 -0
  6. package/build/cjs/_virtual/array-set.js.map +1 -0
  7. package/build/cjs/_virtual/astring.js +6 -0
  8. package/build/cjs/_virtual/astring.js.map +1 -0
  9. package/build/cjs/_virtual/base64-vlq.js +6 -0
  10. package/build/cjs/_virtual/base64-vlq.js.map +1 -0
  11. package/build/cjs/_virtual/base64.js +6 -0
  12. package/build/cjs/_virtual/base64.js.map +1 -0
  13. package/build/cjs/_virtual/binary-search.js +6 -0
  14. package/build/cjs/_virtual/binary-search.js.map +1 -0
  15. package/build/cjs/_virtual/mapping-list.js +6 -0
  16. package/build/cjs/_virtual/mapping-list.js.map +1 -0
  17. package/build/cjs/_virtual/meriyah.js +6 -0
  18. package/build/cjs/_virtual/meriyah.js.map +1 -0
  19. package/build/cjs/_virtual/node.js +6 -0
  20. package/build/cjs/_virtual/node.js.map +1 -0
  21. package/build/cjs/_virtual/quick-sort.js +6 -0
  22. package/build/cjs/_virtual/quick-sort.js.map +1 -0
  23. package/build/cjs/_virtual/source-map-consumer.js +6 -0
  24. package/build/cjs/_virtual/source-map-consumer.js.map +1 -0
  25. package/build/cjs/_virtual/source-map-generator.js +6 -0
  26. package/build/cjs/_virtual/source-map-generator.js.map +1 -0
  27. package/build/cjs/_virtual/source-map.js +6 -0
  28. package/build/cjs/_virtual/source-map.js.map +1 -0
  29. package/build/cjs/_virtual/source-node.js +6 -0
  30. package/build/cjs/_virtual/source-node.js.map +1 -0
  31. package/build/cjs/_virtual/util.js +6 -0
  32. package/build/cjs/_virtual/util.js.map +1 -0
  33. package/build/cjs/ai/anthropic-ai/constants.js +13 -0
  34. package/build/cjs/ai/anthropic-ai/constants.js.map +1 -0
  35. package/build/cjs/ai/anthropic-ai/index.js +245 -0
  36. package/build/cjs/ai/anthropic-ai/index.js.map +1 -0
  37. package/build/cjs/ai/anthropic-ai/streaming.js +154 -0
  38. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -0
  39. package/build/cjs/ai/anthropic-ai/utils.js +61 -0
  40. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -0
  41. package/build/cjs/ai/core/gen-ai-attributes.js +20 -0
  42. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -0
  43. package/build/cjs/ai/core/utils.js +134 -0
  44. package/build/cjs/ai/core/utils.js.map +1 -0
  45. package/build/cjs/ai/google-genai/constants.js +17 -0
  46. package/build/cjs/ai/google-genai/constants.js.map +1 -0
  47. package/build/cjs/ai/google-genai/index.js +251 -0
  48. package/build/cjs/ai/google-genai/index.js.map +1 -0
  49. package/build/cjs/ai/google-genai/streaming.js +71 -0
  50. package/build/cjs/ai/google-genai/streaming.js.map +1 -0
  51. package/build/cjs/ai/google-genai/utils.js +21 -0
  52. package/build/cjs/ai/google-genai/utils.js.map +1 -0
  53. package/build/cjs/ai/langchain/constants.js +17 -0
  54. package/build/cjs/ai/langchain/constants.js.map +1 -0
  55. package/build/cjs/ai/langchain/embeddings.js +85 -0
  56. package/build/cjs/ai/langchain/embeddings.js.map +1 -0
  57. package/build/cjs/ai/langchain/index.js +257 -0
  58. package/build/cjs/ai/langchain/index.js.map +1 -0
  59. package/build/cjs/ai/langchain/utils.js +272 -0
  60. package/build/cjs/ai/langchain/utils.js.map +1 -0
  61. package/build/cjs/ai/langgraph/constants.js +8 -0
  62. package/build/cjs/ai/langgraph/constants.js.map +1 -0
  63. package/build/cjs/ai/langgraph/index.js +176 -0
  64. package/build/cjs/ai/langgraph/index.js.map +1 -0
  65. package/build/cjs/ai/langgraph/utils.js +231 -0
  66. package/build/cjs/ai/langgraph/utils.js.map +1 -0
  67. package/build/cjs/ai/openai/constants.js +33 -0
  68. package/build/cjs/ai/openai/constants.js.map +1 -0
  69. package/build/cjs/ai/openai/index.js +173 -0
  70. package/build/cjs/ai/openai/index.js.map +1 -0
  71. package/build/cjs/ai/openai/streaming.js +126 -0
  72. package/build/cjs/ai/openai/streaming.js.map +1 -0
  73. package/build/cjs/ai/openai/utils.js +111 -0
  74. package/build/cjs/ai/openai/utils.js.map +1 -0
  75. package/build/cjs/ai/vercel-ai/constants.js +21 -0
  76. package/build/cjs/ai/vercel-ai/constants.js.map +1 -0
  77. package/build/cjs/ai/vercel-ai/index.js +339 -0
  78. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  79. package/build/cjs/ai/vercel-ai/utils.js +171 -0
  80. package/build/cjs/ai/vercel-ai/utils.js.map +1 -0
  81. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js +50 -0
  82. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  83. package/build/cjs/ai/workers-ai/constants.js +10 -0
  84. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  85. package/build/cjs/ai/workers-ai/index.js +83 -0
  86. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  87. package/build/cjs/ai/workers-ai/streaming.js +150 -0
  88. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  89. package/build/cjs/ai/workers-ai/utils.js +132 -0
  90. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  91. package/build/cjs/async-context.js +68 -0
  92. package/build/cjs/async-context.js.map +1 -0
  93. package/build/cjs/debug-build.js.map +1 -1
  94. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  95. package/build/cjs/graphql/index.js +15 -2
  96. package/build/cjs/graphql/index.js.map +1 -1
  97. package/build/cjs/graphql/utils.js +5 -3
  98. package/build/cjs/graphql/utils.js.map +1 -1
  99. package/build/cjs/index.js +42 -17
  100. package/build/cjs/index.js.map +1 -1
  101. package/build/cjs/index.no-diagnostic-channels.js +31 -0
  102. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  103. package/build/cjs/integrations/tracing-channel/amqplib.js +46 -35
  104. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -1
  105. package/build/cjs/integrations/tracing-channel/anthropic.js +55 -45
  106. package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -1
  107. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +3 -1
  108. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  109. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +115 -115
  110. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  111. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  112. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  113. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +8 -4
  114. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  115. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  116. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  117. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  118. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  119. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -1
  120. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  121. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  122. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  123. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  124. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  125. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +3 -4
  126. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  127. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +5 -5
  128. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  129. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  130. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  131. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  132. package/build/cjs/integrations/tracing-channel/dataloader.js +37 -16
  133. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  134. package/build/cjs/integrations/tracing-channel/express/index.js +24 -11
  135. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -1
  136. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +11 -16
  137. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  138. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -1
  139. package/build/cjs/integrations/tracing-channel/fastify/errors.js +14 -1
  140. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -1
  141. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  142. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +25 -10
  143. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  144. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  145. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +16 -3
  146. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  147. package/build/cjs/integrations/tracing-channel/firebase/functions.js +6 -4
  148. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -1
  149. package/build/cjs/integrations/tracing-channel/firebase/index.js +8 -12
  150. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -1
  151. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +17 -14
  152. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  153. package/build/cjs/integrations/tracing-channel/generic-pool.js +25 -10
  154. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -1
  155. package/build/cjs/integrations/tracing-channel/google-genai.js +57 -43
  156. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -1
  157. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -1
  158. package/build/cjs/integrations/tracing-channel/graphql/index.js +40 -36
  159. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -1
  160. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  161. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  162. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -1
  163. package/build/cjs/integrations/tracing-channel/hapi-utils.js +13 -21
  164. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -1
  165. package/build/cjs/integrations/tracing-channel/hapi.js +51 -36
  166. package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -1
  167. package/build/cjs/integrations/tracing-channel/ioredis.js +52 -41
  168. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  169. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  170. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +28 -15
  171. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  172. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  173. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +8 -7
  174. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  175. package/build/cjs/integrations/tracing-channel/knex.js +24 -10
  176. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -1
  177. package/build/cjs/integrations/tracing-channel/koa.js +42 -39
  178. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -1
  179. package/build/cjs/integrations/tracing-channel/langchain.js +59 -40
  180. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -1
  181. package/build/cjs/integrations/tracing-channel/langgraph.js +64 -64
  182. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -1
  183. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +27 -16
  184. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  185. package/build/cjs/integrations/tracing-channel/mongodb.js +29 -16
  186. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -1
  187. package/build/cjs/integrations/tracing-channel/mongoose.js +25 -13
  188. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -1
  189. package/build/cjs/integrations/tracing-channel/mysql.js +65 -53
  190. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  191. package/build/cjs/integrations/tracing-channel/mysql2.js +27 -10
  192. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -1
  193. package/build/cjs/integrations/tracing-channel/openai.js +46 -34
  194. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  195. package/build/cjs/integrations/tracing-channel/postgres-js.js +96 -84
  196. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -1
  197. package/build/cjs/integrations/tracing-channel/postgres.js +35 -19
  198. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
  199. package/build/cjs/integrations/tracing-channel/redis.js +52 -31
  200. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  201. package/build/cjs/integrations/tracing-channel/tedious.js +35 -22
  202. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -1
  203. package/build/cjs/integrations/tracing-channel/vercel-ai.js +23 -10
  204. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
  205. package/build/cjs/mongodb/mongodb-span.js +15 -18
  206. package/build/cjs/mongodb/mongodb-span.js.map +1 -1
  207. package/build/cjs/mongoose/index.js +15 -2
  208. package/build/cjs/mongoose/index.js.map +1 -1
  209. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
  210. package/build/cjs/mongoose/mongoose-legacy-span.js +4 -3
  211. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -1
  212. package/build/cjs/mysql2/index.js +15 -2
  213. package/build/cjs/mysql2/index.js.map +1 -1
  214. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -1
  215. package/build/cjs/orchestrion/bundler/esbuild.js +22 -6
  216. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  217. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +43 -0
  218. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  219. package/build/cjs/orchestrion/bundler/options.js +5 -19
  220. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  221. package/build/cjs/orchestrion/bundler/resolve.js +23 -0
  222. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  223. package/build/cjs/orchestrion/bundler/rollup.js +21 -6
  224. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  225. package/build/cjs/orchestrion/bundler/vite.js +42 -7
  226. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  227. package/build/cjs/orchestrion/bundler/webpack-loader.js +22 -0
  228. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -0
  229. package/build/cjs/orchestrion/bundler/webpack.js +45 -24
  230. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  231. package/build/cjs/orchestrion/channels.js.map +1 -1
  232. package/build/cjs/orchestrion/config/amqplib.js +3 -3
  233. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  234. package/build/cjs/orchestrion/config/anthropic-ai.js +8 -16
  235. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  236. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  237. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  238. package/build/cjs/orchestrion/config/channel-integration-definitions.js +16 -16
  239. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  240. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  241. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  242. package/build/cjs/orchestrion/config/express.js +4 -4
  243. package/build/cjs/orchestrion/config/express.js.map +1 -1
  244. package/build/cjs/orchestrion/config/firebase.js +3 -3
  245. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  246. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  247. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  248. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  249. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  250. package/build/cjs/orchestrion/config/graphql.js +3 -3
  251. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  252. package/build/cjs/orchestrion/config/hapi.js +3 -3
  253. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  254. package/build/cjs/orchestrion/config/index.js +3 -32
  255. package/build/cjs/orchestrion/config/index.js.map +1 -1
  256. package/build/cjs/orchestrion/config/ioredis.js +3 -3
  257. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  258. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  259. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  260. package/build/cjs/orchestrion/config/knex.js +0 -4
  261. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  262. package/build/cjs/orchestrion/config/koa.js +3 -3
  263. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  264. package/build/cjs/orchestrion/config/langchain.js +3 -3
  265. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  266. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  267. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  268. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  269. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  270. package/build/cjs/orchestrion/config/module-names.js +8 -0
  271. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  272. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  273. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  274. package/build/cjs/orchestrion/config/mongoose.js +3 -3
  275. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  276. package/build/cjs/orchestrion/config/mysql.js +3 -3
  277. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  278. package/build/cjs/orchestrion/config/mysql2.js +3 -3
  279. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  280. package/build/cjs/orchestrion/config/nestjs.js +0 -4
  281. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  282. package/build/cjs/orchestrion/config/openai.js +3 -3
  283. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  284. package/build/cjs/orchestrion/config/pg.js +3 -3
  285. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  286. package/build/cjs/orchestrion/config/postgres.js +3 -3
  287. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  288. package/build/cjs/orchestrion/config/redis.js +3 -3
  289. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  290. package/build/cjs/orchestrion/config/remix.js +0 -4
  291. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  292. package/build/cjs/orchestrion/config/tedious.js +3 -3
  293. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  294. package/build/cjs/orchestrion/config/vercel-ai.js +3 -3
  295. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  296. package/build/cjs/orchestrion/detect.js +7 -1
  297. package/build/cjs/orchestrion/detect.js.map +1 -1
  298. package/build/cjs/orchestrion/index.js +51 -50
  299. package/build/cjs/orchestrion/index.js.map +1 -1
  300. package/build/cjs/orchestrion/instrumentation.js +86 -0
  301. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  302. package/build/cjs/orchestrion/moduleInjected.js +21 -0
  303. package/build/cjs/orchestrion/moduleInjected.js.map +1 -0
  304. package/build/cjs/orchestrion/runtime/hook.js +17 -0
  305. package/build/cjs/orchestrion/runtime/hook.js.map +1 -0
  306. package/build/cjs/orchestrion/runtime/register.js +46 -43
  307. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  308. package/build/cjs/otlp.js +45 -0
  309. package/build/cjs/otlp.js.map +1 -0
  310. package/build/cjs/prisma/global.js.map +1 -1
  311. package/build/cjs/prisma/index.js.map +1 -1
  312. package/build/cjs/prisma/tracing-helper.js +21 -10
  313. package/build/cjs/prisma/tracing-helper.js.map +1 -1
  314. package/build/cjs/redis/index.js +15 -2
  315. package/build/cjs/redis/index.js.map +1 -1
  316. package/build/cjs/redis/redis-dc-subscriber.js +5 -3
  317. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  318. package/build/cjs/redis/redis-statement-serializer.js.map +1 -1
  319. package/build/cjs/tracing-channel.js +18 -1
  320. package/build/cjs/tracing-channel.js.map +1 -1
  321. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  322. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  323. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +8 -0
  324. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  325. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +12 -0
  326. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  327. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +86 -0
  328. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  329. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +316 -0
  330. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  331. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +442 -0
  332. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  333. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +219 -0
  334. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  335. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +98 -0
  336. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  337. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +52 -0
  338. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  339. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1069 -0
  340. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  341. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +14 -0
  342. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  343. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  344. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  345. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +104 -0
  346. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  347. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +166 -0
  348. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  349. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +88 -0
  350. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  351. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +15 -0
  352. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  353. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +30 -0
  354. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  355. package/build/cjs/vendored/astring/dist/astring.js +1068 -0
  356. package/build/cjs/vendored/astring/dist/astring.js.map +1 -0
  357. package/build/cjs/vendored/debug/src/common.js +178 -0
  358. package/build/cjs/vendored/debug/src/common.js.map +1 -0
  359. package/build/cjs/vendored/debug/src/node.js +186 -0
  360. package/build/cjs/vendored/debug/src/node.js.map +1 -0
  361. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +847 -0
  362. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  363. package/build/cjs/vendored/has-flag/index.js +11 -0
  364. package/build/cjs/vendored/has-flag/index.js.map +1 -0
  365. package/build/cjs/vendored/meriyah/dist/meriyah.js +9192 -0
  366. package/build/cjs/vendored/meriyah/dist/meriyah.js.map +1 -0
  367. package/build/cjs/vendored/meriyah/dist/meriyah2.js +9209 -0
  368. package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +1 -0
  369. package/build/cjs/vendored/module-details-from-path/index.js +44 -0
  370. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -0
  371. package/build/cjs/vendored/ms/index.js +115 -0
  372. package/build/cjs/vendored/ms/index.js.map +1 -0
  373. package/build/cjs/vendored/semifies/index.js +111 -0
  374. package/build/cjs/vendored/semifies/index.js.map +1 -0
  375. package/build/cjs/vendored/source-map/lib/array-set.js +73 -0
  376. package/build/cjs/vendored/source-map/lib/array-set.js.map +1 -0
  377. package/build/cjs/vendored/source-map/lib/base64-vlq.js +57 -0
  378. package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +1 -0
  379. package/build/cjs/vendored/source-map/lib/base64.js +42 -0
  380. package/build/cjs/vendored/source-map/lib/base64.js.map +1 -0
  381. package/build/cjs/vendored/source-map/lib/binary-search.js +55 -0
  382. package/build/cjs/vendored/source-map/lib/binary-search.js.map +1 -0
  383. package/build/cjs/vendored/source-map/lib/mapping-list.js +42 -0
  384. package/build/cjs/vendored/source-map/lib/mapping-list.js.map +1 -0
  385. package/build/cjs/vendored/source-map/lib/quick-sort.js +36 -0
  386. package/build/cjs/vendored/source-map/lib/quick-sort.js.map +1 -0
  387. package/build/cjs/vendored/source-map/lib/source-map-consumer.js +612 -0
  388. package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  389. package/build/cjs/vendored/source-map/lib/source-map-generator.js +285 -0
  390. package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +1 -0
  391. package/build/cjs/vendored/source-map/lib/source-node.js +270 -0
  392. package/build/cjs/vendored/source-map/lib/source-node.js.map +1 -0
  393. package/build/cjs/vendored/source-map/lib/util.js +300 -0
  394. package/build/cjs/vendored/source-map/lib/util.js.map +1 -0
  395. package/build/cjs/vendored/source-map/source-map.js +16 -0
  396. package/build/cjs/vendored/source-map/source-map.js.map +1 -0
  397. package/build/cjs/vendored/supports-color/index.js +104 -0
  398. package/build/cjs/vendored/supports-color/index.js.map +1 -0
  399. package/build/cjs/vercel-ai/index.js +15 -2
  400. package/build/cjs/vercel-ai/index.js.map +1 -1
  401. package/build/cjs/vercel-ai/util.js.map +1 -1
  402. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +26 -27
  403. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  404. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  405. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  406. package/build/esm/_virtual/_commonjsHelpers.js +6 -0
  407. package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
  408. package/build/esm/_virtual/array-set.js +4 -0
  409. package/build/esm/_virtual/array-set.js.map +1 -0
  410. package/build/esm/_virtual/astring.js +4 -0
  411. package/build/esm/_virtual/astring.js.map +1 -0
  412. package/build/esm/_virtual/base64-vlq.js +4 -0
  413. package/build/esm/_virtual/base64-vlq.js.map +1 -0
  414. package/build/esm/_virtual/base64.js +4 -0
  415. package/build/esm/_virtual/base64.js.map +1 -0
  416. package/build/esm/_virtual/binary-search.js +4 -0
  417. package/build/esm/_virtual/binary-search.js.map +1 -0
  418. package/build/esm/_virtual/mapping-list.js +4 -0
  419. package/build/esm/_virtual/mapping-list.js.map +1 -0
  420. package/build/esm/_virtual/meriyah.js +4 -0
  421. package/build/esm/_virtual/meriyah.js.map +1 -0
  422. package/build/esm/_virtual/node.js +4 -0
  423. package/build/esm/_virtual/node.js.map +1 -0
  424. package/build/esm/_virtual/quick-sort.js +4 -0
  425. package/build/esm/_virtual/quick-sort.js.map +1 -0
  426. package/build/esm/_virtual/source-map-consumer.js +4 -0
  427. package/build/esm/_virtual/source-map-consumer.js.map +1 -0
  428. package/build/esm/_virtual/source-map-generator.js +4 -0
  429. package/build/esm/_virtual/source-map-generator.js.map +1 -0
  430. package/build/esm/_virtual/source-map.js +4 -0
  431. package/build/esm/_virtual/source-map.js.map +1 -0
  432. package/build/esm/_virtual/source-node.js +4 -0
  433. package/build/esm/_virtual/source-node.js.map +1 -0
  434. package/build/esm/_virtual/util.js +4 -0
  435. package/build/esm/_virtual/util.js.map +1 -0
  436. package/build/esm/ai/anthropic-ai/constants.js +10 -0
  437. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  438. package/build/esm/ai/anthropic-ai/index.js +240 -0
  439. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  440. package/build/esm/ai/anthropic-ai/streaming.js +151 -0
  441. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  442. package/build/esm/ai/anthropic-ai/utils.js +56 -0
  443. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  444. package/build/esm/ai/core/gen-ai-attributes.js +11 -0
  445. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  446. package/build/esm/ai/core/utils.js +126 -0
  447. package/build/esm/ai/core/utils.js.map +1 -0
  448. package/build/esm/ai/google-genai/constants.js +13 -0
  449. package/build/esm/ai/google-genai/constants.js.map +1 -0
  450. package/build/esm/ai/google-genai/index.js +245 -0
  451. package/build/esm/ai/google-genai/index.js.map +1 -0
  452. package/build/esm/ai/google-genai/streaming.js +69 -0
  453. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  454. package/build/esm/ai/google-genai/utils.js +19 -0
  455. package/build/esm/ai/google-genai/utils.js.map +1 -0
  456. package/build/esm/ai/langchain/constants.js +13 -0
  457. package/build/esm/ai/langchain/constants.js.map +1 -0
  458. package/build/esm/ai/langchain/embeddings.js +81 -0
  459. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  460. package/build/esm/ai/langchain/index.js +255 -0
  461. package/build/esm/ai/langchain/index.js.map +1 -0
  462. package/build/esm/ai/langchain/utils.js +263 -0
  463. package/build/esm/ai/langchain/utils.js.map +1 -0
  464. package/build/esm/ai/langgraph/constants.js +5 -0
  465. package/build/esm/ai/langgraph/constants.js.map +1 -0
  466. package/build/esm/ai/langgraph/index.js +171 -0
  467. package/build/esm/ai/langgraph/index.js.map +1 -0
  468. package/build/esm/ai/langgraph/utils.js +222 -0
  469. package/build/esm/ai/langgraph/utils.js.map +1 -0
  470. package/build/esm/ai/openai/constants.js +28 -0
  471. package/build/esm/ai/openai/constants.js.map +1 -0
  472. package/build/esm/ai/openai/index.js +169 -0
  473. package/build/esm/ai/openai/index.js.map +1 -0
  474. package/build/esm/ai/openai/streaming.js +124 -0
  475. package/build/esm/ai/openai/streaming.js.map +1 -0
  476. package/build/esm/ai/openai/utils.js +106 -0
  477. package/build/esm/ai/openai/utils.js.map +1 -0
  478. package/build/esm/ai/vercel-ai/constants.js +18 -0
  479. package/build/esm/ai/vercel-ai/constants.js.map +1 -0
  480. package/build/esm/ai/vercel-ai/index.js +335 -0
  481. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  482. package/build/esm/ai/vercel-ai/utils.js +164 -0
  483. package/build/esm/ai/vercel-ai/utils.js.map +1 -0
  484. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js +26 -0
  485. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  486. package/build/esm/ai/workers-ai/constants.js +6 -0
  487. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  488. package/build/esm/ai/workers-ai/index.js +81 -0
  489. package/build/esm/ai/workers-ai/index.js.map +1 -0
  490. package/build/esm/ai/workers-ai/streaming.js +148 -0
  491. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  492. package/build/esm/ai/workers-ai/utils.js +126 -0
  493. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  494. package/build/esm/async-context.js +66 -0
  495. package/build/esm/async-context.js.map +1 -0
  496. package/build/esm/debug-build.js.map +1 -1
  497. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  498. package/build/esm/graphql/index.js.map +1 -1
  499. package/build/esm/graphql/utils.js +6 -4
  500. package/build/esm/graphql/utils.js.map +1 -1
  501. package/build/esm/index.js +11 -0
  502. package/build/esm/index.js.map +1 -1
  503. package/build/esm/index.no-diagnostic-channels.js +12 -0
  504. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  505. package/build/esm/integrations/tracing-channel/amqplib.js +25 -27
  506. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -1
  507. package/build/esm/integrations/tracing-channel/anthropic.js +37 -40
  508. package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -1
  509. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +3 -2
  510. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  511. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +106 -119
  512. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  513. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  514. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  515. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +10 -6
  516. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  517. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  518. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  519. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  520. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  521. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +1 -2
  522. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  523. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  524. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  525. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  526. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  527. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +5 -6
  528. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  529. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +7 -7
  530. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  531. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  532. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  533. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  534. package/build/esm/integrations/tracing-channel/dataloader.js +22 -14
  535. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  536. package/build/esm/integrations/tracing-channel/express/index.js +11 -11
  537. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -1
  538. package/build/esm/integrations/tracing-channel/express/instrumentation.js +13 -18
  539. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  540. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -1
  541. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -1
  542. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  543. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +13 -11
  544. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  545. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  546. package/build/esm/integrations/tracing-channel/firebase/firestore.js +4 -4
  547. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  548. package/build/esm/integrations/tracing-channel/firebase/functions.js +8 -6
  549. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -1
  550. package/build/esm/integrations/tracing-channel/firebase/index.js +8 -12
  551. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -1
  552. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +3 -13
  553. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  554. package/build/esm/integrations/tracing-channel/generic-pool.js +12 -10
  555. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -1
  556. package/build/esm/integrations/tracing-channel/google-genai.js +41 -40
  557. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -1
  558. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -1
  559. package/build/esm/integrations/tracing-channel/graphql/index.js +30 -39
  560. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -1
  561. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  562. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  563. package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -1
  564. package/build/esm/integrations/tracing-channel/hapi-utils.js +14 -22
  565. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -1
  566. package/build/esm/integrations/tracing-channel/hapi.js +39 -37
  567. package/build/esm/integrations/tracing-channel/hapi.js.map +1 -1
  568. package/build/esm/integrations/tracing-channel/ioredis.js +40 -42
  569. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  570. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  571. package/build/esm/integrations/tracing-channel/kafkajs/index.js +14 -14
  572. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  573. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  574. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +10 -9
  575. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  576. package/build/esm/integrations/tracing-channel/knex.js +10 -9
  577. package/build/esm/integrations/tracing-channel/knex.js.map +1 -1
  578. package/build/esm/integrations/tracing-channel/koa.js +30 -40
  579. package/build/esm/integrations/tracing-channel/koa.js.map +1 -1
  580. package/build/esm/integrations/tracing-channel/langchain.js +45 -39
  581. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -1
  582. package/build/esm/integrations/tracing-channel/langgraph.js +50 -63
  583. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -1
  584. package/build/esm/integrations/tracing-channel/lru-memoizer.js +15 -17
  585. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  586. package/build/esm/integrations/tracing-channel/mongodb.js +14 -14
  587. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -1
  588. package/build/esm/integrations/tracing-channel/mongoose.js +11 -12
  589. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -1
  590. package/build/esm/integrations/tracing-channel/mysql.js +53 -54
  591. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  592. package/build/esm/integrations/tracing-channel/mysql2.js +14 -10
  593. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -1
  594. package/build/esm/integrations/tracing-channel/openai.js +32 -33
  595. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  596. package/build/esm/integrations/tracing-channel/postgres-js.js +85 -86
  597. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -1
  598. package/build/esm/integrations/tracing-channel/postgres.js +22 -19
  599. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
  600. package/build/esm/integrations/tracing-channel/redis.js +37 -29
  601. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  602. package/build/esm/integrations/tracing-channel/tedious.js +22 -22
  603. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -1
  604. package/build/esm/integrations/tracing-channel/vercel-ai.js +13 -13
  605. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
  606. package/build/esm/mongodb/mongodb-span.js +13 -16
  607. package/build/esm/mongodb/mongodb-span.js.map +1 -1
  608. package/build/esm/mongoose/index.js.map +1 -1
  609. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
  610. package/build/esm/mongoose/mongoose-legacy-span.js +3 -2
  611. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -1
  612. package/build/esm/mysql2/index.js.map +1 -1
  613. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -1
  614. package/build/esm/orchestrion/bundler/esbuild.js +22 -2
  615. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  616. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +40 -0
  617. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  618. package/build/esm/orchestrion/bundler/options.js +5 -20
  619. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  620. package/build/esm/orchestrion/bundler/resolve.js +20 -0
  621. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  622. package/build/esm/orchestrion/bundler/rollup.js +21 -2
  623. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  624. package/build/esm/orchestrion/bundler/vite.js +43 -4
  625. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  626. package/build/esm/orchestrion/bundler/webpack-loader.js +20 -0
  627. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -0
  628. package/build/esm/orchestrion/bundler/webpack.js +43 -18
  629. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  630. package/build/esm/orchestrion/channels.js.map +1 -1
  631. package/build/esm/orchestrion/config/amqplib.js +3 -3
  632. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  633. package/build/esm/orchestrion/config/anthropic-ai.js +8 -16
  634. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  635. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  636. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  637. package/build/esm/orchestrion/config/channel-integration-definitions.js +16 -16
  638. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  639. package/build/esm/orchestrion/config/dataloader.js +1 -4
  640. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  641. package/build/esm/orchestrion/config/express.js +4 -4
  642. package/build/esm/orchestrion/config/express.js.map +1 -1
  643. package/build/esm/orchestrion/config/firebase.js +3 -3
  644. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  645. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  646. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  647. package/build/esm/orchestrion/config/google-genai.js +8 -7
  648. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  649. package/build/esm/orchestrion/config/graphql.js +3 -3
  650. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  651. package/build/esm/orchestrion/config/hapi.js +3 -3
  652. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  653. package/build/esm/orchestrion/config/index.js +31 -61
  654. package/build/esm/orchestrion/config/index.js.map +1 -1
  655. package/build/esm/orchestrion/config/ioredis.js +3 -3
  656. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  657. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  658. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  659. package/build/esm/orchestrion/config/knex.js +1 -4
  660. package/build/esm/orchestrion/config/knex.js.map +1 -1
  661. package/build/esm/orchestrion/config/koa.js +3 -3
  662. package/build/esm/orchestrion/config/koa.js.map +1 -1
  663. package/build/esm/orchestrion/config/langchain.js +3 -3
  664. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  665. package/build/esm/orchestrion/config/langgraph.js +3 -3
  666. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  667. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  668. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  669. package/build/esm/orchestrion/config/module-names.js +6 -0
  670. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  671. package/build/esm/orchestrion/config/mongodb.js +3 -3
  672. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  673. package/build/esm/orchestrion/config/mongoose.js +3 -3
  674. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  675. package/build/esm/orchestrion/config/mysql.js +3 -3
  676. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  677. package/build/esm/orchestrion/config/mysql2.js +3 -3
  678. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  679. package/build/esm/orchestrion/config/nestjs.js +1 -4
  680. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  681. package/build/esm/orchestrion/config/openai.js +3 -3
  682. package/build/esm/orchestrion/config/openai.js.map +1 -1
  683. package/build/esm/orchestrion/config/pg.js +3 -3
  684. package/build/esm/orchestrion/config/pg.js.map +1 -1
  685. package/build/esm/orchestrion/config/postgres.js +3 -3
  686. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  687. package/build/esm/orchestrion/config/redis.js +3 -3
  688. package/build/esm/orchestrion/config/redis.js.map +1 -1
  689. package/build/esm/orchestrion/config/remix.js +1 -4
  690. package/build/esm/orchestrion/config/remix.js.map +1 -1
  691. package/build/esm/orchestrion/config/tedious.js +3 -3
  692. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  693. package/build/esm/orchestrion/config/vercel-ai.js +3 -3
  694. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  695. package/build/esm/orchestrion/detect.js +7 -2
  696. package/build/esm/orchestrion/detect.js.map +1 -1
  697. package/build/esm/orchestrion/index.js +51 -51
  698. package/build/esm/orchestrion/index.js.map +1 -1
  699. package/build/esm/orchestrion/instrumentation.js +71 -0
  700. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  701. package/build/esm/orchestrion/moduleInjected.js +19 -0
  702. package/build/esm/orchestrion/moduleInjected.js.map +1 -0
  703. package/build/esm/orchestrion/runtime/hook.js +8 -0
  704. package/build/esm/orchestrion/runtime/hook.js.map +1 -0
  705. package/build/esm/orchestrion/runtime/register.js +34 -45
  706. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  707. package/build/esm/otlp.js +42 -0
  708. package/build/esm/otlp.js.map +1 -0
  709. package/build/esm/package.json +1 -1
  710. package/build/esm/prisma/global.js.map +1 -1
  711. package/build/esm/prisma/index.js.map +1 -1
  712. package/build/esm/prisma/tracing-helper.js +17 -6
  713. package/build/esm/prisma/tracing-helper.js.map +1 -1
  714. package/build/esm/redis/index.js.map +1 -1
  715. package/build/esm/redis/redis-dc-subscriber.js +7 -5
  716. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  717. package/build/esm/redis/redis-statement-serializer.js.map +1 -1
  718. package/build/esm/tracing-channel.js +19 -3
  719. package/build/esm/tracing-channel.js.map +1 -1
  720. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  721. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  722. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +6 -0
  723. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  724. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +10 -0
  725. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  726. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +84 -0
  727. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  728. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +314 -0
  729. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  730. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +440 -0
  731. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  732. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +213 -0
  733. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  734. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +96 -0
  735. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  736. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +49 -0
  737. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  738. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1067 -0
  739. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  740. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +12 -0
  741. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  742. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  743. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  744. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +101 -0
  745. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  746. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +157 -0
  747. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  748. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +86 -0
  749. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  750. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +13 -0
  751. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  752. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +27 -0
  753. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  754. package/build/esm/vendored/astring/dist/astring.js +1066 -0
  755. package/build/esm/vendored/astring/dist/astring.js.map +1 -0
  756. package/build/esm/vendored/debug/src/common.js +176 -0
  757. package/build/esm/vendored/debug/src/common.js.map +1 -0
  758. package/build/esm/vendored/debug/src/node.js +183 -0
  759. package/build/esm/vendored/debug/src/node.js.map +1 -0
  760. package/build/esm/vendored/esquery/dist/esquery.esm.min.js +845 -0
  761. package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  762. package/build/esm/vendored/has-flag/index.js +9 -0
  763. package/build/esm/vendored/has-flag/index.js.map +1 -0
  764. package/build/esm/vendored/meriyah/dist/meriyah.js +9190 -0
  765. package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -0
  766. package/build/esm/vendored/meriyah/dist/meriyah2.js +9207 -0
  767. package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -0
  768. package/build/esm/vendored/module-details-from-path/index.js +41 -0
  769. package/build/esm/vendored/module-details-from-path/index.js.map +1 -0
  770. package/build/esm/vendored/ms/index.js +113 -0
  771. package/build/esm/vendored/ms/index.js.map +1 -0
  772. package/build/esm/vendored/semifies/index.js +109 -0
  773. package/build/esm/vendored/semifies/index.js.map +1 -0
  774. package/build/esm/vendored/source-map/lib/array-set.js +71 -0
  775. package/build/esm/vendored/source-map/lib/array-set.js.map +1 -0
  776. package/build/esm/vendored/source-map/lib/base64-vlq.js +55 -0
  777. package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -0
  778. package/build/esm/vendored/source-map/lib/base64.js +40 -0
  779. package/build/esm/vendored/source-map/lib/base64.js.map +1 -0
  780. package/build/esm/vendored/source-map/lib/binary-search.js +55 -0
  781. package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -0
  782. package/build/esm/vendored/source-map/lib/mapping-list.js +40 -0
  783. package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -0
  784. package/build/esm/vendored/source-map/lib/quick-sort.js +34 -0
  785. package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -0
  786. package/build/esm/vendored/source-map/lib/source-map-consumer.js +610 -0
  787. package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  788. package/build/esm/vendored/source-map/lib/source-map-generator.js +283 -0
  789. package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -0
  790. package/build/esm/vendored/source-map/lib/source-node.js +268 -0
  791. package/build/esm/vendored/source-map/lib/source-node.js.map +1 -0
  792. package/build/esm/vendored/source-map/lib/util.js +300 -0
  793. package/build/esm/vendored/source-map/lib/util.js.map +1 -0
  794. package/build/esm/vendored/source-map/source-map.js +14 -0
  795. package/build/esm/vendored/source-map/source-map.js.map +1 -0
  796. package/build/esm/vendored/supports-color/index.js +102 -0
  797. package/build/esm/vendored/supports-color/index.js.map +1 -0
  798. package/build/esm/vercel-ai/index.js.map +1 -1
  799. package/build/esm/vercel-ai/util.js.map +1 -1
  800. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +26 -27
  801. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  802. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  803. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  804. package/build/orchestrion/import-hook.mjs +1 -1
  805. package/build/types/ai/anthropic-ai/constants.d.ts +17 -0
  806. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  807. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  808. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  809. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  810. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  811. package/build/types/ai/anthropic-ai/types.d.ts +89 -0
  812. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  813. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  814. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  815. package/build/types/ai/core/gen-ai-attributes.d.ts +44 -0
  816. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  817. package/build/types/ai/core/utils.d.ts +92 -0
  818. package/build/types/ai/core/utils.d.ts.map +1 -0
  819. package/build/types/ai/google-genai/constants.d.ts +25 -0
  820. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  821. package/build/types/ai/google-genai/index.d.ts +47 -0
  822. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  823. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  824. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  825. package/build/types/ai/google-genai/types.d.ts +141 -0
  826. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  827. package/build/types/ai/google-genai/utils.d.ts +26 -0
  828. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  829. package/build/types/ai/index.d.ts +13 -0
  830. package/build/types/ai/index.d.ts.map +1 -0
  831. package/build/types/ai/langchain/constants.d.ts +4 -0
  832. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  833. package/build/types/ai/langchain/embeddings.d.ts +39 -0
  834. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  835. package/build/types/ai/langchain/index.d.ts +10 -0
  836. package/build/types/ai/langchain/index.d.ts.map +1 -0
  837. package/build/types/ai/langchain/types.d.ts +136 -0
  838. package/build/types/ai/langchain/types.d.ts.map +1 -0
  839. package/build/types/ai/langchain/utils.d.ts +67 -0
  840. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  841. package/build/types/ai/langgraph/constants.d.ts +3 -0
  842. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  843. package/build/types/ai/langgraph/index.d.ts +44 -0
  844. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  845. package/build/types/ai/langgraph/types.d.ts +64 -0
  846. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  847. package/build/types/ai/langgraph/utils.d.ts +45 -0
  848. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  849. package/build/types/ai/openai/constants.d.ts +18 -0
  850. package/build/types/ai/openai/constants.d.ts.map +1 -0
  851. package/build/types/ai/openai/index.d.ts +13 -0
  852. package/build/types/ai/openai/index.d.ts.map +1 -0
  853. package/build/types/ai/openai/streaming.d.ts +13 -0
  854. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  855. package/build/types/ai/openai/types.d.ts +217 -0
  856. package/build/types/ai/openai/types.d.ts.map +1 -0
  857. package/build/types/ai/openai/utils.d.ts +20 -0
  858. package/build/types/ai/openai/utils.d.ts.map +1 -0
  859. package/build/types/ai/vercel-ai/constants.d.ts +4 -0
  860. package/build/types/ai/vercel-ai/constants.d.ts.map +1 -0
  861. package/build/types/ai/vercel-ai/index.d.ts +24 -0
  862. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  863. package/build/types/ai/vercel-ai/types.d.ts +5 -0
  864. package/build/types/ai/vercel-ai/types.d.ts.map +1 -0
  865. package/build/types/ai/vercel-ai/utils.d.ts +39 -0
  866. package/build/types/ai/vercel-ai/utils.d.ts.map +1 -0
  867. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +432 -0
  868. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  869. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  870. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  871. package/build/types/ai/workers-ai/index.d.ts +18 -0
  872. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  873. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  874. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  875. package/build/types/ai/workers-ai/types.d.ts +41 -0
  876. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  877. package/build/types/ai/workers-ai/utils.d.ts +34 -0
  878. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  879. package/build/types/async-context.d.ts +15 -0
  880. package/build/types/async-context.d.ts.map +1 -0
  881. package/build/types/exports.d.ts +5 -0
  882. package/build/types/exports.d.ts.map +1 -0
  883. package/build/types/graphql/utils.d.ts +0 -2
  884. package/build/types/graphql/utils.d.ts.map +1 -1
  885. package/build/types/index.d.ts +2 -5
  886. package/build/types/index.d.ts.map +1 -1
  887. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  888. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  889. package/build/types/integrations/tracing-channel/amqplib.d.ts +2 -2
  890. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +1 -1
  891. package/build/types/integrations/tracing-channel/anthropic.d.ts +3 -4
  892. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +1 -1
  893. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +3 -2
  894. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -1
  895. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +4 -7
  896. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -1
  897. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -1
  898. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
  899. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -1
  900. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -1
  901. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -1
  902. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -1
  903. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -1
  904. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -1
  905. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -1
  906. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -1
  907. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -2
  908. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -1
  909. package/build/types/integrations/tracing-channel/dataloader.d.ts +2 -2
  910. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  911. package/build/types/integrations/tracing-channel/express/index.d.ts +3 -4
  912. package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -1
  913. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  914. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -1
  915. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  916. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +1 -2
  917. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -1
  918. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -1
  919. package/build/types/integrations/tracing-channel/firebase/index.d.ts +3 -6
  920. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -1
  921. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -1
  922. package/build/types/integrations/tracing-channel/generic-pool.d.ts +2 -2
  923. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -1
  924. package/build/types/integrations/tracing-channel/google-genai.d.ts +2 -3
  925. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -1
  926. package/build/types/integrations/tracing-channel/graphql/index.d.ts +7 -8
  927. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -1
  928. package/build/types/integrations/tracing-channel/hapi-types.d.ts +4 -4
  929. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +1 -1
  930. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +1 -1
  931. package/build/types/integrations/tracing-channel/hapi.d.ts +2 -2
  932. package/build/types/integrations/tracing-channel/hapi.d.ts.map +1 -1
  933. package/build/types/integrations/tracing-channel/ioredis.d.ts +1 -1
  934. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  935. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +3 -4
  936. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -1
  937. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +9 -9
  938. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -1
  939. package/build/types/integrations/tracing-channel/knex.d.ts +2 -2
  940. package/build/types/integrations/tracing-channel/knex.d.ts.map +1 -1
  941. package/build/types/integrations/tracing-channel/koa.d.ts +3 -3
  942. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -1
  943. package/build/types/integrations/tracing-channel/langchain.d.ts +2 -3
  944. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -1
  945. package/build/types/integrations/tracing-channel/langgraph.d.ts +2 -3
  946. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -1
  947. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +2 -2
  948. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +1 -1
  949. package/build/types/integrations/tracing-channel/mongodb.d.ts +2 -2
  950. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -1
  951. package/build/types/integrations/tracing-channel/mongoose.d.ts +2 -2
  952. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -1
  953. package/build/types/integrations/tracing-channel/mysql.d.ts +3 -3
  954. package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
  955. package/build/types/integrations/tracing-channel/mysql2.d.ts +9 -7
  956. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +1 -1
  957. package/build/types/integrations/tracing-channel/openai.d.ts +2 -3
  958. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  959. package/build/types/integrations/tracing-channel/postgres-js.d.ts +3 -3
  960. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -1
  961. package/build/types/integrations/tracing-channel/postgres.d.ts +2 -2
  962. package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -1
  963. package/build/types/integrations/tracing-channel/redis.d.ts +1 -1
  964. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  965. package/build/types/integrations/tracing-channel/tedious.d.ts +2 -2
  966. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -1
  967. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -1
  968. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  969. package/build/types/mongodb/mongodb-span.d.ts.map +1 -1
  970. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -1
  971. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -1
  972. package/build/types/orchestrion/apmTypes.d.ts +173 -0
  973. package/build/types/orchestrion/apmTypes.d.ts.map +1 -0
  974. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -2
  975. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  976. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +27 -0
  977. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  978. package/build/types/orchestrion/bundler/options.d.ts +19 -29
  979. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  980. package/build/types/orchestrion/bundler/resolve.d.ts +24 -0
  981. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  982. package/build/types/orchestrion/bundler/rollup.d.ts +2 -2
  983. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  984. package/build/types/orchestrion/bundler/vite.d.ts +2 -2
  985. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  986. package/build/types/orchestrion/bundler/webpack-loader.d.ts +28 -0
  987. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -0
  988. package/build/types/orchestrion/bundler/webpack.d.ts +9 -13
  989. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  990. package/build/types/orchestrion/channels.d.ts +124 -125
  991. package/build/types/orchestrion/channels.d.ts.map +1 -1
  992. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  993. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  994. package/build/types/orchestrion/config/anthropic-ai.d.ts +5 -7
  995. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  996. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  997. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  998. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +20 -20
  999. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  1000. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  1001. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1002. package/build/types/orchestrion/config/express.d.ts +5 -6
  1003. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1004. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1005. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1006. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1007. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1008. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1009. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1010. package/build/types/orchestrion/config/graphql.d.ts +4 -5
  1011. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1012. package/build/types/orchestrion/config/hapi.d.ts +3 -4
  1013. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1014. package/build/types/orchestrion/config/index.d.ts +1 -12
  1015. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1016. package/build/types/orchestrion/config/ioredis.d.ts +3 -3
  1017. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1018. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1019. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1020. package/build/types/orchestrion/config/knex.d.ts +4 -5
  1021. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1022. package/build/types/orchestrion/config/koa.d.ts +2 -3
  1023. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1024. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1025. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1026. package/build/types/orchestrion/config/langgraph.d.ts +7 -8
  1027. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1028. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1029. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1030. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1031. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1032. package/build/types/orchestrion/config/mongodb.d.ts +20 -21
  1033. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1034. package/build/types/orchestrion/config/mongoose.d.ts +12 -13
  1035. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1036. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1037. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1038. package/build/types/orchestrion/config/mysql2.d.ts +3 -4
  1039. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1040. package/build/types/orchestrion/config/nestjs.d.ts +9 -10
  1041. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1042. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1043. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1044. package/build/types/orchestrion/config/pg.d.ts +7 -8
  1045. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1046. package/build/types/orchestrion/config/postgres.d.ts +5 -5
  1047. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1048. package/build/types/orchestrion/config/redis.d.ts +10 -11
  1049. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1050. package/build/types/orchestrion/config/remix.d.ts +4 -5
  1051. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1052. package/build/types/orchestrion/config/tedious.d.ts +8 -8
  1053. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1054. package/build/types/orchestrion/config/vercel-ai.d.ts +8 -8
  1055. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1056. package/build/types/orchestrion/detect.d.ts +14 -1
  1057. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1058. package/build/types/orchestrion/index.d.ts +42 -49
  1059. package/build/types/orchestrion/index.d.ts.map +1 -1
  1060. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1061. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1062. package/build/types/orchestrion/moduleInjected.d.ts +25 -0
  1063. package/build/types/orchestrion/moduleInjected.d.ts.map +1 -0
  1064. package/build/types/orchestrion/runtime/register.d.ts +1 -12
  1065. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  1066. package/build/types/otlp.d.ts +49 -0
  1067. package/build/types/otlp.d.ts.map +1 -0
  1068. package/build/types/prisma/index.d.ts +0 -4
  1069. package/build/types/prisma/index.d.ts.map +1 -1
  1070. package/build/types/prisma/tracing-helper.d.ts.map +1 -1
  1071. package/build/types/prisma/types.d.ts +2 -2
  1072. package/build/types/prisma/types.d.ts.map +1 -1
  1073. package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
  1074. package/build/types/redis/redis-statement-serializer.d.ts.map +1 -1
  1075. package/build/types/tracing-channel.d.ts +2 -0
  1076. package/build/types/tracing-channel.d.ts.map +1 -1
  1077. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1078. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1079. package/build/types/vercel-ai/index.d.ts +4 -20
  1080. package/build/types/vercel-ai/index.d.ts.map +1 -1
  1081. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +2 -5
  1082. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  1083. package/package.json +23 -38
  1084. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -40
  1085. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1086. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1087. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1088. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1089. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1090. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -38
  1091. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1092. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1093. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1094. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1095. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1096. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1097. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1098. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1099. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1100. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1101. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1102. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1103. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1104. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1105. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1106. package/build/types-ts3.8/index.d.ts +0 -23
  1107. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1108. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1109. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1110. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1111. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1112. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1113. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1114. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1115. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1116. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1117. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1118. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1119. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1120. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1121. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1122. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1123. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1124. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1125. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1126. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1127. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1128. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1129. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1130. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1131. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -64
  1132. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1133. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1134. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1135. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1136. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1137. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1138. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1139. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1140. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1141. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1142. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1143. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1144. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1145. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1146. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1147. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1148. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1149. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1150. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1151. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1152. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1153. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1154. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1155. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1156. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1157. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1158. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1159. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1160. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1161. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1162. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1163. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1164. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1165. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1166. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1167. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1168. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1169. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1170. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1171. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1172. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1173. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1174. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1175. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1176. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1177. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1178. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1179. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1180. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1181. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1182. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1183. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1184. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1185. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1186. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -24
  1187. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1188. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1189. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1190. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1191. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1192. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1193. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1194. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1195. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1196. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1197. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1198. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1199. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1200. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1201. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1202. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1203. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1204. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1205. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1206. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1207. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1208. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1209. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1210. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1211. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1212. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1213. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1214. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1215. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1216. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1217. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1218. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1219. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1220. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1221. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1222. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1223. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -25
  1224. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1225. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1226. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1227. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1228. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1229. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1230. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1231. package/build/types-ts3.8/tracing-channel.d.ts +0 -73
  1232. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1233. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1234. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1235. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
@@ -0,0 +1,1068 @@
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+
3
+ const astring = require('../../../_virtual/astring.js');
4
+
5
+ Object.defineProperty(astring.__exports, "__esModule", {
6
+ value: true
7
+ });
8
+ astring.__exports.generate = generate;
9
+ astring.__exports.baseGenerator = astring.__exports.GENERATOR = astring.__exports.EXPRESSIONS_PRECEDENCE = astring.__exports.NEEDS_PARENTHESES = void 0;
10
+ function _classCallCheck(instance, Constructor) {
11
+ if (!(instance instanceof Constructor)) {
12
+ throw new TypeError("Cannot call a class as a function");
13
+ }
14
+ }
15
+ function _defineProperties(target, props) {
16
+ for (var i = 0; i < props.length; i++) {
17
+ var descriptor = props[i];
18
+ descriptor.enumerable = descriptor.enumerable || false;
19
+ descriptor.configurable = true;
20
+ if ("value" in descriptor) descriptor.writable = true;
21
+ Object.defineProperty(target, descriptor.key, descriptor);
22
+ }
23
+ }
24
+ function _createClass(Constructor, protoProps, staticProps) {
25
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
26
+ return Constructor;
27
+ }
28
+ var stringify = JSON.stringify;
29
+ if (!String.prototype.repeat) {
30
+ throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");
31
+ }
32
+ if (!String.prototype.endsWith) {
33
+ throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");
34
+ }
35
+ var OPERATOR_PRECEDENCE = {
36
+ "||": 2,
37
+ "??": 3,
38
+ "&&": 4,
39
+ "|": 5,
40
+ "^": 6,
41
+ "&": 7,
42
+ "==": 8,
43
+ "!=": 8,
44
+ "===": 8,
45
+ "!==": 8,
46
+ "<": 9,
47
+ ">": 9,
48
+ "<=": 9,
49
+ ">=": 9,
50
+ "in": 9,
51
+ "instanceof": 9,
52
+ "<<": 10,
53
+ ">>": 10,
54
+ ">>>": 10,
55
+ "+": 11,
56
+ "-": 11,
57
+ "*": 12,
58
+ "%": 12,
59
+ "/": 12,
60
+ "**": 13
61
+ };
62
+ var NEEDS_PARENTHESES = 17;
63
+ astring.__exports.NEEDS_PARENTHESES = NEEDS_PARENTHESES;
64
+ var EXPRESSIONS_PRECEDENCE = {
65
+ ArrayExpression: 20,
66
+ TaggedTemplateExpression: 20,
67
+ ThisExpression: 20,
68
+ Identifier: 20,
69
+ PrivateIdentifier: 20,
70
+ Literal: 18,
71
+ TemplateLiteral: 20,
72
+ Super: 20,
73
+ SequenceExpression: 20,
74
+ MemberExpression: 19,
75
+ ChainExpression: 19,
76
+ CallExpression: 19,
77
+ NewExpression: 19,
78
+ ArrowFunctionExpression: NEEDS_PARENTHESES,
79
+ ClassExpression: NEEDS_PARENTHESES,
80
+ FunctionExpression: NEEDS_PARENTHESES,
81
+ ObjectExpression: NEEDS_PARENTHESES,
82
+ UpdateExpression: 16,
83
+ UnaryExpression: 15,
84
+ AwaitExpression: 15,
85
+ BinaryExpression: 14,
86
+ LogicalExpression: 13,
87
+ ConditionalExpression: 4,
88
+ AssignmentExpression: 3,
89
+ YieldExpression: 2,
90
+ RestElement: 1
91
+ };
92
+ astring.__exports.EXPRESSIONS_PRECEDENCE = EXPRESSIONS_PRECEDENCE;
93
+ function formatSequence(state, nodes) {
94
+ var generator = state.generator;
95
+ state.write("(");
96
+ if (nodes != null && nodes.length > 0) {
97
+ generator[nodes[0].type](nodes[0], state);
98
+ var length = nodes.length;
99
+ for (var i = 1; i < length; i++) {
100
+ var param = nodes[i];
101
+ state.write(", ");
102
+ generator[param.type](param, state);
103
+ }
104
+ }
105
+ state.write(")");
106
+ }
107
+ function expressionNeedsParenthesis(state, node, parentNode, isRightHand) {
108
+ var nodePrecedence = state.expressionsPrecedence[node.type];
109
+ if (nodePrecedence === NEEDS_PARENTHESES) {
110
+ return true;
111
+ }
112
+ var parentNodePrecedence = state.expressionsPrecedence[parentNode.type];
113
+ if (nodePrecedence !== parentNodePrecedence) {
114
+ return !isRightHand && nodePrecedence === 15 && parentNodePrecedence === 14 && parentNode.operator === "**" || nodePrecedence < parentNodePrecedence;
115
+ }
116
+ if (nodePrecedence !== 13 && nodePrecedence !== 14) {
117
+ return false;
118
+ }
119
+ if (node.operator === "**" && parentNode.operator === "**") {
120
+ return !isRightHand;
121
+ }
122
+ if (nodePrecedence === 13 && parentNodePrecedence === 13 && (node.operator === "??" || parentNode.operator === "??")) {
123
+ return true;
124
+ }
125
+ if (isRightHand) {
126
+ return OPERATOR_PRECEDENCE[node.operator] <= OPERATOR_PRECEDENCE[parentNode.operator];
127
+ }
128
+ return OPERATOR_PRECEDENCE[node.operator] < OPERATOR_PRECEDENCE[parentNode.operator];
129
+ }
130
+ function formatExpression(state, node, parentNode, isRightHand) {
131
+ var generator = state.generator;
132
+ if (expressionNeedsParenthesis(state, node, parentNode, isRightHand)) {
133
+ state.write("(");
134
+ generator[node.type](node, state);
135
+ state.write(")");
136
+ } else {
137
+ generator[node.type](node, state);
138
+ }
139
+ }
140
+ function reindent(state, text, indent, lineEnd) {
141
+ var lines = text.split("\n");
142
+ var end = lines.length - 1;
143
+ state.write(lines[0].trim());
144
+ if (end > 0) {
145
+ state.write(lineEnd);
146
+ for (var i = 1; i < end; i++) {
147
+ state.write(indent + lines[i].trim() + lineEnd);
148
+ }
149
+ state.write(indent + lines[end].trim());
150
+ }
151
+ }
152
+ function formatComments(state, comments, indent, lineEnd) {
153
+ var length = comments.length;
154
+ for (var i = 0; i < length; i++) {
155
+ var comment = comments[i];
156
+ state.write(indent);
157
+ if (comment.type[0] === "L") {
158
+ state.write("// " + comment.value.trim() + "\n", comment);
159
+ } else {
160
+ state.write("/*");
161
+ reindent(state, comment.value, indent, lineEnd);
162
+ state.write("*/" + lineEnd);
163
+ }
164
+ }
165
+ }
166
+ function hasCallExpression(node) {
167
+ var currentNode = node;
168
+ while (currentNode != null) {
169
+ var _currentNode = currentNode, type = _currentNode.type;
170
+ if (type[0] === "C" && type[1] === "a") {
171
+ return true;
172
+ } else if (type[0] === "M" && type[1] === "e" && type[2] === "m") {
173
+ currentNode = currentNode.object;
174
+ } else {
175
+ return false;
176
+ }
177
+ }
178
+ }
179
+ function formatVariableDeclaration(state, node) {
180
+ var generator = state.generator;
181
+ var declarations = node.declarations;
182
+ state.write(node.kind + " ");
183
+ var length = declarations.length;
184
+ if (length > 0) {
185
+ generator.VariableDeclarator(declarations[0], state);
186
+ for (var i = 1; i < length; i++) {
187
+ state.write(", ");
188
+ generator.VariableDeclarator(declarations[i], state);
189
+ }
190
+ }
191
+ }
192
+ var ForInStatement, FunctionDeclaration, RestElement, BinaryExpression, ArrayExpression, BlockStatement;
193
+ var GENERATOR = {
194
+ Program: function Program(node, state) {
195
+ var indent = state.indent.repeat(state.indentLevel);
196
+ var lineEnd = state.lineEnd, writeComments = state.writeComments;
197
+ if (writeComments && node.comments != null) {
198
+ formatComments(state, node.comments, indent, lineEnd);
199
+ }
200
+ var statements = node.body;
201
+ var length = statements.length;
202
+ for (var i = 0; i < length; i++) {
203
+ var statement = statements[i];
204
+ if (writeComments && statement.comments != null) {
205
+ formatComments(state, statement.comments, indent, lineEnd);
206
+ }
207
+ state.write(indent);
208
+ this[statement.type](statement, state);
209
+ state.write(lineEnd);
210
+ }
211
+ if (writeComments && node.trailingComments != null) {
212
+ formatComments(state, node.trailingComments, indent, lineEnd);
213
+ }
214
+ },
215
+ BlockStatement: BlockStatement = function BlockStatement2(node, state) {
216
+ var indent = state.indent.repeat(state.indentLevel++);
217
+ var lineEnd = state.lineEnd, writeComments = state.writeComments;
218
+ var statementIndent = indent + state.indent;
219
+ state.write("{");
220
+ var statements = node.body;
221
+ if (statements != null && statements.length > 0) {
222
+ state.write(lineEnd);
223
+ if (writeComments && node.comments != null) {
224
+ formatComments(state, node.comments, statementIndent, lineEnd);
225
+ }
226
+ var length = statements.length;
227
+ for (var i = 0; i < length; i++) {
228
+ var statement = statements[i];
229
+ if (writeComments && statement.comments != null) {
230
+ formatComments(state, statement.comments, statementIndent, lineEnd);
231
+ }
232
+ state.write(statementIndent);
233
+ this[statement.type](statement, state);
234
+ state.write(lineEnd);
235
+ }
236
+ state.write(indent);
237
+ } else {
238
+ if (writeComments && node.comments != null) {
239
+ state.write(lineEnd);
240
+ formatComments(state, node.comments, statementIndent, lineEnd);
241
+ state.write(indent);
242
+ }
243
+ }
244
+ if (writeComments && node.trailingComments != null) {
245
+ formatComments(state, node.trailingComments, statementIndent, lineEnd);
246
+ }
247
+ state.write("}");
248
+ state.indentLevel--;
249
+ },
250
+ ClassBody: BlockStatement,
251
+ StaticBlock: function StaticBlock(node, state) {
252
+ state.write("static ");
253
+ this.BlockStatement(node, state);
254
+ },
255
+ EmptyStatement: function EmptyStatement(node, state) {
256
+ state.write(";");
257
+ },
258
+ ExpressionStatement: function ExpressionStatement(node, state) {
259
+ var precedence = state.expressionsPrecedence[node.expression.type];
260
+ if (precedence === NEEDS_PARENTHESES || precedence === 3 && node.expression.left.type[0] === "O") {
261
+ state.write("(");
262
+ this[node.expression.type](node.expression, state);
263
+ state.write(")");
264
+ } else {
265
+ this[node.expression.type](node.expression, state);
266
+ }
267
+ state.write(";");
268
+ },
269
+ IfStatement: function IfStatement(node, state) {
270
+ state.write("if (");
271
+ this[node.test.type](node.test, state);
272
+ state.write(") ");
273
+ this[node.consequent.type](node.consequent, state);
274
+ if (node.alternate != null) {
275
+ state.write(" else ");
276
+ this[node.alternate.type](node.alternate, state);
277
+ }
278
+ },
279
+ LabeledStatement: function LabeledStatement(node, state) {
280
+ this[node.label.type](node.label, state);
281
+ state.write(": ");
282
+ this[node.body.type](node.body, state);
283
+ },
284
+ BreakStatement: function BreakStatement(node, state) {
285
+ state.write("break");
286
+ if (node.label != null) {
287
+ state.write(" ");
288
+ this[node.label.type](node.label, state);
289
+ }
290
+ state.write(";");
291
+ },
292
+ ContinueStatement: function ContinueStatement(node, state) {
293
+ state.write("continue");
294
+ if (node.label != null) {
295
+ state.write(" ");
296
+ this[node.label.type](node.label, state);
297
+ }
298
+ state.write(";");
299
+ },
300
+ WithStatement: function WithStatement(node, state) {
301
+ state.write("with (");
302
+ this[node.object.type](node.object, state);
303
+ state.write(") ");
304
+ this[node.body.type](node.body, state);
305
+ },
306
+ SwitchStatement: function SwitchStatement(node, state) {
307
+ var indent = state.indent.repeat(state.indentLevel++);
308
+ var lineEnd = state.lineEnd, writeComments = state.writeComments;
309
+ state.indentLevel++;
310
+ var caseIndent = indent + state.indent;
311
+ var statementIndent = caseIndent + state.indent;
312
+ state.write("switch (");
313
+ this[node.discriminant.type](node.discriminant, state);
314
+ state.write(") {" + lineEnd);
315
+ var occurences = node.cases;
316
+ var occurencesCount = occurences.length;
317
+ for (var i = 0; i < occurencesCount; i++) {
318
+ var occurence = occurences[i];
319
+ if (writeComments && occurence.comments != null) {
320
+ formatComments(state, occurence.comments, caseIndent, lineEnd);
321
+ }
322
+ if (occurence.test) {
323
+ state.write(caseIndent + "case ");
324
+ this[occurence.test.type](occurence.test, state);
325
+ state.write(":" + lineEnd);
326
+ } else {
327
+ state.write(caseIndent + "default:" + lineEnd);
328
+ }
329
+ var consequent = occurence.consequent;
330
+ var consequentCount = consequent.length;
331
+ for (var _i = 0; _i < consequentCount; _i++) {
332
+ var statement = consequent[_i];
333
+ if (writeComments && statement.comments != null) {
334
+ formatComments(state, statement.comments, statementIndent, lineEnd);
335
+ }
336
+ state.write(statementIndent);
337
+ this[statement.type](statement, state);
338
+ state.write(lineEnd);
339
+ }
340
+ }
341
+ state.indentLevel -= 2;
342
+ state.write(indent + "}");
343
+ },
344
+ ReturnStatement: function ReturnStatement(node, state) {
345
+ state.write("return");
346
+ if (node.argument) {
347
+ state.write(" ");
348
+ this[node.argument.type](node.argument, state);
349
+ }
350
+ state.write(";");
351
+ },
352
+ ThrowStatement: function ThrowStatement(node, state) {
353
+ state.write("throw ");
354
+ this[node.argument.type](node.argument, state);
355
+ state.write(";");
356
+ },
357
+ TryStatement: function TryStatement(node, state) {
358
+ state.write("try ");
359
+ this[node.block.type](node.block, state);
360
+ if (node.handler) {
361
+ var handler = node.handler;
362
+ if (handler.param == null) {
363
+ state.write(" catch ");
364
+ } else {
365
+ state.write(" catch (");
366
+ this[handler.param.type](handler.param, state);
367
+ state.write(") ");
368
+ }
369
+ this[handler.body.type](handler.body, state);
370
+ }
371
+ if (node.finalizer) {
372
+ state.write(" finally ");
373
+ this[node.finalizer.type](node.finalizer, state);
374
+ }
375
+ },
376
+ WhileStatement: function WhileStatement(node, state) {
377
+ state.write("while (");
378
+ this[node.test.type](node.test, state);
379
+ state.write(") ");
380
+ this[node.body.type](node.body, state);
381
+ },
382
+ DoWhileStatement: function DoWhileStatement(node, state) {
383
+ state.write("do ");
384
+ this[node.body.type](node.body, state);
385
+ state.write(" while (");
386
+ this[node.test.type](node.test, state);
387
+ state.write(");");
388
+ },
389
+ ForStatement: function ForStatement(node, state) {
390
+ state.write("for (");
391
+ if (node.init != null) {
392
+ var init = node.init;
393
+ if (init.type[0] === "V") {
394
+ formatVariableDeclaration(state, init);
395
+ } else {
396
+ this[init.type](init, state);
397
+ }
398
+ }
399
+ state.write("; ");
400
+ if (node.test) {
401
+ this[node.test.type](node.test, state);
402
+ }
403
+ state.write("; ");
404
+ if (node.update) {
405
+ this[node.update.type](node.update, state);
406
+ }
407
+ state.write(") ");
408
+ this[node.body.type](node.body, state);
409
+ },
410
+ ForInStatement: ForInStatement = function ForInStatement2(node, state) {
411
+ state.write("for ".concat(node["await"] ? "await " : "", "("));
412
+ var left = node.left;
413
+ if (left.type[0] === "V") {
414
+ formatVariableDeclaration(state, left);
415
+ } else {
416
+ this[left.type](left, state);
417
+ }
418
+ state.write(node.type[3] === "I" ? " in " : " of ");
419
+ this[node.right.type](node.right, state);
420
+ state.write(") ");
421
+ this[node.body.type](node.body, state);
422
+ },
423
+ ForOfStatement: ForInStatement,
424
+ DebuggerStatement: function DebuggerStatement(node, state) {
425
+ state.write("debugger;", node);
426
+ },
427
+ FunctionDeclaration: FunctionDeclaration = function FunctionDeclaration2(node, state) {
428
+ state.write((node.async ? "async " : "") + (node.generator ? "function* " : "function ") + (node.id ? node.id.name : ""), node);
429
+ formatSequence(state, node.params);
430
+ state.write(" ");
431
+ this[node.body.type](node.body, state);
432
+ },
433
+ FunctionExpression: FunctionDeclaration,
434
+ VariableDeclaration: function VariableDeclaration(node, state) {
435
+ formatVariableDeclaration(state, node);
436
+ state.write(";");
437
+ },
438
+ VariableDeclarator: function VariableDeclarator(node, state) {
439
+ this[node.id.type](node.id, state);
440
+ if (node.init != null) {
441
+ state.write(" = ");
442
+ this[node.init.type](node.init, state);
443
+ }
444
+ },
445
+ ClassDeclaration: function ClassDeclaration(node, state) {
446
+ state.write("class " + (node.id ? "".concat(node.id.name, " ") : ""), node);
447
+ if (node.superClass) {
448
+ state.write("extends ");
449
+ var superClass = node.superClass;
450
+ var type = superClass.type;
451
+ var precedence = state.expressionsPrecedence[type];
452
+ if ((type[0] !== "C" || type[1] !== "l" || type[5] !== "E") && (precedence === NEEDS_PARENTHESES || precedence < state.expressionsPrecedence.ClassExpression)) {
453
+ state.write("(");
454
+ this[node.superClass.type](superClass, state);
455
+ state.write(")");
456
+ } else {
457
+ this[superClass.type](superClass, state);
458
+ }
459
+ state.write(" ");
460
+ }
461
+ this.ClassBody(node.body, state);
462
+ },
463
+ ImportDeclaration: function ImportDeclaration(node, state) {
464
+ state.write("import ");
465
+ var specifiers = node.specifiers, attributes = node.attributes;
466
+ var length = specifiers.length;
467
+ var i = 0;
468
+ if (length > 0) {
469
+ for (; i < length; ) {
470
+ if (i > 0) {
471
+ state.write(", ");
472
+ }
473
+ var specifier = specifiers[i];
474
+ var type = specifier.type[6];
475
+ if (type === "D") {
476
+ state.write(specifier.local.name, specifier);
477
+ i++;
478
+ } else if (type === "N") {
479
+ state.write("* as " + specifier.local.name, specifier);
480
+ i++;
481
+ } else {
482
+ break;
483
+ }
484
+ }
485
+ if (i < length) {
486
+ state.write("{");
487
+ for (; ; ) {
488
+ var _specifier = specifiers[i];
489
+ var name = _specifier.imported.name;
490
+ state.write(name, _specifier);
491
+ if (name !== _specifier.local.name) {
492
+ state.write(" as " + _specifier.local.name);
493
+ }
494
+ if (++i < length) {
495
+ state.write(", ");
496
+ } else {
497
+ break;
498
+ }
499
+ }
500
+ state.write("}");
501
+ }
502
+ state.write(" from ");
503
+ }
504
+ this.Literal(node.source, state);
505
+ if (attributes && attributes.length > 0) {
506
+ state.write(" with { ");
507
+ for (var _i2 = 0; _i2 < attributes.length; _i2++) {
508
+ this.ImportAttribute(attributes[_i2], state);
509
+ if (_i2 < attributes.length - 1) state.write(", ");
510
+ }
511
+ state.write(" }");
512
+ }
513
+ state.write(";");
514
+ },
515
+ ImportAttribute: function ImportAttribute(node, state) {
516
+ this.Identifier(node.key, state);
517
+ state.write(": ");
518
+ this.Literal(node.value, state);
519
+ },
520
+ ImportExpression: function ImportExpression(node, state) {
521
+ state.write("import(");
522
+ this[node.source.type](node.source, state);
523
+ state.write(")");
524
+ },
525
+ ExportDefaultDeclaration: function ExportDefaultDeclaration(node, state) {
526
+ state.write("export default ");
527
+ this[node.declaration.type](node.declaration, state);
528
+ if (state.expressionsPrecedence[node.declaration.type] != null && node.declaration.type[0] !== "F") {
529
+ state.write(";");
530
+ }
531
+ },
532
+ ExportNamedDeclaration: function ExportNamedDeclaration(node, state) {
533
+ state.write("export ");
534
+ if (node.declaration) {
535
+ this[node.declaration.type](node.declaration, state);
536
+ } else {
537
+ state.write("{");
538
+ var specifiers = node.specifiers, length = specifiers.length;
539
+ if (length > 0) {
540
+ for (var i = 0; ; ) {
541
+ var specifier = specifiers[i];
542
+ var name = specifier.local.name;
543
+ state.write(name, specifier);
544
+ if (name !== specifier.exported.name) {
545
+ state.write(" as " + specifier.exported.name);
546
+ }
547
+ if (++i < length) {
548
+ state.write(", ");
549
+ } else {
550
+ break;
551
+ }
552
+ }
553
+ }
554
+ state.write("}");
555
+ if (node.source) {
556
+ state.write(" from ");
557
+ this.Literal(node.source, state);
558
+ }
559
+ if (node.attributes && node.attributes.length > 0) {
560
+ state.write(" with { ");
561
+ for (var _i3 = 0; _i3 < node.attributes.length; _i3++) {
562
+ this.ImportAttribute(node.attributes[_i3], state);
563
+ if (_i3 < node.attributes.length - 1) state.write(", ");
564
+ }
565
+ state.write(" }");
566
+ }
567
+ state.write(";");
568
+ }
569
+ },
570
+ ExportAllDeclaration: function ExportAllDeclaration(node, state) {
571
+ if (node.exported != null) {
572
+ state.write("export * as " + node.exported.name + " from ");
573
+ } else {
574
+ state.write("export * from ");
575
+ }
576
+ this.Literal(node.source, state);
577
+ if (node.attributes && node.attributes.length > 0) {
578
+ state.write(" with { ");
579
+ for (var i = 0; i < node.attributes.length; i++) {
580
+ this.ImportAttribute(node.attributes[i], state);
581
+ if (i < node.attributes.length - 1) state.write(", ");
582
+ }
583
+ state.write(" }");
584
+ }
585
+ state.write(";");
586
+ },
587
+ MethodDefinition: function MethodDefinition(node, state) {
588
+ if (node["static"]) {
589
+ state.write("static ");
590
+ }
591
+ var kind = node.kind[0];
592
+ if (kind === "g" || kind === "s") {
593
+ state.write(node.kind + " ");
594
+ }
595
+ if (node.value.async) {
596
+ state.write("async ");
597
+ }
598
+ if (node.value.generator) {
599
+ state.write("*");
600
+ }
601
+ if (node.computed) {
602
+ state.write("[");
603
+ this[node.key.type](node.key, state);
604
+ state.write("]");
605
+ } else {
606
+ this[node.key.type](node.key, state);
607
+ }
608
+ formatSequence(state, node.value.params);
609
+ state.write(" ");
610
+ this[node.value.body.type](node.value.body, state);
611
+ },
612
+ ClassExpression: function ClassExpression(node, state) {
613
+ this.ClassDeclaration(node, state);
614
+ },
615
+ ArrowFunctionExpression: function ArrowFunctionExpression(node, state) {
616
+ state.write(node.async ? "async " : "", node);
617
+ var params = node.params;
618
+ if (params != null) {
619
+ if (params.length === 1 && params[0].type[0] === "I") {
620
+ state.write(params[0].name, params[0]);
621
+ } else {
622
+ formatSequence(state, node.params);
623
+ }
624
+ }
625
+ state.write(" => ");
626
+ if (node.body.type[0] === "O") {
627
+ state.write("(");
628
+ this.ObjectExpression(node.body, state);
629
+ state.write(")");
630
+ } else {
631
+ this[node.body.type](node.body, state);
632
+ }
633
+ },
634
+ ThisExpression: function ThisExpression(node, state) {
635
+ state.write("this", node);
636
+ },
637
+ Super: function Super(node, state) {
638
+ state.write("super", node);
639
+ },
640
+ RestElement: RestElement = function RestElement2(node, state) {
641
+ state.write("...");
642
+ this[node.argument.type](node.argument, state);
643
+ },
644
+ SpreadElement: RestElement,
645
+ YieldExpression: function YieldExpression(node, state) {
646
+ state.write(node.delegate ? "yield*" : "yield");
647
+ if (node.argument) {
648
+ state.write(" ");
649
+ this[node.argument.type](node.argument, state);
650
+ }
651
+ },
652
+ AwaitExpression: function AwaitExpression(node, state) {
653
+ state.write("await ", node);
654
+ formatExpression(state, node.argument, node);
655
+ },
656
+ TemplateLiteral: function TemplateLiteral(node, state) {
657
+ var quasis = node.quasis, expressions = node.expressions;
658
+ state.write("`");
659
+ var length = expressions.length;
660
+ for (var i = 0; i < length; i++) {
661
+ var expression = expressions[i];
662
+ var _quasi = quasis[i];
663
+ state.write(_quasi.value.raw, _quasi);
664
+ state.write("${");
665
+ this[expression.type](expression, state);
666
+ state.write("}");
667
+ }
668
+ var quasi = quasis[quasis.length - 1];
669
+ state.write(quasi.value.raw, quasi);
670
+ state.write("`");
671
+ },
672
+ TemplateElement: function TemplateElement(node, state) {
673
+ state.write(node.value.raw, node);
674
+ },
675
+ TaggedTemplateExpression: function TaggedTemplateExpression(node, state) {
676
+ formatExpression(state, node.tag, node);
677
+ this[node.quasi.type](node.quasi, state);
678
+ },
679
+ ArrayExpression: ArrayExpression = function ArrayExpression2(node, state) {
680
+ state.write("[");
681
+ if (node.elements.length > 0) {
682
+ var elements = node.elements, length = elements.length;
683
+ for (var i = 0; ; ) {
684
+ var element = elements[i];
685
+ if (element != null) {
686
+ this[element.type](element, state);
687
+ }
688
+ if (++i < length) {
689
+ state.write(", ");
690
+ } else {
691
+ if (element == null) {
692
+ state.write(", ");
693
+ }
694
+ break;
695
+ }
696
+ }
697
+ }
698
+ state.write("]");
699
+ },
700
+ ArrayPattern: ArrayExpression,
701
+ ObjectExpression: function ObjectExpression(node, state) {
702
+ var indent = state.indent.repeat(state.indentLevel++);
703
+ var lineEnd = state.lineEnd, writeComments = state.writeComments;
704
+ var propertyIndent = indent + state.indent;
705
+ state.write("{");
706
+ if (node.properties.length > 0) {
707
+ state.write(lineEnd);
708
+ if (writeComments && node.comments != null) {
709
+ formatComments(state, node.comments, propertyIndent, lineEnd);
710
+ }
711
+ var comma = "," + lineEnd;
712
+ var properties = node.properties, length = properties.length;
713
+ for (var i = 0; ; ) {
714
+ var property = properties[i];
715
+ if (writeComments && property.comments != null) {
716
+ formatComments(state, property.comments, propertyIndent, lineEnd);
717
+ }
718
+ state.write(propertyIndent);
719
+ this[property.type](property, state);
720
+ if (++i < length) {
721
+ state.write(comma);
722
+ } else {
723
+ break;
724
+ }
725
+ }
726
+ state.write(lineEnd);
727
+ if (writeComments && node.trailingComments != null) {
728
+ formatComments(state, node.trailingComments, propertyIndent, lineEnd);
729
+ }
730
+ state.write(indent + "}");
731
+ } else if (writeComments) {
732
+ if (node.comments != null) {
733
+ state.write(lineEnd);
734
+ formatComments(state, node.comments, propertyIndent, lineEnd);
735
+ if (node.trailingComments != null) {
736
+ formatComments(state, node.trailingComments, propertyIndent, lineEnd);
737
+ }
738
+ state.write(indent + "}");
739
+ } else if (node.trailingComments != null) {
740
+ state.write(lineEnd);
741
+ formatComments(state, node.trailingComments, propertyIndent, lineEnd);
742
+ state.write(indent + "}");
743
+ } else {
744
+ state.write("}");
745
+ }
746
+ } else {
747
+ state.write("}");
748
+ }
749
+ state.indentLevel--;
750
+ },
751
+ Property: function Property(node, state) {
752
+ if (node.method || node.kind[0] !== "i") {
753
+ this.MethodDefinition(node, state);
754
+ } else {
755
+ if (!node.shorthand) {
756
+ if (node.computed) {
757
+ state.write("[");
758
+ this[node.key.type](node.key, state);
759
+ state.write("]");
760
+ } else {
761
+ this[node.key.type](node.key, state);
762
+ }
763
+ state.write(": ");
764
+ }
765
+ this[node.value.type](node.value, state);
766
+ }
767
+ },
768
+ PropertyDefinition: function PropertyDefinition(node, state) {
769
+ if (node["static"]) {
770
+ state.write("static ");
771
+ }
772
+ if (node.computed) {
773
+ state.write("[");
774
+ }
775
+ this[node.key.type](node.key, state);
776
+ if (node.computed) {
777
+ state.write("]");
778
+ }
779
+ if (node.value == null) {
780
+ if (node.key.type[0] !== "F") {
781
+ state.write(";");
782
+ }
783
+ return;
784
+ }
785
+ state.write(" = ");
786
+ this[node.value.type](node.value, state);
787
+ state.write(";");
788
+ },
789
+ ObjectPattern: function ObjectPattern(node, state) {
790
+ state.write("{");
791
+ if (node.properties.length > 0) {
792
+ var properties = node.properties, length = properties.length;
793
+ for (var i = 0; ; ) {
794
+ this[properties[i].type](properties[i], state);
795
+ if (++i < length) {
796
+ state.write(", ");
797
+ } else {
798
+ break;
799
+ }
800
+ }
801
+ }
802
+ state.write("}");
803
+ },
804
+ SequenceExpression: function SequenceExpression(node, state) {
805
+ formatSequence(state, node.expressions);
806
+ },
807
+ UnaryExpression: function UnaryExpression(node, state) {
808
+ if (node.prefix) {
809
+ var operator = node.operator, argument = node.argument, type = node.argument.type;
810
+ state.write(operator);
811
+ var needsParentheses = expressionNeedsParenthesis(state, argument, node);
812
+ if (!needsParentheses && (operator.length > 1 || type[0] === "U" && (type[1] === "n" || type[1] === "p") && argument.prefix && argument.operator[0] === operator && (operator === "+" || operator === "-"))) {
813
+ state.write(" ");
814
+ }
815
+ if (needsParentheses) {
816
+ state.write(operator.length > 1 ? " (" : "(");
817
+ this[type](argument, state);
818
+ state.write(")");
819
+ } else {
820
+ this[type](argument, state);
821
+ }
822
+ } else {
823
+ this[node.argument.type](node.argument, state);
824
+ state.write(node.operator);
825
+ }
826
+ },
827
+ UpdateExpression: function UpdateExpression(node, state) {
828
+ if (node.prefix) {
829
+ state.write(node.operator);
830
+ this[node.argument.type](node.argument, state);
831
+ } else {
832
+ this[node.argument.type](node.argument, state);
833
+ state.write(node.operator);
834
+ }
835
+ },
836
+ AssignmentExpression: function AssignmentExpression(node, state) {
837
+ this[node.left.type](node.left, state);
838
+ state.write(" " + node.operator + " ");
839
+ this[node.right.type](node.right, state);
840
+ },
841
+ AssignmentPattern: function AssignmentPattern(node, state) {
842
+ this[node.left.type](node.left, state);
843
+ state.write(" = ");
844
+ this[node.right.type](node.right, state);
845
+ },
846
+ BinaryExpression: BinaryExpression = function BinaryExpression2(node, state) {
847
+ var isIn = node.operator === "in";
848
+ if (isIn) {
849
+ state.write("(");
850
+ }
851
+ formatExpression(state, node.left, node, false);
852
+ state.write(" " + node.operator + " ");
853
+ formatExpression(state, node.right, node, true);
854
+ if (isIn) {
855
+ state.write(")");
856
+ }
857
+ },
858
+ LogicalExpression: BinaryExpression,
859
+ ConditionalExpression: function ConditionalExpression(node, state) {
860
+ var test = node.test;
861
+ var precedence = state.expressionsPrecedence[test.type];
862
+ if (precedence === NEEDS_PARENTHESES || precedence <= state.expressionsPrecedence.ConditionalExpression) {
863
+ state.write("(");
864
+ this[test.type](test, state);
865
+ state.write(")");
866
+ } else {
867
+ this[test.type](test, state);
868
+ }
869
+ state.write(" ? ");
870
+ this[node.consequent.type](node.consequent, state);
871
+ state.write(" : ");
872
+ this[node.alternate.type](node.alternate, state);
873
+ },
874
+ NewExpression: function NewExpression(node, state) {
875
+ state.write("new ");
876
+ var precedence = state.expressionsPrecedence[node.callee.type];
877
+ if (precedence === NEEDS_PARENTHESES || precedence < state.expressionsPrecedence.CallExpression || hasCallExpression(node.callee)) {
878
+ state.write("(");
879
+ this[node.callee.type](node.callee, state);
880
+ state.write(")");
881
+ } else {
882
+ this[node.callee.type](node.callee, state);
883
+ }
884
+ formatSequence(state, node["arguments"]);
885
+ },
886
+ CallExpression: function CallExpression(node, state) {
887
+ var precedence = state.expressionsPrecedence[node.callee.type];
888
+ if (precedence === NEEDS_PARENTHESES || precedence < state.expressionsPrecedence.CallExpression) {
889
+ state.write("(");
890
+ this[node.callee.type](node.callee, state);
891
+ state.write(")");
892
+ } else {
893
+ this[node.callee.type](node.callee, state);
894
+ }
895
+ if (node.optional) {
896
+ state.write("?.");
897
+ }
898
+ formatSequence(state, node["arguments"]);
899
+ },
900
+ ChainExpression: function ChainExpression(node, state) {
901
+ this[node.expression.type](node.expression, state);
902
+ },
903
+ MemberExpression: function MemberExpression(node, state) {
904
+ var precedence = state.expressionsPrecedence[node.object.type];
905
+ if (precedence === NEEDS_PARENTHESES || precedence < state.expressionsPrecedence.MemberExpression) {
906
+ state.write("(");
907
+ this[node.object.type](node.object, state);
908
+ state.write(")");
909
+ } else {
910
+ this[node.object.type](node.object, state);
911
+ }
912
+ if (node.computed) {
913
+ if (node.optional) {
914
+ state.write("?.");
915
+ }
916
+ state.write("[");
917
+ this[node.property.type](node.property, state);
918
+ state.write("]");
919
+ } else {
920
+ if (node.optional) {
921
+ state.write("?.");
922
+ } else {
923
+ state.write(".");
924
+ }
925
+ this[node.property.type](node.property, state);
926
+ }
927
+ },
928
+ MetaProperty: function MetaProperty(node, state) {
929
+ state.write(node.meta.name + "." + node.property.name, node);
930
+ },
931
+ Identifier: function Identifier(node, state) {
932
+ state.write(node.name, node);
933
+ },
934
+ PrivateIdentifier: function PrivateIdentifier(node, state) {
935
+ state.write("#".concat(node.name), node);
936
+ },
937
+ Literal: function Literal(node, state) {
938
+ if (node.raw != null) {
939
+ state.write(node.raw, node);
940
+ } else if (node.regex != null) {
941
+ this.RegExpLiteral(node, state);
942
+ } else if (node.bigint != null) {
943
+ state.write(node.bigint + "n", node);
944
+ } else {
945
+ state.write(stringify(node.value), node);
946
+ }
947
+ },
948
+ RegExpLiteral: function RegExpLiteral(node, state) {
949
+ var regex = node.regex;
950
+ state.write("/".concat(regex.pattern, "/").concat(regex.flags), node);
951
+ }
952
+ };
953
+ astring.__exports.GENERATOR = GENERATOR;
954
+ var EMPTY_OBJECT = {};
955
+ var baseGenerator = GENERATOR;
956
+ astring.__exports.baseGenerator = baseGenerator;
957
+ var State = (function() {
958
+ function State2(options) {
959
+ _classCallCheck(this, State2);
960
+ var setup = options == null ? EMPTY_OBJECT : options;
961
+ this.output = "";
962
+ if (setup.output != null) {
963
+ this.output = setup.output;
964
+ this.write = this.writeToStream;
965
+ } else {
966
+ this.output = "";
967
+ }
968
+ this.generator = setup.generator != null ? setup.generator : GENERATOR;
969
+ this.expressionsPrecedence = setup.expressionsPrecedence != null ? setup.expressionsPrecedence : EXPRESSIONS_PRECEDENCE;
970
+ this.indent = setup.indent != null ? setup.indent : " ";
971
+ this.lineEnd = setup.lineEnd != null ? setup.lineEnd : "\n";
972
+ this.indentLevel = setup.startingIndentLevel != null ? setup.startingIndentLevel : 0;
973
+ this.writeComments = setup.comments ? setup.comments : false;
974
+ if (setup.sourceMap != null) {
975
+ this.write = setup.output == null ? this.writeAndMap : this.writeToStreamAndMap;
976
+ this.sourceMap = setup.sourceMap;
977
+ this.line = 1;
978
+ this.column = 0;
979
+ this.lineEndSize = this.lineEnd.split("\n").length - 1;
980
+ this.mapping = {
981
+ original: null,
982
+ generated: this,
983
+ name: void 0,
984
+ source: setup.sourceMap.file || setup.sourceMap._file
985
+ };
986
+ }
987
+ }
988
+ _createClass(State2, [{
989
+ key: "write",
990
+ value: function write(code) {
991
+ this.output += code;
992
+ }
993
+ }, {
994
+ key: "writeToStream",
995
+ value: function writeToStream(code) {
996
+ this.output.write(code);
997
+ }
998
+ }, {
999
+ key: "writeAndMap",
1000
+ value: function writeAndMap(code, node) {
1001
+ this.output += code;
1002
+ this.map(code, node);
1003
+ }
1004
+ }, {
1005
+ key: "writeToStreamAndMap",
1006
+ value: function writeToStreamAndMap(code, node) {
1007
+ this.output.write(code);
1008
+ this.map(code, node);
1009
+ }
1010
+ }, {
1011
+ key: "map",
1012
+ value: function map(code, node) {
1013
+ if (node != null) {
1014
+ var type = node.type;
1015
+ if (type[0] === "L" && type[2] === "n") {
1016
+ this.column = 0;
1017
+ this.line++;
1018
+ return;
1019
+ }
1020
+ if (node.loc != null) {
1021
+ var mapping = this.mapping;
1022
+ mapping.original = node.loc.start;
1023
+ mapping.name = node.name;
1024
+ this.sourceMap.addMapping(mapping);
1025
+ }
1026
+ if (type[0] === "T" && type[8] === "E" || type[0] === "L" && type[1] === "i" && typeof node.value === "string") {
1027
+ var _length = code.length;
1028
+ var column = this.column, line = this.line;
1029
+ for (var i = 0; i < _length; i++) {
1030
+ if (code[i] === "\n") {
1031
+ column = 0;
1032
+ line++;
1033
+ } else {
1034
+ column++;
1035
+ }
1036
+ }
1037
+ this.column = column;
1038
+ this.line = line;
1039
+ return;
1040
+ }
1041
+ }
1042
+ var length = code.length;
1043
+ var lineEnd = this.lineEnd;
1044
+ if (length > 0) {
1045
+ if (this.lineEndSize > 0 && (lineEnd.length === 1 ? code[length - 1] === lineEnd : code.endsWith(lineEnd))) {
1046
+ this.line += this.lineEndSize;
1047
+ this.column = 0;
1048
+ } else {
1049
+ this.column += length;
1050
+ }
1051
+ }
1052
+ }
1053
+ }, {
1054
+ key: "toString",
1055
+ value: function toString() {
1056
+ return this.output;
1057
+ }
1058
+ }]);
1059
+ return State2;
1060
+ })();
1061
+ function generate(node, options) {
1062
+ var state = new State(options);
1063
+ state.generator[node.type](node, state);
1064
+ return state.output;
1065
+ }
1066
+
1067
+ exports.default = astring.__exports;
1068
+ //# sourceMappingURL=astring.js.map