raindrop-ai 1.0.7 → 1.0.8

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-J2WYJUH7.mjs";
51
- import "./chunk-BMYWLBYI.mjs";
50
+ } from "./chunk-NELGM2YD.mjs";
51
+ import "./chunk-JK73MFZN.mjs";
52
52
  import {
53
53
  BooleanThresholdSchema,
54
54
  EvalContextSchema,
@@ -1,5 +1,5 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BXzOiaVu.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-BOTg0MlJ.mjs';
3
3
  import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.mjs';
4
4
  import '@opentelemetry/api';
5
5
  import 'zod';
@@ -53,6 +53,10 @@ interface TracingOptions extends InitializeOptions {
53
53
  projectId?: string;
54
54
  /** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
55
55
  flushTimeoutMs?: number;
56
+ /** The client's `redactTracePii`: redact PII from span input and output. */
57
+ redactTracePii?: boolean;
58
+ /** The client's `redactPiiFields`; only `span` applies to traces. */
59
+ redactPiiFields?: PiiFieldMap;
56
60
  }
57
61
  declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
58
62
  /**
@@ -1,5 +1,5 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BXzOiaVu.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-BOTg0MlJ.js';
3
3
  import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.js';
4
4
  import '@opentelemetry/api';
5
5
  import 'zod';
@@ -53,6 +53,10 @@ interface TracingOptions extends InitializeOptions {
53
53
  projectId?: string;
54
54
  /** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
55
55
  flushTimeoutMs?: number;
56
+ /** The client's `redactTracePii`: redact PII from span input and output. */
57
+ redactTracePii?: boolean;
58
+ /** The client's `redactPiiFields`; only `span` applies to traces. */
59
+ redactPiiFields?: PiiFieldMap;
56
60
  }
57
61
  declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
58
62
  /**