@cookiemunch/sdk 0.15.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.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.15.0";
23
+ export declare const SDK_VERSION = "0.15.1";
24
24
  export interface CookieMunchOptions {
25
25
  apiKey: string;
26
26
  /** "https://api.cookiemunch.net" — the /v1 prefix is appended automatically. */
@@ -138,7 +138,8 @@ export interface ProvisionRequestV2 {
138
138
  secretKey?: string;
139
139
  cookieConsent?: boolean;
140
140
  executor?: boolean;
141
- frontendApiHost?: string;
141
+ frontendApiHost?: string; /** Atlas's one-call connect (step `atlas.connect`): the connection holds Atlas's narrow key, never `secretKey`. */
142
+ connect?: boolean;
142
143
  };
143
144
  forumulate?: {
144
145
  org?: string;
@@ -573,6 +574,8 @@ export interface CookiePreset {
573
574
  }>;
574
575
  applied: boolean;
575
576
  declared: string[];
577
+ /** An applied preset: names the site was seen writing under the vendor's prefixes that nothing declares. */
578
+ incomplete?: string[];
576
579
  manifest: CookiePresetManifest;
577
580
  }
578
581
  /** What applying a preset declared. */
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ async function exchangeOperatorToken(input) {
88
88
  }
89
89
 
90
90
  // src/index.ts
91
- var SDK_VERSION = "0.15.0";
91
+ var SDK_VERSION = "0.15.1";
92
92
  var CookieMunchApiError = class extends Error {
93
93
  constructor(status, message, code, body) {
94
94
  super(message);