@cookiemunch/sdk 0.35.0 → 0.36.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 +24 -0
- package/dist/chunk-UALQAYRN.js +19 -0
- package/dist/chunk-UALQAYRN.js.map +1 -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/rights/express.cjs +16 -8
- package/dist/rights/express.cjs.map +1 -1
- package/dist/rights/express.js +6 -9
- package/dist/rights/express.js.map +1 -1
- package/dist/rights/fastify.cjs +85 -0
- package/dist/rights/fastify.cjs.map +1 -0
- package/dist/rights/fastify.d.ts +47 -0
- package/dist/rights/fastify.js +48 -0
- package/dist/rights/fastify.js.map +1 -0
- package/dist/rights/shared.d.ts +3 -0
- package/dist/rights.cjs.map +1 -1
- package/dist/rights.d.ts +2 -1
- package/dist/rights.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +9 -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.36.0";
|
|
24
24
|
export interface CookieMunchOptions {
|
|
25
25
|
apiKey: string;
|
|
26
26
|
/** "https://api.cookiemunch.net" — the /v1 prefix is appended automatically. */
|
|
@@ -2415,6 +2415,11 @@ export interface DsarExecutor {
|
|
|
2415
2415
|
presetLatestVersion?: number;
|
|
2416
2416
|
/** The non-secret params it was built with, e.g. `{ orgId }`. */
|
|
2417
2417
|
presetParams?: Record<string, string>;
|
|
2418
|
+
/** Present when a partner minted the stored key (`mintFrom`); absent: a key pasted in. PATCH `{ mintFrom }` replaces a pasted key with a minted one. */
|
|
2419
|
+
mint?: {
|
|
2420
|
+
partner: string;
|
|
2421
|
+
externalId?: string;
|
|
2422
|
+
};
|
|
2418
2423
|
/** How the stored address and profile differ from what its preset version builds. Empty: unmodified. */
|
|
2419
2424
|
presetDiff?: ConfigChange[];
|
|
2420
2425
|
/** Preset-built: profile fields you removed or changed by hand; `upgradeExecutorPreset` keeps them. */
|
package/dist/index.js
CHANGED