@utk09/ui-observability 0.5.0 → 0.7.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 (123) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +119 -60
  3. package/dist/bus/bus.d.ts +10 -10
  4. package/dist/bus/links.d.ts +1 -1
  5. package/dist/bus-DeZzr2bx.cjs +2 -0
  6. package/dist/bus-DeZzr2bx.cjs.map +1 -0
  7. package/dist/{bus-D3OO0OcL.js → bus-DfAbg_pg.js} +19 -19
  8. package/dist/bus-DfAbg_pg.js.map +1 -0
  9. package/dist/capture/network.d.ts +2 -2
  10. package/dist/capture/types.d.ts +10 -10
  11. package/dist/capture/web-vitals.d.ts +3 -3
  12. package/dist/constants-C8nZQBmQ.js +86 -0
  13. package/dist/constants-C8nZQBmQ.js.map +1 -0
  14. package/dist/constants-IBL_jd5R.cjs +2 -0
  15. package/dist/constants-IBL_jd5R.cjs.map +1 -0
  16. package/dist/constants.d.ts +56 -43
  17. package/dist/core/breadcrumbs.d.ts +14 -14
  18. package/dist/core/config.d.ts +5 -4
  19. package/dist/core/context.d.ts +2 -2
  20. package/dist/core/diagnostics.d.ts +10 -9
  21. package/dist/core/journey.d.ts +23 -20
  22. package/dist/core/logger.d.ts +7 -7
  23. package/dist/core/pipeline.d.ts +34 -29
  24. package/dist/core/record.d.ts +6 -6
  25. package/dist/core/runtime.d.ts +20 -18
  26. package/dist/core/sampling.d.ts +15 -16
  27. package/dist/core/sender.d.ts +1 -1
  28. package/dist/{errors-Dme9tz-6.js → errors-4MQyjZVj.js} +4 -4
  29. package/dist/errors-4MQyjZVj.js.map +1 -0
  30. package/dist/{errors-DPju_xSI.cjs → errors-CUdShXe7.cjs} +2 -2
  31. package/dist/errors-CUdShXe7.cjs.map +1 -0
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.ts +7 -5
  35. package/dist/index.js +136 -115
  36. package/dist/index.js.map +1 -1
  37. package/dist/{indexeddb-storage-nxs_rxGx.js → indexeddb-storage-0LtUALBg.js} +16 -16
  38. package/dist/indexeddb-storage-0LtUALBg.js.map +1 -0
  39. package/dist/indexeddb-storage-CcEJlq2l.cjs +2 -0
  40. package/dist/indexeddb-storage-CcEJlq2l.cjs.map +1 -0
  41. package/dist/{interactions-DP0-rIPJ.cjs → interactions-BMNPQ3WH.cjs} +2 -2
  42. package/dist/interactions-BMNPQ3WH.cjs.map +1 -0
  43. package/dist/{interactions-C1romMpE.js → interactions-BaCmoGLB.js} +2 -2
  44. package/dist/interactions-BaCmoGLB.js.map +1 -0
  45. package/dist/models/batch.d.ts +12 -9
  46. package/dist/models/bus.d.ts +12 -13
  47. package/dist/models/config.d.ts +85 -44
  48. package/dist/models/log-record.d.ts +12 -10
  49. package/dist/models/serializer.d.ts +3 -2
  50. package/dist/models/storage.d.ts +2 -2
  51. package/dist/network-DBNvxCE3.cjs +2 -0
  52. package/dist/network-DBNvxCE3.cjs.map +1 -0
  53. package/dist/{network-au-Tqt1n.js → network-jQ2t8rU4.js} +4 -4
  54. package/dist/network-jQ2t8rU4.js.map +1 -0
  55. package/dist/platform-ByQllE_W.cjs +2 -0
  56. package/dist/platform-ByQllE_W.cjs.map +1 -0
  57. package/dist/{platform-DMYo3AX3.js → platform-YuByH8A5.js} +8 -8
  58. package/dist/platform-YuByH8A5.js.map +1 -0
  59. package/dist/{sampling-ByI5H44E.js → sampling-CbYySsZ1.js} +21 -18
  60. package/dist/sampling-CbYySsZ1.js.map +1 -0
  61. package/dist/sampling-Cs50xsZl.cjs +2 -0
  62. package/dist/sampling-Cs50xsZl.cjs.map +1 -0
  63. package/dist/{sender-R7lOpyNc.js → sender-BIob8eZz.js} +60 -60
  64. package/dist/sender-BIob8eZz.js.map +1 -0
  65. package/dist/sender-iOjzcueM.cjs +3 -0
  66. package/dist/sender-iOjzcueM.cjs.map +1 -0
  67. package/dist/storage/emergency-queue.d.ts +2 -2
  68. package/dist/storage/factory.d.ts +2 -1
  69. package/dist/storage/idb-driver.d.ts +19 -19
  70. package/dist/storage/indexeddb-storage.d.ts +18 -17
  71. package/dist/storage/keys.d.ts +1 -1
  72. package/dist/storage/local-storage.d.ts +19 -18
  73. package/dist/storage/memory-storage.d.ts +12 -11
  74. package/dist/transport/compression.d.ts +2 -2
  75. package/dist/transport/errors.d.ts +8 -7
  76. package/dist/transport/exit-flush.d.ts +27 -24
  77. package/dist/transport/http-transport.d.ts +18 -11
  78. package/dist/transport/retry-engine.d.ts +33 -28
  79. package/dist/transport/serializers/ecs.d.ts +1 -1
  80. package/dist/transport/serializers/otlp.d.ts +1 -1
  81. package/dist/unref-16maCyKA.js.map +1 -1
  82. package/dist/unref-CU9Nyz_9.cjs.map +1 -1
  83. package/dist/utils/console.d.ts +7 -6
  84. package/dist/utils/identity.d.ts +6 -5
  85. package/dist/utils/lock.d.ts +4 -4
  86. package/dist/utils/platform.d.ts +5 -3
  87. package/dist/utils/sanitize.d.ts +5 -2
  88. package/dist/utils/sequence.d.ts +2 -2
  89. package/dist/utils/tracing.d.ts +8 -7
  90. package/dist/web-vitals-B2FYsEAU.cjs +2 -0
  91. package/dist/web-vitals-B2FYsEAU.cjs.map +1 -0
  92. package/dist/{web-vitals-DwWdLBq6.js → web-vitals-DHZ0yA_H.js} +4 -4
  93. package/dist/web-vitals-DHZ0yA_H.js.map +1 -0
  94. package/package.json +4 -2
  95. package/dist/bus-D3OO0OcL.js.map +0 -1
  96. package/dist/bus-OdRJVUzr.cjs +0 -2
  97. package/dist/bus-OdRJVUzr.cjs.map +0 -1
  98. package/dist/constants-B6kdsCzF.js +0 -75
  99. package/dist/constants-B6kdsCzF.js.map +0 -1
  100. package/dist/constants-DZH04585.cjs +0 -2
  101. package/dist/constants-DZH04585.cjs.map +0 -1
  102. package/dist/errors-DPju_xSI.cjs.map +0 -1
  103. package/dist/errors-Dme9tz-6.js.map +0 -1
  104. package/dist/indexeddb-storage-lGdoHGHy.cjs +0 -2
  105. package/dist/indexeddb-storage-lGdoHGHy.cjs.map +0 -1
  106. package/dist/indexeddb-storage-nxs_rxGx.js.map +0 -1
  107. package/dist/interactions-C1romMpE.js.map +0 -1
  108. package/dist/interactions-DP0-rIPJ.cjs.map +0 -1
  109. package/dist/network-DDVIJSHd.cjs +0 -2
  110. package/dist/network-DDVIJSHd.cjs.map +0 -1
  111. package/dist/network-au-Tqt1n.js.map +0 -1
  112. package/dist/platform-DMYo3AX3.js.map +0 -1
  113. package/dist/platform-g99Kn755.cjs +0 -2
  114. package/dist/platform-g99Kn755.cjs.map +0 -1
  115. package/dist/sampling-ByI5H44E.js.map +0 -1
  116. package/dist/sampling-Dui-Fp3u.cjs +0 -2
  117. package/dist/sampling-Dui-Fp3u.cjs.map +0 -1
  118. package/dist/sender-R7lOpyNc.js.map +0 -1
  119. package/dist/sender-vLcbQhiB.cjs +0 -3
  120. package/dist/sender-vLcbQhiB.cjs.map +0 -1
  121. package/dist/web-vitals-DM2nvcMJ.cjs +0 -2
  122. package/dist/web-vitals-DM2nvcMJ.cjs.map +0 -1
  123. package/dist/web-vitals-DwWdLBq6.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { At as e, C as t, Ct as n, D as r, Dt as i, E as a, Et as o, F as s, Gt as c, M as l, Mt as u, N as d, Nt as f, Ot as p, Pt as m, Rt as h, St as g, T as _, Tt as ee, Vt as v, Yt as te, _ as ne, a as y, an as re, at as ie, bt as b, c as x, cn as ae, d as oe, g as se, h as ce, ht as le, i as ue, in as de, it as S, j as C, jt as fe, kt as pe, l as w, ln as me, m as he, mt as ge, n as T, nn as _e, nt as E, o as D, on as ve, p as ye, r as be, rn as xe, rt as Se, s as Ce, tt as we, u as O, un as k, wt as Te, zt as Ee } from "./constants-B6kdsCzF.js";
2
- import { _ as De, a as A, c as j, d as Oe, g as M, h as ke, i as Ae, l as je, m as N, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, u as P } from "./sampling-ByI5H44E.js";
3
- import { n as Le, r as Re, t as ze } from "./platform-DMYo3AX3.js";
1
+ import { At as e, C as t, Ct as n, D as r, Dt as i, E as a, Et as o, F as s, Gt as c, M as l, Mt as u, N as d, Nt as f, Ot as p, Pt as m, Rt as h, St as g, T as _, Tt as ee, Vt as v, Yt as te, _ as ne, a as y, an as re, at as ie, bt as b, c as x, cn as ae, d as oe, g as se, h as ce, ht as le, i as ue, in as de, it as S, j as C, jt as fe, kt as pe, l as w, ln as me, m as he, mt as ge, n as T, nn as _e, nt as E, o as D, on as ve, p as ye, r as be, rn as xe, rt as Se, s as Ce, tt as we, u as O, un as k, wt as Te, zt as Ee } from "./constants-C8nZQBmQ.js";
2
+ import { _ as De, a as A, c as j, d as Oe, g as M, h as ke, i as Ae, l as je, m as N, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, u as P } from "./sampling-CbYySsZ1.js";
3
+ import { n as Le, r as Re, t as ze } from "./platform-YuByH8A5.js";
4
4
  import { t as Be } from "./unref-16maCyKA.js";
5
5
  //#region src/utils/timer.ts
6
6
  function F(e) {
@@ -41,7 +41,7 @@ async function He(e, t, n, r) {
41
41
  //#region src/core/logger.ts
42
42
  function Ue(e, t) {
43
43
  if (e instanceof Error) return e;
44
- let n = t.guard("record.sanitize_failed", "describing an error reason", () => String(e));
44
+ let n = t.guard("record.sanitize_failed", "The library could not convert the error reason to text.", () => String(e));
45
45
  return Error(n ?? typeof e);
46
46
  }
47
47
  function We(e) {
@@ -160,23 +160,23 @@ var R = class e {
160
160
  ERROR: "error",
161
161
  FATAL: "error"
162
162
  }, Ke = class {
163
- minLevel;
163
+ settings;
164
164
  diagnostics;
165
165
  constructor(e, t) {
166
- this.minLevel = e, this.diagnostics = t;
166
+ this.settings = e, this.diagnostics = t;
167
167
  }
168
168
  update(e) {
169
- this.minLevel = e;
169
+ this.settings = e;
170
170
  }
171
171
  accepts(e) {
172
- return this.minLevel !== null && S[e] >= S[this.minLevel];
172
+ return this.settings.level !== null && S[e] >= S[this.settings.level];
173
173
  }
174
- write(e, t, n, i, a) {
174
+ write(e, t, n, r, i) {
175
175
  if (!this.accepts(t) || typeof console > "u") return;
176
- let o = `%c[%s]%c ${t}`, s = Ge[t];
177
- this.diagnostics.guard("handler.threw", `mirroring to console.${s}`, () => {
178
- let t = [];
179
- a !== void 0 && t.push(a), i !== void 0 && t.push(Pe(i, b)), console[s](o, r, e, "", n, ...t);
176
+ let a = `%c[%s]%c[${t}]%c`, { styles: o } = this.settings, s = Ge[t];
177
+ this.diagnostics.guard("handler.threw", `The library could not print to console.${s}.`, () => {
178
+ let c = [];
179
+ i !== void 0 && c.push(i), r !== void 0 && c.push(Pe(r, b, this.diagnostics)), console[s](a, o.namespace, e, o[t], "", n, ...c);
180
180
  });
181
181
  }
182
182
  }, qe = class {
@@ -225,7 +225,7 @@ var $e = class {
225
225
  if (this.load) try {
226
226
  this.otel = await this.load();
227
227
  } catch (e) {
228
- this.diagnostics.report("trace.otel_failed", "@opentelemetry/api is not available, so records carry this library's own trace ids", void 0, e);
228
+ this.diagnostics.report("trace.otel_failed", "The library could not load @opentelemetry/api. Records use the trace ids of the library.", void 0, e);
229
229
  }
230
230
  }
231
231
  resolve() {
@@ -234,7 +234,7 @@ var $e = class {
234
234
  }
235
235
  activeSpanContext() {
236
236
  let e = this.otel;
237
- if (e) return this.diagnostics.guard("trace.otel_failed", "reading the active OpenTelemetry span", () => {
237
+ if (e) return this.diagnostics.guard("trace.otel_failed", "The library could not read the active OpenTelemetry span.", () => {
238
238
  let t = e.trace.getActiveSpan();
239
239
  if (t === void 0) return;
240
240
  let n = t.spanContext();
@@ -250,7 +250,7 @@ var $e = class {
250
250
  }
251
251
  headers() {
252
252
  let e = {}, t = this.otel;
253
- if (t && this.diagnostics.guard("trace.otel_failed", "injecting OpenTelemetry headers", () => {
253
+ if (t && this.diagnostics.guard("trace.otel_failed", "The library could not add the OpenTelemetry headers.", () => {
254
254
  t.propagation.inject(t.context.active(), e);
255
255
  }), !e.traceparent) {
256
256
  let t = this.resolve(), n = (t.traceFlags & 255).toString(16).padStart(2, "0");
@@ -282,10 +282,31 @@ function tt(e) {
282
282
  return typeof e != "object" || !e ? !1 : typeof Reflect.get(e, "serialize") == "function";
283
283
  }
284
284
  function nt(e, t, n) {
285
- return e === void 0 ? t ?? "otlp" : e === "otlp" || e === "ecs" || tt(e) ? e : (n.report("config.invalid", `serializer must be "${v}", "ecs" or an implementation`), v);
285
+ return e === void 0 ? t ?? "otlp" : e === "otlp" || e === "ecs" || tt(e) ? e : (n.report("config.invalid", `serializer must be "${v}", "ecs" or an implementation. The library uses "${v}".`), v);
286
286
  }
287
- function rt(e, t) {
288
- return e === void 0 ? t : e === !1 ? null : e === !0 ? a : e;
287
+ var rt = new Set(Object.keys(r));
288
+ function it(e, t) {
289
+ let n = {}, r = Object.entries(e ?? {});
290
+ for (let [e, i] of r) rt.has(e) ? typeof i == "string" ? n[e] = i : t.report("config.invalid", `console.styles.${e} must be a string. The library keeps the style in force.`) : t.report("config.invalid", `The library ignores the unknown console.styles key "${e}". Check the spelling.`);
291
+ return n;
292
+ }
293
+ function at(e, t, n) {
294
+ return e === void 0 ? t : e === !1 ? {
295
+ level: null,
296
+ styles: t.styles
297
+ } : e === !0 ? {
298
+ level: a,
299
+ styles: t.styles
300
+ } : typeof e == "string" ? {
301
+ level: e,
302
+ styles: t.styles
303
+ } : typeof e != "object" || !e ? (n.report("config.invalid", "console must be a boolean, a level or an object. The console settings in force stay."), t) : {
304
+ level: e.level ?? t.level ?? "DEBUG",
305
+ styles: {
306
+ ...t.styles,
307
+ ...it(e.styles, n)
308
+ }
309
+ };
289
310
  }
290
311
  function H(e, t, n) {
291
312
  let r = n ?? C, i = {
@@ -293,7 +314,7 @@ function H(e, t, n) {
293
314
  ...e,
294
315
  endpoint: e.endpoint === void 0 ? r.endpoint : e.endpoint,
295
316
  serializer: nt(e.serializer, n?.serializer, t),
296
- console: rt(e.console, r.console),
317
+ console: at(e.console, r.console, t),
297
318
  sampling: {
298
319
  ...r.sampling,
299
320
  ...e.sampling,
@@ -311,36 +332,36 @@ function H(e, t, n) {
311
332
  ...e.capture
312
333
  }
313
334
  };
314
- if (i.endpoint === "") t.report("config.invalid", "endpoint is missing. The library builds records and drops them. Set endpoint: null for console-only mode.");
335
+ if (i.endpoint === "") t.report("config.invalid", "endpoint is missing. The library drops each record. Set endpoint: null for console-only mode.");
315
336
  else if (i.endpoint !== null) try {
316
337
  new URL(i.endpoint);
317
338
  } catch (e) {
318
- t.report("config.invalid", `endpoint is not a valid absolute URL: ${i.endpoint}`, void 0, e);
339
+ t.report("config.invalid", `endpoint is not a valid absolute URL: ${i.endpoint}.`, void 0, e);
319
340
  }
320
- i.serviceName ||= (t.report("config.invalid", `serviceName is missing. Every record will report service.name as '${k}'.`), k);
341
+ i.serviceName ||= (t.report("config.invalid", `serviceName is missing. Every record reports service.name as '${k}'.`), k);
321
342
  let a = i.sampling.defaultRate;
322
- (typeof a != "number" || a < 0 || a > 1) && (t.report("config.invalid", `sampling.defaultRate must be 0..1, got ${String(a)}`), i.sampling.defaultRate = 1);
343
+ (typeof a != "number" || a < 0 || a > 1) && (t.report("config.invalid", `sampling.defaultRate must be 0..1. The value is ${String(a)}. The library uses 1.`), i.sampling.defaultRate = 1);
323
344
  let o = Object.entries(i.sampling.rates);
324
- for (let [e, n] of o) (typeof n != "number" || n < 0 || n > 1) && (t.report("config.invalid", `sampling.rates["${e}"] must be 0..1, got ${String(n)}`), i.sampling.rates[e] = 1);
325
- return i.capture.ignoreUrls = i.capture.ignoreUrls.filter((e) => e !== n?.endpoint), i.endpoint && !i.capture.ignoreUrls.includes(i.endpoint) && (i.capture.ignoreUrls = [...i.capture.ignoreUrls, i.endpoint]), it(e, t), i;
345
+ for (let [e, n] of o) (typeof n != "number" || n < 0 || n > 1) && (t.report("config.invalid", `sampling.rates["${e}"] must be 0..1. The value is ${String(n)}. The library uses 1.`), i.sampling.rates[e] = 1);
346
+ return i.capture.ignoreUrls = i.capture.ignoreUrls.filter((e) => e !== n?.endpoint), i.endpoint && !i.capture.ignoreUrls.includes(i.endpoint) && (i.capture.ignoreUrls = [...i.capture.ignoreUrls, i.endpoint]), ot(e, t), i;
326
347
  }
327
- function it(e, t) {
348
+ function ot(e, t) {
328
349
  let n = /* @__PURE__ */ new Set([...Object.keys(C), ...ae]);
329
- for (let r of Object.keys(e)) n.has(r) || t.report("config.invalid", `unknown config key "${r}", ignored. Typo?`);
350
+ for (let r of Object.keys(e)) n.has(r) || t.report("config.invalid", `The library ignores the unknown config key "${r}". Check the spelling.`);
330
351
  for (let n of _) {
331
352
  let r = e[n];
332
353
  if (typeof r != "object" || !r) continue;
333
354
  let i = /* @__PURE__ */ new Set([...Object.keys(C[n]), ...me[n]]);
334
- for (let e of Object.keys(r)) i.has(e) || t.report("config.invalid", `unknown config key "${n}.${e}", ignored. Typo?`);
355
+ for (let e of Object.keys(r)) i.has(e) || t.report("config.invalid", `The library ignores the unknown config key "${n}.${e}". Check the spelling.`);
335
356
  }
336
357
  }
337
- function at(e, t) {
358
+ function st(e, t) {
338
359
  for (let n of Object.keys(t)) _.includes(n) || Object.assign(e, { [n]: t[n] });
339
360
  for (let n of _) Object.assign(e[n], t[n]);
340
361
  }
341
362
  //#endregion
342
363
  //#region src/core/context.ts
343
- var ot = class {
364
+ var ct = class {
344
365
  map = /* @__PURE__ */ new Map();
345
366
  set(e, t) {
346
367
  this.map.set(e, t);
@@ -360,7 +381,7 @@ var ot = class {
360
381
  getAll() {
361
382
  return Object.fromEntries(this.map);
362
383
  }
363
- }, st = class {
384
+ }, lt = class {
364
385
  handler;
365
386
  throttleMs;
366
387
  counters = /* @__PURE__ */ new Map();
@@ -390,7 +411,7 @@ var ot = class {
390
411
  if (this.handler) try {
391
412
  this.handler(o);
392
413
  } catch (e) {
393
- this.count("handler.threw"), typeof console < "u" && console.warn(`${ie} onDiagnostic handler threw`, e);
414
+ this.count("handler.threw"), typeof console < "u" && console.warn(`${ie} The onDiagnostic handler threw an error.`, e);
394
415
  }
395
416
  }
396
417
  guard(e, t, n) {
@@ -415,7 +436,7 @@ var ot = class {
415
436
  reset() {
416
437
  this.counters.clear(), this.lastEmitted.clear();
417
438
  }
418
- }, ct = {
439
+ }, ut = {
419
440
  maxAgeMs: we,
420
441
  endOnOwnerClose: !1,
421
442
  urlParam: Se
@@ -428,7 +449,7 @@ function W(e, t) {
428
449
  let n = Reflect.get(e, t);
429
450
  return typeof n == "number" && Number.isFinite(n) ? n : void 0;
430
451
  }
431
- function lt(e) {
452
+ function dt(e) {
432
453
  if (typeof e != "object" || !e) return null;
433
454
  let t = U(e, "id"), n = U(e, "name"), r = W(e, "startedAt");
434
455
  return t === void 0 || n === void 0 || r === void 0 ? null : {
@@ -439,7 +460,7 @@ function lt(e) {
439
460
  ownerContextId: U(e, "ownerContextId") ?? ""
440
461
  };
441
462
  }
442
- function ut(e) {
463
+ function ft(e) {
443
464
  if (typeof e != "object" || !e) return null;
444
465
  let t = U(e, "i"), n = U(e, "n");
445
466
  return t === void 0 || n === void 0 ? null : {
@@ -450,7 +471,7 @@ function ut(e) {
450
471
  ownerContextId: ""
451
472
  };
452
473
  }
453
- function dt(e) {
474
+ function pt(e) {
454
475
  let t = JSON.stringify({
455
476
  i: e.id,
456
477
  n: e.name.slice(0, 64),
@@ -459,7 +480,7 @@ function dt(e) {
459
480
  for (let e of n) r += String.fromCharCode(e);
460
481
  return btoa(r).replace(se, "-").replace(ne, "_").replace(ce, "");
461
482
  }
462
- var ft = class {
483
+ var mt = class {
463
484
  options;
464
485
  diagnostics;
465
486
  contextId;
@@ -476,14 +497,14 @@ var ft = class {
476
497
  async bootstrap() {
477
498
  let e = this.readUrlToken();
478
499
  if (e && this.adopt(e, "url")) return;
479
- let t = this.diagnostics.guard("storage.unavailable", "reading the persisted journey", () => this.stores.session().getItem(E));
500
+ let t = this.diagnostics.guard("storage.unavailable", "The library could not read the persisted journey.", () => this.stores.session().getItem(E));
480
501
  if (t && this.restore(t)) return;
481
502
  let n = await this.readOpenFinToken();
482
503
  n !== null && this.adopt(n, "openfin.customData");
483
504
  }
484
505
  start(e, t = {}) {
485
506
  let n = {
486
- id: t.id ?? j(),
507
+ id: t.id ?? j(this.diagnostics),
487
508
  name: e,
488
509
  startedAt: Date.now(),
489
510
  parentId: t.parent ? this.journey?.id : void 0,
@@ -501,16 +522,16 @@ var ft = class {
501
522
  getToken() {
502
523
  let e = this.journey;
503
524
  if (e === null) return;
504
- let t = dt(e);
505
- if (t.length > 256) this.diagnostics.report("journey.token_too_large", "journey token exceeded the size cap and was not issued", { length: t.length });
525
+ let t = pt(e);
526
+ if (t.length > 256) this.diagnostics.report("journey.token_too_large", "The journey token is larger than the size limit. The library does not issue it.", { length: t.length });
506
527
  else return t;
507
528
  }
508
529
  adopt(e, t, n = !1) {
509
530
  let r = this.decodeToken(e);
510
- return r === null ? !1 : Date.now() - r.startedAt > this.options.maxAgeMs ? (this.diagnostics.report("journey.expired", "discarded a seeded journey older than maxAgeMs", {
531
+ return r === null ? !1 : Date.now() - r.startedAt > this.options.maxAgeMs ? (this.diagnostics.report("journey.expired", "The library discarded a seeded journey older than maxAgeMs.", {
511
532
  source: t,
512
533
  name: r.name
513
- }), !1) : (this.setJourney(r), this.diagnostics.report("journey.adopted", `adopted journey "${r.name}"`, {
534
+ }), !1) : (this.setJourney(r), this.diagnostics.report("journey.adopted", `The library adopted the journey "${r.name}".`, {
514
535
  source: t,
515
536
  journeyId: r.id
516
537
  }), n && this.onLocalChange(r), !0);
@@ -522,29 +543,29 @@ var ft = class {
522
543
  this.clearTimer();
523
544
  }
524
545
  restore(e) {
525
- let t = lt(this.diagnostics.guard("storage.degraded", "parsing the persisted journey", () => JSON.parse(e)));
526
- return t === null ? !1 : Date.now() - t.startedAt > this.options.maxAgeMs ? (this.diagnostics.report("journey.expired", "discarded a persisted journey older than maxAgeMs", { name: t.name }), this.clearStored(), !1) : (this.setJourney(t), this.diagnostics.report("journey.adopted", `resumed journey "${t.name}"`, {
546
+ let t = dt(this.diagnostics.guard("storage.degraded", "The library could not parse the persisted journey.", () => JSON.parse(e)));
547
+ return t === null ? !1 : Date.now() - t.startedAt > this.options.maxAgeMs ? (this.diagnostics.report("journey.expired", "The library discarded a persisted journey older than maxAgeMs.", { name: t.name }), this.clearStored(), !1) : (this.setJourney(t), this.diagnostics.report("journey.adopted", `The library resumed the journey "${t.name}".`, {
527
548
  source: "sessionStorage",
528
549
  journeyId: t.id
529
550
  }), !0);
530
551
  }
531
552
  decodeToken(e) {
532
- return this.diagnostics.guard("config.invalid", "decoding a seeded journey token", () => {
553
+ return this.diagnostics.guard("config.invalid", "The library could not decode a seeded journey token.", () => {
533
554
  let t = e.replace(ye, "+").replace(he, "/"), n = (4 - t.length % 4) % 4, r = "=".repeat(n), i = Uint8Array.from(atob(t + r), (e) => e.charCodeAt(0));
534
- return ut(JSON.parse(new TextDecoder().decode(i)));
555
+ return ft(JSON.parse(new TextDecoder().decode(i)));
535
556
  }) ?? null;
536
557
  }
537
558
  setJourney(e) {
538
- if (this.journey = e, this.clearTimer(), this.diagnostics.guard("storage.unavailable", "persisting the journey", () => {
559
+ if (this.journey = e, this.clearTimer(), this.diagnostics.guard("storage.unavailable", "The library could not save the journey.", () => {
539
560
  e === null ? this.stores.session().removeItem(E) : this.stores.session().setItem(E, JSON.stringify(e));
540
561
  }), e === null) return;
541
562
  let t = Math.max(this.options.maxAgeMs - (Date.now() - e.startedAt), 0), n = setTimeout(() => {
542
- this.diagnostics.report("journey.expired", `journey "${e.name}" hit maxAgeMs and was ended automatically`, { journeyId: e.id }), this.journey = null, this.expiryTimer = null, this.clearStored();
563
+ this.diagnostics.report("journey.expired", `The journey "${e.name}" reached maxAgeMs. The library ended it.`, { journeyId: e.id }), this.journey = null, this.expiryTimer = null, this.clearStored();
543
564
  }, t);
544
565
  this.expiryTimer = n, Be(n);
545
566
  }
546
567
  clearStored() {
547
- this.diagnostics.guard("storage.unavailable", "clearing the persisted journey", () => {
568
+ this.diagnostics.guard("storage.unavailable", "The library could not clear the persisted journey.", () => {
548
569
  this.stores.session().removeItem(E);
549
570
  });
550
571
  }
@@ -552,12 +573,12 @@ var ft = class {
552
573
  this.expiryTimer !== null && (clearTimeout(this.expiryTimer), this.expiryTimer = null);
553
574
  }
554
575
  readUrlToken() {
555
- return this.diagnostics.guard("config.invalid", "reading the journey token from the URL", () => typeof location > "u" ? null : new URL(location.href).searchParams.get(this.options.urlParam)) ?? null;
576
+ return this.diagnostics.guard("config.invalid", "The library could not read the journey token from the URL.", () => typeof location > "u" ? null : new URL(location.href).searchParams.get(this.options.urlParam)) ?? null;
556
577
  }
557
578
  async readOpenFinToken() {
558
579
  let e = globalThis.fin?.me, t = e?.getOptions;
559
580
  if (t === void 0) return null;
560
- let n = (await this.diagnostics.guardAsync("openfin.unavailable", "reading fin.me.getOptions()", () => Ae(t.call(e), le)))?.customData?.[ge];
581
+ let n = (await this.diagnostics.guardAsync("openfin.unavailable", "The library could not read fin.me.getOptions().", () => Ae(t.call(e), le)))?.customData?.[ge];
561
582
  return typeof n == "string" ? n : null;
562
583
  }
563
584
  };
@@ -566,7 +587,7 @@ var ft = class {
566
587
  function G(e) {
567
588
  return e;
568
589
  }
569
- var pt = class {
590
+ var ht = class {
570
591
  deps;
571
592
  resourceCache = null;
572
593
  constructor(e) {
@@ -596,16 +617,16 @@ var pt = class {
596
617
  record: null,
597
618
  dropped: "sampling"
598
619
  };
599
- let u = a.next(), d = ze(), f = t.capture.fullUrls ? d : Re(d), p, m = 0;
620
+ let u = a.next(), d = ze(n), f = t.capture.fullUrls ? d : Re(d), p, m = 0;
600
621
  try {
601
- let t = N(this.deps.context.getAll(), o), n = N(e.scoped ?? {}, o), r = N(e.payload ?? {}, o);
602
- m = t.bytes + n.bytes + r.bytes, p = {
622
+ let t = N(this.deps.context.getAll(), o, n), r = N(e.scoped ?? {}, o, n), i = N(e.payload ?? {}, o, n);
623
+ m = t.bytes + r.bytes + i.bytes, p = {
603
624
  ...G(t.value),
604
- ...G(n.value),
605
- ...G(r.value)
625
+ ...G(r.value),
626
+ ...G(i.value)
606
627
  };
607
628
  } catch (e) {
608
- n.report("record.sanitize_failed", "attributes could not be sanitized", void 0, e), p = { [oe]: !0 };
629
+ n.report("record.sanitize_failed", "The library could not sanitize the attributes.", void 0, e), p = { [oe]: !0 };
609
630
  }
610
631
  p[w] = e.type, p[x] = u, p[T] = e.namespace, p[O] = f, l && (p[y] = l.id, p[D] = l.name, l.parentId !== void 0 && (p[Ce] = l.parentId));
611
632
  let h = ke(e.body, o.maxBodyChars);
@@ -622,23 +643,23 @@ var pt = class {
622
643
  resource: this.resource()
623
644
  }, _ = t.redact;
624
645
  if (_) {
625
- let e = n.guard("record.sanitize_failed", "redact hook threw", () => _(g));
646
+ let e = n.guard("record.sanitize_failed", "The redact hook threw an error.", () => _(g));
626
647
  if (e === null) return n.count("record.dropped_by_redact"), {
627
648
  record: null,
628
649
  dropped: "redact"
629
650
  };
630
651
  if (e !== void 0 && e !== g) {
631
652
  if (M(e)) {
632
- let t = N(e.attributes, o);
653
+ let t = N(e.attributes, o, n);
633
654
  g = {
634
655
  ...e,
635
656
  attributes: G(t.value)
636
657
  }, m = t.bytes;
637
- } else n.report("record.sanitize_failed", "redact hook returned something that is not a record, keeping the original");
658
+ } else n.report("record.sanitize_failed", "The redact hook returned a value that is not a record. The library keeps the original record.");
638
659
  }
639
660
  }
640
661
  if (m > o.maxRecordBytes) {
641
- n.report("record.truncated", "attributes exceeded the size budget and were dropped", {
662
+ n.report("record.truncated", "The attributes are larger than the size limit. The library dropped them.", {
642
663
  bytes: m,
643
664
  body: g.body
644
665
  });
@@ -673,11 +694,11 @@ var pt = class {
673
694
  ...a.openfinName === void 0 ? {} : { [o]: a.openfinName }
674
695
  }, this.resourceCache;
675
696
  }
676
- }, mt = {
677
- errors: async () => (await import("./errors-Dme9tz-6.js")).ErrorCapture,
678
- network: async () => (await import("./network-au-Tqt1n.js")).NetworkCapture,
679
- interactions: async () => (await import("./interactions-C1romMpE.js")).InteractionCapture,
680
- webVitals: async () => (await import("./web-vitals-DwWdLBq6.js")).WebVitalsCapture
697
+ }, gt = {
698
+ errors: async () => (await import("./errors-4MQyjZVj.js")).ErrorCapture,
699
+ network: async () => (await import("./network-jQ2t8rU4.js")).NetworkCapture,
700
+ interactions: async () => (await import("./interactions-BaCmoGLB.js")).InteractionCapture,
701
+ webVitals: async () => (await import("./web-vitals-DHZ0yA_H.js")).WebVitalsCapture
681
702
  }, K = Symbol.for(h), q = Symbol.for(Ee), J = class e {
682
703
  diagnostics;
683
704
  config;
@@ -686,7 +707,7 @@ var pt = class {
686
707
  stores;
687
708
  identityBuiltAs;
688
709
  sessionTouch;
689
- context = new ot();
710
+ context = new ct();
690
711
  breadcrumbs;
691
712
  tracing;
692
713
  sequence = new qe();
@@ -714,9 +735,9 @@ var pt = class {
714
735
  destroyed = !1;
715
736
  lastGapAt = 0;
716
737
  constructor(e) {
717
- this.diagnostics = new st(e.onDiagnostic), this.platform = Le(this.diagnostics), this.config = H(e, this.diagnostics), this.identityBuiltAs = this.config.identity, this.stores = this.identityBuiltAs === "memory" ? Ie() : A, this.identity = Oe(this.diagnostics, this.stores), this.sessionTouch = new Ne(this.diagnostics, this.stores), this.breadcrumbs = new et(50), this.tracing = new $e(this.diagnostics, void 0, this.config.otelLoader), this.tracing.loadOtel(), this.console = new Ke(this.config.console, this.diagnostics), this.journey = new ft(ct, this.diagnostics, this.identity.contextId, (e) => {
738
+ this.diagnostics = new lt(e.onDiagnostic), this.platform = Le(this.diagnostics), this.config = H(e, this.diagnostics), this.identityBuiltAs = this.config.identity, this.stores = this.identityBuiltAs === "memory" ? Ie() : A, this.identity = Oe(this.diagnostics, this.stores), this.sessionTouch = new Ne(this.diagnostics, this.stores), this.breadcrumbs = new et(50), this.tracing = new $e(this.diagnostics, void 0, this.config.otelLoader), this.tracing.loadOtel(), this.console = new Ke(this.config.console, this.diagnostics), this.journey = new mt(ut, this.diagnostics, this.identity.contextId, (e) => {
718
739
  this.bus?.broadcastJourney(e);
719
- }, this.stores), this.builder = new pt({
740
+ }, this.stores), this.builder = new ht({
720
741
  config: this.config,
721
742
  limits: b,
722
743
  diagnostics: this.diagnostics,
@@ -730,7 +751,7 @@ var pt = class {
730
751
  }
731
752
  busAccept = (e, t) => {
732
753
  this.destroyed || this.ensureBus().then((n) => {
733
- n && !this.destroyed && this.diagnostics.guard("bus.send_failed", "accepting a direct message from a child", () => {
754
+ n && !this.destroyed && this.diagnostics.guard("bus.send_failed", "The bus could not accept a direct message from a child frame.", () => {
734
755
  n.acceptDirect(e, t);
735
756
  });
736
757
  });
@@ -752,14 +773,14 @@ var pt = class {
752
773
  }
753
774
  reconfigure(e) {
754
775
  let t = this.keepEndpoint(e);
755
- at(this.config, H(t, this.diagnostics, this.config)), this.diagnostics.setHandler(this.config.onDiagnostic), this.builder.invalidateResource(), this.console.update(this.config.console), this.keepBuiltStorage(), this.keepBuiltIdentity(), this.installCaptures(), this.roleResolved && this.syncSender(), this.diagnostics.report("config.reconfigured", "configure() was called again, the existing runtime was updated");
776
+ st(this.config, H(t, this.diagnostics, this.config)), this.diagnostics.setHandler(this.config.onDiagnostic), this.builder.invalidateResource(), this.console.update(this.config.console), this.keepBuiltStorage(), this.keepBuiltIdentity(), this.installCaptures(), this.roleResolved && this.syncSender(), this.diagnostics.report("config.reconfigured", "A later configure() call updated the runtime.");
756
777
  }
757
778
  keepBuiltStorage() {
758
779
  let e = this.storageBuiltAs;
759
- e !== void 0 && this.config.storage !== e && (this.diagnostics.report("config.invalid", `storage cannot change after startup, still ${e}`, { requested: this.config.storage }), this.config.storage = e);
780
+ e !== void 0 && this.config.storage !== e && (this.diagnostics.report("config.invalid", `storage cannot change after startup. It stays ${e}.`, { requested: this.config.storage }), this.config.storage = e);
760
781
  }
761
782
  keepEndpoint(e) {
762
- return this.senderLoad === void 0 || e.endpoint !== null && e.endpoint !== "" ? e : (this.diagnostics.report("config.invalid", "endpoint cannot be removed after the delivery stack loads. The endpoint in force stays."), {
783
+ return this.senderLoad === void 0 || e.endpoint !== null && e.endpoint !== "" ? e : (this.diagnostics.report("config.invalid", "You cannot remove the endpoint after the delivery stack loads. The endpoint in force stays."), {
763
784
  ...e,
764
785
  endpoint: void 0
765
786
  });
@@ -774,7 +795,7 @@ var pt = class {
774
795
  let e = this.journey.bootstrap();
775
796
  this.config.bus.mode !== "off" && await this.ensureBus(), this.roleResolved = !0, await this.syncSender(), await e;
776
797
  } catch (e) {
777
- this.diagnostics.report("pipeline.crashed", "startup failed, continuing in a degraded state", void 0, e);
798
+ this.diagnostics.report("pipeline.crashed", "Startup failed. The runtime continues with reduced function.", void 0, e);
778
799
  } finally {
779
800
  this.ready = !0, this.releaseBootBuffer();
780
801
  }
@@ -792,12 +813,12 @@ var pt = class {
792
813
  try {
793
814
  return await e.start(), e;
794
815
  } catch (e) {
795
- return this.diagnostics.report("pipeline.crashed", "the bus did not start. This context sends its own records.", void 0, e), null;
816
+ return this.diagnostics.report("pipeline.crashed", "The bus did not start. This context sends its own records.", void 0, e), null;
796
817
  }
797
818
  }
798
819
  async buildBus() {
799
820
  try {
800
- let { Bus: e } = await import("./bus-D3OO0OcL.js");
821
+ let { Bus: e } = await import("./bus-DfAbg_pg.js");
801
822
  if (this.destroyed) return null;
802
823
  let t = new e(this.config, this.diagnostics, this.platform, this.identity.contextId, this.identity.tabId, {
803
824
  onRecords: (e) => {
@@ -813,7 +834,7 @@ var pt = class {
813
834
  });
814
835
  return this.bus = t, t;
815
836
  } catch (e) {
816
- return this.diagnostics.report("pipeline.crashed", "the bus did not load. This context sends its own records.", void 0, e), null;
837
+ return this.diagnostics.report("pipeline.crashed", "The bus did not load. This context sends its own records.", void 0, e), null;
817
838
  }
818
839
  }
819
840
  role() {
@@ -828,7 +849,7 @@ var pt = class {
828
849
  async buildSender() {
829
850
  this.storageBuiltAs = this.config.storage;
830
851
  try {
831
- let { Sender: e } = await import("./sender-R7lOpyNc.js"), t = this.destroyed ? null : await e.create({
852
+ let { Sender: e } = await import("./sender-BIob8eZz.js"), t = this.destroyed ? null : await e.create({
832
853
  config: this.config,
833
854
  diagnostics: this.diagnostics,
834
855
  onGap: this.reportGap
@@ -839,7 +860,7 @@ var pt = class {
839
860
  }
840
861
  this.sender = t;
841
862
  } catch (e) {
842
- this.senderLoad = void 0, this.diagnostics.report("pipeline.crashed", "the delivery stack did not load. Records are not sent.", { held: this.pendingRecords.length }, e);
863
+ this.senderLoad = void 0, this.diagnostics.report("pipeline.crashed", "The delivery stack did not load. The library does not send records.", { held: this.pendingRecords.length }, e);
843
864
  }
844
865
  let e = this.pendingRecords;
845
866
  this.pendingRecords = [];
@@ -860,22 +881,22 @@ var pt = class {
860
881
  once: this.captureOnce
861
882
  };
862
883
  for (let e of i) e && this.captures.push(new e(a));
863
- for (let e of this.captures) this.diagnostics.guard("capture.install_failed", `installing ${e.name}`, () => {
884
+ for (let e of this.captures) this.diagnostics.guard("capture.install_failed", `The library could not install the ${e.name} capture.`, () => {
864
885
  e.install();
865
886
  });
866
887
  }
867
888
  uninstallCaptures() {
868
- for (let e of this.captures) this.diagnostics.guard("capture.install_failed", `uninstalling ${e.name}`, () => {
889
+ for (let e of this.captures) this.diagnostics.guard("capture.install_failed", `The library could not uninstall the ${e.name} capture.`, () => {
869
890
  e.uninstall();
870
891
  });
871
892
  this.captures.length = 0;
872
893
  }
873
894
  loadCapture(e) {
874
- return this.diagnostics.guardAsync("capture.install_failed", `loading the ${e} capture`, mt[e]);
895
+ return this.diagnostics.guardAsync("capture.install_failed", `The library could not load the ${e} capture.`, gt[e]);
875
896
  }
876
897
  registerWorker(e) {
877
898
  this.destroyed || this.constructBus().then((t) => {
878
- t && !this.destroyed && (this.diagnostics.guard("bus.send_failed", "registering a worker", () => {
899
+ t && !this.destroyed && (this.diagnostics.guard("bus.send_failed", "The library could not register the worker.", () => {
879
900
  t.attachWorker(e);
880
901
  }), this.ensureBus());
881
902
  });
@@ -924,8 +945,8 @@ var pt = class {
924
945
  }));
925
946
  };
926
947
  regenerateTabId() {
927
- let e = j();
928
- this.diagnostics.report("bus.role_resolved", "another context claimed this tab id, most likely a duplicated tab. Regenerating.", {
948
+ let e = j(this.diagnostics);
949
+ this.diagnostics.report("bus.role_resolved", "Another context uses this tab id. A duplicated tab is the usual cause. The library makes a new tab id.", {
929
950
  was: this.identity.tabId,
930
951
  now: e
931
952
  }), this.identity.tabId = e, je(e, this.diagnostics, this.stores), this.builder.invalidateResource();
@@ -943,7 +964,7 @@ var pt = class {
943
964
  function X() {
944
965
  return (J.current() ?? J.stopped()) || J.configure({});
945
966
  }
946
- function ht(e) {
967
+ function _t(e) {
947
968
  J.configure(e);
948
969
  }
949
970
  function Z(e, t) {
@@ -954,82 +975,82 @@ function Z(e, t) {
954
975
  function Q() {
955
976
  return Z("app");
956
977
  }
957
- function gt(e, t) {
978
+ function vt(e, t) {
958
979
  Q().trace(e, t);
959
980
  }
960
- function _t(e, t) {
981
+ function yt(e, t) {
961
982
  Q().debug(e, t);
962
983
  }
963
- function vt(e, t) {
984
+ function bt(e, t) {
964
985
  Q().info(e, t);
965
986
  }
966
- function yt(e, t) {
987
+ function xt(e, t) {
967
988
  Q().warn(e, t);
968
989
  }
969
- function bt(e, t, n) {
990
+ function St(e, t, n) {
970
991
  Q().error(e, t, n);
971
992
  }
972
- function xt(e, t) {
993
+ function Ct(e, t) {
973
994
  Q().logAction(e, t);
974
995
  }
975
- function St(e, t) {
996
+ function wt(e, t) {
976
997
  Q().logEvent(e, t);
977
998
  }
978
- function Ct(e, t, n, r, i) {
999
+ function Tt(e, t, n, r, i) {
979
1000
  Q().logMetric(e, t, n, r, i);
980
1001
  }
981
- function wt(e, t, n) {
1002
+ function Et(e, t, n) {
982
1003
  return Q().timeSync(e, t, n);
983
1004
  }
984
- function Tt(e, t, n) {
1005
+ function $(e, t, n) {
985
1006
  return Q().timeAsync(e, t, n);
986
1007
  }
987
- function Et(e, t) {
1008
+ function Dt(e, t) {
988
1009
  X().context.set(e, t);
989
1010
  }
990
- function $(e) {
1011
+ function Ot(e) {
991
1012
  X().context.setMany(e);
992
1013
  }
993
- function Dt(e) {
1014
+ function kt(e) {
994
1015
  X().context.remove(e);
995
1016
  }
996
- function Ot(e, t) {
1017
+ function At(e, t) {
997
1018
  return X().journey.start(e, t);
998
1019
  }
999
- function kt() {
1020
+ function jt() {
1000
1021
  X().journey.end();
1001
1022
  }
1002
- function At() {
1023
+ function Mt() {
1003
1024
  return X().journey.current();
1004
1025
  }
1005
- function jt() {
1026
+ function Nt() {
1006
1027
  return X().journey.getToken();
1007
1028
  }
1008
- function Mt(e) {
1029
+ function Pt(e) {
1009
1030
  return X().journey.adopt(e, "manual", !0);
1010
1031
  }
1011
- function Nt(e) {
1032
+ function Ft(e) {
1012
1033
  X().registerWorker(e);
1013
1034
  }
1014
- function Pt() {
1035
+ function It() {
1015
1036
  X().tracing.rotate("explicit");
1016
1037
  }
1017
- function Ft() {
1038
+ function Lt() {
1018
1039
  return X().tracing.headers();
1019
1040
  }
1020
- function It() {
1041
+ function Rt() {
1021
1042
  return X().flush();
1022
1043
  }
1023
- function Lt() {
1044
+ function zt() {
1024
1045
  return X().queueDepth();
1025
1046
  }
1026
- function Rt() {
1047
+ function Bt() {
1027
1048
  return X().diagnostics.snapshot();
1028
1049
  }
1029
- async function zt() {
1050
+ async function Vt() {
1030
1051
  await J.current()?.destroy();
1031
1052
  }
1032
1053
  //#endregion
1033
- export { R as OneLogger, Mt as adoptJourney, ht as configure, At as currentJourney, _t as debug, kt as endJourney, bt as error, It as flush, Rt as getDiagnosticCounters, jt as getJourneyToken, Z as getLogger, Lt as getQueueDepth, Ft as getTraceHeaders, vt as info, xt as logAction, St as logEvent, Ct as logMetric, Nt as registerWorker, Dt as removeContext, Et as setContext, $ as setContextMap, zt as shutdown, Ot as startJourney, Pt as startTrace, Tt as timeAsync, wt as timeSync, gt as trace, yt as warn };
1054
+ export { R as OneLogger, Pt as adoptJourney, _t as configure, Mt as currentJourney, yt as debug, jt as endJourney, St as error, Rt as flush, Bt as getDiagnosticCounters, Nt as getJourneyToken, Z as getLogger, zt as getQueueDepth, Lt as getTraceHeaders, bt as info, Ct as logAction, wt as logEvent, Tt as logMetric, Ft as registerWorker, kt as removeContext, Dt as setContext, Ot as setContextMap, Vt as shutdown, At as startJourney, It as startTrace, $ as timeAsync, Et as timeSync, vt as trace, xt as warn };
1034
1055
 
1035
1056
  //# sourceMappingURL=index.js.map