autotel 7.6.0 → 7.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ import { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from "./dr
10
10
  import { a as EventSchemaMetadata, c as FunnelStatus, l as OutcomeStatus, n as EventAttributeValue, o as EventSubscriber, r as EventAttributes, s as EventTrackingOptions, t as AutotelEventContext } from "./event-subscriber-DMACQA-1.cjs";
11
11
  import { Event, EventsOptions, getEvents, resetEvents } from "./event.cjs";
12
12
  import { n as FilteringSpanProcessorOptions, r as SpanFilterPredicate, t as FilteringSpanProcessor } from "./filtering-span-processor-BpDagWNa.cjs";
13
- import { a as AutotelConfig, c as StringRedactor, i as lockLogger, l as createStringRedactor, n as isInitialized, r as isLoggerLocked, s as ProcessHandlersConfig, t as init } from "./init-BU7qa-Ii.cjs";
13
+ import { a as AutotelConfig, c as StringRedactor, i as lockLogger, l as createStringRedactor, n as isInitialized, r as isLoggerLocked, s as ProcessHandlersConfig, t as init } from "./init-DxmeJ3d0.cjs";
14
14
  import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-CN1-8C76.cjs";
15
15
  import "./canonical-log-line-processor-C0Z_N4oL.cjs";
16
16
  import { i as defineEvent, n as DefinedEvent, r as SchemaLike, t as DefineEventOptions } from "./define-event-BNeuKUPv.cjs";
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { DrainPipelineOptions, PipelineDrainFn, createDrainPipeline } from "./dr
10
10
  import { a as EventSchemaMetadata, c as FunnelStatus, l as OutcomeStatus, n as EventAttributeValue, o as EventSubscriber, r as EventAttributes, s as EventTrackingOptions, t as AutotelEventContext } from "./event-subscriber-DMACQA-1.js";
11
11
  import { Event, EventsOptions, getEvents, resetEvents } from "./event.js";
12
12
  import { n as FilteringSpanProcessorOptions, r as SpanFilterPredicate, t as FilteringSpanProcessor } from "./filtering-span-processor-BpDagWNa.js";
13
- import { a as AutotelConfig, c as StringRedactor, i as lockLogger, l as createStringRedactor, n as isInitialized, r as isLoggerLocked, s as ProcessHandlersConfig, t as init } from "./init-DDCgmfa4.js";
13
+ import { a as AutotelConfig, c as StringRedactor, i as lockLogger, l as createStringRedactor, n as isInitialized, r as isLoggerLocked, s as ProcessHandlersConfig, t as init } from "./init-BHV2gWsV.js";
14
14
  import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-CN1-8C76.js";
15
15
  import "./canonical-log-line-processor-Yq4cXcD5.js";
16
16
  import { i as defineEvent, n as DefinedEvent, r as SchemaLike, t as DefineEventOptions } from "./define-event-Bd8f8mST.js";
@@ -3,7 +3,7 @@ import { s as Logger } from "./logger-S1Fgl0g3.js";
3
3
  import { g as SamplingPreset, m as Sampler } from "./sampling-DBng4Foa.js";
4
4
  import { o as EventSubscriber } from "./event-subscriber-DMACQA-1.js";
5
5
  import { r as SpanFilterPredicate } from "./filtering-span-processor-BpDagWNa.js";
6
- import { r as Policy } from "./policy-CbpP4tFH.js";
6
+ import { r as Policy } from "./policy-C4QcZnqv.js";
7
7
  import { r as SpanNameNormalizerConfig } from "./span-name-normalizer-CN1-8C76.js";
8
8
  import { t as CanonicalLogLineOptions } from "./canonical-log-line-processor-Yq4cXcD5.js";
9
9
  import { NodeSDK, NodeSDKConfiguration } from "@opentelemetry/sdk-node";
@@ -3,7 +3,7 @@ import { s as Logger } from "./logger-S1Fgl0g3.cjs";
3
3
  import { g as SamplingPreset, m as Sampler } from "./sampling-Er217Mge.cjs";
4
4
  import { o as EventSubscriber } from "./event-subscriber-DMACQA-1.cjs";
5
5
  import { r as SpanFilterPredicate } from "./filtering-span-processor-BpDagWNa.cjs";
6
- import { r as Policy } from "./policy-CbpP4tFH.cjs";
6
+ import { r as Policy } from "./policy-C4QcZnqv.cjs";
7
7
  import { r as SpanNameNormalizerConfig } from "./span-name-normalizer-CN1-8C76.cjs";
8
8
  import { t as CanonicalLogLineOptions } from "./canonical-log-line-processor-C0Z_N4oL.cjs";
9
9
  import { ReadableSpan, SpanExporter, SpanProcessor } from "@opentelemetry/sdk-trace-base";
@@ -82,10 +82,8 @@ interface Policy {
82
82
  *
83
83
  * The spec mandates RE2 for cross-implementation consistency; Node's `RegExp`
84
84
  * backtracks, so an untrusted log body plus a pathological pattern is a DoS.
85
- * Capping input bounds the damage without pulling in an RE2 binding.
86
- *
87
- * ponytail: length cap instead of a real RE2 engine — swap in a linear-time
88
- * matcher if policies ever run against fully untrusted patterns.
85
+ * Capping input bounds the damage without pulling in an RE2 binding. Swap in a
86
+ * linear-time matcher if policies ever run against fully untrusted patterns.
89
87
  */
90
88
  declare const MAX_MATCH_LENGTH = 4096;
91
89
  /**
@@ -82,10 +82,8 @@ interface Policy {
82
82
  *
83
83
  * The spec mandates RE2 for cross-implementation consistency; Node's `RegExp`
84
84
  * backtracks, so an untrusted log body plus a pathological pattern is a DoS.
85
- * Capping input bounds the damage without pulling in an RE2 binding.
86
- *
87
- * ponytail: length cap instead of a real RE2 engine — swap in a linear-time
88
- * matcher if policies ever run against fully untrusted patterns.
85
+ * Capping input bounds the damage without pulling in an RE2 binding. Swap in a
86
+ * linear-time matcher if policies ever run against fully untrusted patterns.
89
87
  */
90
88
  declare const MAX_MATCH_LENGTH = 4096;
91
89
  /**
package/dist/policy.cjs CHANGED
Binary file
package/dist/policy.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-CbpP4tFH.cjs";
1
+ import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-C4QcZnqv.cjs";
2
2
  export { AttributePath, MAX_MATCH_LENGTH, Policy, PolicyField, PolicyLogRecordProcessor, PolicyLogTarget, PolicyLogTransform, PolicyMatcher, PolicyTraceTarget, clearPolicies, getPolicies, hasLogPolicies, loadPolicies, policySpanFilter, setPolicies, unsupportedReason, watchPolicyFile };
package/dist/policy.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-CbpP4tFH.js";
1
+ import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-C4QcZnqv.js";
2
2
  export { AttributePath, MAX_MATCH_LENGTH, Policy, PolicyField, PolicyLogRecordProcessor, PolicyLogTarget, PolicyLogTransform, PolicyMatcher, PolicyTraceTarget, clearPolicies, getPolicies, hasLogPolicies, loadPolicies, policySpanFilter, setPolicies, unsupportedReason, watchPolicyFile };
package/dist/policy.js CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  import { g as SamplingPreset } from "./sampling-Er217Mge.cjs";
2
- import { a as AutotelConfig, o as OtlpSignal } from "./init-BU7qa-Ii.cjs";
2
+ import { a as AutotelConfig, o as OtlpSignal } from "./init-DxmeJ3d0.cjs";
3
3
  //#region src/yaml-config.d.ts
4
4
  /** A value as a YAML document carries it: scalars, sequences, mappings. */
5
5
  type YamlValue = string | number | boolean | null | YamlValue[] | YamlMapping;
@@ -1,5 +1,5 @@
1
1
  import { g as SamplingPreset } from "./sampling-DBng4Foa.js";
2
- import { a as AutotelConfig, o as OtlpSignal } from "./init-DDCgmfa4.js";
2
+ import { a as AutotelConfig, o as OtlpSignal } from "./init-BHV2gWsV.js";
3
3
  //#region src/yaml-config.d.ts
4
4
  /** A value as a YAML document carries it: scalars, sequences, mappings. */
5
5
  type YamlValue = string | number | boolean | null | YamlValue[] | YamlMapping;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel",
3
- "version": "7.6.0",
3
+ "version": "7.6.1",
4
4
  "description": "Write Once, Observe Anywhere",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",