@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.
- package/dist/cjs/_IframeSDK.8724e6a9.min.js +1 -0
- package/dist/cjs/{_IframeSDK.4fb657bf.js → _IframeSDK.f8e27dc0.js} +7 -11
- package/dist/cjs/_IframeSDK.f8e27dc0.js.map +7 -0
- package/dist/cjs/_WebComponentSDK.9222ca02.min.js +1 -0
- package/dist/cjs/{_WebComponentSDK.949eae52.js → _WebComponentSDK.f8bc2f3a.js} +7 -11
- package/dist/cjs/{_WebComponentSDK.949eae52.js.map → _WebComponentSDK.f8bc2f3a.js.map} +2 -2
- package/dist/cjs/{_hostSDK.664e938c.js → _hostSDK.9c5e7767.js} +7 -11
- package/dist/cjs/_hostSDK.9c5e7767.js.map +7 -0
- package/dist/cjs/_hostSDK.e2851f6a.min.js +1 -0
- package/dist/cjs/myop_sdk.js +11 -11
- package/dist/cjs/myop_sdk.js.map +1 -1
- package/dist/cjs/myop_sdk.min.js +1 -1
- package/dist/cjs-bundled/myop_sdk.bundled.js +8 -12
- package/dist/cjs-bundled/myop_sdk.bundled.js.map +2 -2
- package/dist/cjs-bundled/myop_sdk.bundled.min.js +1 -1
- package/dist/module/Iframe/index.js +8 -12
- package/dist/module/Iframe/index.js.map +2 -2
- package/dist/module/SDK.js +8 -12
- package/dist/module/SDK.js.map +2 -2
- package/dist/module/embeddedSDK.js +1 -1
- package/dist/module/host/embeddedSDK.js +1 -1
- package/dist/module/host/index.js +8 -12
- package/dist/module/host/index.js.map +2 -2
- package/dist/module/webcomponent/index.js +8 -12
- package/dist/module/webcomponent/index.js.map +2 -2
- package/package.json +1 -1
- package/dist/cjs/_IframeSDK.1f1af47b.min.js +0 -1
- package/dist/cjs/_IframeSDK.4fb657bf.js.map +0 -7
- package/dist/cjs/_WebComponentSDK.05217c76.min.js +0 -1
- package/dist/cjs/_hostSDK.664e938c.js.map +0 -7
- 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
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
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.
|
|
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 {
|