@betterstore/react 0.2.43 → 0.2.44
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/CHANGELOG.md +6 -0
- package/dist/components/checkout-embed/steps/payment/form.d.ts +2 -1
- package/dist/components/payment-element/index.d.ts +2 -1
- package/dist/index.cjs.js +2336 -2436
- package/dist/index.mjs +2336 -2436
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,7 @@ interface PaymentFormProps {
|
|
|
14
14
|
checkoutAppearance?: AppearanceConfig;
|
|
15
15
|
fonts?: StripeElementsOptions["fonts"];
|
|
16
16
|
locale?: StripeElementLocale;
|
|
17
|
+
publicKey: string | null;
|
|
17
18
|
}
|
|
18
|
-
export default function PaymentForm({ paymentSecret, onSuccess, onError, onBack, onDoubleBack, contactEmail, shippingAddress, shippingName, shippingPrice, checkoutAppearance, fonts, locale, }: PaymentFormProps): React.JSX.Element;
|
|
19
|
+
export default function PaymentForm({ paymentSecret, onSuccess, onError, onBack, onDoubleBack, contactEmail, shippingAddress, shippingName, shippingPrice, checkoutAppearance, fonts, locale, publicKey, }: PaymentFormProps): React.JSX.Element;
|
|
19
20
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Appearance, StripeElementLocale, StripeElementsOptions } from "@stripe/stripe-js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare function PaymentElement({ paymentSecret, checkoutAppearance, locale, fonts, onSuccess, onError, children, setSubmitting, }: {
|
|
3
|
+
declare function PaymentElement({ paymentSecret, publicKey, checkoutAppearance, locale, fonts, onSuccess, onError, children, setSubmitting, }: {
|
|
4
4
|
paymentSecret: string;
|
|
5
|
+
publicKey: string | null;
|
|
5
6
|
checkoutAppearance?: Appearance;
|
|
6
7
|
locale?: StripeElementLocale;
|
|
7
8
|
fonts?: StripeElementsOptions["fonts"];
|