@cookiemunch/sdk 0.25.0 → 0.27.0
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/CHANGELOG.md +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import type { ConformanceReport } from './executor-conformance.js';
|
|
|
20
20
|
* This package's version, sent in the default User-Agent. Cloudflare answers a request with
|
|
21
21
|
* no recognisable User-Agent with `403 error code: 1010`; a test pins this to package.json.
|
|
22
22
|
*/
|
|
23
|
-
export declare const SDK_VERSION = "0.
|
|
23
|
+
export declare const SDK_VERSION = "0.27.0";
|
|
24
24
|
export interface CookieMunchOptions {
|
|
25
25
|
apiKey: string;
|
|
26
26
|
/** "https://api.cookiemunch.net" — the /v1 prefix is appended automatically. */
|
|
@@ -763,6 +763,11 @@ export interface ScanStatus {
|
|
|
763
763
|
name: string;
|
|
764
764
|
lastSeenAt: number | null;
|
|
765
765
|
}>;
|
|
766
|
+
/** Another consent platform the last crawl saw loading, by script host. Scans measure only a Cookie Munch banner. */
|
|
767
|
+
foreignCmp?: {
|
|
768
|
+
name: string;
|
|
769
|
+
hosts: string[];
|
|
770
|
+
};
|
|
766
771
|
}
|
|
767
772
|
/** Consent-button parity of the banner a real browser saw on the site (see ScanStatus). */
|
|
768
773
|
export interface ButtonParityScan {
|
package/dist/index.js
CHANGED