@kya-os/agentshield-nextjs 0.1.45 → 0.1.47

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
@@ -1989,7 +1989,7 @@ function createEnhancedAgentShieldMiddleware(config = {}) {
1989
1989
  }
1990
1990
 
1991
1991
  // src/api-client.ts
1992
- var DEFAULT_BASE_URL = "https://api.agentshield.ai";
1992
+ var DEFAULT_BASE_URL = "https://kya.vouched.id";
1993
1993
  var DEFAULT_TIMEOUT = 5e3;
1994
1994
  var AgentShieldClient = class {
1995
1995
  apiKey;
@@ -2224,6 +2224,7 @@ function withAgentShield(config = {}) {
2224
2224
  isAgent: decision.isAgent,
2225
2225
  confidence: decision.confidence,
2226
2226
  agentName: decision.agentName,
2227
+ detectionMethod: result.data.detection?.detectionMethod || "not-included",
2227
2228
  processingTimeMs: Date.now() - startTime
2228
2229
  });
2229
2230
  }