@cookiemunch/sdk 0.13.1 → 0.13.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 +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +20 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Every published release, newest first. Dates are the day the version was cut.
|
|
4
4
|
|
|
5
|
+
## 0.13.2 (2026-11-02)
|
|
6
|
+
|
|
7
|
+
- Added: `dsar.create(input, { dryRun: true, preview: true })` and `plan[].preview` (record types and counts per system).
|
|
8
|
+
- Added: `parentPrefix` on `ApiKeyPrefix` and `ApiKeyIssued` (bound child keys minted by a scoped key).
|
|
9
|
+
- Changed: `SiteUpdateResult` carries the site's own fields at the top, `aliases` always an array.
|
|
10
|
+
|
|
5
11
|
## 0.13.1 (2026-11-02)
|
|
6
12
|
|
|
7
13
|
- Added: `connectExecutor(…, { verify: 'defer' })` and on `upsertExecutor`; `state: 'awaiting_first_probe'` on `DsarExecutor`.
|
package/dist/index.cjs
CHANGED
|
@@ -465,7 +465,7 @@ async function exchangeOperatorToken(input) {
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
// src/index.ts
|
|
468
|
-
var SDK_VERSION = "0.13.
|
|
468
|
+
var SDK_VERSION = "0.13.2";
|
|
469
469
|
var CookieMunchApiError = class extends Error {
|
|
470
470
|
constructor(status, message, code, body) {
|
|
471
471
|
super(message);
|
|
@@ -679,7 +679,7 @@ function createCookieMunch(opts) {
|
|
|
679
679
|
dsar: {
|
|
680
680
|
list: () => get("/dsar"),
|
|
681
681
|
get: (id) => get(`/dsar/${enc(id)}`),
|
|
682
|
-
create: ((input, o) => request("POST", `/dsar${qs({ dryRun: o?.dryRun ? "1" : void 0 })}`, input)),
|
|
682
|
+
create: ((input, o) => request("POST", `/dsar${qs({ dryRun: o?.dryRun ? "1" : void 0, preview: o?.preview ? "1" : void 0 })}`, input)),
|
|
683
683
|
advance: (id, toStatus, opts2) => request("POST", `/dsar/${enc(id)}/advance`, { toStatus, ...opts2?.messageToSubject !== void 0 ? { messageToSubject: opts2.messageToSubject } : {} }),
|
|
684
684
|
response: (id) => request("GET", `/dsar/${enc(id)}/response`, void 0, true),
|
|
685
685
|
erase: (id, cbid, stamp) => request("POST", `/dsar/${enc(id)}/erase`, { cbid, stamp }),
|