@forumone/throughline 1.0.2-pr-277-e10eb12 → 1.0.2-pr-279-0c5dccb

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @forumone/throughline
2
2
 
3
- ## 1.0.2-pr-277-e10eb12
3
+ ## 1.0.2-pr-279-0c5dccb
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - e10eb12: Approvals on Postgres, and approvals when an event cannot be sent:
7
+ - 3406ccb: Approvals on Postgres, and approvals when an event cannot be sent:
8
8
 
9
9
  - **Confirming a decision from an approval email works on Postgres.** The action endpoint wrote the token's approver id as a string into `decidedBy`, a relationship to a users collection whose ids are numbers there, so every emailed decision failed on Confirm. It now writes the id in the users collection's type, as `request_approval` and `respond_to_approval` do since 1.0.1.
10
10
  - **A stored request or a recorded decision is reported as one when its event cannot be sent.** `request_approval`, `respond_to_approval` and the email action endpoint wrote first and then threw if `approval/requested`, `approval/decided` or `approval/discussed` failed to send, reporting an action that had landed as failed. The tools now return it with a `warnings` entry, and the endpoint shows the approver their confirmation and logs the warning — the same rule publishing follows. `sendEventSafely` moved to a shared module for it.
11
- - @forumone/throughline-design-system@1.0.2-pr-277-e10eb12
11
+ - @forumone/throughline-design-system@1.0.2-pr-279-0c5dccb
12
12
 
13
13
  ## 1.0.1
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumone/throughline",
3
- "version": "1.0.2-pr-277-e10eb12",
3
+ "version": "1.0.2-pr-279-0c5dccb",
4
4
  "description": "Throughline: an editorial platform for Payload CMS. Publishing, approvals, audit, integrations, email and jobs, with every feature reachable over MCP.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -162,7 +162,7 @@
162
162
  "dependencies": {
163
163
  "zod": "^3.23.0",
164
164
  "zod-to-json-schema": "^3.25.2",
165
- "@forumone/throughline-design-system": "1.0.2-pr-277-e10eb12"
165
+ "@forumone/throughline-design-system": "1.0.2-pr-279-0c5dccb"
166
166
  },
167
167
  "devDependencies": {
168
168
  "@payloadcms/db-sqlite": "^3.83.0",
@@ -185,7 +185,7 @@
185
185
  "typescript": "^5.6.0",
186
186
  "vitest": "^4.1.10",
187
187
  "@forumone/throughline-eslint-config": "0.0.1",
188
- "@forumone/throughline-reference-ds": "0.3.10-pr-277-e10eb12",
188
+ "@forumone/throughline-reference-ds": "0.3.10-pr-279-0c5dccb",
189
189
  "@forumone/throughline-tsconfig": "0.0.1"
190
190
  },
191
191
  "scripts": {