adyen-web icon indicating copy to clipboard operation
adyen-web copied to clipboard

[Web Drop-in] challengeWindowSize type in CoreOptions.paymentMethodsConfiguration

Open michielmetcake opened this issue 1 year ago • 1 comments

Using: "@adyen/adyen-web": "5.57.0", Web Drop-in

When adding the challengeWindowSize prop as the documentation describes, a type error is being returned.

Config:

paymentMethodsConfiguration: {
  // 3D Secure 2 window
  threeDS2: {
    challengeWindowSize: "05",
    },
}

The error is returned from @adyen/adyen-web/dist/types/components/types.d.ts Type '{ challengeWindowSize: string; }' has no properties in common with type 'Partial<UIElementProps>'

No error is

michielmetcake avatar Feb 06 '24 13:02 michielmetcake

Introduced by this PR

michielmetcake avatar Feb 06 '24 13:02 michielmetcake

Hi @michielmetcake ,

It should be fixed on 5.60.0. Cheers.

ribeiroguilherme avatar Mar 12 '24 12:03 ribeiroguilherme