@contentstack/live-preview-utils 4.1.0 → 4.1.1
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 +1 -1
- package/dist/legacy/light-sdk.cjs +1 -1
- package/dist/legacy/light-sdk.js +1 -1
- package/dist/legacy/livePreview/eventManager/postMessageEvent.hooks.cjs +1 -1
- package/dist/legacy/livePreview/eventManager/postMessageEvent.hooks.js +1 -1
- package/dist/legacy/preview/contentstack-live-preview-HOC.cjs +1 -1
- package/dist/legacy/preview/contentstack-live-preview-HOC.js +1 -1
- package/dist/modern/light-sdk.cjs +1 -1
- package/dist/modern/light-sdk.js +1 -1
- package/dist/modern/livePreview/eventManager/postMessageEvent.hooks.cjs +1 -1
- package/dist/modern/livePreview/eventManager/postMessageEvent.hooks.js +1 -1
- package/dist/modern/preview/contentstack-live-preview-HOC.cjs +1 -1
- package/dist/modern/preview/contentstack-live-preview-HOC.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Alternatively, if you want to include the package directly in your website HTML
|
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
18
|
<script type='module' crossorigin="anonymous">
|
|
19
|
-
import ContentstackLivePreview from 'https://esm.sh/@contentstack/live-preview-utils@4.1.
|
|
19
|
+
import ContentstackLivePreview from 'https://esm.sh/@contentstack/live-preview-utils@4.1.1';
|
|
20
20
|
|
|
21
21
|
ContentstackLivePreview.init({
|
|
22
22
|
stackDetails: {
|
package/dist/legacy/light-sdk.js
CHANGED
|
@@ -141,7 +141,7 @@ function sendInitializeLivePreviewPostMessageEvent() {
|
|
|
141
141
|
config: {
|
|
142
142
|
shouldReload: import_configManager.default.get().ssr,
|
|
143
143
|
href: window.location.href,
|
|
144
|
-
sdkVersion: "4.1.
|
|
144
|
+
sdkVersion: "4.1.1",
|
|
145
145
|
mode: import_configManager.default.get().mode
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -227,7 +227,7 @@ var _ContentstackLivePreview = class _ContentstackLivePreview {
|
|
|
227
227
|
* @returns The version of the SDK as a string.
|
|
228
228
|
*/
|
|
229
229
|
static getSdkVersion() {
|
|
230
|
-
return "4.1.
|
|
230
|
+
return "4.1.1";
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
_ContentstackLivePreview.previewConstructors = {};
|
|
@@ -195,7 +195,7 @@ var _ContentstackLivePreview = class _ContentstackLivePreview {
|
|
|
195
195
|
* @returns The version of the SDK as a string.
|
|
196
196
|
*/
|
|
197
197
|
static getSdkVersion() {
|
|
198
|
-
return "4.1.
|
|
198
|
+
return "4.1.1";
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
_ContentstackLivePreview.previewConstructors = {};
|
package/dist/modern/light-sdk.js
CHANGED
|
@@ -137,7 +137,7 @@ function sendInitializeLivePreviewPostMessageEvent() {
|
|
|
137
137
|
config: {
|
|
138
138
|
shouldReload: import_configManager.default.get().ssr,
|
|
139
139
|
href: window.location.href,
|
|
140
|
-
sdkVersion: "4.1.
|
|
140
|
+
sdkVersion: "4.1.1",
|
|
141
141
|
mode: import_configManager.default.get().mode
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -227,7 +227,7 @@ var _ContentstackLivePreview = class _ContentstackLivePreview {
|
|
|
227
227
|
* @returns The version of the SDK as a string.
|
|
228
228
|
*/
|
|
229
229
|
static getSdkVersion() {
|
|
230
|
-
return "4.1.
|
|
230
|
+
return "4.1.1";
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
_ContentstackLivePreview.previewConstructors = {};
|
|
@@ -195,7 +195,7 @@ var _ContentstackLivePreview = class _ContentstackLivePreview {
|
|
|
195
195
|
* @returns The version of the SDK as a string.
|
|
196
196
|
*/
|
|
197
197
|
static getSdkVersion() {
|
|
198
|
-
return "4.1.
|
|
198
|
+
return "4.1.1";
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
_ContentstackLivePreview.previewConstructors = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/live-preview-utils",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/legacy/index.d.ts",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@floating-ui/dom": "^1.7.2",
|
|
88
88
|
"@preact/compat": "17.1.2",
|
|
89
|
-
"@preact/signals": "1.2.2",
|
|
89
|
+
"@preact/signals": "^1.2.2",
|
|
90
90
|
"classnames": "^2.5.1",
|
|
91
91
|
"dayjs": "^1.11.13",
|
|
92
92
|
"deepsignal": "^1.5.0",
|