@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 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.0';
19
+ import ContentstackLivePreview from 'https://esm.sh/@contentstack/live-preview-utils@4.1.1';
20
20
 
21
21
  ContentstackLivePreview.init({
22
22
  stackDetails: {
@@ -60,7 +60,7 @@ var _LightLivePreviewHoC = class _LightLivePreviewHoC {
60
60
  static unsubscribeOnEntryChange() {
61
61
  }
62
62
  static getSdkVersion() {
63
- return "4.1.0";
63
+ return "4.1.1";
64
64
  }
65
65
  };
66
66
  _LightLivePreviewHoC.previewConstructors = {};
@@ -38,7 +38,7 @@ var _LightLivePreviewHoC = class _LightLivePreviewHoC {
38
38
  static unsubscribeOnEntryChange() {
39
39
  }
40
40
  static getSdkVersion() {
41
- return "4.1.0";
41
+ return "4.1.1";
42
42
  }
43
43
  };
44
44
  _LightLivePreviewHoC.previewConstructors = {};
@@ -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.0",
144
+ sdkVersion: "4.1.1",
145
145
  mode: import_configManager.default.get().mode
146
146
  }
147
147
  }
@@ -109,7 +109,7 @@ function sendInitializeLivePreviewPostMessageEvent() {
109
109
  config: {
110
110
  shouldReload: Config.get().ssr,
111
111
  href: window.location.href,
112
- sdkVersion: "4.1.0",
112
+ sdkVersion: "4.1.1",
113
113
  mode: Config.get().mode
114
114
  }
115
115
  }
@@ -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.0";
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.0";
198
+ return "4.1.1";
199
199
  }
200
200
  };
201
201
  _ContentstackLivePreview.previewConstructors = {};
@@ -60,7 +60,7 @@ var _LightLivePreviewHoC = class _LightLivePreviewHoC {
60
60
  static unsubscribeOnEntryChange() {
61
61
  }
62
62
  static getSdkVersion() {
63
- return "4.1.0";
63
+ return "4.1.1";
64
64
  }
65
65
  };
66
66
  _LightLivePreviewHoC.previewConstructors = {};
@@ -38,7 +38,7 @@ var _LightLivePreviewHoC = class _LightLivePreviewHoC {
38
38
  static unsubscribeOnEntryChange() {
39
39
  }
40
40
  static getSdkVersion() {
41
- return "4.1.0";
41
+ return "4.1.1";
42
42
  }
43
43
  };
44
44
  _LightLivePreviewHoC.previewConstructors = {};
@@ -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.0",
140
+ sdkVersion: "4.1.1",
141
141
  mode: import_configManager.default.get().mode
142
142
  }
143
143
  }
@@ -105,7 +105,7 @@ function sendInitializeLivePreviewPostMessageEvent() {
105
105
  config: {
106
106
  shouldReload: Config.get().ssr,
107
107
  href: window.location.href,
108
- sdkVersion: "4.1.0",
108
+ sdkVersion: "4.1.1",
109
109
  mode: Config.get().mode
110
110
  }
111
111
  }
@@ -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.0";
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.0";
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.0",
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",