w3pk 0.10.0 → 0.10.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
@@ -428,6 +428,8 @@ console.log('Verified:', isValid ? '✅' : '❌')
428
428
 
429
429
  ### Security Inspection
430
430
 
431
+ > **⚠️ Privacy Notice:** This optional feature sends application source code to an external API (Rukh) for AI analysis. User IP address will be visible to the API server.
432
+
431
433
  Analyze web3 applications to understand their transaction and signing methods:
432
434
 
433
435
  **Browser (analyze current page):**
package/dist/index.d.mts CHANGED
@@ -2121,6 +2121,11 @@ interface BrowserInspectOptions {
2121
2121
  * @default 'transactions'
2122
2122
  */
2123
2123
  focusMode?: "transactions" | "all";
2124
+ /**
2125
+ * Maximum total size in KB for all collected code (prevents exceeding API token limits)
2126
+ * @default 100
2127
+ */
2128
+ maxTotalSizeKB?: number;
2124
2129
  }
2125
2130
  /**
2126
2131
  * Result of a browser-based inspection
package/dist/index.d.ts CHANGED
@@ -2121,6 +2121,11 @@ interface BrowserInspectOptions {
2121
2121
  * @default 'transactions'
2122
2122
  */
2123
2123
  focusMode?: "transactions" | "all";
2124
+ /**
2125
+ * Maximum total size in KB for all collected code (prevents exceeding API token limits)
2126
+ * @default 100
2127
+ */
2128
+ maxTotalSizeKB?: number;
2124
2129
  }
2125
2130
  /**
2126
2131
  * Result of a browser-based inspection