raindrop-ai 1.0.8 → 1.0.9

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.mjs CHANGED
@@ -47,8 +47,8 @@ import {
47
47
  runReplay,
48
48
  traceTools,
49
49
  withEvalScope
50
- } from "./chunk-NELGM2YD.mjs";
51
- import "./chunk-JK73MFZN.mjs";
50
+ } from "./chunk-GY3TJEAZ.mjs";
51
+ import "./chunk-D3QLE7H4.mjs";
52
52
  import {
53
53
  BooleanThresholdSchema,
54
54
  EvalContextSchema,
@@ -1,6 +1,6 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BOTg0MlJ.mjs';
3
- import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.mjs';
2
+ import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-Bt667HTt.mjs';
3
+ import { Raindrop, MaskFunction, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.mjs';
4
4
  import '@opentelemetry/api';
5
5
  import 'zod';
6
6
  import '@opentelemetry/sdk-trace-base';
@@ -55,6 +55,8 @@ interface TracingOptions extends InitializeOptions {
55
55
  flushTimeoutMs?: number;
56
56
  /** The client's `redactTracePii`: redact PII from span input and output. */
57
57
  redactTracePii?: boolean;
58
+ /** The client's `mask`: run on span input and output before export. */
59
+ mask?: MaskFunction;
58
60
  /** The client's `redactPiiFields`; only `span` applies to traces. */
59
61
  redactPiiFields?: PiiFieldMap;
60
62
  }
@@ -1,6 +1,6 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BOTg0MlJ.js';
3
- import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.js';
2
+ import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-Bt667HTt.js';
3
+ import { Raindrop, MaskFunction, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.js';
4
4
  import '@opentelemetry/api';
5
5
  import 'zod';
6
6
  import '@opentelemetry/sdk-trace-base';
@@ -55,6 +55,8 @@ interface TracingOptions extends InitializeOptions {
55
55
  flushTimeoutMs?: number;
56
56
  /** The client's `redactTracePii`: redact PII from span input and output. */
57
57
  redactTracePii?: boolean;
58
+ /** The client's `mask`: run on span input and output before export. */
59
+ mask?: MaskFunction;
58
60
  /** The client's `redactPiiFields`; only `span` applies to traces. */
59
61
  redactPiiFields?: PiiFieldMap;
60
62
  }