autotel 6.2.0 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/auto.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
2
- const require_init = require('./init-CzNFWUd8.cjs');
2
+ const require_init = require('./init-BzVuFs5a.cjs');
3
3
  const require_yaml_config = require('./yaml-config.cjs');
4
4
  let node_module = require("node:module");
5
5
  node_module = require_rolldown_runtime.__toESM(node_module, 1);
package/dist/auto.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as init } from "./init-DDkh2brw.js";
1
+ import { i as init } from "./init-Bu6wR-k_.js";
2
2
  import { loadYamlConfig } from "./yaml-config.js";
3
3
  import * as nodeModule from "node:module";
4
4
  import { createAddHookMessageChannel } from "import-in-the-middle";
package/dist/config.cjs CHANGED
@@ -36,6 +36,8 @@ const FEATURE_FLAGS = {
36
36
  * Internal configuration state
37
37
  */
38
38
  var Config = class {
39
+ /** Set when a caller passes a Meter instance, which then wins over the name. */
40
+ customMeter = false;
39
41
  config = {
40
42
  tracerName: "app",
41
43
  meterName: "app",
@@ -61,18 +63,23 @@ var Config = class {
61
63
  this.config.meter = _opentelemetry_api.metrics.getMeter(options.meterName);
62
64
  }
63
65
  if (options.tracer) this.config.tracer = options.tracer;
64
- if (options.meter) this.config.meter = options.meter;
66
+ if (options.meter) {
67
+ this.config.meter = options.meter;
68
+ this.customMeter = true;
69
+ }
65
70
  }
66
71
  /**
67
72
  * Get current configuration
68
73
  */
69
74
  get() {
75
+ if (!this.customMeter) this.config.meter = _opentelemetry_api.metrics.getMeter(this.config.meterName);
70
76
  return this.config;
71
77
  }
72
78
  /**
73
79
  * Reset to defaults (mainly for testing)
74
80
  */
75
81
  reset() {
82
+ this.customMeter = false;
76
83
  this.config = {
77
84
  tracerName: "app",
78
85
  meterName: "app",
package/dist/config.js CHANGED
@@ -35,6 +35,8 @@ const FEATURE_FLAGS = {
35
35
  * Internal configuration state
36
36
  */
37
37
  var Config = class {
38
+ /** Set when a caller passes a Meter instance, which then wins over the name. */
39
+ customMeter = false;
38
40
  config = {
39
41
  tracerName: "app",
40
42
  meterName: "app",
@@ -60,18 +62,23 @@ var Config = class {
60
62
  this.config.meter = metrics.getMeter(options.meterName);
61
63
  }
62
64
  if (options.tracer) this.config.tracer = options.tracer;
63
- if (options.meter) this.config.meter = options.meter;
65
+ if (options.meter) {
66
+ this.config.meter = options.meter;
67
+ this.customMeter = true;
68
+ }
64
69
  }
65
70
  /**
66
71
  * Get current configuration
67
72
  */
68
73
  get() {
74
+ if (!this.customMeter) this.config.meter = metrics.getMeter(this.config.meterName);
69
75
  return this.config;
70
76
  }
71
77
  /**
72
78
  * Reset to defaults (mainly for testing)
73
79
  */
74
80
  reset() {
81
+ this.customMeter = false;
75
82
  this.config = {
76
83
  tracerName: "app",
77
84
  meterName: "app",
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_init = require('./init-CzNFWUd8.cjs');
2
+ const require_init = require('./init-BzVuFs5a.cjs');
3
3
 
4
4
  exports.CORRELATION_ID_BAGGAGE_KEY = require_init.CORRELATION_ID_BAGGAGE_KEY;
5
5
  exports.generateCorrelationId = require_init.generateCorrelationId;
@@ -1,3 +1,3 @@
1
- import { C as setCorrelationId, S as runWithCorrelationId, _ as CORRELATION_ID_BAGGAGE_KEY, b as getCorrelationStorage, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-DDkh2brw.js";
1
+ import { C as setCorrelationId, S as runWithCorrelationId, _ as CORRELATION_ID_BAGGAGE_KEY, b as getCorrelationStorage, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-Bu6wR-k_.js";
2
2
 
3
3
  export { CORRELATION_ID_BAGGAGE_KEY, generateCorrelationId, getCorrelationId, getCorrelationStorage, getOrCreateCorrelationId, runWithCorrelationId, setCorrelationId, setCorrelationIdInBaggage };
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_config = require('./config.cjs');
3
- const require_init = require('./init-CzNFWUd8.cjs');
3
+ const require_init = require('./init-BzVuFs5a.cjs');
4
4
  let _opentelemetry_api = require("@opentelemetry/api");
5
5
 
6
6
  //#region src/decorators.ts
@@ -1,5 +1,5 @@
1
1
  import { getConfig } from "./config.js";
2
- import { T as createTraceContext } from "./init-DDkh2brw.js";
2
+ import { T as createTraceContext } from "./init-Bu6wR-k_.js";
3
3
  import { SpanStatusCode } from "@opentelemetry/api";
4
4
 
5
5
  //#region src/decorators.ts
package/dist/event.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_init = require('./init-CzNFWUd8.cjs');
2
+ const require_init = require('./init-BzVuFs5a.cjs');
3
3
 
4
4
  exports.Event = require_init.Event;
5
5
  exports.getEvents = require_init.getEvents;
package/dist/event.js CHANGED
@@ -1,3 +1,3 @@
1
- import { d as getEvents, f as resetEvents, u as Event } from "./init-DDkh2brw.js";
1
+ import { d as getEvents, f as resetEvents, u as Event } from "./init-Bu6wR-k_.js";
2
2
 
3
3
  export { Event, getEvents, resetEvents };
@@ -1,7 +1,7 @@
1
1
  import { getForceFlushableProvider } from "./tracer-provider.js";
2
2
  import { getConfig } from "./config.js";
3
3
  import { AUTOTEL_SAMPLING_RATE, AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AlwaysSampler } from "./sampling.js";
4
- import { D as getActiveContextWithBaggage, O as getContextStorage, T as createTraceContext, h as getEventQueue, m as runInOperationContext, r as getSdk, t as getConfig$1 } from "./init-DDkh2brw.js";
4
+ import { D as getActiveContextWithBaggage, O as getContextStorage, T as createTraceContext, h as getEventQueue, m as runInOperationContext, r as getSdk, t as getConfig$1 } from "./init-Bu6wR-k_.js";
5
5
  import { setSpanName } from "./trace-helpers.js";
6
6
  import { SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
7
7
  import * as nodeFs from "node:fs";
@@ -2,7 +2,7 @@ const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
2
2
  const require_tracer_provider = require('./tracer-provider.cjs');
3
3
  const require_config = require('./config.cjs');
4
4
  const require_sampling = require('./sampling.cjs');
5
- const require_init = require('./init-CzNFWUd8.cjs');
5
+ const require_init = require('./init-BzVuFs5a.cjs');
6
6
  const require_trace_helpers = require('./trace-helpers.cjs');
7
7
  let _opentelemetry_api = require("@opentelemetry/api");
8
8
  let node_fs = require("node:fs");
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_functional = require('./functional-D545J0Ba.cjs');
2
+ const require_functional = require('./functional-CogDARqC.cjs');
3
3
 
4
4
  exports.ctx = require_functional.ctx;
5
5
  exports.getActiveTraceContext = require_functional.getActiveTraceContext;
@@ -1,3 +1,3 @@
1
- import { a as trace, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-DYAZiYxr.js";
1
+ import { a as trace, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-2AZsH_gQ.js";
2
2
 
3
3
  export { ctx, getActiveTraceContext, instrument, span, trace, withBaggage, withNewContext, withTracing };
package/dist/http.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_config = require('./config.cjs');
3
- const require_init = require('./init-CzNFWUd8.cjs');
3
+ const require_init = require('./init-BzVuFs5a.cjs');
4
4
  let _opentelemetry_api = require("@opentelemetry/api");
5
5
 
6
6
  //#region src/http.ts
package/dist/http.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getConfig } from "./config.js";
2
- import { D as getActiveContextWithBaggage } from "./init-DDkh2brw.js";
2
+ import { D as getActiveContextWithBaggage } from "./init-Bu6wR-k_.js";
3
3
  import { SpanStatusCode, context, propagation } from "@opentelemetry/api";
4
4
 
5
5
  //#region src/http.ts
package/dist/index.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
3
3
  const require_tracer_provider = require('./tracer-provider.cjs');
4
4
  const require_sampling = require('./sampling.cjs');
5
- const require_init = require('./init-CzNFWUd8.cjs');
5
+ const require_init = require('./init-BzVuFs5a.cjs');
6
6
  const require_filtering_span_processor = require('./filtering-span-processor.cjs');
7
7
  const require_span_name_normalizer = require('./span-name-normalizer.cjs');
8
8
  const require_attribute_redacting_processor = require('./attribute-redacting-processor.cjs');
@@ -10,7 +10,7 @@ const require_canonical_log_line_processor = require('./canonical-log-line-proce
10
10
  const require_structured_error = require('./structured-error-CHg7DoIQ.cjs');
11
11
  const require_metric = require('./metric.cjs');
12
12
  const require_trace_helpers = require('./trace-helpers.cjs');
13
- const require_functional = require('./functional-D545J0Ba.cjs');
13
+ const require_functional = require('./functional-CogDARqC.cjs');
14
14
  const require_stable_hash = require('./stable-hash-CS9BxvVQ.cjs');
15
15
  const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
16
16
  const require_parse_error = require('./parse-error.cjs');
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getAutotelTracer, getAutotelTracerProvider, setAutotelTracerProvider } from "./tracer-provider.js";
2
2
  import { AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, extractLinksFromBatch, resolveSamplingPreset, samplingPresets } from "./sampling.js";
3
- import { A as BaggageSpanProcessor, C as setCorrelationId, E as defineBaggageSchema, S as runWithCorrelationId, T as createTraceContext, _ as CORRELATION_ID_BAGGAGE_KEY, a as isInitialized, c as flush, d as getEvents, f as resetEvents, g as track, h as getEventQueue, i as init, k as createStringRedactor, l as shutdown, m as runInOperationContext, o as isLoggerLocked, p as getOperationContext, s as lockLogger, u as Event, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-DDkh2brw.js";
3
+ import { A as BaggageSpanProcessor, C as setCorrelationId, E as defineBaggageSchema, S as runWithCorrelationId, T as createTraceContext, _ as CORRELATION_ID_BAGGAGE_KEY, a as isInitialized, c as flush, d as getEvents, f as resetEvents, g as track, h as getEventQueue, i as init, k as createStringRedactor, l as shutdown, m as runInOperationContext, o as isLoggerLocked, p as getOperationContext, s as lockLogger, u as Event, v as generateCorrelationId, w as setCorrelationIdInBaggage, x as getOrCreateCorrelationId, y as getCorrelationId } from "./init-Bu6wR-k_.js";
4
4
  import { FilteringSpanProcessor } from "./filtering-span-processor.js";
5
5
  import { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizingProcessor } from "./span-name-normalizer.js";
6
6
  import { AttributeRedactingProcessor, REDACTOR_PATTERNS, REDACTOR_PRESETS, builtinPatterns, createAttributeRedactor, createRedactedSpan, normalizeAttributeRedactorConfig } from "./attribute-redacting-processor.js";
@@ -8,7 +8,7 @@ import { n as formatDuration } from "./canonical-log-line-processor-mKABvGP0.js"
8
8
  import { a as flattenToAttributes, i as structuredErrorToJSON, n as getStructuredErrorAttributes, o as toAttributeValue, r as recordStructuredError, t as createStructuredError } from "./structured-error-9--cxBay.js";
9
9
  import { Metric, getMetrics, resetMetrics } from "./metric.js";
10
10
  import { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from "./trace-helpers.js";
11
- import { a as trace$2, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-DYAZiYxr.js";
11
+ import { a as trace$2, c as withTracing, i as span, n as getActiveTraceContext, o as withBaggage, r as instrument, s as withNewContext, t as ctx } from "./functional-2AZsH_gQ.js";
12
12
  import { t as hashJson } from "./stable-hash-ChFBIhNt.js";
13
13
  import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
14
14
  import { parseError } from "./parse-error.js";
@@ -2698,6 +2698,17 @@ function resolveAttributeRedactor(explicit, environment) {
2698
2698
  }
2699
2699
  return environment === "production" ? "default" : void 0;
2700
2700
  }
2701
+ /**
2702
+ * Read a duration-in-milliseconds environment variable, ignoring anything that
2703
+ * is not a positive number so a typo falls back to the SDK default rather than
2704
+ * throwing at startup.
2705
+ */
2706
+ function readMillisEnv(name) {
2707
+ const raw = process.env[name]?.trim();
2708
+ if (!raw) return void 0;
2709
+ const value = Number(raw);
2710
+ return Number.isFinite(value) && value > 0 ? value : void 0;
2711
+ }
2701
2712
  function detectEnvironmentAttributes() {
2702
2713
  const attrs = {};
2703
2714
  const commitSha = process.env.COMMIT_SHA || process.env.GITHUB_SHA || process.env.VERCEL_GIT_COMMIT_SHA || process.env.CF_PAGES_COMMIT_SHA || process.env.AWS_CODEPIPELINE_EXECUTION_ID;
@@ -2953,7 +2964,13 @@ function init(cfg) {
2953
2964
  url: formatEndpointUrl(destination.endpoint, "metrics", destination.protocol),
2954
2965
  headers: destination.headers
2955
2966
  });
2956
- metricReaders.push(new PeriodicExportingMetricReader({ exporter: metricExporter }));
2967
+ const exportIntervalMillis = readMillisEnv("OTEL_METRIC_EXPORT_INTERVAL");
2968
+ const exportTimeoutMillis = readMillisEnv("OTEL_METRIC_EXPORT_TIMEOUT");
2969
+ metricReaders.push(new PeriodicExportingMetricReader({
2970
+ exporter: metricExporter,
2971
+ ...exportIntervalMillis === void 0 ? {} : { exportIntervalMillis },
2972
+ ...exportTimeoutMillis === void 0 ? {} : { exportTimeoutMillis }
2973
+ }));
2957
2974
  }
2958
2975
  let logRecordProcessors;
2959
2976
  if (configuredLogRecordProcessors && configuredLogRecordProcessors.length > 0) logRecordProcessors = [...configuredLogRecordProcessors];
@@ -2700,6 +2700,17 @@ function resolveAttributeRedactor(explicit, environment) {
2700
2700
  }
2701
2701
  return environment === "production" ? "default" : void 0;
2702
2702
  }
2703
+ /**
2704
+ * Read a duration-in-milliseconds environment variable, ignoring anything that
2705
+ * is not a positive number so a typo falls back to the SDK default rather than
2706
+ * throwing at startup.
2707
+ */
2708
+ function readMillisEnv(name) {
2709
+ const raw = process.env[name]?.trim();
2710
+ if (!raw) return void 0;
2711
+ const value = Number(raw);
2712
+ return Number.isFinite(value) && value > 0 ? value : void 0;
2713
+ }
2703
2714
  function detectEnvironmentAttributes() {
2704
2715
  const attrs = {};
2705
2716
  const commitSha = process.env.COMMIT_SHA || process.env.GITHUB_SHA || process.env.VERCEL_GIT_COMMIT_SHA || process.env.CF_PAGES_COMMIT_SHA || process.env.AWS_CODEPIPELINE_EXECUTION_ID;
@@ -2955,7 +2966,13 @@ function init(cfg) {
2955
2966
  url: formatEndpointUrl(destination.endpoint, "metrics", destination.protocol),
2956
2967
  headers: destination.headers
2957
2968
  });
2958
- metricReaders.push(new _opentelemetry_sdk_metrics.PeriodicExportingMetricReader({ exporter: metricExporter }));
2969
+ const exportIntervalMillis = readMillisEnv("OTEL_METRIC_EXPORT_INTERVAL");
2970
+ const exportTimeoutMillis = readMillisEnv("OTEL_METRIC_EXPORT_TIMEOUT");
2971
+ metricReaders.push(new _opentelemetry_sdk_metrics.PeriodicExportingMetricReader({
2972
+ exporter: metricExporter,
2973
+ ...exportIntervalMillis === void 0 ? {} : { exportIntervalMillis },
2974
+ ...exportTimeoutMillis === void 0 ? {} : { exportTimeoutMillis }
2975
+ }));
2959
2976
  }
2960
2977
  let logRecordProcessors;
2961
2978
  if (configuredLogRecordProcessors && configuredLogRecordProcessors.length > 0) logRecordProcessors = [...configuredLogRecordProcessors];
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_node_require = require('./node-require-PFqDihze.cjs');
3
- const require_init = require('./init-CzNFWUd8.cjs');
3
+ const require_init = require('./init-BzVuFs5a.cjs');
4
4
  const require_tail_sampling_processor = require('./tail-sampling-processor.cjs');
5
5
  let _opentelemetry_sdk_node = require("@opentelemetry/sdk-node");
6
6
  let _opentelemetry_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
@@ -1,5 +1,5 @@
1
1
  import { n as safeRequire, t as requireModule } from "./node-require-vROmTeJ8.js";
2
- import { n as getLogger } from "./init-DDkh2brw.js";
2
+ import { n as getLogger } from "./init-Bu6wR-k_.js";
3
3
  import { TailSamplingSpanProcessor } from "./tail-sampling-processor.js";
4
4
  import { NodeSDK } from "@opentelemetry/sdk-node";
5
5
  import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_sampling = require('./sampling.cjs');
3
- const require_functional = require('./functional-D545J0Ba.cjs');
3
+ const require_functional = require('./functional-CogDARqC.cjs');
4
4
  const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
5
5
  const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
6
6
  let _opentelemetry_api = require("@opentelemetry/api");
package/dist/messaging.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createLinkFromHeaders, extractLinksFromBatch } from "./sampling.js";
2
- import { c as withTracing } from "./functional-DYAZiYxr.js";
2
+ import { c as withTracing } from "./functional-2AZsH_gQ.js";
3
3
  import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
4
4
  import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
5
5
  import { SpanKind, context, propagation } from "@opentelemetry/api";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_functional = require('./functional-D545J0Ba.cjs');
2
+ const require_functional = require('./functional-CogDARqC.cjs');
3
3
  const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
4
4
  let _opentelemetry_api = require("@opentelemetry/api");
5
5
 
@@ -1,4 +1,4 @@
1
- import { c as withTracing } from "./functional-DYAZiYxr.js";
1
+ import { c as withTracing } from "./functional-2AZsH_gQ.js";
2
2
  import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
3
3
  import { SpanKind } from "@opentelemetry/api";
4
4
 
package/dist/webhook.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_structured_error = require('./structured-error-CHg7DoIQ.cjs');
3
- const require_functional = require('./functional-D545J0Ba.cjs');
3
+ const require_functional = require('./functional-CogDARqC.cjs');
4
4
  const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
5
5
  let _opentelemetry_api = require("@opentelemetry/api");
6
6
 
package/dist/webhook.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as recordStructuredError } from "./structured-error-9--cxBay.js";
2
- import { c as withTracing } from "./functional-DYAZiYxr.js";
2
+ import { c as withTracing } from "./functional-2AZsH_gQ.js";
3
3
  import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
4
4
  import { SpanKind, trace } from "@opentelemetry/api";
5
5
 
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_functional = require('./functional-D545J0Ba.cjs');
2
+ const require_functional = require('./functional-CogDARqC.cjs');
3
3
  const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
4
4
  const require_business_baggage = require('./business-baggage.cjs');
5
5
  let _opentelemetry_api = require("@opentelemetry/api");
@@ -1,4 +1,4 @@
1
- import { c as withTracing } from "./functional-DYAZiYxr.js";
1
+ import { c as withTracing } from "./functional-2AZsH_gQ.js";
2
2
  import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
3
3
  import { createSafeBaggageSchema } from "./business-baggage.js";
4
4
  import { SpanKind, context, propagation } from "@opentelemetry/api";
package/dist/workflow.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
3
3
  const require_trace_helpers = require('./trace-helpers.cjs');
4
- const require_functional = require('./functional-D545J0Ba.cjs');
4
+ const require_functional = require('./functional-CogDARqC.cjs');
5
5
  const require_correlated_events = require('./correlated-events-kSwLo3mi.cjs');
6
6
  const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
7
7
  let node_async_hooks = require("node:async_hooks");
package/dist/workflow.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getActiveSpan } from "./trace-helpers.js";
2
- import { c as withTracing } from "./functional-DYAZiYxr.js";
2
+ import { c as withTracing } from "./functional-2AZsH_gQ.js";
3
3
  import { t as emitCorrelatedEvent } from "./correlated-events-Bzh5y-UB.js";
4
4
  import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
5
5
  import * as nodeAsyncHooks from "node:async_hooks";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "Write Once, Observe Anywhere",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",