@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/react",
3
- "version": "0.4.10",
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.16"
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 bare content fragment (no Design and no unsubscribe token), it is composed
832
- into the account's API email layout — a branded header and footer that includes the
833
- unsubscribe and manage-subscriptions links — and the composed result is what is sent and
834
- opened in the editor. The layout is editable in the app; TemplateUid selects a specific
835
- layout template when the account has more than one.
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 already contains an unsubscribe token
838
- ({{ UnsubscribeLink }}, {{ UnsubscribeUrl }} or {{ OneClickUnsubscribeUrl }}), when a
839
- Design is supplied, or when the body is a complex full HTML document (Outlook conditional
840
- comments, stylesheet links) — in those cases the body is sent exactly as supplied, and you
841
- must include a visible unsubscribe link in it yourself: add {{ UnsubscribeLink }} (a
842
- ready-made anchor) or {{ UnsubscribeUrl }} (the raw URL) where you want it. Its presence is
843
- not validated. A one-click List-Unsubscribe header is always added, but most anti-spam laws
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 = (