@anuma/sdk 10.2.1 → 10.2.3

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.
@@ -2033,6 +2033,7 @@ interface MessageRedactionResult {
2033
2033
  * same email address throughout the conversation.
2034
2034
  */
2035
2035
  declare class PiiRedactor {
2036
+ private disposed;
2036
2037
  /** Maps original PII value → placeholder tag. */
2037
2038
  private valueToPlaceholder;
2038
2039
  /** Maps placeholder tag → original PII value (reverse lookup for de-anonymization). */
@@ -2232,6 +2233,8 @@ declare class PiiRedactor {
2232
2233
  * Reset all state. Useful for testing or when starting a fresh conversation.
2233
2234
  */
2234
2235
  clear(): void;
2236
+ /** Clear the mappings and prevent new reversible mappings. */
2237
+ dispose(): void;
2235
2238
  }
2236
2239
 
2237
2240
  type LlmTokenUsage = {
@@ -2033,6 +2033,7 @@ interface MessageRedactionResult {
2033
2033
  * same email address throughout the conversation.
2034
2034
  */
2035
2035
  declare class PiiRedactor {
2036
+ private disposed;
2036
2037
  /** Maps original PII value → placeholder tag. */
2037
2038
  private valueToPlaceholder;
2038
2039
  /** Maps placeholder tag → original PII value (reverse lookup for de-anonymization). */
@@ -2232,6 +2233,8 @@ declare class PiiRedactor {
2232
2233
  * Reset all state. Useful for testing or when starting a fresh conversation.
2233
2234
  */
2234
2235
  clear(): void;
2236
+ /** Clear the mappings and prevent new reversible mappings. */
2237
+ dispose(): void;
2235
2238
  }
2236
2239
 
2237
2240
  type LlmTokenUsage = {