@depup/sentry__server-utils 10.67.0-depup.0 → 10.68.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
- package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/cjs/orchestrion/bundler/esbuild.js +24 -1
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/cjs/orchestrion/bundler/options.js +16 -2
- package/build/cjs/orchestrion/bundler/options.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +11 -1
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
- package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
- package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/cjs/orchestrion/bundler/vite.js +13 -0
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +32 -1
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +0 -4
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js +4 -0
- package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/aws-sdk.js +4 -0
- package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
- package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/cjs/orchestrion/config/dataloader.js +4 -0
- package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
- package/build/cjs/orchestrion/config/express.js +4 -0
- package/build/cjs/orchestrion/config/express.js.map +1 -1
- package/build/cjs/orchestrion/config/firebase.js +79 -2
- package/build/cjs/orchestrion/config/firebase.js.map +1 -1
- package/build/cjs/orchestrion/config/generic-pool.js +4 -0
- package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
- package/build/cjs/orchestrion/config/google-genai.js +4 -0
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
- package/build/cjs/orchestrion/config/graphql.js +4 -0
- package/build/cjs/orchestrion/config/graphql.js.map +1 -1
- package/build/cjs/orchestrion/config/hapi.js +4 -0
- package/build/cjs/orchestrion/config/hapi.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js +33 -5
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/ioredis.js +4 -0
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
- package/build/cjs/orchestrion/config/kafkajs.js +4 -0
- package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
- package/build/cjs/orchestrion/config/knex.js +4 -0
- package/build/cjs/orchestrion/config/knex.js.map +1 -1
- package/build/cjs/orchestrion/config/koa.js +4 -0
- package/build/cjs/orchestrion/config/koa.js.map +1 -1
- package/build/cjs/orchestrion/config/langchain.js +4 -0
- package/build/cjs/orchestrion/config/langchain.js.map +1 -1
- package/build/cjs/orchestrion/config/langgraph.js +4 -0
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
- package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/cjs/orchestrion/config/mongodb.js +4 -0
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
- package/build/cjs/orchestrion/config/mongoose.js +4 -0
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql.js +4 -0
- package/build/cjs/orchestrion/config/mysql.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql2.js +4 -0
- package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
- package/build/cjs/orchestrion/config/nestjs.js +4 -0
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
- package/build/cjs/orchestrion/config/openai.js +4 -0
- package/build/cjs/orchestrion/config/openai.js.map +1 -1
- package/build/cjs/orchestrion/config/pg.js +4 -0
- package/build/cjs/orchestrion/config/pg.js.map +1 -1
- package/build/cjs/orchestrion/config/postgres.js +4 -0
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/config/redis.js +4 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -1
- package/build/cjs/orchestrion/config/remix.js +4 -0
- package/build/cjs/orchestrion/config/remix.js.map +1 -1
- package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
- package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/cjs/orchestrion/config/tedious.js +4 -0
- package/build/cjs/orchestrion/config/tedious.js.map +1 -1
- package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/cjs/orchestrion/index.js +12 -7
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
- package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/cjs/vercel-ai/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
- package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
- package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/esm/orchestrion/bundler/esbuild.js +25 -2
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/esm/orchestrion/bundler/options.js +15 -3
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +12 -2
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
- package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
- package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/esm/orchestrion/bundler/vite.js +14 -1
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +33 -3
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js +0 -4
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js +4 -1
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js +4 -1
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
- package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/esm/orchestrion/config/dataloader.js +4 -1
- package/build/esm/orchestrion/config/dataloader.js.map +1 -1
- package/build/esm/orchestrion/config/express.js +4 -1
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js +79 -3
- package/build/esm/orchestrion/config/firebase.js.map +1 -1
- package/build/esm/orchestrion/config/generic-pool.js +4 -1
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
- package/build/esm/orchestrion/config/google-genai.js +4 -1
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js +4 -1
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js +4 -1
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/index.js +61 -34
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js +4 -1
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js +4 -1
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
- package/build/esm/orchestrion/config/knex.js +4 -1
- package/build/esm/orchestrion/config/knex.js.map +1 -1
- package/build/esm/orchestrion/config/koa.js +4 -1
- package/build/esm/orchestrion/config/koa.js.map +1 -1
- package/build/esm/orchestrion/config/langchain.js +4 -1
- package/build/esm/orchestrion/config/langchain.js.map +1 -1
- package/build/esm/orchestrion/config/langgraph.js +4 -1
- package/build/esm/orchestrion/config/langgraph.js.map +1 -1
- package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js +4 -1
- package/build/esm/orchestrion/config/mongodb.js.map +1 -1
- package/build/esm/orchestrion/config/mongoose.js +4 -1
- package/build/esm/orchestrion/config/mongoose.js.map +1 -1
- package/build/esm/orchestrion/config/mysql.js +4 -1
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js +4 -1
- package/build/esm/orchestrion/config/mysql2.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js +4 -1
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/openai.js +4 -1
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js +4 -1
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js +4 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/redis.js +4 -1
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js +4 -1
- package/build/esm/orchestrion/config/remix.js.map +1 -1
- package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
- package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/esm/orchestrion/config/tedious.js +4 -1
- package/build/esm/orchestrion/config/tedious.js.map +1 -1
- package/build/esm/orchestrion/config/vercel-ai.js +4 -1
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/index.js +5 -2
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
- package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/esm/package.json +1 -1
- package/build/esm/vercel-ai/index.js.map +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +34 -0
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack.d.ts +6 -1
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
- package/build/types/orchestrion/channels.d.ts +15 -0
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
- package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts +2 -0
- package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
- package/build/types/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
- package/build/types/orchestrion/config/express.d.ts +2 -0
- package/build/types/orchestrion/config/express.d.ts.map +1 -1
- package/build/types/orchestrion/config/firebase.d.ts +41 -2
- package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
- package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
- package/build/types/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
- package/build/types/orchestrion/config/graphql.d.ts +2 -0
- package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
- package/build/types/orchestrion/config/hapi.d.ts +2 -0
- package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
- package/build/types/orchestrion/config/index.d.ts +12 -0
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/ioredis.d.ts +1 -0
- package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
- package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
- package/build/types/orchestrion/config/knex.d.ts +1 -0
- package/build/types/orchestrion/config/knex.d.ts.map +1 -1
- package/build/types/orchestrion/config/koa.d.ts +2 -0
- package/build/types/orchestrion/config/koa.d.ts.map +1 -1
- package/build/types/orchestrion/config/langchain.d.ts +2 -0
- package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
- package/build/types/orchestrion/config/langgraph.d.ts +2 -0
- package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
- package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongodb.d.ts +2 -0
- package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongoose.d.ts +2 -0
- package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql.d.ts +2 -0
- package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
- package/build/types/orchestrion/config/nestjs.d.ts +1 -0
- package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
- package/build/types/orchestrion/config/openai.d.ts +2 -0
- package/build/types/orchestrion/config/openai.d.ts.map +1 -1
- package/build/types/orchestrion/config/pg.d.ts +2 -0
- package/build/types/orchestrion/config/pg.d.ts.map +1 -1
- package/build/types/orchestrion/config/postgres.d.ts +1 -0
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
- package/build/types/orchestrion/config/redis.d.ts +2 -0
- package/build/types/orchestrion/config/redis.d.ts.map +1 -1
- package/build/types/orchestrion/config/remix.d.ts +1 -0
- package/build/types/orchestrion/config/remix.d.ts.map +1 -1
- package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
- package/build/types/orchestrion/config/tedious.d.ts +1 -0
- package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
- package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
- package/build/types/orchestrion/index.d.ts +7 -6
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
- package/build/types/vercel-ai/index.d.ts +2 -3
- package/build/types/vercel-ai/index.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +34 -0
- package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +6 -1
- package/build/types-ts3.8/orchestrion/channels.d.ts +15 -0
- package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
- package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/firebase.d.ts +41 -2
- package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/index.d.ts +12 -0
- package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/knex.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/koa.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/langchain.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/remix.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types-ts3.8/orchestrion/config/tedious.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/index.d.ts +7 -6
- package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
- package/changes.json +7 -3
- package/package.json +11 -6
- package/build/cjs/orchestrion/config/prisma.js +0 -8
- package/build/cjs/orchestrion/config/prisma.js.map +0 -1
- package/build/cjs/orchestrion/config/react-router.js +0 -8
- package/build/cjs/orchestrion/config/react-router.js.map +0 -1
- package/build/esm/orchestrion/config/prisma.js +0 -5
- package/build/esm/orchestrion/config/prisma.js.map +0 -1
- package/build/esm/orchestrion/config/react-router.js +0 -5
- package/build/esm/orchestrion/config/react-router.js.map +0 -1
- package/build/types/orchestrion/config/prisma.d.ts +0 -4
- package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
- package/build/types/orchestrion/config/react-router.d.ts +0 -4
- package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
- package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
- package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
|
@@ -1,4 +1,43 @@
|
|
|
1
1
|
import { InstrumentationConfig } from '..';
|
|
2
|
-
export declare const firebaseConfig:
|
|
3
|
-
|
|
2
|
+
export declare const firebaseConfig: ({
|
|
3
|
+
channelName: "add-doc" | "get-docs" | "set-doc" | "delete-doc";
|
|
4
|
+
module: {
|
|
5
|
+
name: string;
|
|
6
|
+
versionRange: string;
|
|
7
|
+
filePath: RegExp;
|
|
8
|
+
};
|
|
9
|
+
functionQuery: {
|
|
10
|
+
functionName: "addDoc" | "getDocs" | "setDoc" | "deleteDoc";
|
|
11
|
+
kind: "Auto";
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
channelName: "http-request" | "http-call" | "firestore-created" | "firestore-updated" | "firestore-deleted" | "firestore-written" | "scheduler" | "storage-finalized" | "storage-archived" | "storage-deleted" | "storage-metadata-updated";
|
|
15
|
+
module: {
|
|
16
|
+
name: string;
|
|
17
|
+
versionRange: string;
|
|
18
|
+
filePath: "lib/v2/providers/https.js" | "lib/v2/providers/firestore.js" | "lib/v2/providers/scheduler.js" | "lib/v2/providers/storage.js";
|
|
19
|
+
};
|
|
20
|
+
functionQuery: {
|
|
21
|
+
functionName: "onRequest" | "onCall" | "onDocumentCreated" | "onDocumentCreatedWithAuthContext" | "onDocumentUpdated" | "onDocumentUpdatedWithAuthContext" | "onDocumentDeleted" | "onDocumentDeletedWithAuthContext" | "onDocumentWritten" | "onDocumentWrittenWithAuthContext" | "onSchedule" | "onObjectFinalized" | "onObjectArchived" | "onObjectDeleted" | "onObjectMetadataUpdated";
|
|
22
|
+
kind: "Sync";
|
|
23
|
+
};
|
|
24
|
+
})[];
|
|
25
|
+
export declare const firebaseChannels: {
|
|
26
|
+
readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
|
|
27
|
+
readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
|
|
28
|
+
readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
|
|
29
|
+
readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
|
|
30
|
+
readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
|
|
31
|
+
readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
|
|
32
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
|
|
33
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
|
|
34
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
|
|
35
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
|
|
36
|
+
readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
|
|
37
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
|
|
38
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
|
|
39
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
|
|
40
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
|
|
41
|
+
};
|
|
42
|
+
export declare const firebaseSubscribeInjection: InstrumentationConfig[];
|
|
4
43
|
//# sourceMappingURL=firebase.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const genericPoolConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -28,4 +29,5 @@ export declare const genericPoolConfig: ({
|
|
|
28
29
|
export declare const genericPoolChannels: {
|
|
29
30
|
readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
|
|
30
31
|
};
|
|
32
|
+
export declare const genericPoolSubscribeInjection: InstrumentationConfig[];
|
|
31
33
|
//# sourceMappingURL=generic-pool.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const googleGenAiConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -27,4 +28,5 @@ export declare const googleGenAiChannels: {
|
|
|
27
28
|
readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
|
|
28
29
|
readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
|
|
29
30
|
};
|
|
31
|
+
export declare const googleGenAiSubscribeInjection: InstrumentationConfig[];
|
|
30
32
|
//# sourceMappingURL=google-genai.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const graphqlConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -26,4 +27,5 @@ export declare const graphqlChannels: {
|
|
|
26
27
|
readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
|
|
27
28
|
readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
|
|
28
29
|
};
|
|
30
|
+
export declare const graphqlSubscribeInjection: InstrumentationConfig[];
|
|
29
31
|
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const hapiConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -14,4 +15,5 @@ export declare const hapiChannels: {
|
|
|
14
15
|
readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
|
|
15
16
|
readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
|
|
16
17
|
};
|
|
18
|
+
export declare const hapiSubscribeInjection: InstrumentationConfig[];
|
|
17
19
|
//# sourceMappingURL=hapi.d.ts.map
|
|
@@ -7,6 +7,18 @@ import { InstrumentationConfig } from '..';
|
|
|
7
7
|
* transformed is centralized here.
|
|
8
8
|
*/
|
|
9
9
|
export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
|
|
10
|
+
/**
|
|
11
|
+
* The `Program`-matching injection configs that make each instrumented file
|
|
12
|
+
* self-register its channel subscriber at load (used by bundler-only SDKs like
|
|
13
|
+
* `@sentry/cloudflare`).
|
|
14
|
+
*
|
|
15
|
+
* Deliberately separate from `SENTRY_INSTRUMENTATIONS`: these reference a custom
|
|
16
|
+
* transform that only the opted-in bundler plugin registers, so feeding them to
|
|
17
|
+
* the runtime `--import` hook (which can't register it) would make the
|
|
18
|
+
* code-transformer drop the whole file. Each library owns its own
|
|
19
|
+
* `*SubscribeInjection` (derived from its channel configs), collected here.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SUBSCRIBE_INJECTIONS: InstrumentationConfig[];
|
|
10
22
|
/**
|
|
11
23
|
* The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
|
|
12
24
|
* merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
|
|
@@ -4,4 +4,5 @@ export declare const ioredisChannels: {
|
|
|
4
4
|
readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
|
|
5
5
|
readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
|
|
6
6
|
};
|
|
7
|
+
export declare const ioredisSubscribeInjection: InstrumentationConfig[];
|
|
7
8
|
//# sourceMappingURL=ioredis.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const kafkajsConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -14,4 +15,5 @@ export declare const kafkajsChannels: {
|
|
|
14
15
|
readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
|
|
15
16
|
readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
|
|
16
17
|
};
|
|
18
|
+
export declare const kafkajsSubscribeInjection: InstrumentationConfig[];
|
|
17
19
|
//# sourceMappingURL=kafkajs.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
1
2
|
export declare const koaConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -14,4 +15,5 @@ export declare const koaConfig: {
|
|
|
14
15
|
export declare const koaChannels: {
|
|
15
16
|
readonly KOA_USE: "orchestrion:koa:use";
|
|
16
17
|
};
|
|
18
|
+
export declare const koaSubscribeInjection: InstrumentationConfig[];
|
|
17
19
|
//# sourceMappingURL=koa.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const langchainConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -15,4 +16,5 @@ export declare const langchainChannels: {
|
|
|
15
16
|
readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
|
|
16
17
|
readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
|
|
17
18
|
};
|
|
19
|
+
export declare const langchainSubscribeInjection: InstrumentationConfig[];
|
|
18
20
|
//# sourceMappingURL=langchain.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const langgraphConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: import("@apm-js-collab/code-transformer").ModuleMatcher;
|
|
@@ -18,4 +19,5 @@ export declare const langgraphChannels: {
|
|
|
18
19
|
readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
|
|
19
20
|
readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
|
|
20
21
|
};
|
|
22
|
+
export declare const langgraphSubscribeInjection: InstrumentationConfig[];
|
|
21
23
|
//# sourceMappingURL=langgraph.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const lruMemoizerConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -13,4 +14,5 @@ export declare const lruMemoizerConfig: {
|
|
|
13
14
|
export declare const lruMemoizerChannels: {
|
|
14
15
|
readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
|
|
15
16
|
};
|
|
17
|
+
export declare const lruMemoizerSubscribeInjection: InstrumentationConfig[];
|
|
16
18
|
//# sourceMappingURL=lru-memoizer.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const mongodbConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -56,4 +57,5 @@ export declare const mongodbChannels: {
|
|
|
56
57
|
readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
|
|
57
58
|
readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
|
|
58
59
|
};
|
|
60
|
+
export declare const mongodbSubscribeInjection: InstrumentationConfig[];
|
|
59
61
|
//# sourceMappingURL=mongodb.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const mongooseConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -37,4 +38,5 @@ export declare const mongooseChannels: {
|
|
|
37
38
|
* parent span (see `mongooseChannels` for the span-creating channels).
|
|
38
39
|
*/
|
|
39
40
|
export declare const MONGOOSE_CONTEXT_CAPTURE_CHANNELS: string[];
|
|
41
|
+
export declare const mongooseSubscribeInjection: InstrumentationConfig[];
|
|
40
42
|
//# sourceMappingURL=mongoose.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const mysqlConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -13,4 +14,5 @@ export declare const mysqlConfig: {
|
|
|
13
14
|
export declare const mysqlChannels: {
|
|
14
15
|
readonly MYSQL_QUERY: "orchestrion:mysql:query";
|
|
15
16
|
};
|
|
17
|
+
export declare const mysqlSubscribeInjection: InstrumentationConfig[];
|
|
16
18
|
//# sourceMappingURL=mysql.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const mysql2Config: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -15,4 +16,5 @@ export declare const mysql2Channels: {
|
|
|
15
16
|
readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
|
|
16
17
|
readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
|
|
17
18
|
};
|
|
19
|
+
export declare const mysql2SubscribeInjection: InstrumentationConfig[];
|
|
18
20
|
//# sourceMappingURL=mysql2.d.ts.map
|
|
@@ -21,4 +21,5 @@ export declare const nestjsChannels: {
|
|
|
21
21
|
readonly NESTJS_ONEVENT: "orchestrion:@nestjs/event-emitter:onEventDecorator";
|
|
22
22
|
readonly NESTJS_PROCESSOR: "orchestrion:@nestjs/bullmq:processorDecorator";
|
|
23
23
|
};
|
|
24
|
+
export declare const nestjsSubscribeInjection: InstrumentationConfig[];
|
|
24
25
|
//# sourceMappingURL=nestjs.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const openaiConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -15,4 +16,5 @@ export declare const openaiChannels: {
|
|
|
15
16
|
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
16
17
|
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
17
18
|
};
|
|
19
|
+
export declare const openaiSubscribeInjection: InstrumentationConfig[];
|
|
18
20
|
//# sourceMappingURL=openai.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const pgConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -30,4 +31,5 @@ export declare const pgChannels: {
|
|
|
30
31
|
readonly PG_CONNECT: "orchestrion:pg:connect";
|
|
31
32
|
readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
|
|
32
33
|
};
|
|
34
|
+
export declare const pgSubscribeInjection: InstrumentationConfig[];
|
|
33
35
|
//# sourceMappingURL=pg.d.ts.map
|
|
@@ -6,4 +6,5 @@ export declare const postgresJsChannels: {
|
|
|
6
6
|
readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
|
|
7
7
|
readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
|
|
8
8
|
};
|
|
9
|
+
export declare const postgresJsSubscribeInjection: InstrumentationConfig[];
|
|
9
10
|
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const redisConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -34,4 +35,5 @@ export declare const redisChannels: {
|
|
|
34
35
|
readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
|
|
35
36
|
readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
|
|
36
37
|
};
|
|
38
|
+
export declare const redisSubscribeInjection: InstrumentationConfig[];
|
|
37
39
|
//# sourceMappingURL=redis.d.ts.map
|
|
@@ -6,4 +6,5 @@ export declare const remixChannels: {
|
|
|
6
6
|
readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
|
|
7
7
|
readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
|
|
8
8
|
};
|
|
9
|
+
export declare const remixSubscribeInjection: InstrumentationConfig[];
|
|
9
10
|
//# sourceMappingURL=remix.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
/**
|
|
3
|
+
* Name shared by the `Program` injection configs (their `transform` field) and
|
|
4
|
+
* the custom transform registered on the bundler plugin (its `customTransforms`
|
|
5
|
+
* key). Any unique string works — it only has to match on both sides.
|
|
6
|
+
*
|
|
7
|
+
* Lives in this dependency-free leaf so the per-library config files can build
|
|
8
|
+
* their injection configs without importing the transform implementation (which
|
|
9
|
+
* pulls in `meriyah` and must never reach the runtime `--import` path).
|
|
10
|
+
*/
|
|
11
|
+
export declare const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
|
|
12
|
+
/**
|
|
13
|
+
* Turn a library's channel-publishing configs into the `Program`-matching
|
|
14
|
+
* injection configs that make each instrumented file self-register its channel
|
|
15
|
+
* subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).
|
|
16
|
+
*
|
|
17
|
+
* Emits one injection per distinct instrumented file (deduped by module
|
|
18
|
+
* matcher), so the subscribe snippet lands in exactly the files that receive
|
|
19
|
+
* channels and inherits their precise version ranges. `channelName` carries the
|
|
20
|
+
* package name (not a real channel — nothing is wrapped here) so the transform
|
|
21
|
+
* can look up which subscriber to import.
|
|
22
|
+
*
|
|
23
|
+
* Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but
|
|
24
|
+
* kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes
|
|
25
|
+
* that list and can't register the custom transform, and an unregistered
|
|
26
|
+
* `transform` makes the code-transformer drop the whole file. They are
|
|
27
|
+
* aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler
|
|
28
|
+
* plugin that opts in (and registers the transform).
|
|
29
|
+
*/
|
|
30
|
+
export declare function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[];
|
|
31
|
+
//# sourceMappingURL=subscribe-injection.d.ts.map
|
|
@@ -9,4 +9,5 @@ export declare const tediousChannels: {
|
|
|
9
9
|
readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
|
|
10
10
|
readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
|
|
11
11
|
};
|
|
12
|
+
export declare const tediousSubscribeInjection: InstrumentationConfig[];
|
|
12
13
|
//# sourceMappingURL=tedious.d.ts.map
|
|
@@ -9,4 +9,5 @@ export declare const vercelAiChannels: {
|
|
|
9
9
|
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
10
10
|
readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
|
|
11
11
|
};
|
|
12
|
+
export declare const vercelAiSubscribeInjection: InstrumentationConfig[];
|
|
12
13
|
//# sourceMappingURL=vercel-ai.d.ts.map
|
|
@@ -23,10 +23,12 @@ import { postgresJsChannelIntegration } from '../integrations/tracing-channel/po
|
|
|
23
23
|
import { tediousChannelIntegration } from '../integrations/tracing-channel/tedious';
|
|
24
24
|
import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
|
|
25
25
|
import { expressChannelIntegration } from '../integrations/tracing-channel/express';
|
|
26
|
+
import { firebaseChannelIntegration } from '../integrations/tracing-channel/firebase';
|
|
26
27
|
export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
|
|
28
|
+
export { registerOrchestrionChannelIntegration } from './registerChannelIntegration';
|
|
27
29
|
export { nestjsChannels } from './config/nestjs';
|
|
28
30
|
export { remixChannels } from './config/remix';
|
|
29
|
-
export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
|
|
31
|
+
export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, firebaseChannelIntegration, };
|
|
30
32
|
export { KoaChannelIntegrationOptions } from '../integrations/tracing-channel/koa';
|
|
31
33
|
export { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
|
|
32
34
|
export { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
|
|
@@ -98,11 +100,7 @@ export declare const channelIntegrations: {
|
|
|
98
100
|
readonly langGraphIntegration: (options?: import("@sentry/core").LangGraphOptions | undefined) => import("@sentry/core").Integration & {
|
|
99
101
|
name: "LangGraph";
|
|
100
102
|
};
|
|
101
|
-
readonly vercelAiIntegration: (options?: {
|
|
102
|
-
recordInputs?: boolean;
|
|
103
|
-
recordOutputs?: boolean;
|
|
104
|
-
enableTruncation?: boolean;
|
|
105
|
-
} | undefined) => import("@sentry/core").Integration & {
|
|
103
|
+
readonly vercelAiIntegration: (options?: import("..").VercelAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
106
104
|
name: "VercelAI";
|
|
107
105
|
};
|
|
108
106
|
readonly amqplibIntegration: () => import("@sentry/core").Integration & {
|
|
@@ -134,5 +132,8 @@ export declare const channelIntegrations: {
|
|
|
134
132
|
readonly awsIntegration: () => import("@sentry/core").Integration & {
|
|
135
133
|
name: "Aws";
|
|
136
134
|
};
|
|
135
|
+
readonly firebaseIntegration: () => import("@sentry/core").Integration & {
|
|
136
|
+
name: "Firebase";
|
|
137
|
+
};
|
|
137
138
|
};
|
|
138
139
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Integration } from '@sentry/core';
|
|
2
|
+
/**
|
|
3
|
+
* Register an orchestrion channel-subscriber integration from an instrumented
|
|
4
|
+
* module. This is the runtime target of the snippet the subscribe-injection
|
|
5
|
+
* transform splices into each transformed package (see
|
|
6
|
+
* `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.
|
|
7
|
+
* `@sentry/cloudflare`, running in workerd where requires can't be
|
|
8
|
+
* monkey-patched) wires up subscribers with no runtime module hook.
|
|
9
|
+
*
|
|
10
|
+
* It does two things, covering the two disjoint timing cases:
|
|
11
|
+
*
|
|
12
|
+
* 1. Stores the factory on the global orchestrion marker under `name`, so a
|
|
13
|
+
* later `init()` (a fresh isolate, or a client created after this module
|
|
14
|
+
* loads) picks it up via `getDefaultIntegrations()`.
|
|
15
|
+
* 2. If a client already exists, registers the integration on it right away.
|
|
16
|
+
* This is what makes the mechanism robust against module load order:
|
|
17
|
+
* bundler-only SDKs call `init()` per request, but a package like `mysql`
|
|
18
|
+
* loads its instrumented file lazily on first use, i.e. AFTER that request's
|
|
19
|
+
* `init()` already snapshotted the marker. Without the live add, the first
|
|
20
|
+
* request that touches such a package would publish to a channel nobody
|
|
21
|
+
* subscribed to yet.
|
|
22
|
+
*
|
|
23
|
+
* `addIntegration` dedupes by integration name and only runs `setupOnce` once,
|
|
24
|
+
* so storing AND live-adding never double-subscribes.
|
|
25
|
+
*
|
|
26
|
+
* The marker is a `Map` keyed by `name` (the factory's export name) so a package
|
|
27
|
+
* split across several instrumented files (e.g. `pg`'s JS and native clients, or
|
|
28
|
+
* openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,
|
|
29
|
+
* no matter how many of its files land in the bundle. `.set` on the shared key
|
|
30
|
+
* is idempotent.
|
|
31
|
+
*/
|
|
32
|
+
export declare function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void;
|
|
33
|
+
//# sourceMappingURL=registerChannelIntegration.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export interface VercelAiOptions {
|
|
2
2
|
/**
|
|
3
3
|
* Enable or disable input recording. Enabled if `dataCollection.genAI.inputs` (or the deprecated `sendDefaultPii` option) is `true`
|
|
4
4
|
* or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.
|
|
@@ -16,12 +16,11 @@ type VercelAiOptions = {
|
|
|
16
16
|
* Defaults to `true`.
|
|
17
17
|
*/
|
|
18
18
|
enableTruncation?: boolean;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
/**
|
|
21
21
|
* Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).
|
|
22
22
|
*/
|
|
23
23
|
export declare const vercelAiIntegration: (options?: VercelAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
24
24
|
name: "VercelAI";
|
|
25
25
|
};
|
|
26
|
-
export {};
|
|
27
26
|
//# sourceMappingURL=index.d.ts.map
|
package/changes.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bumped": {
|
|
3
3
|
"@apm-js-collab/code-transformer-bundler-plugins": {
|
|
4
|
-
"from": "
|
|
4
|
+
"from": "0.7.1",
|
|
5
5
|
"to": "^0.7.2"
|
|
6
6
|
},
|
|
7
7
|
"@sentry/conventions": {
|
|
8
8
|
"from": "^0.16.0",
|
|
9
9
|
"to": "^0.17.0"
|
|
10
|
+
},
|
|
11
|
+
"meriyah": {
|
|
12
|
+
"from": "^6.1.4",
|
|
13
|
+
"to": "^7.2.0"
|
|
10
14
|
}
|
|
11
15
|
},
|
|
12
|
-
"timestamp": "2026-07-
|
|
13
|
-
"totalUpdated":
|
|
16
|
+
"timestamp": "2026-07-24T16:34:39.847Z",
|
|
17
|
+
"totalUpdated": 3
|
|
14
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/sentry__server-utils",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.68.0-depup.0",
|
|
4
4
|
"description": "Server Utilities for all Sentry JavaScript SDKs (with updated dependencies)",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
|
|
@@ -118,7 +118,8 @@
|
|
|
118
118
|
"@apm-js-collab/code-transformer-bundler-plugins": "^0.7.2",
|
|
119
119
|
"@apm-js-collab/tracing-hooks": "^0.13.0",
|
|
120
120
|
"@sentry/conventions": "^0.17.0",
|
|
121
|
-
"@sentry/core": "10.
|
|
121
|
+
"@sentry/core": "10.68.0",
|
|
122
|
+
"meriyah": "^7.2.0"
|
|
122
123
|
},
|
|
123
124
|
"devDependencies": {
|
|
124
125
|
"@types/node": "^18.19.1",
|
|
@@ -172,18 +173,22 @@
|
|
|
172
173
|
"depup": {
|
|
173
174
|
"changes": {
|
|
174
175
|
"@apm-js-collab/code-transformer-bundler-plugins": {
|
|
175
|
-
"from": "
|
|
176
|
+
"from": "0.7.1",
|
|
176
177
|
"to": "^0.7.2"
|
|
177
178
|
},
|
|
178
179
|
"@sentry/conventions": {
|
|
179
180
|
"from": "^0.16.0",
|
|
180
181
|
"to": "^0.17.0"
|
|
182
|
+
},
|
|
183
|
+
"meriyah": {
|
|
184
|
+
"from": "^6.1.4",
|
|
185
|
+
"to": "^7.2.0"
|
|
181
186
|
}
|
|
182
187
|
},
|
|
183
|
-
"depsUpdated":
|
|
188
|
+
"depsUpdated": 3,
|
|
184
189
|
"originalPackage": "@sentry/server-utils",
|
|
185
|
-
"originalVersion": "10.
|
|
186
|
-
"processedAt": "2026-07-
|
|
190
|
+
"originalVersion": "10.68.0",
|
|
191
|
+
"processedAt": "2026-07-24T16:34:47.016Z",
|
|
187
192
|
"smokeTest": "passed"
|
|
188
193
|
}
|
|
189
194
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma.js","sources":["../../../../src/orchestrion/config/prisma.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `prisma` orchestrion integration (ports `@prisma/instrumentation`).\nexport const prismaConfig: InstrumentationConfig[] = [];\n\nexport const prismaChannels = {} as const;\n"],"names":[],"mappings":";;AAGO,MAAM,eAAwC;AAE9C,MAAM,iBAAiB;;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
const reactRouterConfig = [];
|
|
4
|
-
const reactRouterChannels = {};
|
|
5
|
-
|
|
6
|
-
exports.reactRouterChannels = reactRouterChannels;
|
|
7
|
-
exports.reactRouterConfig = reactRouterConfig;
|
|
8
|
-
//# sourceMappingURL=react-router.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.js","sources":["../../../../src/orchestrion/config/react-router.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `react-router` orchestrion integration (ports `ReactRouterInstrumentation`).\nexport const reactRouterConfig: InstrumentationConfig[] = [];\n\nexport const reactRouterChannels = {} as const;\n"],"names":[],"mappings":";;AAGO,MAAM,oBAA6C;AAEnD,MAAM,sBAAsB;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma.js","sources":["../../../../src/orchestrion/config/prisma.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `prisma` orchestrion integration (ports `@prisma/instrumentation`).\nexport const prismaConfig: InstrumentationConfig[] = [];\n\nexport const prismaChannels = {} as const;\n"],"names":[],"mappings":"AAGO,MAAM,eAAwC;AAE9C,MAAM,iBAAiB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.js","sources":["../../../../src/orchestrion/config/react-router.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// TODO: Stub for the `react-router` orchestrion integration (ports `ReactRouterInstrumentation`).\nexport const reactRouterConfig: InstrumentationConfig[] = [];\n\nexport const reactRouterChannels = {} as const;\n"],"names":[],"mappings":"AAGO,MAAM,oBAA6C;AAEnD,MAAM,sBAAsB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/prisma.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,YAAY,EAAE,qBAAqB,EAAO,CAAC;AAExD,eAAO,MAAM,cAAc,IAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/react-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAAO,CAAC;AAE7D,eAAO,MAAM,mBAAmB,IAAc,CAAC"}
|