autotel 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +25 -0
  2. package/dist/{chunk-4LF6FV2V.js → chunk-H5YFU4SF.js} +3 -3
  3. package/dist/{chunk-4LF6FV2V.js.map → chunk-H5YFU4SF.js.map} +1 -1
  4. package/dist/{chunk-HBLWOI6P.js → chunk-HLAVN3JR.js} +3 -3
  5. package/dist/{chunk-HBLWOI6P.js.map → chunk-HLAVN3JR.js.map} +1 -1
  6. package/dist/{chunk-LMFPZHI4.cjs → chunk-IRJHH6PH.cjs} +5 -5
  7. package/dist/{chunk-LMFPZHI4.cjs.map → chunk-IRJHH6PH.cjs.map} +1 -1
  8. package/dist/{chunk-AY2SY3MO.cjs → chunk-K4UDKM3P.cjs} +5 -5
  9. package/dist/{chunk-AY2SY3MO.cjs.map → chunk-K4UDKM3P.cjs.map} +1 -1
  10. package/dist/{chunk-F3TNRW2P.js → chunk-S4S4AINO.js} +2 -2
  11. package/dist/{chunk-F3TNRW2P.js.map → chunk-S4S4AINO.js.map} +1 -1
  12. package/dist/{chunk-WSGAHSZQ.cjs → chunk-TY4NXDYR.cjs} +2 -2
  13. package/dist/{chunk-WSGAHSZQ.cjs.map → chunk-TY4NXDYR.cjs.map} +1 -1
  14. package/dist/{chunk-AAYCDHH6.cjs → chunk-XCFDXZF3.cjs} +7 -7
  15. package/dist/{chunk-AAYCDHH6.cjs.map → chunk-XCFDXZF3.cjs.map} +1 -1
  16. package/dist/{chunk-34X3TKHA.js → chunk-ZJ5E5OFB.js} +3 -3
  17. package/dist/{chunk-34X3TKHA.js.map → chunk-ZJ5E5OFB.js.map} +1 -1
  18. package/dist/decorators.cjs +1 -1
  19. package/dist/decorators.js +1 -1
  20. package/dist/functional.cjs +8 -8
  21. package/dist/functional.js +1 -1
  22. package/dist/index.cjs +21 -21
  23. package/dist/index.js +5 -5
  24. package/dist/messaging.cjs +5 -5
  25. package/dist/messaging.js +2 -2
  26. package/dist/semantic-helpers.cjs +6 -6
  27. package/dist/semantic-helpers.js +2 -2
  28. package/dist/webhook.cjs +2 -2
  29. package/dist/webhook.js +1 -1
  30. package/dist/workflow-distributed.cjs +3 -3
  31. package/dist/workflow-distributed.js +1 -1
  32. package/dist/workflow.cjs +6 -6
  33. package/dist/workflow.js +2 -2
  34. package/package.json +31 -31
  35. package/src/functional.ts +1 -4
package/dist/index.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7EQ4G4SI_cjs = require('./chunk-7EQ4G4SI.cjs');
4
- var chunkAY2SY3MO_cjs = require('./chunk-AY2SY3MO.cjs');
4
+ var chunkK4UDKM3P_cjs = require('./chunk-K4UDKM3P.cjs');
5
5
  var chunkDQ2SUROF_cjs = require('./chunk-DQ2SUROF.cjs');
6
6
  var chunk2ZKEORFN_cjs = require('./chunk-2ZKEORFN.cjs');
7
7
  var chunkESMHTKLJ_cjs = require('./chunk-ESMHTKLJ.cjs');
8
8
  var chunkT4B5LB6E_cjs = require('./chunk-T4B5LB6E.cjs');
9
- var chunkLMFPZHI4_cjs = require('./chunk-LMFPZHI4.cjs');
9
+ var chunkIRJHH6PH_cjs = require('./chunk-IRJHH6PH.cjs');
10
10
  var chunk4P6ZOARG_cjs = require('./chunk-4P6ZOARG.cjs');
11
11
  var chunkINJD3G4K_cjs = require('./chunk-INJD3G4K.cjs');
12
12
  var chunkTC5ZPWM4_cjs = require('./chunk-TC5ZPWM4.cjs');
13
13
  require('./chunk-YTXEZ4SD.cjs');
14
14
  var chunkWJH6IYU2_cjs = require('./chunk-WJH6IYU2.cjs');
15
- var chunkAAYCDHH6_cjs = require('./chunk-AAYCDHH6.cjs');
16
- var chunkWSGAHSZQ_cjs = require('./chunk-WSGAHSZQ.cjs');
15
+ var chunkXCFDXZF3_cjs = require('./chunk-XCFDXZF3.cjs');
16
+ var chunkTY4NXDYR_cjs = require('./chunk-TY4NXDYR.cjs');
17
17
  var chunkNCSMD3TK_cjs = require('./chunk-NCSMD3TK.cjs');
18
18
  var chunkDAZ7EGR4_cjs = require('./chunk-DAZ7EGR4.cjs');
19
19
  require('./chunk-NZ72VDNY.cjs');
@@ -55,7 +55,7 @@ var otelMethods = {
55
55
  setSpanContext: api.trace.setSpanContext
56
56
  };
57
57
  var trace2 = Object.assign(
58
- chunkWSGAHSZQ_cjs.trace,
58
+ chunkTY4NXDYR_cjs.trace,
59
59
  otelMethods
60
60
  );
61
61
 
@@ -608,19 +608,19 @@ Object.defineProperty(exports, "createDrainPipeline", {
608
608
  });
609
609
  Object.defineProperty(exports, "getCurrentWorkflowContext", {
610
610
  enumerable: true,
611
- get: function () { return chunkAY2SY3MO_cjs.getCurrentWorkflowContext; }
611
+ get: function () { return chunkK4UDKM3P_cjs.getCurrentWorkflowContext; }
612
612
  });
613
613
  Object.defineProperty(exports, "isInWorkflow", {
614
614
  enumerable: true,
615
- get: function () { return chunkAY2SY3MO_cjs.isInWorkflow; }
615
+ get: function () { return chunkK4UDKM3P_cjs.isInWorkflow; }
616
616
  });
617
617
  Object.defineProperty(exports, "traceStep", {
618
618
  enumerable: true,
619
- get: function () { return chunkAY2SY3MO_cjs.traceStep; }
619
+ get: function () { return chunkK4UDKM3P_cjs.traceStep; }
620
620
  });
621
621
  Object.defineProperty(exports, "traceWorkflow", {
622
622
  enumerable: true,
623
- get: function () { return chunkAY2SY3MO_cjs.traceWorkflow; }
623
+ get: function () { return chunkK4UDKM3P_cjs.traceWorkflow; }
624
624
  });
625
625
  Object.defineProperty(exports, "attrs", {
626
626
  enumerable: true,
@@ -712,11 +712,11 @@ Object.defineProperty(exports, "parseError", {
712
712
  });
713
713
  Object.defineProperty(exports, "traceConsumer", {
714
714
  enumerable: true,
715
- get: function () { return chunkLMFPZHI4_cjs.traceConsumer; }
715
+ get: function () { return chunkIRJHH6PH_cjs.traceConsumer; }
716
716
  });
717
717
  Object.defineProperty(exports, "traceProducer", {
718
718
  enumerable: true,
719
- get: function () { return chunkLMFPZHI4_cjs.traceProducer; }
719
+ get: function () { return chunkIRJHH6PH_cjs.traceProducer; }
720
720
  });
721
721
  Object.defineProperty(exports, "BusinessBaggage", {
722
722
  enumerable: true,
@@ -760,43 +760,43 @@ Object.defineProperty(exports, "getMeter", {
760
760
  });
761
761
  Object.defineProperty(exports, "traceDB", {
762
762
  enumerable: true,
763
- get: function () { return chunkAAYCDHH6_cjs.traceDB; }
763
+ get: function () { return chunkXCFDXZF3_cjs.traceDB; }
764
764
  });
765
765
  Object.defineProperty(exports, "traceHTTP", {
766
766
  enumerable: true,
767
- get: function () { return chunkAAYCDHH6_cjs.traceHTTP; }
767
+ get: function () { return chunkXCFDXZF3_cjs.traceHTTP; }
768
768
  });
769
769
  Object.defineProperty(exports, "traceLLM", {
770
770
  enumerable: true,
771
- get: function () { return chunkAAYCDHH6_cjs.traceLLM; }
771
+ get: function () { return chunkXCFDXZF3_cjs.traceLLM; }
772
772
  });
773
773
  Object.defineProperty(exports, "traceMessaging", {
774
774
  enumerable: true,
775
- get: function () { return chunkAAYCDHH6_cjs.traceMessaging; }
775
+ get: function () { return chunkXCFDXZF3_cjs.traceMessaging; }
776
776
  });
777
777
  Object.defineProperty(exports, "ctx", {
778
778
  enumerable: true,
779
- get: function () { return chunkWSGAHSZQ_cjs.ctx; }
779
+ get: function () { return chunkTY4NXDYR_cjs.ctx; }
780
780
  });
781
781
  Object.defineProperty(exports, "instrument", {
782
782
  enumerable: true,
783
- get: function () { return chunkWSGAHSZQ_cjs.instrument; }
783
+ get: function () { return chunkTY4NXDYR_cjs.instrument; }
784
784
  });
785
785
  Object.defineProperty(exports, "span", {
786
786
  enumerable: true,
787
- get: function () { return chunkWSGAHSZQ_cjs.span; }
787
+ get: function () { return chunkTY4NXDYR_cjs.span; }
788
788
  });
789
789
  Object.defineProperty(exports, "withBaggage", {
790
790
  enumerable: true,
791
- get: function () { return chunkWSGAHSZQ_cjs.withBaggage; }
791
+ get: function () { return chunkTY4NXDYR_cjs.withBaggage; }
792
792
  });
793
793
  Object.defineProperty(exports, "withNewContext", {
794
794
  enumerable: true,
795
- get: function () { return chunkWSGAHSZQ_cjs.withNewContext; }
795
+ get: function () { return chunkTY4NXDYR_cjs.withNewContext; }
796
796
  });
797
797
  Object.defineProperty(exports, "withTracing", {
798
798
  enumerable: true,
799
- get: function () { return chunkWSGAHSZQ_cjs.withTracing; }
799
+ get: function () { return chunkTY4NXDYR_cjs.withTracing; }
800
800
  });
801
801
  Object.defineProperty(exports, "createDeterministicTraceId", {
802
802
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  export { createDrainPipeline } from './chunk-KFOHQK7X.js';
2
- export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-4LF6FV2V.js';
2
+ export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-H5YFU4SF.js';
3
3
  export { attrs, autoRedactPII, dbClient, httpClient, httpServer, identify, mergeAttrs, mergeServiceResource, request, safeSetAttributes, setDevice, setError, setException, setSession, setUser, validateAttribute } from './chunk-DDXIUZEG.js';
4
4
  export { httpRequestHeaderAttribute, httpResponseHeaderAttribute } from './chunk-7552UTQW.js';
5
5
  export { HTTPAttributes, ServiceAttributes, URLAttributes } from './chunk-4A53YIAX.js';
6
6
  export { parseError } from './chunk-J7VGRIAJ.js';
7
- export { traceConsumer, traceProducer } from './chunk-34X3TKHA.js';
7
+ export { traceConsumer, traceProducer } from './chunk-ZJ5E5OFB.js';
8
8
  import { emitCorrelatedEvent } from './chunk-KIL5CUN6.js';
9
9
  export { BusinessBaggage, createSafeBaggageSchema } from './chunk-4IFSYQVX.js';
10
10
  import { resetMetrics } from './chunk-7SAWIN74.js';
11
11
  export { Metric, getMetrics, resetMetrics } from './chunk-7SAWIN74.js';
12
12
  import './chunk-5ZN622AO.js';
13
13
  export { createCounter, createHistogram, createObservableGauge, createUpDownCounter, getMeter } from './chunk-TQ5UWA7S.js';
14
- export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-HBLWOI6P.js';
15
- import { trace as trace$1 } from './chunk-F3TNRW2P.js';
16
- export { ctx, instrument, span, withBaggage, withNewContext, withTracing } from './chunk-F3TNRW2P.js';
14
+ export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-HLAVN3JR.js';
15
+ import { trace as trace$1 } from './chunk-S4S4AINO.js';
16
+ export { ctx, instrument, span, withBaggage, withNewContext, withTracing } from './chunk-S4S4AINO.js';
17
17
  export { createDeterministicTraceId, enrichWithTraceContext, finalizeSpan, flattenMetadata, getActiveContext, getActiveSpan, getTraceContext, getTracer, isTracing, resolveTraceUrl, runWithSpan } from './chunk-DSMSIVTG.js';
18
18
  import { resetEvents } from './chunk-OM4OSBOP.js';
19
19
  export { Event, getEvents, resetEvents } from './chunk-OM4OSBOP.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkLMFPZHI4_cjs = require('./chunk-LMFPZHI4.cjs');
3
+ var chunkIRJHH6PH_cjs = require('./chunk-IRJHH6PH.cjs');
4
4
  require('./chunk-4P6ZOARG.cjs');
5
- require('./chunk-WSGAHSZQ.cjs');
5
+ require('./chunk-TY4NXDYR.cjs');
6
6
  require('./chunk-NCSMD3TK.cjs');
7
7
  require('./chunk-VQTCQKHQ.cjs');
8
8
  require('./chunk-KKGM42RQ.cjs');
@@ -25,15 +25,15 @@ require('./chunk-JEQ2X3Z6.cjs');
25
25
 
26
26
  Object.defineProperty(exports, "clearOrderingState", {
27
27
  enumerable: true,
28
- get: function () { return chunkLMFPZHI4_cjs.clearOrderingState; }
28
+ get: function () { return chunkIRJHH6PH_cjs.clearOrderingState; }
29
29
  });
30
30
  Object.defineProperty(exports, "traceConsumer", {
31
31
  enumerable: true,
32
- get: function () { return chunkLMFPZHI4_cjs.traceConsumer; }
32
+ get: function () { return chunkIRJHH6PH_cjs.traceConsumer; }
33
33
  });
34
34
  Object.defineProperty(exports, "traceProducer", {
35
35
  enumerable: true,
36
- get: function () { return chunkLMFPZHI4_cjs.traceProducer; }
36
+ get: function () { return chunkIRJHH6PH_cjs.traceProducer; }
37
37
  });
38
38
  //# sourceMappingURL=messaging.cjs.map
39
39
  //# sourceMappingURL=messaging.cjs.map
package/dist/messaging.js CHANGED
@@ -1,6 +1,6 @@
1
- export { clearOrderingState, traceConsumer, traceProducer } from './chunk-34X3TKHA.js';
1
+ export { clearOrderingState, traceConsumer, traceProducer } from './chunk-ZJ5E5OFB.js';
2
2
  import './chunk-KIL5CUN6.js';
3
- import './chunk-F3TNRW2P.js';
3
+ import './chunk-S4S4AINO.js';
4
4
  import './chunk-DSMSIVTG.js';
5
5
  import './chunk-SEO6NAQT.js';
6
6
  import './chunk-Z7VAOK5X.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkAAYCDHH6_cjs = require('./chunk-AAYCDHH6.cjs');
4
- require('./chunk-WSGAHSZQ.cjs');
3
+ var chunkXCFDXZF3_cjs = require('./chunk-XCFDXZF3.cjs');
4
+ require('./chunk-TY4NXDYR.cjs');
5
5
  require('./chunk-NCSMD3TK.cjs');
6
6
  require('./chunk-VQTCQKHQ.cjs');
7
7
  require('./chunk-KKGM42RQ.cjs');
@@ -24,19 +24,19 @@ require('./chunk-JEQ2X3Z6.cjs');
24
24
 
25
25
  Object.defineProperty(exports, "traceDB", {
26
26
  enumerable: true,
27
- get: function () { return chunkAAYCDHH6_cjs.traceDB; }
27
+ get: function () { return chunkXCFDXZF3_cjs.traceDB; }
28
28
  });
29
29
  Object.defineProperty(exports, "traceHTTP", {
30
30
  enumerable: true,
31
- get: function () { return chunkAAYCDHH6_cjs.traceHTTP; }
31
+ get: function () { return chunkXCFDXZF3_cjs.traceHTTP; }
32
32
  });
33
33
  Object.defineProperty(exports, "traceLLM", {
34
34
  enumerable: true,
35
- get: function () { return chunkAAYCDHH6_cjs.traceLLM; }
35
+ get: function () { return chunkXCFDXZF3_cjs.traceLLM; }
36
36
  });
37
37
  Object.defineProperty(exports, "traceMessaging", {
38
38
  enumerable: true,
39
- get: function () { return chunkAAYCDHH6_cjs.traceMessaging; }
39
+ get: function () { return chunkXCFDXZF3_cjs.traceMessaging; }
40
40
  });
41
41
  //# sourceMappingURL=semantic-helpers.cjs.map
42
42
  //# sourceMappingURL=semantic-helpers.cjs.map
@@ -1,5 +1,5 @@
1
- export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-HBLWOI6P.js';
2
- import './chunk-F3TNRW2P.js';
1
+ export { traceDB, traceHTTP, traceLLM, traceMessaging } from './chunk-HLAVN3JR.js';
2
+ import './chunk-S4S4AINO.js';
3
3
  import './chunk-DSMSIVTG.js';
4
4
  import './chunk-SEO6NAQT.js';
5
5
  import './chunk-Z7VAOK5X.js';
package/dist/webhook.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk4P6ZOARG_cjs = require('./chunk-4P6ZOARG.cjs');
4
- var chunkWSGAHSZQ_cjs = require('./chunk-WSGAHSZQ.cjs');
4
+ var chunkTY4NXDYR_cjs = require('./chunk-TY4NXDYR.cjs');
5
5
  require('./chunk-NCSMD3TK.cjs');
6
6
  require('./chunk-VQTCQKHQ.cjs');
7
7
  var chunkKKGM42RQ_cjs = require('./chunk-KKGM42RQ.cjs');
@@ -158,7 +158,7 @@ function createParkingLot(config) {
158
158
  },
159
159
  traceCallback(callbackConfig) {
160
160
  return (fnFactory) => {
161
- return chunkWSGAHSZQ_cjs.trace(
161
+ return chunkTY4NXDYR_cjs.trace(
162
162
  {
163
163
  name: callbackConfig.name,
164
164
  spanKind: api.SpanKind.SERVER
package/dist/webhook.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { emitCorrelatedEvent } from './chunk-KIL5CUN6.js';
2
- import { trace } from './chunk-F3TNRW2P.js';
2
+ import { trace } from './chunk-S4S4AINO.js';
3
3
  import './chunk-DSMSIVTG.js';
4
4
  import './chunk-SEO6NAQT.js';
5
5
  import { recordStructuredError } from './chunk-Z7VAOK5X.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunk4P6ZOARG_cjs = require('./chunk-4P6ZOARG.cjs');
4
4
  var chunkINJD3G4K_cjs = require('./chunk-INJD3G4K.cjs');
5
- var chunkWSGAHSZQ_cjs = require('./chunk-WSGAHSZQ.cjs');
5
+ var chunkTY4NXDYR_cjs = require('./chunk-TY4NXDYR.cjs');
6
6
  require('./chunk-NCSMD3TK.cjs');
7
7
  require('./chunk-VQTCQKHQ.cjs');
8
8
  require('./chunk-KKGM42RQ.cjs');
@@ -59,7 +59,7 @@ var WorkflowBaggage = chunkINJD3G4K_cjs.createSafeBaggageSchema(workflowBaggageF
59
59
  function traceDistributedWorkflow(config) {
60
60
  const spanName = `workflow.${config.name}`;
61
61
  return (fnFactory) => {
62
- return chunkWSGAHSZQ_cjs.trace(
62
+ return chunkTY4NXDYR_cjs.trace(
63
63
  { name: spanName, spanKind: api.SpanKind.INTERNAL },
64
64
  (baseCtx) => {
65
65
  return async (...args) => {
@@ -158,7 +158,7 @@ function traceDistributedWorkflow(config) {
158
158
  function traceDistributedStep(config) {
159
159
  const spanName = `workflow.step.${config.name}`;
160
160
  return (fnFactory) => {
161
- return chunkWSGAHSZQ_cjs.trace(
161
+ return chunkTY4NXDYR_cjs.trace(
162
162
  { name: spanName, spanKind: api.SpanKind.INTERNAL },
163
163
  (baseCtx) => {
164
164
  return async (...args) => {
@@ -1,6 +1,6 @@
1
1
  import { emitCorrelatedEvent } from './chunk-KIL5CUN6.js';
2
2
  import { createSafeBaggageSchema } from './chunk-4IFSYQVX.js';
3
- import { trace } from './chunk-F3TNRW2P.js';
3
+ import { trace } from './chunk-S4S4AINO.js';
4
4
  import './chunk-DSMSIVTG.js';
5
5
  import './chunk-SEO6NAQT.js';
6
6
  import './chunk-Z7VAOK5X.js';
package/dist/workflow.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkAY2SY3MO_cjs = require('./chunk-AY2SY3MO.cjs');
3
+ var chunkK4UDKM3P_cjs = require('./chunk-K4UDKM3P.cjs');
4
4
  require('./chunk-4P6ZOARG.cjs');
5
- require('./chunk-WSGAHSZQ.cjs');
5
+ require('./chunk-TY4NXDYR.cjs');
6
6
  require('./chunk-NCSMD3TK.cjs');
7
7
  require('./chunk-VQTCQKHQ.cjs');
8
8
  require('./chunk-KKGM42RQ.cjs');
@@ -25,19 +25,19 @@ require('./chunk-JEQ2X3Z6.cjs');
25
25
 
26
26
  Object.defineProperty(exports, "getCurrentWorkflowContext", {
27
27
  enumerable: true,
28
- get: function () { return chunkAY2SY3MO_cjs.getCurrentWorkflowContext; }
28
+ get: function () { return chunkK4UDKM3P_cjs.getCurrentWorkflowContext; }
29
29
  });
30
30
  Object.defineProperty(exports, "isInWorkflow", {
31
31
  enumerable: true,
32
- get: function () { return chunkAY2SY3MO_cjs.isInWorkflow; }
32
+ get: function () { return chunkK4UDKM3P_cjs.isInWorkflow; }
33
33
  });
34
34
  Object.defineProperty(exports, "traceStep", {
35
35
  enumerable: true,
36
- get: function () { return chunkAY2SY3MO_cjs.traceStep; }
36
+ get: function () { return chunkK4UDKM3P_cjs.traceStep; }
37
37
  });
38
38
  Object.defineProperty(exports, "traceWorkflow", {
39
39
  enumerable: true,
40
- get: function () { return chunkAY2SY3MO_cjs.traceWorkflow; }
40
+ get: function () { return chunkK4UDKM3P_cjs.traceWorkflow; }
41
41
  });
42
42
  //# sourceMappingURL=workflow.cjs.map
43
43
  //# sourceMappingURL=workflow.cjs.map
package/dist/workflow.js CHANGED
@@ -1,6 +1,6 @@
1
- export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-4LF6FV2V.js';
1
+ export { getCurrentWorkflowContext, isInWorkflow, traceStep, traceWorkflow } from './chunk-H5YFU4SF.js';
2
2
  import './chunk-KIL5CUN6.js';
3
- import './chunk-F3TNRW2P.js';
3
+ import './chunk-S4S4AINO.js';
4
4
  import './chunk-DSMSIVTG.js';
5
5
  import './chunk-SEO6NAQT.js';
6
6
  import './chunk-Z7VAOK5X.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "Write Once, Observe Anywhere",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -251,32 +251,32 @@
251
251
  "license": "MIT",
252
252
  "dependencies": {
253
253
  "@opentelemetry/api": "^1.9.1",
254
- "@opentelemetry/api-logs": "^0.216.0",
255
- "@opentelemetry/exporter-logs-otlp-http": "^0.216.0",
256
- "@opentelemetry/exporter-metrics-otlp-http": "^0.216.0",
257
- "@opentelemetry/exporter-trace-otlp-http": "^0.216.0",
258
- "@opentelemetry/instrumentation": "^0.216.0",
254
+ "@opentelemetry/api-logs": "^0.218.0",
255
+ "@opentelemetry/exporter-logs-otlp-http": "^0.218.0",
256
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.218.0",
257
+ "@opentelemetry/exporter-trace-otlp-http": "^0.218.0",
258
+ "@opentelemetry/instrumentation": "^0.218.0",
259
259
  "@opentelemetry/resources": "^2.7.1",
260
- "@opentelemetry/sdk-logs": "^0.216.0",
260
+ "@opentelemetry/sdk-logs": "^0.218.0",
261
261
  "@opentelemetry/sdk-metrics": "^2.7.1",
262
- "@opentelemetry/sdk-node": "^0.216.0",
262
+ "@opentelemetry/sdk-node": "^0.218.0",
263
263
  "@opentelemetry/sdk-trace-base": "^2.7.1",
264
- "@opentelemetry/semantic-conventions": "^1.40.0",
264
+ "@opentelemetry/semantic-conventions": "^1.41.1",
265
265
  "import-in-the-middle": "^3.0.1"
266
266
  },
267
267
  "peerDependencies": {
268
- "@opentelemetry/auto-instrumentations-node": "^0.74.0",
269
- "@opentelemetry/exporter-logs-otlp-grpc": "^0.216.0",
270
- "@opentelemetry/exporter-metrics-otlp-grpc": "^0.216.0",
271
- "@opentelemetry/exporter-trace-otlp-grpc": "^0.216.0",
272
- "@opentelemetry/resource-detector-aws": "^2.16.0",
273
- "@opentelemetry/resource-detector-container": "^0.8.7",
274
- "@opentelemetry/resource-detector-gcp": "^0.51.0",
268
+ "@opentelemetry/auto-instrumentations-node": "^0.76.0",
269
+ "@opentelemetry/exporter-logs-otlp-grpc": "^0.218.0",
270
+ "@opentelemetry/exporter-metrics-otlp-grpc": "^0.218.0",
271
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.218.0",
272
+ "@opentelemetry/resource-detector-aws": "^2.18.0",
273
+ "@opentelemetry/resource-detector-container": "^0.8.9",
274
+ "@opentelemetry/resource-detector-gcp": "^0.53.0",
275
275
  "@opentelemetry/sdk-trace-node": "^2.7.1",
276
276
  "@traceloop/node-server-sdk": "^0.26.0",
277
277
  "pino": "^10.3.1",
278
278
  "pino-pretty": "^13.1.3",
279
- "yaml": "^2.8.4"
279
+ "yaml": "^2.9.0"
280
280
  },
281
281
  "peerDependenciesMeta": {
282
282
  "@opentelemetry/auto-instrumentations-node": {
@@ -319,22 +319,22 @@
319
319
  "devDependencies": {
320
320
  "@arethetypeswrong/cli": "^0.18.2",
321
321
  "@edge-runtime/vm": "^5.0.0",
322
- "@opentelemetry/auto-instrumentations-node": "^0.74.0",
322
+ "@opentelemetry/auto-instrumentations-node": "^0.76.0",
323
323
  "@opentelemetry/context-async-hooks": "^2.7.1",
324
- "@opentelemetry/exporter-logs-otlp-grpc": "^0.216.0",
325
- "@opentelemetry/exporter-metrics-otlp-grpc": "^0.216.0",
326
- "@opentelemetry/exporter-trace-otlp-grpc": "^0.216.0",
327
- "@opentelemetry/resource-detector-aws": "^2.16.0",
328
- "@opentelemetry/resource-detector-container": "^0.8.7",
329
- "@opentelemetry/resource-detector-gcp": "^0.51.0",
324
+ "@opentelemetry/exporter-logs-otlp-grpc": "^0.218.0",
325
+ "@opentelemetry/exporter-metrics-otlp-grpc": "^0.218.0",
326
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.218.0",
327
+ "@opentelemetry/resource-detector-aws": "^2.18.0",
328
+ "@opentelemetry/resource-detector-container": "^0.8.9",
329
+ "@opentelemetry/resource-detector-gcp": "^0.53.0",
330
330
  "@opentelemetry/sdk-trace-node": "^2.7.1",
331
- "@swc/core": "^1.15.32",
331
+ "@swc/core": "^1.15.33",
332
332
  "@total-typescript/ts-reset": "^0.6.1",
333
333
  "@total-typescript/tsconfig": "^1.0.4",
334
334
  "@types/eslint-config-prettier": "^6.11.3",
335
- "@types/node": "^25.6.0",
336
- "@typescript-eslint/eslint-plugin": "^8.59.1",
337
- "@typescript-eslint/parser": "^8.59.1",
335
+ "@types/node": "^25.7.0",
336
+ "@typescript-eslint/eslint-plugin": "^8.59.3",
337
+ "@typescript-eslint/parser": "^8.59.3",
338
338
  "eslint-config-prettier": "^10.1.8",
339
339
  "eslint-plugin-unicorn": "^64.0.0",
340
340
  "pino": "^10.3.1",
@@ -343,13 +343,13 @@
343
343
  "tsup": "^8.5.1",
344
344
  "tsx": "^4.21.0",
345
345
  "typescript": "^6.0.3",
346
- "typescript-eslint": "^8.59.1",
346
+ "typescript-eslint": "^8.59.3",
347
347
  "unplugin-swc": "^1.5.9",
348
348
  "vite-tsconfig-paths": "^6.1.1",
349
- "vitest": "^4.1.5",
349
+ "vitest": "^4.1.6",
350
350
  "vitest-mock-extended": "^4.0.0",
351
351
  "winston": "^3.19.0",
352
- "yaml": "^2.8.4"
352
+ "yaml": "^2.9.0"
353
353
  },
354
354
  "repository": {
355
355
  "type": "git",
package/src/functional.ts CHANGED
@@ -2151,10 +2151,7 @@ export interface SpanOptions {
2151
2151
  // Overloads — sync first (more specific match), then async.
2152
2152
  // Each shape is offered with a string name OR a full SpanOptions object so
2153
2153
  // span() aligns with trace()'s argument flexibility.
2154
- export function span<T = unknown>(
2155
- name: string,
2156
- fn: (span: Span) => T,
2157
- ): T;
2154
+ export function span<T = unknown>(name: string, fn: (span: Span) => T): T;
2158
2155
  export function span<T = unknown>(
2159
2156
  name: string,
2160
2157
  fn: (span: Span) => Promise<T>,