@cookiemunch/sdk 0.14.1 → 0.14.2
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 +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- 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.14.
|
|
23
|
+
export declare const SDK_VERSION = "0.14.2";
|
|
24
24
|
export interface CookieMunchOptions {
|
|
25
25
|
apiKey: string;
|
|
26
26
|
/** "https://api.cookiemunch.net" — the /v1 prefix is appended automatically. */
|
|
@@ -626,8 +626,10 @@ export interface CookiePlanInput {
|
|
|
626
626
|
name: string;
|
|
627
627
|
}>;
|
|
628
628
|
replace?: boolean;
|
|
629
|
-
/** Vendor → its params, applied in key order, each seeing the steps before it. */
|
|
630
|
-
presets?: Partial<Record<CookiePresetVendor, CookiePresetParams
|
|
629
|
+
/** Vendor → its params, applied in key order, each seeing the steps before it. `custom` takes the body of `PUT …/cookies/presets/custom`. */
|
|
630
|
+
presets?: Partial<Record<CookiePresetVendor, CookiePresetParams>> & {
|
|
631
|
+
custom?: CustomPresetInput;
|
|
632
|
+
};
|
|
631
633
|
}
|
|
632
634
|
/** What the steps, in order, would produce. Nothing was stored. */
|
|
633
635
|
export interface CookiePlanResult {
|
package/dist/index.js
CHANGED