hivewrite-sdk 1.2.4 → 1.2.6

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/index.d.ts CHANGED
@@ -102,6 +102,9 @@ export interface EmailEditorSDK {
102
102
  setTemplateId(templateId: string | null, version?: string | number | null): void;
103
103
  getTemplateId(): string | null;
104
104
  getTemplateVersion(): string | number | null;
105
+ setLocked(locked: boolean, message?: string | null): void;
106
+ isLocked(): boolean;
107
+ isDesignDirty(): boolean;
105
108
  exportHtml(callback?: (html: string, user_id?: string | null) => void): any;
106
109
  exportMjml(callback?: (mjml: string, user_id?: string | null) => void): any;
107
110
  exportJson(callback?: (json: any, user_id?: string | null) => void): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hivewrite-sdk",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Email Editor SDK for React and JavaScript applications",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",