@protobase/workflows 0.110.4 → 0.111.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.
@@ -114,8 +114,11 @@ export type PluginMailMessage = {
114
114
  contentType?: string;
115
115
  }[];
116
116
  };
117
+ /** Sends one message, resolving to its `Message-ID` as the recipient sees it, when the mailer can tell it. */
117
118
  export type PluginMail = {
118
- send(message: PluginMailMessage): Promise<void>;
119
+ send(message: PluginMailMessage): Promise<{
120
+ messageId?: string;
121
+ }>;
119
122
  };
120
123
  /** The app a mail comes from, as a template names it: its name, and its home page. */
121
124
  export type PluginMailingApp = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/workflows",
3
- "version": "0.110.4",
3
+ "version": "0.111.0",
4
4
  "description": "Workflows as state machines with JSONata expressions: their check, a runner that saves only what a run needs to go on and traces every step, and the plugin interface for trigger and step types.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {