@stigg/react-sdk 4.5.4 → 4.5.5

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.
@@ -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
  });