@webdecoy/client 0.14.0 → 0.15.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/dist/index.d.mts CHANGED
@@ -476,10 +476,10 @@ declare function getFormAnalyzer(): FormAnalyzer;
476
476
  declare function sha256(message: string): Promise<string>;
477
477
 
478
478
  /**
479
- * wd_clearance minting (WAF Enforcement PRD FR6 / closes the #124 loop).
479
+ * wd_clearance minting.
480
480
  *
481
481
  * Real browsers earn a signed clearance token from WebDecoy's ingest service and
482
- * carry it in a first-party cookie. The edge validator (FR7) lets tokened
482
+ * carry it in a first-party cookie. The edge validator lets tokened
483
483
  * sessions through; a decoy hit denies the token's fp (deny-at-mint + live-token
484
484
  * revocation). This is the *allow-and-observe* path — it mints silently during
485
485
  * normal browsing so the loop covers monitor mode, not just the enforce-mode
@@ -533,7 +533,13 @@ interface ClearanceOptions {
533
533
  siteKey: string;
534
534
  /** WebDecoy ingest origin. Defaults to DEFAULT_INGEST_URL. */
535
535
  ingestUrl?: string;
536
- /** Route-group scope; '' = tenant-wide (default), valid on every route. */
536
+ /**
537
+ * Reserved. Sent with the mint request, but no validator restricts a token by
538
+ * it. A clearance token is bound to the organization: any of its sites accepts
539
+ * it, subject to expiry, the fingerprint deny list and the verification level
540
+ * required by the path it is used on. Use a path's verification level to ask
541
+ * for stronger proof on sensitive routes.
542
+ */
537
543
  scope?: string;
538
544
  /**
539
545
  * Collect interaction aggregates and upgrade the token to a graded
package/dist/index.d.ts CHANGED
@@ -476,10 +476,10 @@ declare function getFormAnalyzer(): FormAnalyzer;
476
476
  declare function sha256(message: string): Promise<string>;
477
477
 
478
478
  /**
479
- * wd_clearance minting (WAF Enforcement PRD FR6 / closes the #124 loop).
479
+ * wd_clearance minting.
480
480
  *
481
481
  * Real browsers earn a signed clearance token from WebDecoy's ingest service and
482
- * carry it in a first-party cookie. The edge validator (FR7) lets tokened
482
+ * carry it in a first-party cookie. The edge validator lets tokened
483
483
  * sessions through; a decoy hit denies the token's fp (deny-at-mint + live-token
484
484
  * revocation). This is the *allow-and-observe* path — it mints silently during
485
485
  * normal browsing so the loop covers monitor mode, not just the enforce-mode
@@ -533,7 +533,13 @@ interface ClearanceOptions {
533
533
  siteKey: string;
534
534
  /** WebDecoy ingest origin. Defaults to DEFAULT_INGEST_URL. */
535
535
  ingestUrl?: string;
536
- /** Route-group scope; '' = tenant-wide (default), valid on every route. */
536
+ /**
537
+ * Reserved. Sent with the mint request, but no validator restricts a token by
538
+ * it. A clearance token is bound to the organization: any of its sites accepts
539
+ * it, subject to expiry, the fingerprint deny list and the verification level
540
+ * required by the path it is used on. Use a path's verification level to ask
541
+ * for stronger proof on sensitive routes.
542
+ */
537
543
  scope?: string;
538
544
  /**
539
545
  * Collect interaction aggregates and upgrade the token to a graded
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webdecoy/client",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "Web Decoy browser widget - signal collection, proof-of-work, and captcha UI",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",