@colegium_dev/vue3-unlayer-embed 1.0.3 → 1.0.4

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.
@@ -92,16 +92,12 @@ const R = { class: "flex w-full h-full" }, U = ["src"], z = /* @__PURE__ */ W({
92
92
  }
93
93
  const v = () => {
94
94
  var l, a;
95
- (a = (l = n.value) == null ? void 0 : l.contentWindow) == null || a.postMessage({ type: "GET" }, "*", [
96
- f.value.port2
97
- ]);
95
+ (a = (l = n.value) == null ? void 0 : l.contentWindow) == null || a.postMessage({ type: "GET" }, "*", [f.value.port2]);
98
96
  }, b = (l) => {
99
97
  var a, d;
100
- (d = (a = n.value) == null ? void 0 : a.contentWindow) == null || d.postMessage(
101
- { template: A(l), type: "PUT" },
102
- "*",
103
- [f.value.port2]
104
- ), t(), o();
98
+ (d = (a = n.value) == null ? void 0 : a.contentWindow) == null || d.postMessage({ template: A(l), type: "PUT" }, "*", [
99
+ f.value.port2
100
+ ]), t(), o();
105
101
  };
106
102
  return k(() => t()), r({ getTemplateDesign: v, setTemplateDesign: b }), (l, a) => (D(), x("div", R, [
107
103
  j("iframe", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colegium_dev/vue3-unlayer-embed",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Unlayer Embed project for Colegium Cloud Platform",
5
5
  "author": "Colegium Frontend Team",
6
6
  "type": "module",