@sendery/sdk 0.1.5 → 0.1.6
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 +5 -1
- package/README.md +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.6
|
|
4
|
+
|
|
5
|
+
- See the GitHub release notes for this version.
|
|
6
|
+
|
|
3
7
|
## 0.1.5
|
|
4
8
|
|
|
5
|
-
- Register and list event definitions with readable data fields and recipient roles for the visual
|
|
9
|
+
- Register and list event definitions with readable data fields and recipient roles for the visual workflow builder.
|
|
6
10
|
|
|
7
11
|
- Add application events, stable-key retries, event status lookup, and object-data deletion. Framework integrations use the project client.
|
|
8
12
|
|
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ Learn how to [retry emails without duplicate sends](https://sendery.co/en/docs/i
|
|
|
133
133
|
|
|
134
134
|
[MIT](LICENSE).
|
|
135
135
|
|
|
136
|
-
## Events and
|
|
136
|
+
## Events and workflows
|
|
137
137
|
|
|
138
138
|
Send events such as account signups or orders from your app. Your team can use them to automate emails in Sendery, choosing the content, recipients, and timing. Available on all plans.
|
|
139
139
|
|
|
@@ -147,4 +147,4 @@ const receipt = await sendery.event({
|
|
|
147
147
|
}).retry().send();
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
Retries reuse the same event data and idempotency key. To retry across jobs or process restarts, supply and persist your own key. A successful response confirms that Sendery accepted the event. [Learn what you can automate with
|
|
150
|
+
Retries reuse the same event data and idempotency key. To retry across jobs or process restarts, supply and persist your own key. A successful response confirms that Sendery accepted the event. [Learn what you can automate with workflows](https://sendery.co/en/docs/build-workflow).
|
package/dist/index.d.ts
CHANGED
|
@@ -72,11 +72,11 @@ export interface EventInput {
|
|
|
72
72
|
export interface EventReceipt extends SendReceipt {
|
|
73
73
|
name?: string;
|
|
74
74
|
received_at?: string;
|
|
75
|
-
|
|
75
|
+
matched_workflows?: number;
|
|
76
76
|
environment?: "sandbox" | "live";
|
|
77
77
|
runs?: {
|
|
78
78
|
id: string;
|
|
79
|
-
|
|
79
|
+
workflow_id: number;
|
|
80
80
|
status: string;
|
|
81
81
|
due_at: string | null;
|
|
82
82
|
error_code: string | null;
|