@callembed/sdk 0.1.0 → 0.1.2

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 CHANGED
@@ -62,6 +62,20 @@ When `CallEmbed.init({ locale })` omits `locale`:
62
62
 
63
63
  Pass `locale: "en"` or `locale: "zh-TW"` to override.
64
64
 
65
+ ## Hosted iframe
66
+
67
+ Default hosted embed URL (override iframe `src` when self-hosting):
68
+
69
+ ```ts
70
+ import {
71
+ DEFAULT_HOSTED_EMBED_URL,
72
+ DEFAULT_HOSTED_EMBED_ORIGIN,
73
+ } from "@callembed/sdk";
74
+ // https://callembed-embed.onrender.com/embed.html
75
+ ```
76
+
77
+ Legacy `https://app.callembed.sealby.me/embed.html` is blocked by the app site’s permanent `X-Frame-Options: DENY`. See [docs/iframe.md](../../docs/iframe.md).
78
+
65
79
  ## License
66
80
 
67
81
  MIT