@myop/sdk 0.3.25 → 0.3.26

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.
Files changed (31) hide show
  1. package/dist/cjs/_IframeSDK.8724e6a9.min.js +1 -0
  2. package/dist/cjs/{_IframeSDK.4fb657bf.js → _IframeSDK.f8e27dc0.js} +7 -11
  3. package/dist/cjs/_IframeSDK.f8e27dc0.js.map +7 -0
  4. package/dist/cjs/_WebComponentSDK.9222ca02.min.js +1 -0
  5. package/dist/cjs/{_WebComponentSDK.949eae52.js → _WebComponentSDK.f8bc2f3a.js} +7 -11
  6. package/dist/cjs/{_WebComponentSDK.949eae52.js.map → _WebComponentSDK.f8bc2f3a.js.map} +2 -2
  7. package/dist/cjs/{_hostSDK.664e938c.js → _hostSDK.9c5e7767.js} +7 -11
  8. package/dist/cjs/_hostSDK.9c5e7767.js.map +7 -0
  9. package/dist/cjs/_hostSDK.e2851f6a.min.js +1 -0
  10. package/dist/cjs/myop_sdk.js +11 -11
  11. package/dist/cjs/myop_sdk.js.map +1 -1
  12. package/dist/cjs/myop_sdk.min.js +1 -1
  13. package/dist/cjs-bundled/myop_sdk.bundled.js +8 -12
  14. package/dist/cjs-bundled/myop_sdk.bundled.js.map +2 -2
  15. package/dist/cjs-bundled/myop_sdk.bundled.min.js +1 -1
  16. package/dist/module/Iframe/index.js +8 -12
  17. package/dist/module/Iframe/index.js.map +2 -2
  18. package/dist/module/SDK.js +8 -12
  19. package/dist/module/SDK.js.map +2 -2
  20. package/dist/module/embeddedSDK.js +1 -1
  21. package/dist/module/host/embeddedSDK.js +1 -1
  22. package/dist/module/host/index.js +8 -12
  23. package/dist/module/host/index.js.map +2 -2
  24. package/dist/module/webcomponent/index.js +8 -12
  25. package/dist/module/webcomponent/index.js.map +2 -2
  26. package/package.json +1 -1
  27. package/dist/cjs/_IframeSDK.1f1af47b.min.js +0 -1
  28. package/dist/cjs/_IframeSDK.4fb657bf.js.map +0 -7
  29. package/dist/cjs/_WebComponentSDK.05217c76.min.js +0 -1
  30. package/dist/cjs/_hostSDK.664e938c.js.map +0 -7
  31. package/dist/cjs/_hostSDK.d90560a4.min.js +0 -1
@@ -1530,16 +1530,12 @@ var MyopIframeComponent = class extends BaseMyopComponent {
1530
1530
  if (!shouldAutoWidth && !shouldAutoHeight) {
1531
1531
  iframe.style.width = typeof resolvedExplicitWidth === "number" ? "".concat(resolvedExplicitWidth, "px") : "100%";
1532
1532
  iframe.style.height = typeof resolvedExplicitHeight === "number" ? "".concat(resolvedExplicitHeight, "px") : "100%";
1533
- const explicitWidthPx = typeof resolvedExplicitWidth === "number" ? resolvedExplicitWidth : void 0;
1534
- const explicitHeightPx = typeof resolvedExplicitHeight === "number" ? resolvedExplicitHeight : void 0;
1535
- if (explicitWidthPx !== void 0 || explicitHeightPx !== void 0) {
1536
- (_g = opts == null ? void 0 : opts.onSizeChange) == null ? void 0 : _g.call(opts, {
1537
- width: explicitWidthPx,
1538
- height: explicitHeightPx,
1539
- autoSizingWidth: false,
1540
- autoSizingHeight: false
1541
- });
1542
- }
1533
+ (_g = opts == null ? void 0 : opts.onSizeChange) == null ? void 0 : _g.call(opts, {
1534
+ width: typeof resolvedExplicitWidth === "number" ? resolvedExplicitWidth : void 0,
1535
+ height: typeof resolvedExplicitHeight === "number" ? resolvedExplicitHeight : void 0,
1536
+ autoSizingWidth: false,
1537
+ autoSizingHeight: false
1538
+ });
1543
1539
  return;
1544
1540
  }
1545
1541
  const prevTransition = iframe.style.transition;
@@ -1898,7 +1894,7 @@ var WebcomponentLoader = class extends BaseMyopLoader {
1898
1894
  };
1899
1895
 
1900
1896
  // version:myop-sdk-version
1901
- var myop_sdk_version_default = "0.3.25";
1897
+ var myop_sdk_version_default = "0.3.26";
1902
1898
 
1903
1899
  // src/webcomponent/messageHandlers/BaseWebComponentMessageHandler.ts
1904
1900
  var BaseWebComponentMessageHandler = class extends BaseContextMessageHandler {