Update dependency react-stripe-elements to ^6.1.1
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
react-stripe-elements | dependencies | minor | ^6.1.1 | source |
Release Notes
stripe/react-stripe-elements
v6.1.1
Changes
- Register package version with Stripe instance (#512)
v6.1.0
New Features
Added the auBankAccount
and fpxBank
elements. These elements will not have
automatic Element detection/insertion. To use them you will need to use
elements.getElement
and pass them directly to other Stripe.js methods (e.g.
stripe.confirmFpxPayment
):
const FpxForm = injectStripe(({stripe, elements}) => {
const handleSubmit = async (event) => {
event.preventDefault();
const {error} = await stripe.confirmFpxPayment('{{CLIENT_SECRET}}', {
payment_method: {
fpx: elements.getElement('fpxBank'),
},
});
};
return (
<form onSubmit={handleSubmit}>
<FpxBankElement accountHolderType="individual" />
<button>Pay</button>
</form>
);
});
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.