@processfocus/plugin-resend 0.1.0-next.3 → 0.1.0-next.5
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 +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -66,6 +66,18 @@ of mailbox delivery. This mode needs no webhook secret. Organisations can
|
|
|
66
66
|
provide a different default through `makeResendServerPlugin`; explicit
|
|
67
67
|
configuration takes precedence.
|
|
68
68
|
|
|
69
|
+
## Task-assignment email
|
|
70
|
+
|
|
71
|
+
To use Resend for platform notifications, export a plain
|
|
72
|
+
`NotificationEmailLayer` from the organisation entry module. Combine
|
|
73
|
+
`ResendNotificationEmailSenderLive` (with the Resend client provided) and a
|
|
74
|
+
`NotificationDeliveryConfig` that supplies the project's sender identity.
|
|
75
|
+
GraphQL uses that layer to check whether the preference is available, and the
|
|
76
|
+
worker uses it to send notifications.
|
|
77
|
+
|
|
78
|
+
If migrating from `OrganisationProps.notificationEmailLayer`, remove that
|
|
79
|
+
property and any duplicate notification layer in `CustomJobLayer`.
|
|
80
|
+
|
|
69
81
|
## Development
|
|
70
82
|
|
|
71
83
|
`@processfocus/plugin-resend/test-support` provides `makeMockResendPlugin` for
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@processfocus/plugin-resend",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"repository": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tag": "next"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"processfocus": "0.1.0-next.
|
|
52
|
-
"@processfocus/runtime": "0.1.0-next.
|
|
51
|
+
"processfocus": "0.1.0-next.5",
|
|
52
|
+
"@processfocus/runtime": "0.1.0-next.5"
|
|
53
53
|
}
|
|
54
54
|
}
|