@cookiemunch/sdk 0.13.0 → 0.13.1

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,10 @@
2
2
 
3
3
  Every published release, newest first. Dates are the day the version was cut.
4
4
 
5
+ ## 0.13.1 (2026-11-02)
6
+
7
+ - Added: `connectExecutor(…, { verify: 'defer' })` and on `upsertExecutor`; `state: 'awaiting_first_probe'` on `DsarExecutor`.
8
+
5
9
  ## 0.13.0 (2026-11-02)
6
10
 
7
11
  - Added: `fulfillment.upsertExecutor(input)`: `PUT /v1/dsar/executors`, create or update the connection for a system from the create body.
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.0";
468
+ var SDK_VERSION = "0.13.1";
469
469
  var CookieMunchApiError = class extends Error {
470
470
  constructor(status, message, code, body) {
471
471
  super(message);
@@ -803,9 +803,9 @@ function createCookieMunch(opts) {
803
803
  reportTask: (taskId, ok, error) => request("POST", `/dsar/agent/tasks/${enc(taskId)}/result`, { ok, ...error !== void 0 ? { error } : {} }),
804
804
  executors: (o) => get(`/dsar/executors${metaQs(o)}`),
805
805
  executor: (id) => get(`/dsar/executors/${enc(id)}`),
806
- connectExecutor: (input, o) => request("POST", `/dsar/executors${qs({ verify: o?.verify ? o.verify === "warn" ? "warn" : "1" : void 0 })}`, input),
806
+ connectExecutor: (input, o) => request("POST", `/dsar/executors${qs({ verify: o?.verify === true ? "1" : o?.verify })}`, input),
807
807
  updateExecutor: (id, patch) => request("PATCH", `/dsar/executors/${enc(id)}`, patch),
808
- upsertExecutor: (input) => request("PUT", "/dsar/executors", input),
808
+ upsertExecutor: (input, o) => request("PUT", `/dsar/executors${qs({ verify: o?.verify === true ? "1" : o?.verify })}`, input),
809
809
  dryRunConnectExecutor: (input) => request("POST", "/dsar/executors?dryRun=1", input),
810
810
  executorPresets: () => get("/dsar/executors/presets"),
811
811
  upgradeExecutorPreset: (id, input = {}) => request("POST", `/dsar/executors/${enc(id)}/upgrade-preset`, input),