Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

v2.0.0

Latest
Compare
Choose a tag to compare
@Weetbix Weetbix released this 13 Jan 08:24
· 1 commit to main since this release
bdd4c15

Breaking changes

The onTokenReady prop has been removed from GooglePay, ApplePay and Paypal elements. It has moved to FramePayProvider.

For example:

<FramePayProvider>
    <GooglePay onTokenReady={() => ...} />
    <Paypal onTokenReady={() => ...} />
    <ApplePay onTokenReady={() => ...} />
</FramePayProvider>

Becomes:

<FramepayProvider onTokenReady={() => ... }>
    <GooglePay />
    <Paypal />
    <ApplePay />
</FramepayProvider>

What's Changed

  • fix!: Move onTokenReady to Provider by @Weetbix in #81

Full Changelog: v1.6.0...v2.0.0