@outseta/react 0.4.10 → 0.4.11
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/package.json +2 -2
- package/src/generated/email/email.ts +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outseta/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.11",
|
|
4
4
|
"description": "React hooks and components for the Outseta API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@outseta/api-client": "0.3.
|
|
21
|
+
"@outseta/api-client": "0.3.17"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -828,20 +828,20 @@ omitted it is derived automatically, so callers (including LLM tools) do not nee
|
|
|
828
828
|
understand it. Use Message.PreviewText for inbox preview text rather than an in-body
|
|
829
829
|
preheader.
|
|
830
830
|
|
|
831
|
-
When Body is a
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
layout
|
|
831
|
+
When Body is a content fragment with no Design, it is composed into the account's API
|
|
832
|
+
email layout — a branded header and footer that includes the unsubscribe and
|
|
833
|
+
manage-subscriptions links — and the composed result is what is sent and opened in the
|
|
834
|
+
editor. Do not add your own unsubscribe link in this case; the layout provides one. The
|
|
835
|
+
layout is editable in the app; TemplateUid selects a specific layout template when the
|
|
836
|
+
account has more than one.
|
|
836
837
|
|
|
837
|
-
The layout is NOT applied when the body
|
|
838
|
-
(
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
(e.g. CAN-SPAM) also require a visible unsubscribe link in the body.
|
|
838
|
+
The layout is NOT applied when a Design is supplied or when the body is a complex full
|
|
839
|
+
HTML document (Outlook conditional comments, stylesheet links) — in those cases the body
|
|
840
|
+
is sent exactly as supplied, and you must include a visible unsubscribe link in it
|
|
841
|
+
yourself: add {{ UnsubscribeLink }} (a ready-made anchor) or {{ UnsubscribeUrl }} (the raw
|
|
842
|
+
URL) where you want it. Its presence is not validated. A one-click List-Unsubscribe header
|
|
843
|
+
is always added, but most anti-spam laws (e.g. CAN-SPAM) also require a visible
|
|
844
|
+
unsubscribe link in the body.
|
|
845
845
|
* @summary Create a new broadcast.
|
|
846
846
|
*/
|
|
847
847
|
export const campaignAddBroadcastEmail = (
|