@youidian/sdk 3.4.2 → 3.4.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.
package/dist/client.cjs CHANGED
@@ -371,7 +371,7 @@ var HostedFrameModal = class {
371
371
  const container = document.createElement("div");
372
372
  Object.assign(container.style, {
373
373
  width: options.width || "450px",
374
- height: options.height || "min(760px, calc(100vh - 32px))",
374
+ height: options.height || "min(680px, calc(100vh - 32px))",
375
375
  backgroundColor: "transparent",
376
376
  borderRadius: "28px",
377
377
  overflow: "visible",
@@ -2252,7 +2252,7 @@ var PaymentUI = class extends HostedFrameModal {
2252
2252
  );
2253
2253
  const hostedFrame = this.openHostedFrame(finalUrl, {
2254
2254
  allowedOrigin: options?.allowedOrigin,
2255
- height: "min(760px, calc(100vh - 32px))",
2255
+ height: "min(680px, calc(100vh - 32px))",
2256
2256
  onCloseButton: () => {
2257
2257
  this.cancelHostedOrder("modal_close");
2258
2258
  options?.onCancel?.(this.activeOrderId || void 0);