v3.0.0
@everfund/js-sdk v3.0.0
Breaking Changes
donationWidget
has been removed and been replace withcheckoutModal
.donationWidget
has be renamed tomodal
.
@everfund/react-sdk v3.0.0
New Features
- New
DonationForm
component that can be used to embed a donation form on your site.
<div style={{ width: '450px', height: '600px' }}>
<DonationForm
code={code}
onSuccess={(e) => console.log('success', e)}
onFailure={(e) => console.log('failure', e)}
/>
</div>
Breaking Changes
useDonationWidget
has been removed and been replace withuseDonationCheckoutModal
.openDonationWidget
has be renamed toopenModal
.
Changelog Wordpress plugin v3.0.0
New Features
Two new blocks to use in the Wordpress editor:
- Everfund Donation Form - add a donation form to your page
- Everfund Donation Checkout Modal - Adds a button to your page that opens a modal to donate.