@myop/sdk 0.1.44 → 0.1.45

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.
@@ -1727,7 +1727,7 @@ var WebcomponentLoader = class extends BaseMyopLoader {
1727
1727
  };
1728
1728
 
1729
1729
  // version:myop-sdk-version
1730
- var myop_sdk_version_default = "0.1.44";
1730
+ var myop_sdk_version_default = "0.1.45";
1731
1731
 
1732
1732
  // src/host/loaders/HTMLComponentLoader.ts
1733
1733
  var seen2 = [];
@@ -1801,7 +1801,7 @@ var HTMLComponentLoader = class extends BaseMyopLoader {
1801
1801
  doc.writeln('<script src="'.concat(window.myop.__ROOT_SDK_PUBLIC_URL__, "\"><\/script>\n <script>\n window.__federation__ = \n { ...window.__federation__,\n //TODO : get from ENV at build time, \n // inject value to module at build time \n // today we doing so just for the CJS version \n __public_path__ :'https://cdn.myop.dev/sdk/next',\n ...").concat(JSON.stringify(
1802
1802
  // @ts-ignore
1803
1803
  window.__federation__
1804
- ), "};\n const init = async () => {\n const {IframeSDK} = (await window.myop.rootSDK.getIframeModule());\n const sdk = new IframeSDK()\n sdk.init();\n }\n init().then();\n <\/script>"));
1804
+ ), "};\n const __myop_init = async () => {\n const {IframeSDK} = (await window.myop.rootSDK.getIframeModule());\n const sdk = new IframeSDK()\n sdk.init();\n }\n __myop_init().then();\n <\/script>"));
1805
1805
  doc.close();
1806
1806
  const comp = new MyopIframeComponent(componentDefinition, skin, container, IframeElement, options);
1807
1807
  if (loaderConfig.autoHeight) {