@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.cjs CHANGED
@@ -386,7 +386,7 @@ var HostedFrameModal = class {
386
386
  const container = document.createElement("div");
387
387
  Object.assign(container.style, {
388
388
  width: options.width || "450px",
389
- height: options.height || "min(760px, calc(100vh - 32px))",
389
+ height: options.height || "min(680px, calc(100vh - 32px))",
390
390
  backgroundColor: "transparent",
391
391
  borderRadius: "28px",
392
392
  overflow: "visible",
@@ -2267,7 +2267,7 @@ var PaymentUI = class extends HostedFrameModal {
2267
2267
  );
2268
2268
  const hostedFrame = this.openHostedFrame(finalUrl, {
2269
2269
  allowedOrigin: options?.allowedOrigin,
2270
- height: "min(760px, calc(100vh - 32px))",
2270
+ height: "min(680px, calc(100vh - 32px))",
2271
2271
  onCloseButton: () => {
2272
2272
  this.cancelHostedOrder("modal_close");
2273
2273
  options?.onCancel?.(this.activeOrderId || void 0);