@cookiemunch/sdk 0.10.0 → 0.11.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 +6 -0
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +51 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -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.11.0 (2026-11-02)
|
|
6
|
+
|
|
7
|
+
- Added: `anchors.create` / `list` / `get`: signed, timestamped receipts for the head of your own hash-chained log (`POST /v1/anchors`).
|
|
8
|
+
- Added: `health.version` (the system's last `X-Version`) on executor connections; `skipped` on a created request.
|
|
9
|
+
- Changed: `cookies.declare` with `replace: true` leaves vendor-preset rows alone.
|
|
10
|
+
|
|
5
11
|
## 0.10.0 (2026-11-01)
|
|
6
12
|
|
|
7
13
|
- Added: `fulfillment.approveTask` / `rejectTask` for an erasure parked by `requireApproval`; `requireApproval` on connections; `verify: 1 | 'warn'` on `connectExecutor`; `listByOrigin` (`origin: "account_deletion"`).
|
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.
|
|
468
|
+
var SDK_VERSION = "0.11.0";
|
|
469
469
|
var CookieMunchApiError = class extends Error {
|
|
470
470
|
constructor(status, message, code, body) {
|
|
471
471
|
super(message);
|
|
@@ -854,6 +854,11 @@ function createCookieMunch(opts) {
|
|
|
854
854
|
usage: () => get("/usage"),
|
|
855
855
|
entitlements: () => get("/entitlements"),
|
|
856
856
|
versions: () => get("/versions"),
|
|
857
|
+
anchors: {
|
|
858
|
+
create: (input) => request("POST", "/anchors", input),
|
|
859
|
+
list: (stream, query) => get(`/anchors/${enc(stream)}${qs(query)}`),
|
|
860
|
+
get: (stream, id) => get(`/anchors/${enc(stream)}/${enc(id)}`)
|
|
861
|
+
},
|
|
857
862
|
sandbox: {
|
|
858
863
|
get: async () => (await get("/sandbox")).sandbox,
|
|
859
864
|
create: (input) => request("POST", "/sandbox", input ?? {}),
|