autotel 3.4.4 → 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.
- package/dist/{chunk-O4JZUCUE.js → chunk-66YJ66GG.js} +5 -158
- package/dist/chunk-66YJ66GG.js.map +1 -0
- package/dist/{chunk-Z6HRSM2Y.cjs → chunk-B7SWBE4P.cjs} +5 -5
- package/dist/{chunk-Z6HRSM2Y.cjs.map → chunk-B7SWBE4P.cjs.map} +1 -1
- package/dist/{chunk-DQEHQNQE.js → chunk-D4TM63S3.js} +3 -3
- package/dist/{chunk-DQEHQNQE.js.map → chunk-D4TM63S3.js.map} +1 -1
- package/dist/chunk-DCEDJQGG.js +28 -0
- package/dist/chunk-DCEDJQGG.js.map +1 -0
- package/dist/chunk-E6TERL5O.cjs +23 -0
- package/dist/chunk-E6TERL5O.cjs.map +1 -0
- package/dist/chunk-EE6CPXKH.cjs +164 -0
- package/dist/chunk-EE6CPXKH.cjs.map +1 -0
- package/dist/{chunk-GBFTC7Q7.cjs → chunk-EOFB7XCL.cjs} +6 -6
- package/dist/{chunk-GBFTC7Q7.cjs.map → chunk-EOFB7XCL.cjs.map} +1 -1
- package/dist/{chunk-Z7PW3KHL.cjs → chunk-FMTHVSYY.cjs} +4 -163
- package/dist/chunk-FMTHVSYY.cjs.map +1 -0
- package/dist/{chunk-VG2ABKJX.cjs → chunk-KYXZS3EA.cjs} +7 -7
- package/dist/{chunk-VG2ABKJX.cjs.map → chunk-KYXZS3EA.cjs.map} +1 -1
- package/dist/chunk-LVIPBYFE.js +157 -0
- package/dist/chunk-LVIPBYFE.js.map +1 -0
- package/dist/{chunk-NVGPMGI4.js → chunk-N25JDZSC.js} +3 -3
- package/dist/{chunk-NVGPMGI4.js.map → chunk-N25JDZSC.js.map} +1 -1
- package/dist/{chunk-AC5GNZKB.cjs → chunk-NENU7E6V.cjs} +5 -5
- package/dist/{chunk-AC5GNZKB.cjs.map → chunk-NENU7E6V.cjs.map} +1 -1
- package/dist/{chunk-URHPSJW2.js → chunk-QF7ARNUM.js} +3 -3
- package/dist/{chunk-URHPSJW2.js.map → chunk-QF7ARNUM.js.map} +1 -1
- package/dist/chunk-T5WRA76K.cjs +32 -0
- package/dist/chunk-T5WRA76K.cjs.map +1 -0
- package/dist/{chunk-YWCESU4Y.js → chunk-T7JO2TCP.js} +3 -3
- package/dist/{chunk-YWCESU4Y.js.map → chunk-T7JO2TCP.js.map} +1 -1
- package/dist/{chunk-O7JOKRN2.js → chunk-UIKYE2QZ.js} +3 -3
- package/dist/{chunk-O7JOKRN2.js.map → chunk-UIKYE2QZ.js.map} +1 -1
- package/dist/chunk-UNPLAVE7.js +21 -0
- package/dist/chunk-UNPLAVE7.js.map +1 -0
- package/dist/{chunk-FGNDN2FD.cjs → chunk-V7UBMJAB.cjs} +18 -18
- package/dist/{chunk-FGNDN2FD.cjs.map → chunk-V7UBMJAB.cjs.map} +1 -1
- package/dist/correlation-id.cjs +10 -9
- package/dist/correlation-id.js +2 -1
- package/dist/decorators.cjs +4 -3
- package/dist/decorators.cjs.map +1 -1
- package/dist/decorators.js +3 -2
- package/dist/decorators.js.map +1 -1
- package/dist/define-event-BL6Li7CM.d.ts +23 -0
- package/dist/define-event-ClP3T1Jx.d.cts +23 -0
- package/dist/event.cjs +6 -5
- package/dist/event.js +3 -2
- package/dist/functional.cjs +11 -10
- package/dist/functional.js +3 -2
- package/dist/http.cjs +3 -2
- package/dist/http.cjs.map +1 -1
- package/dist/http.js +2 -1
- package/dist/http.js.map +1 -1
- package/dist/index.cjs +91 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -21
- package/dist/index.d.ts +2 -21
- package/dist/index.js +17 -27
- package/dist/index.js.map +1 -1
- package/dist/messaging.cjs +7 -6
- package/dist/messaging.js +4 -3
- package/dist/security-schema.cjs +69 -0
- package/dist/security-schema.cjs.map +1 -0
- package/dist/security-schema.d.cts +67 -0
- package/dist/security-schema.d.ts +67 -0
- package/dist/security-schema.js +59 -0
- package/dist/security-schema.js.map +1 -0
- package/dist/semantic-helpers.cjs +8 -7
- package/dist/semantic-helpers.js +4 -3
- package/dist/validate.cjs +138 -0
- package/dist/validate.cjs.map +1 -0
- package/dist/validate.d.cts +129 -0
- package/dist/validate.d.ts +129 -0
- package/dist/validate.js +133 -0
- package/dist/validate.js.map +1 -0
- package/dist/validation-attributes.cjs +20 -0
- package/dist/validation-attributes.cjs.map +1 -0
- package/dist/validation-attributes.d.cts +40 -0
- package/dist/validation-attributes.d.ts +40 -0
- package/dist/validation-attributes.js +3 -0
- package/dist/validation-attributes.js.map +1 -0
- package/dist/webhook.cjs +5 -4
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.js +3 -2
- package/dist/webhook.js.map +1 -1
- package/dist/workflow-distributed.cjs +5 -4
- package/dist/workflow-distributed.cjs.map +1 -1
- package/dist/workflow-distributed.js +3 -2
- package/dist/workflow-distributed.js.map +1 -1
- package/dist/workflow.cjs +8 -7
- package/dist/workflow.js +4 -3
- package/package.json +23 -8
- package/src/define-event.ts +2 -21
- package/src/security-schema.test.ts +45 -0
- package/src/security-schema.ts +107 -0
- package/src/stable-hash.ts +27 -0
- package/src/validate.test.ts +285 -0
- package/src/validate.ts +301 -0
- package/src/validation-attributes.ts +43 -0
- package/dist/chunk-O4JZUCUE.js.map +0 -1
- 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');
|
|
4
|
+
var chunkT4B5LB6E_cjs = require('./chunk-T4B5LB6E.cjs');
|
|
3
5
|
var chunk7EQ4G4SI_cjs = require('./chunk-7EQ4G4SI.cjs');
|
|
4
|
-
var
|
|
6
|
+
var chunkNENU7E6V_cjs = require('./chunk-NENU7E6V.cjs');
|
|
7
|
+
var chunkE6TERL5O_cjs = require('./chunk-E6TERL5O.cjs');
|
|
5
8
|
var chunkM3LFHHTN_cjs = require('./chunk-M3LFHHTN.cjs');
|
|
6
|
-
var chunk2ZKEORFN_cjs = require('./chunk-2ZKEORFN.cjs');
|
|
7
9
|
var chunkESMHTKLJ_cjs = require('./chunk-ESMHTKLJ.cjs');
|
|
8
|
-
var
|
|
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
|
|
16
|
-
var
|
|
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
|
|
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
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
178
|
+
const eventsQueue = chunkFMTHVSYY_cjs.getEventQueue();
|
|
190
179
|
if (eventsQueue && typeof eventsQueue.cleanup === "function") {
|
|
191
180
|
eventsQueue.cleanup();
|
|
192
181
|
}
|
|
193
|
-
|
|
182
|
+
chunkEOFB7XCL_cjs.resetEvents();
|
|
194
183
|
chunkTC5ZPWM4_cjs.resetMetrics();
|
|
195
|
-
|
|
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
|
|
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 ?
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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(
|
|
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 =
|
|
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
|
-
...
|
|
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 =
|
|
419
|
+
const error = chunkEE6CPXKH_cjs.createStructuredError({
|
|
431
420
|
message,
|
|
432
421
|
name: entry.name ?? key,
|
|
433
422
|
code,
|
|
@@ -778,25 +767,37 @@ 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
|
+
});
|
|
778
|
+
Object.defineProperty(exports, "parseError", {
|
|
779
|
+
enumerable: true,
|
|
780
|
+
get: function () { return chunkT4B5LB6E_cjs.parseError; }
|
|
781
|
+
});
|
|
781
782
|
Object.defineProperty(exports, "createDrainPipeline", {
|
|
782
783
|
enumerable: true,
|
|
783
784
|
get: function () { return chunk7EQ4G4SI_cjs.createDrainPipeline; }
|
|
784
785
|
});
|
|
785
786
|
Object.defineProperty(exports, "getCurrentWorkflowContext", {
|
|
786
787
|
enumerable: true,
|
|
787
|
-
get: function () { return
|
|
788
|
+
get: function () { return chunkNENU7E6V_cjs.getCurrentWorkflowContext; }
|
|
788
789
|
});
|
|
789
790
|
Object.defineProperty(exports, "isInWorkflow", {
|
|
790
791
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
792
|
+
get: function () { return chunkNENU7E6V_cjs.isInWorkflow; }
|
|
792
793
|
});
|
|
793
794
|
Object.defineProperty(exports, "traceStep", {
|
|
794
795
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
796
|
+
get: function () { return chunkNENU7E6V_cjs.traceStep; }
|
|
796
797
|
});
|
|
797
798
|
Object.defineProperty(exports, "traceWorkflow", {
|
|
798
799
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
800
|
+
get: function () { return chunkNENU7E6V_cjs.traceWorkflow; }
|
|
800
801
|
});
|
|
801
802
|
Object.defineProperty(exports, "attrs", {
|
|
802
803
|
enumerable: true,
|
|
@@ -862,14 +863,6 @@ Object.defineProperty(exports, "validateAttribute", {
|
|
|
862
863
|
enumerable: true,
|
|
863
864
|
get: function () { return chunkM3LFHHTN_cjs.validateAttribute; }
|
|
864
865
|
});
|
|
865
|
-
Object.defineProperty(exports, "httpRequestHeaderAttribute", {
|
|
866
|
-
enumerable: true,
|
|
867
|
-
get: function () { return chunk2ZKEORFN_cjs.httpRequestHeaderAttribute; }
|
|
868
|
-
});
|
|
869
|
-
Object.defineProperty(exports, "httpResponseHeaderAttribute", {
|
|
870
|
-
enumerable: true,
|
|
871
|
-
get: function () { return chunk2ZKEORFN_cjs.httpResponseHeaderAttribute; }
|
|
872
|
-
});
|
|
873
866
|
Object.defineProperty(exports, "HTTPAttributes", {
|
|
874
867
|
enumerable: true,
|
|
875
868
|
get: function () { return chunkESMHTKLJ_cjs.HTTPAttributes; }
|
|
@@ -882,17 +875,13 @@ Object.defineProperty(exports, "URLAttributes", {
|
|
|
882
875
|
enumerable: true,
|
|
883
876
|
get: function () { return chunkESMHTKLJ_cjs.URLAttributes; }
|
|
884
877
|
});
|
|
885
|
-
Object.defineProperty(exports, "parseError", {
|
|
886
|
-
enumerable: true,
|
|
887
|
-
get: function () { return chunkT4B5LB6E_cjs.parseError; }
|
|
888
|
-
});
|
|
889
878
|
Object.defineProperty(exports, "traceConsumer", {
|
|
890
879
|
enumerable: true,
|
|
891
|
-
get: function () { return
|
|
880
|
+
get: function () { return chunkB7SWBE4P_cjs.traceConsumer; }
|
|
892
881
|
});
|
|
893
882
|
Object.defineProperty(exports, "traceProducer", {
|
|
894
883
|
enumerable: true,
|
|
895
|
-
get: function () { return
|
|
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
|
|
928
|
+
get: function () { return chunkKYXZS3EA_cjs.traceDB; }
|
|
940
929
|
});
|
|
941
930
|
Object.defineProperty(exports, "traceHTTP", {
|
|
942
931
|
enumerable: true,
|
|
943
|
-
get: function () { return
|
|
932
|
+
get: function () { return chunkKYXZS3EA_cjs.traceHTTP; }
|
|
944
933
|
});
|
|
945
934
|
Object.defineProperty(exports, "traceLLM", {
|
|
946
935
|
enumerable: true,
|
|
947
|
-
get: function () { return
|
|
936
|
+
get: function () { return chunkKYXZS3EA_cjs.traceLLM; }
|
|
948
937
|
});
|
|
949
938
|
Object.defineProperty(exports, "traceMessaging", {
|
|
950
939
|
enumerable: true,
|
|
951
|
-
get: function () { return
|
|
940
|
+
get: function () { return chunkKYXZS3EA_cjs.traceMessaging; }
|
|
952
941
|
});
|
|
953
942
|
Object.defineProperty(exports, "ctx", {
|
|
954
943
|
enumerable: true,
|
|
955
|
-
get: function () { return
|
|
944
|
+
get: function () { return chunkV7UBMJAB_cjs.ctx; }
|
|
956
945
|
});
|
|
957
946
|
Object.defineProperty(exports, "instrument", {
|
|
958
947
|
enumerable: true,
|
|
959
|
-
get: function () { return
|
|
948
|
+
get: function () { return chunkV7UBMJAB_cjs.instrument; }
|
|
960
949
|
});
|
|
961
950
|
Object.defineProperty(exports, "markAsImmediate", {
|
|
962
951
|
enumerable: true,
|
|
963
|
-
get: function () { return
|
|
952
|
+
get: function () { return chunkV7UBMJAB_cjs.markAsImmediate; }
|
|
964
953
|
});
|
|
965
954
|
Object.defineProperty(exports, "span", {
|
|
966
955
|
enumerable: true,
|
|
967
|
-
get: function () { return
|
|
956
|
+
get: function () { return chunkV7UBMJAB_cjs.span; }
|
|
968
957
|
});
|
|
969
958
|
Object.defineProperty(exports, "withBaggage", {
|
|
970
959
|
enumerable: true,
|
|
971
|
-
get: function () { return
|
|
960
|
+
get: function () { return chunkV7UBMJAB_cjs.withBaggage; }
|
|
972
961
|
});
|
|
973
962
|
Object.defineProperty(exports, "withNewContext", {
|
|
974
963
|
enumerable: true,
|
|
975
|
-
get: function () { return
|
|
964
|
+
get: function () { return chunkV7UBMJAB_cjs.withNewContext; }
|
|
976
965
|
});
|
|
977
966
|
Object.defineProperty(exports, "withTracing", {
|
|
978
967
|
enumerable: true,
|
|
979
|
-
get: function () { return
|
|
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
|
|
1016
|
+
get: function () { return chunkEOFB7XCL_cjs.Event; }
|
|
1028
1017
|
});
|
|
1029
1018
|
Object.defineProperty(exports, "getEvents", {
|
|
1030
1019
|
enumerable: true,
|
|
1031
|
-
get: function () { return
|
|
1020
|
+
get: function () { return chunkEOFB7XCL_cjs.getEvents; }
|
|
1032
1021
|
});
|
|
1033
1022
|
Object.defineProperty(exports, "resetEvents", {
|
|
1034
1023
|
enumerable: true,
|
|
1035
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
1044
|
+
get: function () { return chunkFMTHVSYY_cjs.generateCorrelationId; }
|
|
1064
1045
|
});
|
|
1065
1046
|
Object.defineProperty(exports, "getCorrelationId", {
|
|
1066
1047
|
enumerable: true,
|
|
1067
|
-
get: function () { return
|
|
1048
|
+
get: function () { return chunkFMTHVSYY_cjs.getCorrelationId; }
|
|
1068
1049
|
});
|
|
1069
1050
|
Object.defineProperty(exports, "getEventQueue", {
|
|
1070
1051
|
enumerable: true,
|
|
1071
|
-
get: function () { return
|
|
1052
|
+
get: function () { return chunkFMTHVSYY_cjs.getEventQueue; }
|
|
1072
1053
|
});
|
|
1073
1054
|
Object.defineProperty(exports, "getOrCreateCorrelationId", {
|
|
1074
1055
|
enumerable: true,
|
|
1075
|
-
get: function () { return
|
|
1056
|
+
get: function () { return chunkFMTHVSYY_cjs.getOrCreateCorrelationId; }
|
|
1076
1057
|
});
|
|
1077
|
-
Object.defineProperty(exports, "
|
|
1058
|
+
Object.defineProperty(exports, "runWithCorrelationId", {
|
|
1078
1059
|
enumerable: true,
|
|
1079
|
-
get: function () { return
|
|
1060
|
+
get: function () { return chunkFMTHVSYY_cjs.runWithCorrelationId; }
|
|
1080
1061
|
});
|
|
1081
|
-
Object.defineProperty(exports, "
|
|
1062
|
+
Object.defineProperty(exports, "setCorrelationId", {
|
|
1082
1063
|
enumerable: true,
|
|
1083
|
-
get: function () { return
|
|
1064
|
+
get: function () { return chunkFMTHVSYY_cjs.setCorrelationId; }
|
|
1084
1065
|
});
|
|
1085
|
-
Object.defineProperty(exports, "
|
|
1066
|
+
Object.defineProperty(exports, "setCorrelationIdInBaggage", {
|
|
1086
1067
|
enumerable: true,
|
|
1087
|
-
get: function () { return
|
|
1068
|
+
get: function () { return chunkFMTHVSYY_cjs.setCorrelationIdInBaggage; }
|
|
1088
1069
|
});
|
|
1089
|
-
Object.defineProperty(exports, "
|
|
1070
|
+
Object.defineProperty(exports, "track", {
|
|
1090
1071
|
enumerable: true,
|
|
1091
|
-
get: function () { return
|
|
1072
|
+
get: function () { return chunkFMTHVSYY_cjs.track; }
|
|
1092
1073
|
});
|
|
1093
|
-
Object.defineProperty(exports, "
|
|
1074
|
+
Object.defineProperty(exports, "createStructuredError", {
|
|
1094
1075
|
enumerable: true,
|
|
1095
|
-
get: function () { return
|
|
1076
|
+
get: function () { return chunkEE6CPXKH_cjs.createStructuredError; }
|
|
1096
1077
|
});
|
|
1097
|
-
Object.defineProperty(exports, "
|
|
1078
|
+
Object.defineProperty(exports, "flattenToAttributes", {
|
|
1098
1079
|
enumerable: true,
|
|
1099
|
-
get: function () { return
|
|
1080
|
+
get: function () { return chunkEE6CPXKH_cjs.flattenToAttributes; }
|
|
1100
1081
|
});
|
|
1101
|
-
Object.defineProperty(exports, "
|
|
1082
|
+
Object.defineProperty(exports, "getStructuredErrorAttributes", {
|
|
1102
1083
|
enumerable: true,
|
|
1103
|
-
get: function () { return
|
|
1084
|
+
get: function () { return chunkEE6CPXKH_cjs.getStructuredErrorAttributes; }
|
|
1104
1085
|
});
|
|
1105
|
-
Object.defineProperty(exports, "
|
|
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
|
|
1096
|
+
get: function () { return chunkEE6CPXKH_cjs.toAttributeValue; }
|
|
1108
1097
|
});
|
|
1109
1098
|
Object.defineProperty(exports, "BaggageSpanProcessor", {
|
|
1110
1099
|
enumerable: true,
|