autotel 3.5.0 → 3.6.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.
Files changed (92) hide show
  1. package/dist/{chunk-O4JZUCUE.js → chunk-66YJ66GG.js} +5 -158
  2. package/dist/chunk-66YJ66GG.js.map +1 -0
  3. package/dist/{chunk-Z6HRSM2Y.cjs → chunk-B7SWBE4P.cjs} +5 -5
  4. package/dist/{chunk-Z6HRSM2Y.cjs.map → chunk-B7SWBE4P.cjs.map} +1 -1
  5. package/dist/{chunk-DQEHQNQE.js → chunk-D4TM63S3.js} +3 -3
  6. package/dist/{chunk-DQEHQNQE.js.map → chunk-D4TM63S3.js.map} +1 -1
  7. package/dist/chunk-DCEDJQGG.js +28 -0
  8. package/dist/chunk-DCEDJQGG.js.map +1 -0
  9. package/dist/chunk-E6TERL5O.cjs +23 -0
  10. package/dist/chunk-E6TERL5O.cjs.map +1 -0
  11. package/dist/chunk-EE6CPXKH.cjs +164 -0
  12. package/dist/chunk-EE6CPXKH.cjs.map +1 -0
  13. package/dist/{chunk-GBFTC7Q7.cjs → chunk-EOFB7XCL.cjs} +6 -6
  14. package/dist/{chunk-GBFTC7Q7.cjs.map → chunk-EOFB7XCL.cjs.map} +1 -1
  15. package/dist/{chunk-Z7PW3KHL.cjs → chunk-FMTHVSYY.cjs} +4 -163
  16. package/dist/chunk-FMTHVSYY.cjs.map +1 -0
  17. package/dist/{chunk-VG2ABKJX.cjs → chunk-KYXZS3EA.cjs} +7 -7
  18. package/dist/{chunk-VG2ABKJX.cjs.map → chunk-KYXZS3EA.cjs.map} +1 -1
  19. package/dist/chunk-LVIPBYFE.js +157 -0
  20. package/dist/chunk-LVIPBYFE.js.map +1 -0
  21. package/dist/{chunk-NVGPMGI4.js → chunk-N25JDZSC.js} +3 -3
  22. package/dist/{chunk-NVGPMGI4.js.map → chunk-N25JDZSC.js.map} +1 -1
  23. package/dist/{chunk-AC5GNZKB.cjs → chunk-NENU7E6V.cjs} +5 -5
  24. package/dist/{chunk-AC5GNZKB.cjs.map → chunk-NENU7E6V.cjs.map} +1 -1
  25. package/dist/{chunk-URHPSJW2.js → chunk-QF7ARNUM.js} +3 -3
  26. package/dist/{chunk-URHPSJW2.js.map → chunk-QF7ARNUM.js.map} +1 -1
  27. package/dist/chunk-T5WRA76K.cjs +32 -0
  28. package/dist/chunk-T5WRA76K.cjs.map +1 -0
  29. package/dist/{chunk-YWCESU4Y.js → chunk-T7JO2TCP.js} +3 -3
  30. package/dist/{chunk-YWCESU4Y.js.map → chunk-T7JO2TCP.js.map} +1 -1
  31. package/dist/{chunk-O7JOKRN2.js → chunk-UIKYE2QZ.js} +3 -3
  32. package/dist/{chunk-O7JOKRN2.js.map → chunk-UIKYE2QZ.js.map} +1 -1
  33. package/dist/chunk-UNPLAVE7.js +21 -0
  34. package/dist/chunk-UNPLAVE7.js.map +1 -0
  35. package/dist/{chunk-FGNDN2FD.cjs → chunk-V7UBMJAB.cjs} +18 -18
  36. package/dist/{chunk-FGNDN2FD.cjs.map → chunk-V7UBMJAB.cjs.map} +1 -1
  37. package/dist/correlation-id.cjs +10 -9
  38. package/dist/correlation-id.js +2 -1
  39. package/dist/decorators.cjs +4 -3
  40. package/dist/decorators.cjs.map +1 -1
  41. package/dist/decorators.js +3 -2
  42. package/dist/decorators.js.map +1 -1
  43. package/dist/define-event-BL6Li7CM.d.ts +23 -0
  44. package/dist/define-event-ClP3T1Jx.d.cts +23 -0
  45. package/dist/event.cjs +6 -5
  46. package/dist/event.js +3 -2
  47. package/dist/functional.cjs +11 -10
  48. package/dist/functional.js +3 -2
  49. package/dist/http.cjs +3 -2
  50. package/dist/http.cjs.map +1 -1
  51. package/dist/http.js +2 -1
  52. package/dist/http.js.map +1 -1
  53. package/dist/index.cjs +86 -97
  54. package/dist/index.cjs.map +1 -1
  55. package/dist/index.d.cts +2 -21
  56. package/dist/index.d.ts +2 -21
  57. package/dist/index.js +16 -26
  58. package/dist/index.js.map +1 -1
  59. package/dist/messaging.cjs +7 -6
  60. package/dist/messaging.js +4 -3
  61. package/dist/semantic-helpers.cjs +8 -7
  62. package/dist/semantic-helpers.js +4 -3
  63. package/dist/validate.cjs +138 -0
  64. package/dist/validate.cjs.map +1 -0
  65. package/dist/validate.d.cts +129 -0
  66. package/dist/validate.d.ts +129 -0
  67. package/dist/validate.js +133 -0
  68. package/dist/validate.js.map +1 -0
  69. package/dist/validation-attributes.cjs +20 -0
  70. package/dist/validation-attributes.cjs.map +1 -0
  71. package/dist/validation-attributes.d.cts +40 -0
  72. package/dist/validation-attributes.d.ts +40 -0
  73. package/dist/validation-attributes.js +3 -0
  74. package/dist/validation-attributes.js.map +1 -0
  75. package/dist/webhook.cjs +5 -4
  76. package/dist/webhook.cjs.map +1 -1
  77. package/dist/webhook.js +3 -2
  78. package/dist/webhook.js.map +1 -1
  79. package/dist/workflow-distributed.cjs +5 -4
  80. package/dist/workflow-distributed.cjs.map +1 -1
  81. package/dist/workflow-distributed.js +3 -2
  82. package/dist/workflow-distributed.js.map +1 -1
  83. package/dist/workflow.cjs +8 -7
  84. package/dist/workflow.js +4 -3
  85. package/package.json +11 -1
  86. package/src/define-event.ts +2 -21
  87. package/src/stable-hash.ts +27 -0
  88. package/src/validate.test.ts +285 -0
  89. package/src/validate.ts +301 -0
  90. package/src/validation-attributes.ts +43 -0
  91. package/dist/chunk-O4JZUCUE.js.map +0 -1
  92. package/dist/chunk-Z7PW3KHL.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,25 +1,27 @@
1
1
  'use strict';
2
2
 
3
+ var chunk2ZKEORFN_cjs = require('./chunk-2ZKEORFN.cjs');
3
4
  var chunkT4B5LB6E_cjs = require('./chunk-T4B5LB6E.cjs');
4
5
  var chunk7EQ4G4SI_cjs = require('./chunk-7EQ4G4SI.cjs');
5
- var chunkAC5GNZKB_cjs = require('./chunk-AC5GNZKB.cjs');
6
+ var chunkNENU7E6V_cjs = require('./chunk-NENU7E6V.cjs');
7
+ var chunkE6TERL5O_cjs = require('./chunk-E6TERL5O.cjs');
6
8
  var chunkM3LFHHTN_cjs = require('./chunk-M3LFHHTN.cjs');
7
- var chunk2ZKEORFN_cjs = require('./chunk-2ZKEORFN.cjs');
8
9
  var chunkESMHTKLJ_cjs = require('./chunk-ESMHTKLJ.cjs');
9
- var chunkZ6HRSM2Y_cjs = require('./chunk-Z6HRSM2Y.cjs');
10
+ var chunkB7SWBE4P_cjs = require('./chunk-B7SWBE4P.cjs');
10
11
  var chunk4P6ZOARG_cjs = require('./chunk-4P6ZOARG.cjs');
11
12
  var chunkINJD3G4K_cjs = require('./chunk-INJD3G4K.cjs');
12
13
  var chunkTC5ZPWM4_cjs = require('./chunk-TC5ZPWM4.cjs');
13
14
  require('./chunk-YTXEZ4SD.cjs');
14
15
  var chunkWJH6IYU2_cjs = require('./chunk-WJH6IYU2.cjs');
15
- var chunkVG2ABKJX_cjs = require('./chunk-VG2ABKJX.cjs');
16
- var chunkFGNDN2FD_cjs = require('./chunk-FGNDN2FD.cjs');
16
+ var chunkKYXZS3EA_cjs = require('./chunk-KYXZS3EA.cjs');
17
+ var chunkV7UBMJAB_cjs = require('./chunk-V7UBMJAB.cjs');
17
18
  var chunkOPPXYVEZ_cjs = require('./chunk-OPPXYVEZ.cjs');
18
- var chunkGBFTC7Q7_cjs = require('./chunk-GBFTC7Q7.cjs');
19
+ var chunkEOFB7XCL_cjs = require('./chunk-EOFB7XCL.cjs');
19
20
  require('./chunk-NZ72VDNY.cjs');
20
21
  require('./chunk-UY3UYPBZ.cjs');
21
22
  var chunkVQTCQKHQ_cjs = require('./chunk-VQTCQKHQ.cjs');
22
- var chunkZ7PW3KHL_cjs = require('./chunk-Z7PW3KHL.cjs');
23
+ var chunkFMTHVSYY_cjs = require('./chunk-FMTHVSYY.cjs');
24
+ var chunkEE6CPXKH_cjs = require('./chunk-EE6CPXKH.cjs');
23
25
  var chunkR7QYGZUP_cjs = require('./chunk-R7QYGZUP.cjs');
24
26
  require('./chunk-QWW3E3JM.cjs');
25
27
  require('./chunk-CEAQK2QY.cjs');
@@ -34,7 +36,6 @@ require('./chunk-FU6R566Y.cjs');
34
36
  require('./chunk-ESLWRGAG.cjs');
35
37
  var chunkYREV3LGG_cjs = require('./chunk-YREV3LGG.cjs');
36
38
  var api = require('@opentelemetry/api');
37
- var crypto$1 = require('crypto');
38
39
  var async_hooks = require('async_hooks');
39
40
  var sdkMetrics = require('@opentelemetry/sdk-metrics');
40
41
 
@@ -55,15 +56,17 @@ var otelMethods = {
55
56
  setSpanContext: api.trace.setSpanContext
56
57
  };
57
58
  var trace2 = Object.assign(
58
- chunkFGNDN2FD_cjs.trace,
59
+ chunkV7UBMJAB_cjs.trace,
59
60
  otelMethods
60
61
  );
62
+
63
+ // src/define-event.ts
61
64
  function defineEvent(name, schema, options = {}) {
62
65
  const jsonSchema = options.toJsonSchema?.(schema);
63
66
  const schemaMetadata = jsonSchema ? {
64
67
  source: "zod",
65
68
  jsonSchema,
66
- hash: hashSchema(jsonSchema)
69
+ hash: chunkE6TERL5O_cjs.hashJson(jsonSchema)
67
70
  } : void 0;
68
71
  return {
69
72
  name,
@@ -75,7 +78,7 @@ function defineEvent(name, schema, options = {}) {
75
78
  `Invalid payload for event "${name}". Schema validation failed.`
76
79
  );
77
80
  }
78
- chunkZ7PW3KHL_cjs.track(
81
+ chunkFMTHVSYY_cjs.track(
79
82
  name,
80
83
  parsed.data,
81
84
  schemaMetadata ? { schema: schemaMetadata } : void 0
@@ -83,27 +86,13 @@ function defineEvent(name, schema, options = {}) {
83
86
  }
84
87
  };
85
88
  }
86
- function hashSchema(schema) {
87
- return crypto$1.createHash("sha256").update(stableStringify(schema)).digest("hex");
88
- }
89
- function stableStringify(value) {
90
- if (value === null || value === void 0 || typeof value !== "object") {
91
- return JSON.stringify(value);
92
- }
93
- if (Array.isArray(value)) {
94
- return "[" + value.map((v) => stableStringify(v)).join(",") + "]";
95
- }
96
- const obj = value;
97
- const body = Object.keys(obj).sort().map((k) => JSON.stringify(k) + ":" + stableStringify(obj[k])).join(",");
98
- return "{" + body + "}";
99
- }
100
89
 
101
90
  // src/shutdown.ts
102
91
  async function flush(options) {
103
92
  const timeout = options?.timeout ?? 2e3;
104
93
  const forShutdown = options?.forShutdown ?? false;
105
94
  const doFlush = async () => {
106
- const eventsQueue = chunkZ7PW3KHL_cjs.getEventQueue();
95
+ const eventsQueue = chunkFMTHVSYY_cjs.getEventQueue();
107
96
  if (eventsQueue) {
108
97
  if (forShutdown) {
109
98
  await eventsQueue.shutdown();
@@ -186,13 +175,13 @@ async function shutdown() {
186
175
  }
187
176
  } finally {
188
177
  await chunkR7QYGZUP_cjs._closeEmbeddedDevtools();
189
- const eventsQueue = chunkZ7PW3KHL_cjs.getEventQueue();
178
+ const eventsQueue = chunkFMTHVSYY_cjs.getEventQueue();
190
179
  if (eventsQueue && typeof eventsQueue.cleanup === "function") {
191
180
  eventsQueue.cleanup();
192
181
  }
193
- chunkGBFTC7Q7_cjs.resetEvents();
182
+ chunkEOFB7XCL_cjs.resetEvents();
194
183
  chunkTC5ZPWM4_cjs.resetMetrics();
195
- chunkZ7PW3KHL_cjs.resetEventQueue();
184
+ chunkFMTHVSYY_cjs.resetEventQueue();
196
185
  }
197
186
  if (shutdownError) {
198
187
  throw shutdownError;
@@ -265,7 +254,7 @@ function resolveContext(ctx2) {
265
254
  "[autotel] getRequestLogger() requires an active span or runWithRequestContext(). Wrap your handler with trace() or use runWithRequestContext()."
266
255
  );
267
256
  }
268
- return chunkZ7PW3KHL_cjs.createTraceContext(span2);
257
+ return chunkFMTHVSYY_cjs.createTraceContext(span2);
269
258
  }
270
259
  function getRequestLogger(ctx2, options) {
271
260
  const activeContext = resolveContext(ctx2);
@@ -273,7 +262,7 @@ function getRequestLogger(ctx2, options) {
273
262
  let emitted = false;
274
263
  let lastSnapshot = null;
275
264
  const addLogEvent = (level, message, fields) => {
276
- const attrs2 = fields ? chunkZ7PW3KHL_cjs.flattenToAttributes(fields) : void 0;
265
+ const attrs2 = fields ? chunkEE6CPXKH_cjs.flattenToAttributes(fields) : void 0;
277
266
  chunk4P6ZOARG_cjs.emitCorrelatedEvent(activeContext, `log.${level}`, {
278
267
  message,
279
268
  ...attrs2 ?? {}
@@ -292,7 +281,7 @@ function getRequestLogger(ctx2, options) {
292
281
  sealCheck("log.set()", Object.keys(fields));
293
282
  if (emitted) return;
294
283
  mergeInto(contextState, fields);
295
- activeContext.setAttributes(chunkZ7PW3KHL_cjs.flattenToAttributes(fields));
284
+ activeContext.setAttributes(chunkEE6CPXKH_cjs.flattenToAttributes(fields));
296
285
  },
297
286
  info(message, fields) {
298
287
  const keys = fields ? ["message", ...Object.keys(fields).filter((k) => k !== "requestLogs")] : ["message"];
@@ -301,7 +290,7 @@ function getRequestLogger(ctx2, options) {
301
290
  addLogEvent("info", message, fields);
302
291
  if (fields) {
303
292
  mergeInto(contextState, fields);
304
- activeContext.setAttributes(chunkZ7PW3KHL_cjs.flattenToAttributes(fields));
293
+ activeContext.setAttributes(chunkEE6CPXKH_cjs.flattenToAttributes(fields));
305
294
  }
306
295
  },
307
296
  warn(message, fields) {
@@ -312,7 +301,7 @@ function getRequestLogger(ctx2, options) {
312
301
  activeContext.setAttribute("autotel.log.level", "warn");
313
302
  if (fields) {
314
303
  mergeInto(contextState, fields);
315
- activeContext.setAttributes(chunkZ7PW3KHL_cjs.flattenToAttributes(fields));
304
+ activeContext.setAttributes(chunkEE6CPXKH_cjs.flattenToAttributes(fields));
316
305
  }
317
306
  },
318
307
  error(error, fields) {
@@ -320,11 +309,11 @@ function getRequestLogger(ctx2, options) {
320
309
  sealCheck("log.error()", keys);
321
310
  if (emitted) return;
322
311
  const err = typeof error === "string" ? new Error(error) : error;
323
- chunkZ7PW3KHL_cjs.recordStructuredError(activeContext, err);
312
+ chunkEE6CPXKH_cjs.recordStructuredError(activeContext, err);
324
313
  addLogEvent("error", err.message, fields);
325
314
  if (fields) {
326
315
  mergeInto(contextState, fields);
327
- activeContext.setAttributes(chunkZ7PW3KHL_cjs.flattenToAttributes(fields));
316
+ activeContext.setAttributes(chunkEE6CPXKH_cjs.flattenToAttributes(fields));
328
317
  }
329
318
  activeContext.setAttribute("autotel.log.level", "error");
330
319
  },
@@ -340,7 +329,7 @@ function getRequestLogger(ctx2, options) {
340
329
  ...contextState,
341
330
  ...overrides ?? {}
342
331
  };
343
- const flattened = chunkZ7PW3KHL_cjs.flattenToAttributes(mergedContext);
332
+ const flattened = chunkEE6CPXKH_cjs.flattenToAttributes(mergedContext);
344
333
  activeContext.setAttributes(flattened);
345
334
  const snapshot = {
346
335
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
@@ -372,7 +361,7 @@ function getRequestLogger(ctx2, options) {
372
361
  const lifecycle = forkOptions?.lifecycle;
373
362
  void tracer.startActiveSpan(`request.fork:${label}`, (childSpan) => {
374
363
  const childContext = {
375
- ...chunkZ7PW3KHL_cjs.createTraceContext(childSpan),
364
+ ...chunkFMTHVSYY_cjs.createTraceContext(childSpan),
376
365
  correlationId: crypto.randomUUID()
377
366
  };
378
367
  requestContextStore.run(childContext, () => {
@@ -427,7 +416,7 @@ function defineErrorCatalog(namespace, entries) {
427
416
  const options = usesParams ? maybeOptions : paramsOrOptions;
428
417
  const message = typeof entry.message === "function" ? entry.message(params) : entry.message;
429
418
  const why = typeof entry.why === "function" ? entry.why(params) : entry.why;
430
- const error = chunkZ7PW3KHL_cjs.createStructuredError({
419
+ const error = chunkEE6CPXKH_cjs.createStructuredError({
431
420
  message,
432
421
  name: entry.name ?? key,
433
422
  code,
@@ -778,6 +767,14 @@ function recordLLMCost(ctx2, model, usage, options) {
778
767
  return cost;
779
768
  }
780
769
 
770
+ Object.defineProperty(exports, "httpRequestHeaderAttribute", {
771
+ enumerable: true,
772
+ get: function () { return chunk2ZKEORFN_cjs.httpRequestHeaderAttribute; }
773
+ });
774
+ Object.defineProperty(exports, "httpResponseHeaderAttribute", {
775
+ enumerable: true,
776
+ get: function () { return chunk2ZKEORFN_cjs.httpResponseHeaderAttribute; }
777
+ });
781
778
  Object.defineProperty(exports, "parseError", {
782
779
  enumerable: true,
783
780
  get: function () { return chunkT4B5LB6E_cjs.parseError; }
@@ -788,19 +785,19 @@ Object.defineProperty(exports, "createDrainPipeline", {
788
785
  });
789
786
  Object.defineProperty(exports, "getCurrentWorkflowContext", {
790
787
  enumerable: true,
791
- get: function () { return chunkAC5GNZKB_cjs.getCurrentWorkflowContext; }
788
+ get: function () { return chunkNENU7E6V_cjs.getCurrentWorkflowContext; }
792
789
  });
793
790
  Object.defineProperty(exports, "isInWorkflow", {
794
791
  enumerable: true,
795
- get: function () { return chunkAC5GNZKB_cjs.isInWorkflow; }
792
+ get: function () { return chunkNENU7E6V_cjs.isInWorkflow; }
796
793
  });
797
794
  Object.defineProperty(exports, "traceStep", {
798
795
  enumerable: true,
799
- get: function () { return chunkAC5GNZKB_cjs.traceStep; }
796
+ get: function () { return chunkNENU7E6V_cjs.traceStep; }
800
797
  });
801
798
  Object.defineProperty(exports, "traceWorkflow", {
802
799
  enumerable: true,
803
- get: function () { return chunkAC5GNZKB_cjs.traceWorkflow; }
800
+ get: function () { return chunkNENU7E6V_cjs.traceWorkflow; }
804
801
  });
805
802
  Object.defineProperty(exports, "attrs", {
806
803
  enumerable: true,
@@ -866,14 +863,6 @@ Object.defineProperty(exports, "validateAttribute", {
866
863
  enumerable: true,
867
864
  get: function () { return chunkM3LFHHTN_cjs.validateAttribute; }
868
865
  });
869
- Object.defineProperty(exports, "httpRequestHeaderAttribute", {
870
- enumerable: true,
871
- get: function () { return chunk2ZKEORFN_cjs.httpRequestHeaderAttribute; }
872
- });
873
- Object.defineProperty(exports, "httpResponseHeaderAttribute", {
874
- enumerable: true,
875
- get: function () { return chunk2ZKEORFN_cjs.httpResponseHeaderAttribute; }
876
- });
877
866
  Object.defineProperty(exports, "HTTPAttributes", {
878
867
  enumerable: true,
879
868
  get: function () { return chunkESMHTKLJ_cjs.HTTPAttributes; }
@@ -888,11 +877,11 @@ Object.defineProperty(exports, "URLAttributes", {
888
877
  });
889
878
  Object.defineProperty(exports, "traceConsumer", {
890
879
  enumerable: true,
891
- get: function () { return chunkZ6HRSM2Y_cjs.traceConsumer; }
880
+ get: function () { return chunkB7SWBE4P_cjs.traceConsumer; }
892
881
  });
893
882
  Object.defineProperty(exports, "traceProducer", {
894
883
  enumerable: true,
895
- get: function () { return chunkZ6HRSM2Y_cjs.traceProducer; }
884
+ get: function () { return chunkB7SWBE4P_cjs.traceProducer; }
896
885
  });
897
886
  Object.defineProperty(exports, "BusinessBaggage", {
898
887
  enumerable: true,
@@ -936,47 +925,47 @@ Object.defineProperty(exports, "getMeter", {
936
925
  });
937
926
  Object.defineProperty(exports, "traceDB", {
938
927
  enumerable: true,
939
- get: function () { return chunkVG2ABKJX_cjs.traceDB; }
928
+ get: function () { return chunkKYXZS3EA_cjs.traceDB; }
940
929
  });
941
930
  Object.defineProperty(exports, "traceHTTP", {
942
931
  enumerable: true,
943
- get: function () { return chunkVG2ABKJX_cjs.traceHTTP; }
932
+ get: function () { return chunkKYXZS3EA_cjs.traceHTTP; }
944
933
  });
945
934
  Object.defineProperty(exports, "traceLLM", {
946
935
  enumerable: true,
947
- get: function () { return chunkVG2ABKJX_cjs.traceLLM; }
936
+ get: function () { return chunkKYXZS3EA_cjs.traceLLM; }
948
937
  });
949
938
  Object.defineProperty(exports, "traceMessaging", {
950
939
  enumerable: true,
951
- get: function () { return chunkVG2ABKJX_cjs.traceMessaging; }
940
+ get: function () { return chunkKYXZS3EA_cjs.traceMessaging; }
952
941
  });
953
942
  Object.defineProperty(exports, "ctx", {
954
943
  enumerable: true,
955
- get: function () { return chunkFGNDN2FD_cjs.ctx; }
944
+ get: function () { return chunkV7UBMJAB_cjs.ctx; }
956
945
  });
957
946
  Object.defineProperty(exports, "instrument", {
958
947
  enumerable: true,
959
- get: function () { return chunkFGNDN2FD_cjs.instrument; }
948
+ get: function () { return chunkV7UBMJAB_cjs.instrument; }
960
949
  });
961
950
  Object.defineProperty(exports, "markAsImmediate", {
962
951
  enumerable: true,
963
- get: function () { return chunkFGNDN2FD_cjs.markAsImmediate; }
952
+ get: function () { return chunkV7UBMJAB_cjs.markAsImmediate; }
964
953
  });
965
954
  Object.defineProperty(exports, "span", {
966
955
  enumerable: true,
967
- get: function () { return chunkFGNDN2FD_cjs.span; }
956
+ get: function () { return chunkV7UBMJAB_cjs.span; }
968
957
  });
969
958
  Object.defineProperty(exports, "withBaggage", {
970
959
  enumerable: true,
971
- get: function () { return chunkFGNDN2FD_cjs.withBaggage; }
960
+ get: function () { return chunkV7UBMJAB_cjs.withBaggage; }
972
961
  });
973
962
  Object.defineProperty(exports, "withNewContext", {
974
963
  enumerable: true,
975
- get: function () { return chunkFGNDN2FD_cjs.withNewContext; }
964
+ get: function () { return chunkV7UBMJAB_cjs.withNewContext; }
976
965
  });
977
966
  Object.defineProperty(exports, "withTracing", {
978
967
  enumerable: true,
979
- get: function () { return chunkFGNDN2FD_cjs.withTracing; }
968
+ get: function () { return chunkV7UBMJAB_cjs.withTracing; }
980
969
  });
981
970
  Object.defineProperty(exports, "createDeterministicTraceId", {
982
971
  enumerable: true,
@@ -1024,15 +1013,15 @@ Object.defineProperty(exports, "runWithSpan", {
1024
1013
  });
1025
1014
  Object.defineProperty(exports, "Event", {
1026
1015
  enumerable: true,
1027
- get: function () { return chunkGBFTC7Q7_cjs.Event; }
1016
+ get: function () { return chunkEOFB7XCL_cjs.Event; }
1028
1017
  });
1029
1018
  Object.defineProperty(exports, "getEvents", {
1030
1019
  enumerable: true,
1031
- get: function () { return chunkGBFTC7Q7_cjs.getEvents; }
1020
+ get: function () { return chunkEOFB7XCL_cjs.getEvents; }
1032
1021
  });
1033
1022
  Object.defineProperty(exports, "resetEvents", {
1034
1023
  enumerable: true,
1035
- get: function () { return chunkGBFTC7Q7_cjs.resetEvents; }
1024
+ get: function () { return chunkEOFB7XCL_cjs.resetEvents; }
1036
1025
  });
1037
1026
  Object.defineProperty(exports, "getOperationContext", {
1038
1027
  enumerable: true,
@@ -1044,67 +1033,67 @@ Object.defineProperty(exports, "runInOperationContext", {
1044
1033
  });
1045
1034
  Object.defineProperty(exports, "CORRELATION_ID_BAGGAGE_KEY", {
1046
1035
  enumerable: true,
1047
- get: function () { return chunkZ7PW3KHL_cjs.CORRELATION_ID_BAGGAGE_KEY; }
1048
- });
1049
- Object.defineProperty(exports, "createStructuredError", {
1050
- enumerable: true,
1051
- get: function () { return chunkZ7PW3KHL_cjs.createStructuredError; }
1036
+ get: function () { return chunkFMTHVSYY_cjs.CORRELATION_ID_BAGGAGE_KEY; }
1052
1037
  });
1053
1038
  Object.defineProperty(exports, "defineBaggageSchema", {
1054
1039
  enumerable: true,
1055
- get: function () { return chunkZ7PW3KHL_cjs.defineBaggageSchema; }
1056
- });
1057
- Object.defineProperty(exports, "flattenToAttributes", {
1058
- enumerable: true,
1059
- get: function () { return chunkZ7PW3KHL_cjs.flattenToAttributes; }
1040
+ get: function () { return chunkFMTHVSYY_cjs.defineBaggageSchema; }
1060
1041
  });
1061
1042
  Object.defineProperty(exports, "generateCorrelationId", {
1062
1043
  enumerable: true,
1063
- get: function () { return chunkZ7PW3KHL_cjs.generateCorrelationId; }
1044
+ get: function () { return chunkFMTHVSYY_cjs.generateCorrelationId; }
1064
1045
  });
1065
1046
  Object.defineProperty(exports, "getCorrelationId", {
1066
1047
  enumerable: true,
1067
- get: function () { return chunkZ7PW3KHL_cjs.getCorrelationId; }
1048
+ get: function () { return chunkFMTHVSYY_cjs.getCorrelationId; }
1068
1049
  });
1069
1050
  Object.defineProperty(exports, "getEventQueue", {
1070
1051
  enumerable: true,
1071
- get: function () { return chunkZ7PW3KHL_cjs.getEventQueue; }
1052
+ get: function () { return chunkFMTHVSYY_cjs.getEventQueue; }
1072
1053
  });
1073
1054
  Object.defineProperty(exports, "getOrCreateCorrelationId", {
1074
1055
  enumerable: true,
1075
- get: function () { return chunkZ7PW3KHL_cjs.getOrCreateCorrelationId; }
1056
+ get: function () { return chunkFMTHVSYY_cjs.getOrCreateCorrelationId; }
1076
1057
  });
1077
- Object.defineProperty(exports, "getStructuredErrorAttributes", {
1058
+ Object.defineProperty(exports, "runWithCorrelationId", {
1078
1059
  enumerable: true,
1079
- get: function () { return chunkZ7PW3KHL_cjs.getStructuredErrorAttributes; }
1060
+ get: function () { return chunkFMTHVSYY_cjs.runWithCorrelationId; }
1080
1061
  });
1081
- Object.defineProperty(exports, "recordStructuredError", {
1062
+ Object.defineProperty(exports, "setCorrelationId", {
1082
1063
  enumerable: true,
1083
- get: function () { return chunkZ7PW3KHL_cjs.recordStructuredError; }
1064
+ get: function () { return chunkFMTHVSYY_cjs.setCorrelationId; }
1084
1065
  });
1085
- Object.defineProperty(exports, "runWithCorrelationId", {
1066
+ Object.defineProperty(exports, "setCorrelationIdInBaggage", {
1086
1067
  enumerable: true,
1087
- get: function () { return chunkZ7PW3KHL_cjs.runWithCorrelationId; }
1068
+ get: function () { return chunkFMTHVSYY_cjs.setCorrelationIdInBaggage; }
1088
1069
  });
1089
- Object.defineProperty(exports, "setCorrelationId", {
1070
+ Object.defineProperty(exports, "track", {
1090
1071
  enumerable: true,
1091
- get: function () { return chunkZ7PW3KHL_cjs.setCorrelationId; }
1072
+ get: function () { return chunkFMTHVSYY_cjs.track; }
1092
1073
  });
1093
- Object.defineProperty(exports, "setCorrelationIdInBaggage", {
1074
+ Object.defineProperty(exports, "createStructuredError", {
1094
1075
  enumerable: true,
1095
- get: function () { return chunkZ7PW3KHL_cjs.setCorrelationIdInBaggage; }
1076
+ get: function () { return chunkEE6CPXKH_cjs.createStructuredError; }
1096
1077
  });
1097
- Object.defineProperty(exports, "structuredErrorToJSON", {
1078
+ Object.defineProperty(exports, "flattenToAttributes", {
1098
1079
  enumerable: true,
1099
- get: function () { return chunkZ7PW3KHL_cjs.structuredErrorToJSON; }
1080
+ get: function () { return chunkEE6CPXKH_cjs.flattenToAttributes; }
1100
1081
  });
1101
- Object.defineProperty(exports, "toAttributeValue", {
1082
+ Object.defineProperty(exports, "getStructuredErrorAttributes", {
1102
1083
  enumerable: true,
1103
- get: function () { return chunkZ7PW3KHL_cjs.toAttributeValue; }
1084
+ get: function () { return chunkEE6CPXKH_cjs.getStructuredErrorAttributes; }
1104
1085
  });
1105
- Object.defineProperty(exports, "track", {
1086
+ Object.defineProperty(exports, "recordStructuredError", {
1087
+ enumerable: true,
1088
+ get: function () { return chunkEE6CPXKH_cjs.recordStructuredError; }
1089
+ });
1090
+ Object.defineProperty(exports, "structuredErrorToJSON", {
1091
+ enumerable: true,
1092
+ get: function () { return chunkEE6CPXKH_cjs.structuredErrorToJSON; }
1093
+ });
1094
+ Object.defineProperty(exports, "toAttributeValue", {
1106
1095
  enumerable: true,
1107
- get: function () { return chunkZ7PW3KHL_cjs.track; }
1096
+ get: function () { return chunkEE6CPXKH_cjs.toAttributeValue; }
1108
1097
  });
1109
1098
  Object.defineProperty(exports, "BaggageSpanProcessor", {
1110
1099
  enumerable: true,