@stigg/react-sdk 4.5.4 → 4.6.0
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/dist/components/checkout/CheckoutContainer.d.ts +1 -0
- package/dist/react-sdk.cjs.development.js +3 -1
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +3 -1
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/checkout/CheckoutContainer.tsx +1 -0
- package/src/components/checkout/steps/payment/stripe/useSubmit.ts +6 -2
package/dist/react-sdk.esm.js
CHANGED
|
@@ -11889,7 +11889,8 @@ function useSubmit(_ref) {
|
|
|
11889
11889
|
setWidgetReadOnly = _useCheckoutModel.setWidgetReadOnly;
|
|
11890
11890
|
|
|
11891
11891
|
var _ref2 = checkoutState || {},
|
|
11892
|
-
setupIntentClientSecret = _ref2.setupSecret
|
|
11892
|
+
setupIntentClientSecret = _ref2.setupSecret,
|
|
11893
|
+
customer = _ref2.customer;
|
|
11893
11894
|
|
|
11894
11895
|
var stripe = useStripe();
|
|
11895
11896
|
var elements = useElements();
|
|
@@ -12008,6 +12009,7 @@ function useSubmit(_ref) {
|
|
|
12008
12009
|
|
|
12009
12010
|
_context2.next = 17;
|
|
12010
12011
|
return onCheckout({
|
|
12012
|
+
customerId: customer.id,
|
|
12011
12013
|
checkoutParams: checkoutParams,
|
|
12012
12014
|
checkoutAction: checkoutAction
|
|
12013
12015
|
});
|