@contentstack/live-preview-utils 2.0.0 → 2.0.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
@@ -15,7 +15,7 @@ npm install @contentstack/live-preview-utils
15
15
  Alternatively, if you want to include the package directly in your website HTML code, use the following command:
16
16
 
17
17
  ```html
18
- <script src="https://unpkg.com/@contentstack/live-preview-utils@2.0.0/dist/index.js"></script>
18
+ <script src="https://unpkg.com/@contentstack/live-preview-utils@2.0.0/dist/legacy/index.js"></script>
19
19
  ```
20
20
 
21
21
  # Initializing the SDK
@@ -47,15 +47,6 @@ Alternatively, if you want to initialize the SDK directly inside the HTML tag, u
47
47
  </script>
48
48
  ```
49
49
 
50
- # [Live Editing](https://www.contentstack.com/docs/developers/set-up-live-preview/set-up-live-preview-for-your-website/#live-editing-for-entries-optional-)
51
-
52
- Live Preview provides edit tags that allow you to edit your content in real-time. Live edit tags are identified as the data-cslp attribute within the HTML tags. The styles for the live edit tags are available in the @contentstack/live-preview-utils/dist/main.css file.
53
-
54
- To use live edit tags within your stack, you need to include them in your main index.js file as follows:
55
-
56
- ```javascript
57
- import "@contentstack/live-preview-utils/dist/main.css";
58
- ```
59
50
 
60
51
  # License
61
52
 
@@ -193,7 +193,7 @@ var ContentstackLivePreview = {
193
193
  }
194
194
  },
195
195
  getSdkVersion() {
196
- return "2.0.0";
196
+ return "2.0.1";
197
197
  }
198
198
  };
199
199
  var contentstack_live_preview_HOC_default = ContentstackLivePreview;
@@ -159,7 +159,7 @@ var ContentstackLivePreview = {
159
159
  }
160
160
  },
161
161
  getSdkVersion() {
162
- return "2.0.0";
162
+ return "2.0.1";
163
163
  }
164
164
  };
165
165
  var contentstack_live_preview_HOC_default = ContentstackLivePreview;
@@ -423,7 +423,7 @@ var LivePreview = class {
423
423
  config: {
424
424
  shouldReload: this.config.ssr,
425
425
  href: window.location.href,
426
- sdkVersion: "2.0.0"
426
+ sdkVersion: "2.0.1"
427
427
  }
428
428
  }
429
429
  },
@@ -404,7 +404,7 @@ var LivePreview = class {
404
404
  config: {
405
405
  shouldReload: this.config.ssr,
406
406
  href: window.location.href,
407
- sdkVersion: "2.0.0"
407
+ sdkVersion: "2.0.1"
408
408
  }
409
409
  }
410
410
  },
@@ -193,7 +193,7 @@ var ContentstackLivePreview = {
193
193
  }
194
194
  },
195
195
  getSdkVersion() {
196
- return "2.0.0";
196
+ return "2.0.1";
197
197
  }
198
198
  };
199
199
  var contentstack_live_preview_HOC_default = ContentstackLivePreview;
@@ -159,7 +159,7 @@ var ContentstackLivePreview = {
159
159
  }
160
160
  },
161
161
  getSdkVersion() {
162
- return "2.0.0";
162
+ return "2.0.1";
163
163
  }
164
164
  };
165
165
  var contentstack_live_preview_HOC_default = ContentstackLivePreview;
@@ -422,7 +422,7 @@ var LivePreview = class {
422
422
  config: {
423
423
  shouldReload: this.config.ssr,
424
424
  href: window.location.href,
425
- sdkVersion: "2.0.0"
425
+ sdkVersion: "2.0.1"
426
426
  }
427
427
  }
428
428
  },
@@ -403,7 +403,7 @@ var LivePreview = class {
403
403
  config: {
404
404
  shouldReload: this.config.ssr,
405
405
  href: window.location.href,
406
- sdkVersion: "2.0.0"
406
+ sdkVersion: "2.0.1"
407
407
  }
408
408
  }
409
409
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentstack/live-preview-utils",
3
- "version": "2.0.0",
3
+ "version": "2.0.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",