@webdecoy/node 0.4.0 → 0.4.1

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/README.md CHANGED
@@ -45,7 +45,7 @@ const webdecoy = new WebDecoy({
45
45
  apiKey: 'sk_live_xxxxx',
46
46
 
47
47
  // Optional: API endpoint (defaults to production)
48
- apiUrl: 'https://api.webdecoy.com',
48
+ apiUrl: 'https://ingest.webdecoy.com',
49
49
 
50
50
  // Optional: Enable TLS fingerprinting (default: true)
51
51
  enableTLSFingerprinting: true,
package/dist/index.d.mts CHANGED
@@ -172,7 +172,7 @@ interface WebDecoyConfig {
172
172
  apiKey?: string;
173
173
  /**
174
174
  * API URL for the Web Decoy ingest service
175
- * @default 'https://api.webdecoy.com'
175
+ * @default 'https://ingest.webdecoy.com'
176
176
  */
177
177
  apiUrl?: string;
178
178
  /**
package/dist/index.d.ts CHANGED
@@ -172,7 +172,7 @@ interface WebDecoyConfig {
172
172
  apiKey?: string;
173
173
  /**
174
174
  * API URL for the Web Decoy ingest service
175
- * @default 'https://api.webdecoy.com'
175
+ * @default 'https://ingest.webdecoy.com'
176
176
  */
177
177
  apiUrl?: string;
178
178
  /**
package/dist/index.js CHANGED
@@ -500,7 +500,7 @@ var WebDecoy = class {
500
500
  }
501
501
  this.config = {
502
502
  apiKey: config.apiKey,
503
- apiUrl: config.apiUrl || "https://api.webdecoy.com",
503
+ apiUrl: config.apiUrl || "https://ingest.webdecoy.com",
504
504
  enableTLSFingerprinting: config.enableTLSFingerprinting ?? true,
505
505
  threatScoreThreshold: config.threatScoreThreshold ?? 80,
506
506
  timeout: config.timeout ?? 5e3,
package/dist/index.mjs CHANGED
@@ -438,7 +438,7 @@ var WebDecoy = class {
438
438
  }
439
439
  this.config = {
440
440
  apiKey: config.apiKey,
441
- apiUrl: config.apiUrl || "https://api.webdecoy.com",
441
+ apiUrl: config.apiUrl || "https://ingest.webdecoy.com",
442
442
  enableTLSFingerprinting: config.enableTLSFingerprinting ?? true,
443
443
  threatScoreThreshold: config.threatScoreThreshold ?? 80,
444
444
  timeout: config.timeout ?? 5e3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webdecoy/node",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Web Decoy SDK for Node.js - Bot detection with TLS fingerprinting",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",