@youidian/sdk 3.4.2 → 3.4.3

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/index.js CHANGED
@@ -340,7 +340,7 @@ var HostedFrameModal = class {
340
340
  const container = document.createElement("div");
341
341
  Object.assign(container.style, {
342
342
  width: options.width || "450px",
343
- height: options.height || "min(760px, calc(100vh - 32px))",
343
+ height: options.height || "min(680px, calc(100vh - 32px))",
344
344
  backgroundColor: "transparent",
345
345
  borderRadius: "28px",
346
346
  overflow: "visible",
@@ -2221,7 +2221,7 @@ var PaymentUI = class extends HostedFrameModal {
2221
2221
  );
2222
2222
  const hostedFrame = this.openHostedFrame(finalUrl, {
2223
2223
  allowedOrigin: options?.allowedOrigin,
2224
- height: "min(760px, calc(100vh - 32px))",
2224
+ height: "min(680px, calc(100vh - 32px))",
2225
2225
  onCloseButton: () => {
2226
2226
  this.cancelHostedOrder("modal_close");
2227
2227
  options?.onCancel?.(this.activeOrderId || void 0);