@cookiemunch/sdk 0.15.1 → 0.17.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 CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  Every published release, newest first. Dates are the day the version was cut.
4
4
 
5
+ ## 0.17.0 (2026-11-04)
6
+
7
+ - Added: `sites.translateConfig(cbid, { languages?, dryRun? })`: fills the missing languages of the site's own banner and category copy on its connected DeepL or Google account.
8
+ - Added: `i18n.autoTranslate` and `i18n.machineTranslations` on the site config types.
9
+
10
+ ## 0.16.0 (2026-11-03)
11
+
12
+ - Added: `seolyticize` in `CookiePresetVendor`, and `none` in `StorageType` (a row that stores nothing in the browser).
13
+ - Added: `integrations.connect('forumulate', { cbid, providerKey, orgId, executor? })` types: `orgId` on the request; `key` and `request` are optional on the answer (Forumulate's has neither).
14
+ - Added: `data` on `ExecutorPresets` (the same list as `presets`).
15
+
16
+ ## 0.15.1 (2026-11-03)
17
+
18
+ - Added: `incomplete` on `CookiePreset` (names the site writes that the applied preset does not declare), and `atlas.connect` on the provision request types.
19
+
5
20
  ## 0.15.0 (2026-11-03)
6
21
 
7
22
  - Added: `fileStore(dir)`, `sqlStore({ query })` with `RIGHTS_STORE_TABLE_SQL`, and `redisStore(client)` in `@cookiemunch/sdk/rights`.
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.15.1";
468
+ var SDK_VERSION = "0.16.0";
469
469
  var CookieMunchApiError = class extends Error {
470
470
  constructor(status, message, code, body) {
471
471
  super(message);
@@ -630,6 +630,7 @@ function createCookieMunch(opts) {
630
630
  connectTranslation: (cbid, input, o) => request("PUT", `/sites/${enc(cbid)}/translation${qs({ verify: o?.verify ? "1" : void 0 })}`, input),
631
631
  disconnectTranslation: (cbid) => request("DELETE", `/sites/${enc(cbid)}/translation`),
632
632
  translateCookies: (cbid, input, o) => request("POST", `/sites/${enc(cbid)}/cookies/translate${qs({ dryRun: o?.dryRun ? "1" : void 0 })}`, input ?? {}),
633
+ translateConfig: (cbid, input, o) => request("POST", `/sites/${enc(cbid)}/config/translate${qs({ dryRun: o?.dryRun ? "1" : void 0 })}`, input ?? {}),
633
634
  removeCookiePreset: (cbid, vendor, o) => request("DELETE", `/sites/${enc(cbid)}/cookies/presets/${enc(vendor)}${qs({ dryRun: o?.dryRun ? "1" : void 0 })}`),
634
635
  deleteObservedCookie: (async (cbid, name, o) => {
635
636
  const out = await request("DELETE", `/sites/${enc(cbid)}/observed-cookies/${enc(name)}${qs({ dryRun: o?.dryRun ? "1" : void 0 })}`);