@siftline/actions 0.1.0 → 0.1.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/README.md CHANGED
@@ -24,4 +24,4 @@ ESM only. Node 22.14 or newer.
24
24
 
25
25
  ## Licence
26
26
 
27
- MIT see [LICENSE](./LICENSE).
27
+ MIT. See [LICENSE](./LICENSE).
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ var ActionFailedError = class extends SiftlineError {
18
18
  //#endregion
19
19
  //#region src/version.ts
20
20
  /** The published version of `@siftline/actions`, baked in at build time. */
21
- const VERSION = "0.1.0";
21
+ const VERSION = "0.1.1";
22
22
  //#endregion
23
23
  //#region src/adapter.ts
24
24
  /** The key the receiver deduplicates on, and the `Idempotency-Key` header. */
@@ -49,7 +49,7 @@ const slackIncomingWebhookConfigSchema = z.object({ url: z.url() }).strict();
49
49
  function describeLevel(index, criteria) {
50
50
  const description = criteria[index];
51
51
  if (description === void 0) return String(index);
52
- return `${index} · ${typeof description === "string" ? description : JSON.stringify(description)}`;
52
+ return `${index} · ${description === null || description instanceof Object ? JSON.stringify(description) : description}`;
53
53
  }
54
54
  function renderAnswer(question, answer) {
55
55
  if (question.type === "noul") return answer ? "yes" : "no";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siftline/actions",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Siftline adapters for the places labels land: issue trackers, inboxes and queues.",
5
5
  "keywords": [
6
6
  "actions",
@@ -42,7 +42,7 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@siftline/core": "^0.1.0",
45
+ "@siftline/core": "^0.1.1",
46
46
  "zod": "4.6.5"
47
47
  },
48
48
  "devDependencies": {