ai-warden 0.8.5 → 0.8.6

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-warden",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "AI security scanner - Detect prompt injection attacks and PII with user settings",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/client.js CHANGED
@@ -142,7 +142,7 @@ class AIWardenClient {
142
142
  const url = `${this.apiUrl}/api/validate`;
143
143
  const payload = {
144
144
  text: content, // API expects 'text', not 'content'
145
- settings: this.settings,
145
+ // Don't send settings - backend ignores them anyway and Cloudflare WAF blocks large payloads
146
146
  ...options
147
147
  };
148
148