@widgetic/embed-sdk 2.1.4 → 2.1.5
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/dist/browser/chunks/api.js +1 -1
- package/dist/browser/chunks/core.js +1 -1
- package/dist/esm/chunks/api.js +1 -1
- package/dist/esm/chunks/core.js +1 -1
- package/dist/esm/types/core/constants.d.ts +1 -1
- package/dist/esm/types/core/version.d.ts +1 -1
- package/dist/esm/types/utils/hydrate-published-host.d.ts +6 -3
- package/dist/umd/embed-bootstrap.js +1 -1
- package/dist/umd/embed-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ export declare const SDK_DEFAULTS: {
|
|
|
43
43
|
LOG_LEVEL: "info";
|
|
44
44
|
VERSION: string;
|
|
45
45
|
};
|
|
46
|
-
export declare const SDK_VERSION = "2.1.
|
|
46
|
+
export declare const SDK_VERSION = "2.1.5";
|
|
47
47
|
export declare function getDefaultVersionedApiUrl(): string;
|
|
48
48
|
export declare const API_DEFAULTS: {
|
|
49
49
|
DEV_API_URL: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.1.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.1.5";
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Copy iframe = raw `<iframe src>` without SDK.
|
|
6
6
|
* Copy web component = SDK + `<widgetic composition-id>`. When the published
|
|
7
|
-
* version has a direct module, the SDK mounts it in a shadow root.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* version has a direct module, the SDK mounts it in a shadow root. Anything
|
|
8
|
+
* that keeps a widget from being mounted in the page is shown in its frame
|
|
9
|
+
* instead of leaving the tag empty: a version with only widget.html (a widget
|
|
10
|
+
* that talks to its parent frame is built that way), a module that does not
|
|
11
|
+
* load or does not speak the SDK's contract, and a module that throws while it
|
|
12
|
+
* mounts. `render-mode="iframe"` on the tag asks for the frame from the start.
|
|
10
13
|
*
|
|
11
14
|
* The box of either is as big as the tag says. A tag that also says `autoscale`
|
|
12
15
|
* gets a box that follows the height of the widget (embed-autoscale.ts): the
|