@sentry/server-utils 11.10.0 → 11.12.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/LICENSE +31 -0
- package/build/THIRD-PARTY-LICENSES.txt +34 -34
- package/build/cjs/ai/anthropic-ai/streaming.js +4 -1
- package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -1
- package/build/cjs/ai/anthropic-ai/tool-runner.js +49 -1
- package/build/cjs/ai/anthropic-ai/tool-runner.js.map +1 -1
- package/build/cjs/ai/anthropic-ai/utils.js +8 -1
- package/build/cjs/ai/anthropic-ai/utils.js.map +1 -1
- package/build/cjs/ai/flue/index.js +5 -7
- package/build/cjs/ai/flue/index.js.map +1 -1
- package/build/cjs/ai/flue/utils.js +4 -4
- package/build/cjs/ai/flue/utils.js.map +1 -1
- package/build/cjs/ai/google-genai/index.js +6 -1
- package/build/cjs/ai/google-genai/index.js.map +1 -1
- package/build/cjs/ai/google-genai/streaming.js +4 -1
- package/build/cjs/ai/google-genai/streaming.js.map +1 -1
- package/build/cjs/ai/langchain/utils.js +11 -10
- package/build/cjs/ai/langchain/utils.js.map +1 -1
- package/build/cjs/ai/langgraph/agent-span.js +94 -0
- package/build/cjs/ai/langgraph/agent-span.js.map +1 -0
- package/build/cjs/ai/langgraph/index.js +79 -119
- package/build/cjs/ai/langgraph/index.js.map +1 -1
- package/build/cjs/ai/langgraph/stream.js +117 -0
- package/build/cjs/ai/langgraph/stream.js.map +1 -0
- package/build/cjs/ai/langgraph/utils.js +1 -1
- package/build/cjs/ai/langgraph/utils.js.map +1 -1
- package/build/cjs/ai/mastra/utils.js.map +1 -1
- package/build/cjs/ai/openai/streaming.js +3 -0
- package/build/cjs/ai/openai/streaming.js.map +1 -1
- package/build/cjs/ai/pi-durable/index.js +1 -1
- package/build/cjs/ai/pi-durable/index.js.map +1 -1
- package/build/cjs/ai/pi-durable/models.js +6 -6
- package/build/cjs/ai/pi-durable/models.js.map +1 -1
- package/build/cjs/ai/pi-durable/tools.js +2 -2
- package/build/cjs/ai/pi-durable/tools.js.map +1 -1
- package/build/cjs/ai/typesafe/index.js +1 -1
- package/build/cjs/ai/typesafe/index.js.map +1 -1
- package/build/cjs/index.js +29 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.no-diagnostic-channels.js +8 -5
- package/build/cjs/index.no-diagnostic-channels.js.map +1 -1
- package/build/cjs/index.request-handler.js +8 -0
- package/build/cjs/index.request-handler.js.map +1 -0
- package/build/cjs/integrations/amqplib.js +4 -6
- package/build/cjs/integrations/amqplib.js.map +1 -1
- package/build/cjs/integrations/anthropic.js +8 -0
- package/build/cjs/integrations/anthropic.js.map +1 -1
- package/build/cjs/integrations/aws-sdk/index.js +1 -0
- package/build/cjs/integrations/aws-sdk/index.js.map +1 -1
- package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +105 -52
- package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -1
- package/build/cjs/integrations/cron.js +49 -0
- package/build/cjs/integrations/cron.js.map +1 -0
- package/build/cjs/integrations/dataloader.js +2 -5
- package/build/cjs/integrations/dataloader.js.map +1 -1
- package/build/cjs/integrations/express/instrumentation.js +1 -1
- package/build/cjs/integrations/express/instrumentation.js.map +1 -1
- package/build/cjs/integrations/firebase/firestore.js +1 -0
- package/build/cjs/integrations/firebase/firestore.js.map +1 -1
- package/build/cjs/integrations/google-genai.js +9 -3
- package/build/cjs/integrations/google-genai.js.map +1 -1
- package/build/cjs/integrations/graphql/constants.js +0 -2
- package/build/cjs/integrations/graphql/constants.js.map +1 -1
- package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +4 -4
- package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/cjs/integrations/graphql/resolvers.js +1 -1
- package/build/cjs/integrations/graphql/resolvers.js.map +1 -1
- package/build/cjs/integrations/graphql/spans.js +3 -3
- package/build/cjs/integrations/graphql/spans.js.map +1 -1
- package/build/cjs/integrations/hono/constants.js +2 -0
- package/build/cjs/integrations/hono/constants.js.map +1 -1
- package/build/cjs/integrations/hono/createHonoMiddleware.js +2 -3
- package/build/cjs/integrations/hono/createHonoMiddleware.js.map +1 -1
- package/build/cjs/integrations/hono/honoIntegration.js +12 -12
- package/build/cjs/integrations/hono/honoIntegration.js.map +1 -1
- package/build/cjs/integrations/hono/matchResult.js +67 -0
- package/build/cjs/integrations/hono/matchResult.js.map +1 -1
- package/build/cjs/integrations/hono/middlewareHandlers.js +15 -5
- package/build/cjs/integrations/hono/middlewareHandlers.js.map +1 -1
- package/build/cjs/integrations/hono/patchAppRequest.js +2 -6
- package/build/cjs/integrations/hono/patchAppRequest.js.map +1 -1
- package/build/cjs/integrations/hono/patchRoute.js +2 -6
- package/build/cjs/integrations/hono/patchRoute.js.map +1 -1
- package/build/cjs/integrations/hono/resolveRouteName.js +16 -18
- package/build/cjs/integrations/hono/resolveRouteName.js.map +1 -1
- package/build/cjs/integrations/hono/sentryOriginalTraps.js +21 -0
- package/build/cjs/integrations/hono/sentryOriginalTraps.js.map +1 -0
- package/build/cjs/integrations/hono/wrapMiddlewareSpan.js +4 -8
- package/build/cjs/integrations/hono/wrapMiddlewareSpan.js.map +1 -1
- package/build/cjs/integrations/index.js +6 -6
- package/build/cjs/integrations/index.js.map +1 -1
- package/build/cjs/integrations/kafkajs/consumer.js +3 -3
- package/build/cjs/integrations/kafkajs/consumer.js.map +1 -1
- package/build/cjs/integrations/kafkajs/semconv.js +0 -8
- package/build/cjs/integrations/kafkajs/semconv.js.map +1 -1
- package/build/cjs/integrations/kafkajs/spans.js +6 -6
- package/build/cjs/integrations/kafkajs/spans.js.map +1 -1
- package/build/cjs/integrations/knex.js +3 -33
- package/build/cjs/integrations/knex.js.map +1 -1
- package/build/cjs/integrations/langgraph.js +6 -20
- package/build/cjs/integrations/langgraph.js.map +1 -1
- package/build/cjs/integrations/mongodb/index.js +21 -31
- package/build/cjs/integrations/mongodb/index.js.map +1 -1
- package/build/cjs/integrations/mongodb/mongodb-span.js +3 -2
- package/build/cjs/integrations/mongodb/mongodb-span.js.map +1 -1
- package/build/cjs/integrations/mysql.js +14 -20
- package/build/cjs/integrations/mysql.js.map +1 -1
- package/build/cjs/integrations/mysql2/index.js +12 -23
- package/build/cjs/integrations/mysql2/index.js.map +1 -1
- package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +26 -42
- package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -1
- package/build/cjs/integrations/neon.js +27 -27
- package/build/cjs/integrations/neon.js.map +1 -1
- package/build/cjs/integrations/nitro/captureStorageEvents.js +3 -3
- package/build/cjs/integrations/nitro/captureStorageEvents.js.map +1 -1
- package/build/cjs/integrations/nitro/captureTracingEvents.js +1 -1
- package/build/cjs/integrations/nitro/captureTracingEvents.js.map +1 -1
- package/build/cjs/integrations/node-cron.js +68 -0
- package/build/cjs/integrations/node-cron.js.map +1 -0
- package/build/cjs/integrations/node-schedule.js +76 -0
- package/build/cjs/integrations/node-schedule.js.map +1 -0
- package/build/cjs/integrations/{postgres.js → pg.js} +13 -21
- package/build/cjs/integrations/pg.js.map +1 -0
- package/build/cjs/integrations/postgresjs/index.js +147 -0
- package/build/cjs/integrations/postgresjs/index.js.map +1 -0
- package/build/cjs/integrations/postgresjs/postgresjs-dc-subscriber.js +81 -0
- package/build/cjs/integrations/postgresjs/postgresjs-dc-subscriber.js.map +1 -0
- package/build/cjs/integrations/{postgresjs.js → postgresjs-wrapper.js} +66 -73
- package/build/cjs/integrations/postgresjs-wrapper.js.map +1 -0
- package/build/cjs/integrations/prisma/orchestrion.js +2 -5
- package/build/cjs/integrations/prisma/orchestrion.js.map +1 -1
- package/build/cjs/integrations/prisma/tracing-helper.js +15 -13
- package/build/cjs/integrations/prisma/tracing-helper.js.map +1 -1
- package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +13 -17
- package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +1 -1
- package/build/cjs/integrations/serveTunnel.js +33 -0
- package/build/cjs/integrations/serveTunnel.js.map +1 -0
- package/build/cjs/integrations/tedious.js +9 -6
- package/build/cjs/integrations/tedious.js.map +1 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +47 -14
- package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/cjs/orchestrion/bundler/load-hook.js +2 -2
- package/build/cjs/orchestrion/bundler/load-hook.js.map +1 -1
- package/build/cjs/orchestrion/bundler/options.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +2 -2
- package/build/cjs/orchestrion/bundler/vite.js +86 -27
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +6 -0
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js +6 -5
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/cron.js +26 -0
- package/build/cjs/orchestrion/config/cron.js.map +1 -0
- package/build/cjs/orchestrion/config/index.js +6 -0
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/mistral.js +1 -1
- package/build/cjs/orchestrion/config/mistral.js.map +1 -1
- package/build/cjs/orchestrion/config/nestjs.js +8 -0
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
- package/build/cjs/orchestrion/config/node-cron.js +53 -0
- package/build/cjs/orchestrion/config/node-cron.js.map +1 -0
- package/build/cjs/orchestrion/config/node-schedule.js +29 -0
- package/build/cjs/orchestrion/config/node-schedule.js.map +1 -0
- package/build/cjs/orchestrion/config/postgres.js +5 -1
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/detect.js +16 -3
- package/build/cjs/orchestrion/detect.js.map +1 -1
- package/build/cjs/orchestrion/instrumentation.js +5 -5
- package/build/cjs/orchestrion/instrumentation.js.map +1 -1
- package/build/cjs/tracing-channel.js +3 -4
- package/build/cjs/tracing-channel.js.map +1 -1
- package/build/cjs/utils/cronMonitoring.js +160 -0
- package/build/cjs/utils/cronMonitoring.js.map +1 -0
- package/build/cjs/utils/diagnosticsChannel.js +2 -1
- package/build/cjs/utils/diagnosticsChannel.js.map +1 -1
- package/build/cjs/utils/monitorStream.js +27 -6
- package/build/cjs/utils/monitorStream.js.map +1 -1
- package/build/cjs/utils/runtime.js +19 -0
- package/build/cjs/utils/runtime.js.map +1 -0
- package/build/cjs/utils/sql.js +51 -5
- package/build/cjs/utils/sql.js.map +1 -1
- package/build/cjs/utils/tunnelServer.js +29 -0
- package/build/cjs/utils/tunnelServer.js.map +1 -0
- package/build/cjs/utils/wrapServerRequestHandler.js +66 -25
- package/build/cjs/utils/wrapServerRequestHandler.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +15 -15
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +35 -7
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +4 -4
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{core-dC9TN3Ev.js → core-Bd0h-mo3.js} +2 -2
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{core-dC9TN3Ev.js.map → core-Bd0h-mo3.js.map} +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +3 -3
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{rollup-OTS4ktWb.js → rollup-DCG8HLmh.js} +7 -13
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +2 -2
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
- package/build/esm/ai/anthropic-ai/streaming.js +5 -2
- package/build/esm/ai/anthropic-ai/streaming.js.map +1 -1
- package/build/esm/ai/anthropic-ai/tool-runner.js +52 -4
- package/build/esm/ai/anthropic-ai/tool-runner.js.map +1 -1
- package/build/esm/ai/anthropic-ai/utils.js +9 -2
- package/build/esm/ai/anthropic-ai/utils.js.map +1 -1
- package/build/esm/ai/flue/index.js +4 -6
- package/build/esm/ai/flue/index.js.map +1 -1
- package/build/esm/ai/flue/utils.js +4 -4
- package/build/esm/ai/flue/utils.js.map +1 -1
- package/build/esm/ai/google-genai/index.js +6 -1
- package/build/esm/ai/google-genai/index.js.map +1 -1
- package/build/esm/ai/google-genai/streaming.js +4 -1
- package/build/esm/ai/google-genai/streaming.js.map +1 -1
- package/build/esm/ai/langchain/utils.js +11 -11
- package/build/esm/ai/langchain/utils.js.map +1 -1
- package/build/esm/ai/langgraph/agent-span.js +89 -0
- package/build/esm/ai/langgraph/agent-span.js.map +1 -0
- package/build/esm/ai/langgraph/index.js +73 -115
- package/build/esm/ai/langgraph/index.js.map +1 -1
- package/build/esm/ai/langgraph/stream.js +115 -0
- package/build/esm/ai/langgraph/stream.js.map +1 -0
- package/build/esm/ai/langgraph/utils.js +1 -1
- package/build/esm/ai/langgraph/utils.js.map +1 -1
- package/build/esm/ai/mastra/utils.js.map +1 -1
- package/build/esm/ai/openai/streaming.js +3 -0
- package/build/esm/ai/openai/streaming.js.map +1 -1
- package/build/esm/ai/pi-durable/index.js +1 -1
- package/build/esm/ai/pi-durable/index.js.map +1 -1
- package/build/esm/ai/pi-durable/models.js +6 -6
- package/build/esm/ai/pi-durable/models.js.map +1 -1
- package/build/esm/ai/pi-durable/tools.js +2 -2
- package/build/esm/ai/pi-durable/tools.js.map +1 -1
- package/build/esm/ai/typesafe/index.js +1 -1
- package/build/esm/ai/typesafe/index.js.map +1 -1
- package/build/esm/index.js +10 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/index.no-diagnostic-channels.js +3 -3
- package/build/esm/index.request-handler.js +2 -0
- package/build/esm/index.request-handler.js.map +1 -0
- package/build/esm/integrations/amqplib.js +5 -7
- package/build/esm/integrations/amqplib.js.map +1 -1
- package/build/esm/integrations/anthropic.js +8 -0
- package/build/esm/integrations/anthropic.js.map +1 -1
- package/build/esm/integrations/aws-sdk/index.js +1 -0
- package/build/esm/integrations/aws-sdk/index.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +107 -54
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -1
- package/build/esm/integrations/cron.js +46 -0
- package/build/esm/integrations/cron.js.map +1 -0
- package/build/esm/integrations/dataloader.js +2 -5
- package/build/esm/integrations/dataloader.js.map +1 -1
- package/build/esm/integrations/express/instrumentation.js +1 -1
- package/build/esm/integrations/express/instrumentation.js.map +1 -1
- package/build/esm/integrations/firebase/firestore.js +1 -0
- package/build/esm/integrations/firebase/firestore.js.map +1 -1
- package/build/esm/integrations/google-genai.js +9 -3
- package/build/esm/integrations/google-genai.js.map +1 -1
- package/build/esm/integrations/graphql/constants.js +1 -2
- package/build/esm/integrations/graphql/constants.js.map +1 -1
- package/build/esm/integrations/graphql/graphql-dc-subscriber.js +2 -2
- package/build/esm/integrations/graphql/resolvers.js +2 -2
- package/build/esm/integrations/graphql/spans.js +2 -2
- package/build/esm/integrations/hono/constants.js +2 -1
- package/build/esm/integrations/hono/constants.js.map +1 -1
- package/build/esm/integrations/hono/createHonoMiddleware.js +2 -2
- package/build/esm/integrations/hono/createHonoMiddleware.js.map +1 -1
- package/build/esm/integrations/hono/honoIntegration.js +13 -13
- package/build/esm/integrations/hono/honoIntegration.js.map +1 -1
- package/build/esm/integrations/hono/matchResult.js +65 -2
- package/build/esm/integrations/hono/matchResult.js.map +1 -1
- package/build/esm/integrations/hono/middlewareHandlers.js +17 -7
- package/build/esm/integrations/hono/middlewareHandlers.js.map +1 -1
- package/build/esm/integrations/hono/patchAppRequest.js +2 -6
- package/build/esm/integrations/hono/patchAppRequest.js.map +1 -1
- package/build/esm/integrations/hono/patchRoute.js +2 -6
- package/build/esm/integrations/hono/patchRoute.js.map +1 -1
- package/build/esm/integrations/hono/resolveRouteName.js +16 -18
- package/build/esm/integrations/hono/resolveRouteName.js.map +1 -1
- package/build/esm/integrations/hono/sentryOriginalTraps.js +19 -0
- package/build/esm/integrations/hono/sentryOriginalTraps.js.map +1 -0
- package/build/esm/integrations/hono/wrapMiddlewareSpan.js +3 -7
- package/build/esm/integrations/hono/wrapMiddlewareSpan.js.map +1 -1
- package/build/esm/integrations/index.js +2 -2
- package/build/esm/integrations/index.js.map +1 -1
- package/build/esm/integrations/kafkajs/consumer.js +5 -5
- package/build/esm/integrations/kafkajs/consumer.js.map +1 -1
- package/build/esm/integrations/kafkajs/semconv.js +1 -5
- package/build/esm/integrations/kafkajs/semconv.js.map +1 -1
- package/build/esm/integrations/kafkajs/spans.js +8 -8
- package/build/esm/integrations/kafkajs/spans.js.map +1 -1
- package/build/esm/integrations/knex.js +6 -36
- package/build/esm/integrations/knex.js.map +1 -1
- package/build/esm/integrations/langgraph.js +7 -21
- package/build/esm/integrations/langgraph.js.map +1 -1
- package/build/esm/integrations/mongodb/index.js +21 -31
- package/build/esm/integrations/mongodb/index.js.map +1 -1
- package/build/esm/integrations/mongodb/mongodb-span.js +4 -3
- package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -1
- package/build/esm/integrations/mysql.js +17 -23
- package/build/esm/integrations/mysql.js.map +1 -1
- package/build/esm/integrations/mysql2/index.js +15 -26
- package/build/esm/integrations/mysql2/index.js.map +1 -1
- package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +29 -45
- package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/neon.js +27 -27
- package/build/esm/integrations/neon.js.map +1 -1
- package/build/esm/integrations/nitro/captureStorageEvents.js +4 -4
- package/build/esm/integrations/nitro/captureStorageEvents.js.map +1 -1
- package/build/esm/integrations/nitro/captureTracingEvents.js +2 -2
- package/build/esm/integrations/nitro/captureTracingEvents.js.map +1 -1
- package/build/esm/integrations/node-cron.js +63 -0
- package/build/esm/integrations/node-cron.js.map +1 -0
- package/build/esm/integrations/node-schedule.js +70 -0
- package/build/esm/integrations/node-schedule.js.map +1 -0
- package/build/esm/integrations/{postgres.js → pg.js} +16 -24
- package/build/esm/integrations/pg.js.map +1 -0
- package/build/esm/integrations/postgresjs/index.js +145 -0
- package/build/esm/integrations/postgresjs/index.js.map +1 -0
- package/build/esm/integrations/postgresjs/postgresjs-dc-subscriber.js +76 -0
- package/build/esm/integrations/postgresjs/postgresjs-dc-subscriber.js.map +1 -0
- package/build/esm/integrations/{postgresjs.js → postgresjs-wrapper.js} +68 -76
- package/build/esm/integrations/postgresjs-wrapper.js.map +1 -0
- package/build/esm/integrations/prisma/orchestrion.js +2 -5
- package/build/esm/integrations/prisma/orchestrion.js.map +1 -1
- package/build/esm/integrations/prisma/tracing-helper.js +17 -15
- package/build/esm/integrations/prisma/tracing-helper.js.map +1 -1
- package/build/esm/integrations/redis/ioredis-channel-subscriber.js +13 -17
- package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -1
- package/build/esm/integrations/serveTunnel.js +30 -0
- package/build/esm/integrations/serveTunnel.js.map +1 -0
- package/build/esm/integrations/tedious.js +11 -8
- package/build/esm/integrations/tedious.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +48 -15
- package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/esm/orchestrion/bundler/load-hook.js +1 -1
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +1 -1
- package/build/esm/orchestrion/bundler/vite.js +87 -28
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +1 -1
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js +6 -0
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js +6 -5
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/cron.js +22 -0
- package/build/esm/orchestrion/config/cron.js.map +1 -0
- package/build/esm/orchestrion/config/index.js +6 -0
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/mistral.js +1 -1
- package/build/esm/orchestrion/config/mistral.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js +8 -0
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/node-cron.js +49 -0
- package/build/esm/orchestrion/config/node-cron.js.map +1 -0
- package/build/esm/orchestrion/config/node-schedule.js +25 -0
- package/build/esm/orchestrion/config/node-schedule.js.map +1 -0
- package/build/esm/orchestrion/config/postgres.js +5 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/detect.js +15 -2
- package/build/esm/orchestrion/detect.js.map +1 -1
- package/build/esm/orchestrion/instrumentation.js +6 -6
- package/build/esm/orchestrion/instrumentation.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/tracing-channel.js +4 -5
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/utils/cronMonitoring.js +153 -0
- package/build/esm/utils/cronMonitoring.js.map +1 -0
- package/build/esm/utils/diagnosticsChannel.js +2 -1
- package/build/esm/utils/diagnosticsChannel.js.map +1 -1
- package/build/esm/utils/monitorStream.js +28 -7
- package/build/esm/utils/monitorStream.js.map +1 -1
- package/build/esm/utils/runtime.js +15 -0
- package/build/esm/utils/runtime.js.map +1 -0
- package/build/esm/utils/sql.js +48 -5
- package/build/esm/utils/sql.js.map +1 -1
- package/build/esm/utils/tunnelServer.js +27 -0
- package/build/esm/utils/tunnelServer.js.map +1 -0
- package/build/esm/utils/wrapServerRequestHandler.js +68 -27
- package/build/esm/utils/wrapServerRequestHandler.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +15 -15
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +35 -7
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{core-dC9TN3Ev.js → core-Bd0h-mo3.js} +2 -2
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{core-dC9TN3Ev.js.map → core-Bd0h-mo3.js.map} +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{rollup-OTS4ktWb.js → rollup-DCG8HLmh.js} +3 -9
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
- package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -1
- package/build/types/ai/anthropic-ai/tool-runner.d.ts +1 -1
- package/build/types/ai/anthropic-ai/tool-runner.d.ts.map +1 -1
- package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -1
- package/build/types/ai/flue/index.d.ts.map +1 -1
- package/build/types/ai/google-genai/index.d.ts.map +1 -1
- package/build/types/ai/google-genai/streaming.d.ts +1 -1
- package/build/types/ai/google-genai/streaming.d.ts.map +1 -1
- package/build/types/ai/langchain/utils.d.ts +6 -0
- package/build/types/ai/langchain/utils.d.ts.map +1 -1
- package/build/types/ai/langgraph/agent-span.d.ts +15 -0
- package/build/types/ai/langgraph/agent-span.d.ts.map +1 -0
- package/build/types/ai/langgraph/index.d.ts +7 -1
- package/build/types/ai/langgraph/index.d.ts.map +1 -1
- package/build/types/ai/langgraph/stream.d.ts +10 -0
- package/build/types/ai/langgraph/stream.d.ts.map +1 -0
- package/build/types/ai/langgraph/types.d.ts +1 -0
- package/build/types/ai/langgraph/types.d.ts.map +1 -1
- package/build/types/ai/mastra/utils.d.ts +1 -1
- package/build/types/ai/openai/streaming.d.ts.map +1 -1
- package/build/types/exports.d.ts +4 -5
- package/build/types/exports.d.ts.map +1 -1
- package/build/types/index.d.ts +10 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/index.request-handler.d.ts +3 -0
- package/build/types/index.request-handler.d.ts.map +1 -0
- package/build/types/integrations/amqplib.d.ts.map +1 -1
- package/build/types/integrations/anthropic.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/index.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/types.d.ts +2 -0
- package/build/types/integrations/aws-sdk/types.d.ts.map +1 -1
- package/build/types/integrations/cron.d.ts +16 -0
- package/build/types/integrations/cron.d.ts.map +1 -0
- package/build/types/integrations/dataloader.d.ts.map +1 -1
- package/build/types/integrations/firebase/firestore.d.ts.map +1 -1
- package/build/types/integrations/google-genai.d.ts.map +1 -1
- package/build/types/integrations/graphql/constants.d.ts +1 -1
- package/build/types/integrations/graphql/constants.d.ts.map +1 -1
- package/build/types/integrations/hono/constants.d.ts +1 -0
- package/build/types/integrations/hono/constants.d.ts.map +1 -1
- package/build/types/integrations/hono/createHonoMiddleware.d.ts +0 -1
- package/build/types/integrations/hono/createHonoMiddleware.d.ts.map +1 -1
- package/build/types/integrations/hono/honoIntegration.d.ts.map +1 -1
- package/build/types/integrations/hono/matchResult.d.ts +21 -4
- package/build/types/integrations/hono/matchResult.d.ts.map +1 -1
- package/build/types/integrations/hono/middlewareHandlers.d.ts +1 -2
- package/build/types/integrations/hono/middlewareHandlers.d.ts.map +1 -1
- package/build/types/integrations/hono/patchAppRequest.d.ts.map +1 -1
- package/build/types/integrations/hono/patchRoute.d.ts.map +1 -1
- package/build/types/integrations/hono/resolveRouteName.d.ts +4 -7
- package/build/types/integrations/hono/resolveRouteName.d.ts.map +1 -1
- package/build/types/integrations/hono/sentryOriginalTraps.d.ts +9 -0
- package/build/types/integrations/hono/sentryOriginalTraps.d.ts.map +1 -0
- package/build/types/integrations/hono/wrapMiddlewareSpan.d.ts.map +1 -1
- package/build/types/integrations/kafkajs/semconv.d.ts +1 -4
- package/build/types/integrations/kafkajs/semconv.d.ts.map +1 -1
- package/build/types/integrations/knex.d.ts.map +1 -1
- package/build/types/integrations/langgraph.d.ts.map +1 -1
- package/build/types/integrations/mongodb/index.d.ts.map +1 -1
- package/build/types/integrations/mongodb/mongodb-span.d.ts.map +1 -1
- package/build/types/integrations/mysql.d.ts.map +1 -1
- package/build/types/integrations/mysql2/index.d.ts.map +1 -1
- package/build/types/integrations/mysql2/mysql2-dc-subscriber.d.ts.map +1 -1
- package/build/types/integrations/neon.d.ts.map +1 -1
- package/build/types/integrations/nitro/captureStorageEvents.d.ts.map +1 -1
- package/build/types/integrations/node-cron.d.ts +26 -0
- package/build/types/integrations/node-cron.d.ts.map +1 -0
- package/build/types/integrations/node-schedule.d.ts +25 -0
- package/build/types/integrations/node-schedule.d.ts.map +1 -0
- package/build/types/integrations/{postgres.d.ts → pg.d.ts} +1 -1
- package/build/types/integrations/pg.d.ts.map +1 -0
- package/build/types/integrations/{postgres-js.d.ts → postgresjs/index.d.ts} +11 -8
- package/build/types/integrations/postgresjs/index.d.ts.map +1 -0
- package/build/types/integrations/postgresjs/postgresjs-dc-subscriber.d.ts +48 -0
- package/build/types/integrations/postgresjs/postgresjs-dc-subscriber.d.ts.map +1 -0
- package/build/types/integrations/{postgresjs.d.ts → postgresjs-wrapper.d.ts} +23 -9
- package/build/types/integrations/postgresjs-wrapper.d.ts.map +1 -0
- package/build/types/integrations/prisma/orchestrion.d.ts.map +1 -1
- package/build/types/integrations/prisma/tracing-helper.d.ts.map +1 -1
- package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts.map +1 -1
- package/build/types/integrations/serveTunnel.d.ts +14 -0
- package/build/types/integrations/serveTunnel.d.ts.map +1 -0
- package/build/types/integrations/tedious.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +7 -0
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
- package/build/types/orchestrion/channels.d.ts +7 -0
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
- package/build/types/orchestrion/config/cron.d.ts +31 -0
- package/build/types/orchestrion/config/cron.d.ts.map +1 -0
- package/build/types/orchestrion/config/generic-pool.d.ts +1 -1
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/mistral.d.ts +3 -3
- 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/node-cron.d.ts +19 -0
- package/build/types/orchestrion/config/node-cron.d.ts.map +1 -0
- package/build/types/orchestrion/config/node-schedule.d.ts +18 -0
- package/build/types/orchestrion/config/node-schedule.d.ts.map +1 -0
- package/build/types/orchestrion/config/pg.d.ts +1 -1
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
- package/build/types/orchestrion/detect.d.ts.map +1 -1
- package/build/types/orchestrion/instrumentation.d.ts.map +1 -1
- package/build/types/tracing-channel.d.ts +1 -6
- package/build/types/tracing-channel.d.ts.map +1 -1
- package/build/types/utils/cronMonitoring.d.ts +39 -0
- package/build/types/utils/cronMonitoring.d.ts.map +1 -0
- package/build/types/utils/diagnosticsChannel.d.ts.map +1 -1
- package/build/types/utils/monitorStream.d.ts +7 -1
- package/build/types/utils/monitorStream.d.ts.map +1 -1
- package/build/types/utils/runtime.d.ts +7 -0
- package/build/types/utils/runtime.d.ts.map +1 -0
- package/build/types/utils/sql.d.ts +31 -7
- package/build/types/utils/sql.d.ts.map +1 -1
- package/build/types/utils/tunnelServer.d.ts +10 -0
- package/build/types/utils/tunnelServer.d.ts.map +1 -0
- package/build/types/utils/wrapServerRequestHandler.d.ts +9 -2
- package/build/types/utils/wrapServerRequestHandler.d.ts.map +1 -1
- package/package.json +33 -25
- package/build/cjs/integrations/postgres-js.js +0 -200
- package/build/cjs/integrations/postgres-js.js.map +0 -1
- package/build/cjs/integrations/postgres.js.map +0 -1
- package/build/cjs/integrations/postgresjs.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +0 -1
- package/build/esm/integrations/postgres-js.js +0 -198
- package/build/esm/integrations/postgres-js.js.map +0 -1
- package/build/esm/integrations/postgres.js.map +0 -1
- package/build/esm/integrations/postgresjs.js.map +0 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +0 -1
- package/build/types/integrations/postgres-js.d.ts.map +0 -1
- package/build/types/integrations/postgres.d.ts.map +0 -1
- package/build/types/integrations/postgresjs.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/options.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,iCAAiC,EAAE,MAAM,2BAA2B,CAAC;AACxG,OAAO,KAAK,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExG,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC3C;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/options.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,iCAAiC,EAAE,MAAM,2BAA2B,CAAC;AACxG,OAAO,KAAK,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExG,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC3C;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAErF;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,mBAAmB,EAAE,MAAM,EAAE,GAAG,MAAM,CAMhF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,aAAa,EACtB,EAAE,iBAAwB,EAAE,GAAE;IAAE,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAAO,GACjE,4BAA4B,CAO9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAsD,MAAM,EAA8B,MAAM,MAAM,CAAC;AAEnH,YAAY,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AA+G/C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,MAAM,CAuI3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,gCAAgC,EAA4B,MAAM,WAAW,CAAC;AAGjH,OAAO,KAAK,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,gCAAgC,EAA4B,MAAM,WAAW,CAAC;AAGjH,OAAO,KAAK,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAO/F,eAAO,MAAM,yBAAyB,EAAoC,CACxE,OAAO,EAAE,wBAAwB,EAAE,KAChC,iCAAiC,EAAE,CAAC;AACzC,YAAY,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAE,gCAAgC,EAAE,CAAC;AAEtE,6FAA6F;AAC7F,wBAAgB,yBAAyB,IAAI,qBAAqB,EAAE,CAEnE;AAqDD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,aAAkB,GAAG;IAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAE,CAiC/G"}
|
|
@@ -33,6 +33,8 @@ export declare const CHANNELS: {
|
|
|
33
33
|
readonly ANTHROPIC_MESSAGES_STREAM: 'orchestrion:@anthropic-ai/sdk:messages-stream';
|
|
34
34
|
readonly ANTHROPIC_TOOL_RUNNER: 'orchestrion:@anthropic-ai/sdk:tool-runner';
|
|
35
35
|
readonly ANTHROPIC_SESSION_TOOL_RUNNER: 'orchestrion:@anthropic-ai/sdk:session-tool-runner';
|
|
36
|
+
readonly CRON_JOB_CONSTRUCTOR: 'orchestrion:cron:cronJobConstructor';
|
|
37
|
+
readonly CRON_JOB_SET_TIME: 'orchestrion:cron:cronJobSetTime';
|
|
36
38
|
readonly DATALOADER_CONSTRUCT: 'orchestrion:dataloader:construct';
|
|
37
39
|
readonly DATALOADER_LOAD: 'orchestrion:dataloader:load';
|
|
38
40
|
readonly DATALOADER_LOAD_MANY: 'orchestrion:dataloader:loadMany';
|
|
@@ -129,8 +131,13 @@ export declare const CHANNELS: {
|
|
|
129
131
|
readonly NESTJS_SCHEDULE_CRON: 'orchestrion:@nestjs/schedule:cronDecorator';
|
|
130
132
|
readonly NESTJS_SCHEDULE_INTERVAL: 'orchestrion:@nestjs/schedule:intervalDecorator';
|
|
131
133
|
readonly NESTJS_SCHEDULE_TIMEOUT: 'orchestrion:@nestjs/schedule:timeoutDecorator';
|
|
134
|
+
readonly NESTJS_SCHEDULE_EXPLORER_WRAP: 'orchestrion:@nestjs/schedule:scheduleExplorerWrap';
|
|
132
135
|
readonly NESTJS_ONEVENT: 'orchestrion:@nestjs/event-emitter:onEventDecorator';
|
|
133
136
|
readonly NESTJS_PROCESSOR: 'orchestrion:@nestjs/bullmq:processorDecorator';
|
|
137
|
+
readonly NODE_CRON_CREATE_TASK: 'orchestrion:node-cron:createTask';
|
|
138
|
+
readonly NODE_CRON_V4_CREATE_TASK: 'orchestrion:node-cron:v4_createTask';
|
|
139
|
+
readonly NODE_CRON_V3_CREATE_TASK: 'orchestrion:node-cron:v3_createTask';
|
|
140
|
+
readonly NODE_SCHEDULE_SCHEDULE: 'orchestrion:node-schedule:schedule';
|
|
134
141
|
readonly OPENAI_CHAT: 'orchestrion:openai:chat';
|
|
135
142
|
readonly OPENAI_EMBEDDINGS: 'orchestrion:openai:embeddings';
|
|
136
143
|
readonly OPENAI_DECIDE: 'orchestrion:openai:decide';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AA2CA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/anthropic-ai.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;
|
|
1
|
+
{"version":3,"file":"anthropic-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/anthropic-ai.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;QAkCT,SAAS;;GAEK,CAAC;AAEpC,eAAO,MAAM,sBAAsB,UAAoC,CAAC;AAExE,eAAO,MAAM,mBAAmB;aAC9B,cAAc,EAAE,oCAAoC;aACpD,yBAAyB,EAAE,+CAA+C;aAC1E,qBAAqB,EAAE,2CAA2C;aAClE,6BAA6B,EAAE,mDAAmD;CAC1E,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const cronConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
className: string;
|
|
10
|
+
methodName?: undefined;
|
|
11
|
+
kind?: undefined;
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
channelName: string;
|
|
15
|
+
module: {
|
|
16
|
+
name: string;
|
|
17
|
+
versionRange: string;
|
|
18
|
+
filePath: string;
|
|
19
|
+
};
|
|
20
|
+
functionQuery: {
|
|
21
|
+
className: string;
|
|
22
|
+
methodName: string;
|
|
23
|
+
kind: "Sync";
|
|
24
|
+
};
|
|
25
|
+
})[];
|
|
26
|
+
export declare const cronModuleNames: string[];
|
|
27
|
+
export declare const cronChannels: {
|
|
28
|
+
readonly CRON_JOB_CONSTRUCTOR: 'orchestrion:cron:cronJobConstructor';
|
|
29
|
+
readonly CRON_JOB_SET_TIME: 'orchestrion:cron:cronJobSetTime';
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=cron.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/cron.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;QAGT,IAAI;QAAU,YAAY;QAAgB,QAAQ;;;;;;;;;;QAKlD,IAAI;QAAU,YAAY;QAAgB,QAAQ;;;;;;;IAG7B,CAAC;AAEpC,eAAO,MAAM,eAAe,UAA6B,CAAC;AAE1D,eAAO,MAAM,YAAY;aACvB,oBAAoB,EAAE,qCAAqC;aAC3D,iBAAiB,EAAE,iCAAiC;CAC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAoDzD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EA8C1D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAAqB,EAElE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,gBAAgB,GAAE,qBAAqB,EAAO,GAAG,MAAM,EAAE,CAOhG;AAED,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA8B,CAAC;AAE7E;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,EAAE,CAErD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,GAAE,MAAM,EAA8B,GAChD,MAAM,EAAE,GAAG,SAAS,CAKtB;AAGD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -2,7 +2,7 @@ export declare const mistralConfig: ({
|
|
|
2
2
|
channelName: string;
|
|
3
3
|
module: {
|
|
4
4
|
readonly name: '@mistralai/mistralai';
|
|
5
|
-
readonly versionRange: '>=2.0.0 <
|
|
5
|
+
readonly versionRange: '>=2.0.0 <4';
|
|
6
6
|
readonly filePath: 'esm/sdk/chat.js';
|
|
7
7
|
};
|
|
8
8
|
functionQuery: {
|
|
@@ -14,7 +14,7 @@ export declare const mistralConfig: ({
|
|
|
14
14
|
channelName: string;
|
|
15
15
|
module: {
|
|
16
16
|
name: '@mistralai/mistralai';
|
|
17
|
-
versionRange: '>=2.0.0 <
|
|
17
|
+
versionRange: '>=2.0.0 <4';
|
|
18
18
|
filePath: string;
|
|
19
19
|
};
|
|
20
20
|
functionQuery: {
|
|
@@ -26,7 +26,7 @@ export declare const mistralConfig: ({
|
|
|
26
26
|
channelName: string;
|
|
27
27
|
module: {
|
|
28
28
|
readonly name: '@mistralai/mistralai';
|
|
29
|
-
readonly versionRange: '>=2.0.0 <
|
|
29
|
+
readonly versionRange: '>=2.0.0 <4';
|
|
30
30
|
readonly filePath: 'esm/sdk/agents.js';
|
|
31
31
|
};
|
|
32
32
|
functionQuery: {
|
|
@@ -18,6 +18,7 @@ export declare const nestjsChannels: {
|
|
|
18
18
|
readonly NESTJS_SCHEDULE_CRON: 'orchestrion:@nestjs/schedule:cronDecorator';
|
|
19
19
|
readonly NESTJS_SCHEDULE_INTERVAL: 'orchestrion:@nestjs/schedule:intervalDecorator';
|
|
20
20
|
readonly NESTJS_SCHEDULE_TIMEOUT: 'orchestrion:@nestjs/schedule:timeoutDecorator';
|
|
21
|
+
readonly NESTJS_SCHEDULE_EXPLORER_WRAP: 'orchestrion:@nestjs/schedule:scheduleExplorerWrap';
|
|
21
22
|
readonly NESTJS_ONEVENT: 'orchestrion:@nestjs/event-emitter:onEventDecorator';
|
|
22
23
|
readonly NESTJS_PROCESSOR: 'orchestrion:@nestjs/bullmq:processorDecorator';
|
|
23
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/nestjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAmBzD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/nestjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAmBzD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,yBA4GU,CAAC;AAEpC,eAAO,MAAM,cAAc;aACzB,mBAAmB,EAAE,4CAA4C;aACjE,qBAAqB,EAAE,uDAAuD;aAC9E,iBAAiB,EAAE,gDAAgD;aACnE,YAAY,EAAE,2CAA2C;aACzD,oBAAoB,EAAE,4CAA4C;aAClE,wBAAwB,EAAE,gDAAgD;aAC1E,uBAAuB,EAAE,+CAA+C;aACxE,6BAA6B,EAAE,mDAAmD;aAClF,cAAc,EAAE,oDAAoD;aACpE,gBAAgB,EAAE,+CAA+C;CACzD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const nodeCronConfig: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
readonly functionName: 'createTask';
|
|
10
|
+
readonly kind: 'Sync';
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare const nodeCronModuleNames: string[];
|
|
14
|
+
export declare const nodeCronChannels: {
|
|
15
|
+
readonly NODE_CRON_CREATE_TASK: 'orchestrion:node-cron:createTask';
|
|
16
|
+
readonly NODE_CRON_V4_CREATE_TASK: 'orchestrion:node-cron:v4_createTask';
|
|
17
|
+
readonly NODE_CRON_V3_CREATE_TASK: 'orchestrion:node-cron:v3_createTask';
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=node-cron.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-cron.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/node-cron.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;QAGb,IAAI;QAAe,YAAY;QAAgB,QAAQ;;;+BAPlC,YAAY;uBAAQ,MAAM;;GAwC1B,CAAC;AAEpC,eAAO,MAAM,mBAAmB,UAAiC,CAAC;AAElE,eAAO,MAAM,gBAAgB;aAC3B,qBAAqB,EAAE,kCAAkC;aACzD,wBAAwB,EAAE,qCAAqC;aAC/D,wBAAwB,EAAE,qCAAqC;CACvD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const nodeScheduleConfig: {
|
|
2
|
+
channelName: 'schedule';
|
|
3
|
+
astQuery: "AssignmentExpression[left.object.property.name='prototype'][left.property.name='schedule'] > FunctionExpression";
|
|
4
|
+
functionQuery: {
|
|
5
|
+
readonly methodName: 'schedule';
|
|
6
|
+
readonly kind: 'Sync';
|
|
7
|
+
};
|
|
8
|
+
module: {
|
|
9
|
+
name: string;
|
|
10
|
+
versionRange: string;
|
|
11
|
+
filePath: string;
|
|
12
|
+
};
|
|
13
|
+
}[];
|
|
14
|
+
export declare const nodeScheduleModuleNames: string[];
|
|
15
|
+
export declare const nodeScheduleChannels: {
|
|
16
|
+
readonly NODE_SCHEDULE_SCHEDULE: 'orchestrion:node-schedule:schedule';
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=node-schedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-schedule.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/node-schedule.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,kBAAkB;iBAPhB,UAAU;cAErB,iHAAiH;;iBAElG,UAAU,EAAE,UAAU;iBAAE,IAAI,EAAE,MAAM;;;QAMzC,IAAI;QAAmB,YAAY;QAAgB,QAAQ;;GAMtC,CAAC;AAEpC,eAAO,MAAM,uBAAuB,UAAqC,CAAC;AAE1E,eAAO,MAAM,oBAAoB;aAC/B,sBAAsB,EAAE,oCAAoC;CACpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAqDzD,eAAO,MAAM,gBAAgB,yBAG5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,UAAmC,CAAC;AAEtE,eAAO,MAAM,kBAAkB;aAC7B,iBAAiB,EAAE,6BAA6B;aAChD,qBAAqB,EAAE,iCAAiC;aACxD,kBAAkB,EAAE,8BAA8B;aAClD,kBAAkB,EAAE,8BAA8B;CAC1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAGxD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAwC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/instrumentation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/instrumentation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAS3C,QAAA,MAAM,YAAY,eAA8C,CAAC;AAIjE,KAAK,iBAAiB,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG;IAAE,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAKnF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,SAAS,iBAAiB,EACjF,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,EAK1B,EAAE,6BAAoC,EAAE,GAAE;IAAE,6BAA6B,CAAC,EAAE,OAAO,CAAA;CAAO,GACzF,IAAI,CAwFN"}
|
|
@@ -44,11 +44,6 @@ export interface TracingChannelLifeCycleOptions<TData extends object = object> {
|
|
|
44
44
|
/** Ends the span: `end()` on success, `end(error)` on failure (which marks `data` as errored). Idempotent. */
|
|
45
45
|
end: (error?: unknown) => void;
|
|
46
46
|
}) => boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Apply span/scope binding only if there is a parent span, similar to returning `undefined` in the `getSpan` callback.
|
|
49
|
-
* If you need to perform some conditional checking on the parent span before deciding, do it in the `getSpan` callback.
|
|
50
|
-
*/
|
|
51
|
-
requiresParentSpan?: boolean;
|
|
52
47
|
}
|
|
53
48
|
/** Returned by {@link bindTracingChannelToSpan}: the bound channel plus a teardown handle. */
|
|
54
49
|
export interface TracingChannelBindingHandle<TData extends object = object> {
|
|
@@ -81,5 +76,5 @@ export declare function bindTracingChannelToSpan<TData extends object>(channel:
|
|
|
81
76
|
*
|
|
82
77
|
* `getSpan` may return `undefined` to leave the active context untouched for that payload.
|
|
83
78
|
*/
|
|
84
|
-
export declare function bindSpanToChannelStore<TData extends object>(channel: TracingChannel<TData, TData>, getSpan: (data: TracingChannelPayloadWithSpan<TData>) => Span | undefined
|
|
79
|
+
export declare function bindSpanToChannelStore<TData extends object>(channel: TracingChannel<TData, TData>, getSpan: (data: TracingChannelPayloadWithSpan<TData>) => Span | undefined): TracingChannelBindingHandle<TData>;
|
|
85
80
|
//# sourceMappingURL=tracing-channel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracing-channel.d.ts","sourceRoot":"","sources":["../../src/tracing-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE1F,OAAO,KAAK,EAAE,kCAAkC,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"tracing-channel.d.ts","sourceRoot":"","sources":["../../src/tracing-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE1F,OAAO,KAAK,EAAE,kCAAkC,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAe7E,MAAM,MAAM,6BAA6B,CAAC,KAAK,SAAS,MAAM,IAAI,KAAK,GAAG;IACxE;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,sEAAsE;IACtE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAKF,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,IAAI,CAC/E,cAAc,CAAC,KAAK,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAC,EAC3D,WAAW,GAAG,aAAa,CAC5B;IACC,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,yBAAyB,CAAC,6BAA6B,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IACvG,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC,yBAAyB,CAAC,6BAA6B,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAC1G;AAED,MAAM,WAAW,8BAA8B,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IAC3E;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,6BAA6B,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAEjF;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,KAAK,kCAAkC,CAAC,CAAC;IAE9E;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QACpB,IAAI,EAAE,IAAI,CAAC;QACX,IAAI,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAC;QAC3C,8GAA8G;QAC9G,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;KAChC,KAAK,OAAO,CAAC;CACf;AAED,8FAA8F;AAC9F,MAAM,WAAW,2BAA2B,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IACxE;;OAEG;IACH,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAErC;;;OAGG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAID,iGAAiG;AACjG,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAOjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,SAAS,MAAM,EAC3D,OAAO,EAAE,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,EACrC,OAAO,EAAE,CAAC,IAAI,EAAE,6BAA6B,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,SAAS,EACzE,IAAI,CAAC,EAAE,8BAA8B,CAAC,KAAK,CAAC,GAC3C,2BAA2B,CAAC,KAAK,CAAC,CA6FpC;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,SAAS,MAAM,EACzD,OAAO,EAAE,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,EACrC,OAAO,EAAE,CAAC,IAAI,EAAE,6BAA6B,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,SAAS,GACxE,2BAA2B,CAAC,KAAK,CAAC,CAqDpC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { MonitorConfig } from '@sentry/core';
|
|
2
|
+
export type AnyFn = (this: unknown, ...args: unknown[]) => unknown;
|
|
3
|
+
/**
|
|
4
|
+
* Calls `onJob` with the arguments of each call on a scheduler's job-creation channel, so it can wrap the job.
|
|
5
|
+
* Errors are logged and the job is created unmonitored.
|
|
6
|
+
*/
|
|
7
|
+
export declare function subscribeToJobCreation(channelName: string, integrationName: string, onJob: (args: unknown[]) => void): void;
|
|
8
|
+
/** A call on a schedule-change channel: its arguments, the job it was called on, and what it returned. */
|
|
9
|
+
export interface ScheduleChange {
|
|
10
|
+
arguments: unknown[];
|
|
11
|
+
self?: unknown;
|
|
12
|
+
result?: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Calls `onChange` after each call on a scheduler's schedule-change channel, so it can update the job's monitor config.
|
|
16
|
+
* `onStart` gets the same object before the call. Errors are logged and the job keeps its config.
|
|
17
|
+
*/
|
|
18
|
+
export declare function subscribeToScheduleChange(channelName: string, integrationName: string, onChange: (change: ScheduleChange) => void, onStart?: (change: ScheduleChange) => void): void;
|
|
19
|
+
/** Whether a job is named, not excluded, and not already monitored by `Sentry.cron.instrument*` or `wrapScheduledJob`. */
|
|
20
|
+
export declare function shouldMonitorJob(name: unknown, job: unknown, excludeJobs: Array<string | RegExp> | undefined): name is string;
|
|
21
|
+
/**
|
|
22
|
+
* How a scheduler combines a restricted day-of-month and day-of-week:
|
|
23
|
+
* - `and`: both must match (`node-cron`).
|
|
24
|
+
* - `or`: either matches, unless one is `*` or a full range (`cron-parser`, `cron`).
|
|
25
|
+
*/
|
|
26
|
+
export type DayFieldSemantics = 'and' | 'or';
|
|
27
|
+
/**
|
|
28
|
+
* The Sentry monitor config for a cron expression, or `undefined` if Sentry would read it differently.
|
|
29
|
+
* Without a `timezone`, the server's time zone is used, like the schedulers do.
|
|
30
|
+
*/
|
|
31
|
+
export declare function cronExpressionToMonitorConfig(expression: string, timezone: unknown, daySemantics: DayFieldSemantics): MonitorConfig | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Wraps a scheduled job with check-ins. Errors are captured, because schedulers catch them, and rethrown.
|
|
34
|
+
* Jobs without a monitor config send no check-ins.
|
|
35
|
+
*/
|
|
36
|
+
export declare function wrapScheduledJob(func: AnyFn, monitorSlug: string, monitorConfig: MonitorConfig | undefined, mechanismType: string): AnyFn;
|
|
37
|
+
/** Sets the monitor config a job from `wrapScheduledJob` sends on its next runs. Other functions are ignored. */
|
|
38
|
+
export declare function updateMonitorConfig(job: unknown, monitorConfig: MonitorConfig | undefined): void;
|
|
39
|
+
//# sourceMappingURL=cronMonitoring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cronMonitoring.d.ts","sourceRoot":"","sources":["../../../src/utils/cronMonitoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAalD,MAAM,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAMnE;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,GAC/B,IAAI,CAQN;AAED,0GAA0G;AAC1G,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,EAC1C,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,GACzC,IAAI,CAaN;AAED,0HAA0H;AAC1H,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,OAAO,EACZ,WAAW,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,GAC9C,IAAI,IAAI,MAAM,CAQhB;AAkBD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,IAAI,CAAC;AAE7C;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,OAAO,EACjB,YAAY,EAAE,iBAAiB,GAC9B,aAAa,GAAG,SAAS,CA6B3B;AA2ED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,KAAK,EACX,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,aAAa,GAAG,SAAS,EACxC,aAAa,EAAE,MAAM,GACpB,KAAK,CAqBP;AAED,iHAAiH;AACjH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI,CAIhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnosticsChannel.d.ts","sourceRoot":"","sources":["../../../src/utils/diagnosticsChannel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"diagnosticsChannel.d.ts","sourceRoot":"","sources":["../../../src/utils/diagnosticsChannel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;AAcnE,yFAAyF;AACzF,eAAO,MAAM,OAAO,EAAE,OAAO,sBAAsB,CAAC,OASlB,CAAC;AAEnC,iGAAiG;AACjG,eAAO,MAAM,SAAS,EAAE,OAAO,sBAAsB,CAAC,SAIlB,CAAC;AAErC;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,sBAAsB,CAAC,cAahB,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Monitor the source without reading ahead or treating cancellation as a source failure.
|
|
3
|
+
*
|
|
4
|
+
* `onDone` runs once, while the returned stream is still open: before it closes, before it errors,
|
|
5
|
+
* or when the consumer cancels it. A runtime can end the request when the response body closes
|
|
6
|
+
* (Cloudflare Workers then reject `waitUntil`), so work that `onDone` starts must begin first.
|
|
7
|
+
*/
|
|
2
8
|
export declare function monitorStream(stream: ReadableStream<Uint8Array>, onDone: () => void, onError: (error: unknown) => void): ReadableStream<Uint8Array>;
|
|
3
9
|
//# sourceMappingURL=monitorStream.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitorStream.d.ts","sourceRoot":"","sources":["../../../src/utils/monitorStream.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitorStream.d.ts","sourceRoot":"","sources":["../../../src/utils/monitorStream.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,EAClC,MAAM,EAAE,MAAM,IAAI,EAClB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAChC,cAAc,CAAC,UAAU,CAAC,CA4D5B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Whether the SDK runs in Bun. */
|
|
2
|
+
export declare function isBun(): boolean;
|
|
3
|
+
/** Whether the SDK runs in Deno. */
|
|
4
|
+
export declare function isDeno(): boolean;
|
|
5
|
+
/** Whether the SDK runs in Cloudflare Workers. */
|
|
6
|
+
export declare function isCloudflareWorkers(): boolean;
|
|
7
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/utils/runtime.ts"],"names":[],"mappings":"AAIA,mCAAmC;AACnC,wBAAgB,KAAK,IAAI,OAAO,CAE/B;AAED,oCAAoC;AACpC,wBAAgB,MAAM,IAAI,OAAO,CAEhC;AAED,kDAAkD;AAClD,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DB_OPERATION_NAME, DB_QUERY_SUMMARY, DB_QUERY_TEXT } from '@sentry/conventions/attributes';
|
|
2
|
+
import type { SpanAttributes } from '@sentry/core';
|
|
1
3
|
/**
|
|
2
4
|
* Derives a low-cardinality summary from a SQL query for use as `db.query.summary`.
|
|
3
5
|
*
|
|
@@ -12,6 +14,12 @@
|
|
|
12
14
|
* @see https://opentelemetry.io/docs/specs/semconv/database/database-spans/#generating-a-summary-of-the-query
|
|
13
15
|
*/
|
|
14
16
|
export declare function getSqlQuerySummary(query: string | undefined): string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Derives `db.operation.name` from a SQL query: the first operation keyword, in its original case.
|
|
19
|
+
*
|
|
20
|
+
* @see https://opentelemetry.io/docs/specs/semconv/registry/attributes/db/#db-operation-name
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSqlOperationName(query: string | undefined): string | undefined;
|
|
15
23
|
/**
|
|
16
24
|
* SQL dialect variants that matter for finding the end of a string literal:
|
|
17
25
|
* - `standard` (PostgreSQL, SQLite): `"` quotes identifiers, `''` is the only in-string escape,
|
|
@@ -41,13 +49,29 @@ export declare function toSqlDialect(system: unknown): SqlDialect;
|
|
|
41
49
|
* see {@link SqlDialect}.
|
|
42
50
|
*/
|
|
43
51
|
export declare function sanitizeSqlQuery(sqlQuery: string | undefined, dialect?: SqlDialect): string;
|
|
52
|
+
export interface SqlQueryAttributes {
|
|
53
|
+
[DB_QUERY_TEXT]: string | undefined;
|
|
54
|
+
[DB_QUERY_SUMMARY]: string | undefined;
|
|
55
|
+
[DB_OPERATION_NAME]: string | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Sanitizes a collected SQL statement into the query attributes the SQL integrations attach to
|
|
59
|
+
* their spans: `db.query.text`, `db.query.summary` and `db.operation.name`. All are `undefined`
|
|
60
|
+
* when there is no statement, so an empty query omits the attributes instead of reporting the
|
|
61
|
+
* sanitizer's fallback text.
|
|
62
|
+
*/
|
|
63
|
+
export declare function getSqlQueryAttributes(sqlQuery: string | undefined, dialect?: SqlDialect): SqlQueryAttributes;
|
|
64
|
+
/**
|
|
65
|
+
* Names a SQL span with a low-cardinality name: `db.query.summary`, falling back to `db.namespace`
|
|
66
|
+
* and then `db.system.name`. `fallback` is the integration's name for a span with none of those.
|
|
67
|
+
*
|
|
68
|
+
* New SQL integrations should name their spans with this regardless of span streaming.
|
|
69
|
+
*/
|
|
70
|
+
export declare function getLowCardinalitySqlSpanName(attributes: SpanAttributes, fallback: string): string;
|
|
44
71
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
72
|
+
* Names a SQL span from its attributes. Streamed span names have to be low cardinality (see
|
|
73
|
+
* {@link getLowCardinalitySqlSpanName}); otherwise the sanitized `db.query.text` is used, which
|
|
74
|
+
* existing integrations keep for spans that aren't streamed.
|
|
48
75
|
*/
|
|
49
|
-
export declare function
|
|
50
|
-
queryText: string | undefined;
|
|
51
|
-
querySummary: string | undefined;
|
|
52
|
-
};
|
|
76
|
+
export declare function getSqlSpanName(attributes: SpanAttributes, fallback: string): string;
|
|
53
77
|
//# sourceMappingURL=sql.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../../src/utils/sql.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../../src/utils/sql.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EAEd,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA0CnD;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAmDhF;AAKD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAQjF;AAyFD;;;;;;;;;GASG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAExD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAQxD;AAqJD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,UAAuB,GAAG,MAAM,CA2BvG;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,kBAAkB,CAO5G;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEjG;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAMnF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wraps a Node server's `emit` once, so requests to the tunnel `serveTunnelIntegration` serves are answered before
|
|
3
|
+
* any of the app's `request` listeners run. A listener for the `http.server.request.start` diagnostics channel, which
|
|
4
|
+
* Node publishes right before it emits each request, so even the first request is answered. Only without core's HTTP
|
|
5
|
+
* server instrumentation, whose own `emit` wrapper answers them otherwise.
|
|
6
|
+
*
|
|
7
|
+
* It never throws, since Node rethrows a channel listener's error as an uncaught exception.
|
|
8
|
+
*/
|
|
9
|
+
export declare function instrumentTunnelServer(message: unknown): void;
|
|
10
|
+
//# sourceMappingURL=tunnelServer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnelServer.d.ts","sourceRoot":"","sources":["../../../src/utils/tunnelServer.ts"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAqB7D"}
|
|
@@ -9,8 +9,8 @@ export interface ServerRequestHandlerConfig {
|
|
|
9
9
|
options: ServerRequestOptions<Request, Response> | undefined;
|
|
10
10
|
/** Origin of the span, e.g. `auto.http.deno`. */
|
|
11
11
|
origin: string;
|
|
12
|
-
/** Mechanism of errors that the handler or the response stream throws. */
|
|
13
|
-
mechanism
|
|
12
|
+
/** Mechanism of errors that the handler or the response stream throws. Omit to not capture them. */
|
|
13
|
+
mechanism?: Mechanism;
|
|
14
14
|
/** The address and port of the socket, if the runtime knows them. */
|
|
15
15
|
getSocketAddress?: () => {
|
|
16
16
|
address: string;
|
|
@@ -20,6 +20,13 @@ export interface ServerRequestHandlerConfig {
|
|
|
20
20
|
routeName?: string;
|
|
21
21
|
/** Span attributes that only the runtime knows, e.g. the route parameters. */
|
|
22
22
|
attributes?: SpanAttributes;
|
|
23
|
+
/** Whether the response streams. Return `undefined` to use the default classification. */
|
|
24
|
+
isStreamingResponse?: (response: Response) => boolean | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Called once when the request is done: when the response is returned, when a streamed body
|
|
27
|
+
* finishes, or when the handler throws (then without a response).
|
|
28
|
+
*/
|
|
29
|
+
onDone?: (response: Response | undefined) => void;
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* Wraps a handler of a web `Request`, as used by `Deno.serve`, `Bun.serve` and Cloudflare Workers.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapServerRequestHandler.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapServerRequestHandler.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"wrapServerRequestHandler.d.ts","sourceRoot":"","sources":["../../../src/utils/wrapServerRequestHandler.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAqB7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAWhE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,cAAc,EAAE,KAAK,CAAC;IACtB,sEAAsE;IACtE,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC;IAC7D,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,oGAAoG;IACpG,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACxE,yGAAyG;IACzG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,0FAA0F;IAC1F,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,GAAG,SAAS,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;CACnD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,SAAS,QAAQ,GAAG,SAAS,GAAG,QAAQ,EACtF,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAC5B,OAAO,CAAC,CAAC,CAAC,CAmNZ"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/server-utils",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.12.0",
|
|
4
4
|
"description": "Server Utilities for all Sentry JavaScript SDKs",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git://github.com/getsentry/sentry-javascript.git"
|
|
8
|
+
},
|
|
6
9
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
|
|
7
10
|
"author": "Sentry",
|
|
8
11
|
"license": "MIT",
|
|
@@ -27,6 +30,11 @@
|
|
|
27
30
|
"import": "./build/esm/index.no-diagnostic-channels.js",
|
|
28
31
|
"require": "./build/cjs/index.no-diagnostic-channels.js"
|
|
29
32
|
},
|
|
33
|
+
"./request-handler": {
|
|
34
|
+
"types": "./build/types/index.request-handler.d.ts",
|
|
35
|
+
"import": "./build/esm/index.request-handler.js",
|
|
36
|
+
"require": "./build/cjs/index.request-handler.js"
|
|
37
|
+
},
|
|
30
38
|
"./orchestrion/config": {
|
|
31
39
|
"types": "./build/types/orchestrion/config/index.d.ts",
|
|
32
40
|
"import": "./build/esm/orchestrion/config/index.js",
|
|
@@ -97,17 +105,31 @@
|
|
|
97
105
|
},
|
|
98
106
|
"dependencies": {
|
|
99
107
|
"@opentelemetry/api": "^1.9.1",
|
|
100
|
-
"@sentry/conventions": "^0.
|
|
101
|
-
"@sentry/core": "11.
|
|
108
|
+
"@sentry/conventions": "^0.32.0",
|
|
109
|
+
"@sentry/core": "11.12.0"
|
|
102
110
|
},
|
|
103
111
|
"devDependencies": {
|
|
104
|
-
"@apm-js-collab/code-transformer-bundler-plugins": "^0.7.
|
|
112
|
+
"@apm-js-collab/code-transformer-bundler-plugins": "^0.7.5",
|
|
105
113
|
"@neondatabase/serverless": "1.2.0",
|
|
106
|
-
"@sentry-internal/rollup-utils": "11.
|
|
114
|
+
"@sentry-internal/rollup-utils": "11.12.0",
|
|
107
115
|
"@types/node": "^20.19.0",
|
|
108
116
|
"meriyah": "^6.1.4",
|
|
109
|
-
"vite": "^8.3.
|
|
110
|
-
"webpack": "^5.
|
|
117
|
+
"vite": "^8.3.6",
|
|
118
|
+
"webpack": "^5.112.2"
|
|
119
|
+
},
|
|
120
|
+
"sideEffects": false,
|
|
121
|
+
"nx": {
|
|
122
|
+
"targets": {
|
|
123
|
+
"build:transpile": {
|
|
124
|
+
"outputs": [
|
|
125
|
+
"{projectRoot}/build/esm",
|
|
126
|
+
"{projectRoot}/build/cjs",
|
|
127
|
+
"{projectRoot}/build/npm/esm",
|
|
128
|
+
"{projectRoot}/build/npm/cjs",
|
|
129
|
+
"{projectRoot}/build/THIRD-PARTY-LICENSES.txt"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
111
133
|
},
|
|
112
134
|
"scripts": {
|
|
113
135
|
"build": "run-p build:transpile build:types",
|
|
@@ -117,8 +139,8 @@
|
|
|
117
139
|
"build:watch": "run-p build:transpile:watch",
|
|
118
140
|
"build:dev:watch": "run-p build:transpile:watch",
|
|
119
141
|
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
|
|
120
|
-
"build:tarball": "
|
|
121
|
-
"clean": "
|
|
142
|
+
"build:tarball": "pnpm pack",
|
|
143
|
+
"clean": "node ../../scripts/rm.mjs build coverage sentry-server-utils-*.tgz",
|
|
122
144
|
"lint:fix": "oxlint . --fix --type-aware",
|
|
123
145
|
"lint": "oxlint . --type-aware",
|
|
124
146
|
"lint:types": "oxlint src --type-aware --type-check",
|
|
@@ -127,19 +149,5 @@
|
|
|
127
149
|
"test": "vitest run",
|
|
128
150
|
"test:watch": "vitest --watch",
|
|
129
151
|
"yalc:publish": "yalc publish --push --sig"
|
|
130
|
-
},
|
|
131
|
-
"sideEffects": false,
|
|
132
|
-
"nx": {
|
|
133
|
-
"targets": {
|
|
134
|
-
"build:transpile": {
|
|
135
|
-
"outputs": [
|
|
136
|
-
"{projectRoot}/build/esm",
|
|
137
|
-
"{projectRoot}/build/cjs",
|
|
138
|
-
"{projectRoot}/build/npm/esm",
|
|
139
|
-
"{projectRoot}/build/npm/cjs",
|
|
140
|
-
"{projectRoot}/build/THIRD-PARTY-LICENSES.txt"
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
152
|
}
|
|
145
|
-
}
|
|
153
|
+
}
|