@getopenpay/openpay-js-react 0.2.29-alpha.5211859 → 0.2.30

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/index.d.ts CHANGED
@@ -184,7 +184,7 @@ export declare const ElementsForm: FC<ElementsFormPropsReact>;
184
184
 
185
185
  export declare type ElementsFormChildrenProps = {
186
186
  submit: () => void;
187
- submitWith: <T extends SubmitMethod>(method: T, settings?: SubmitSettings<T>) => void;
187
+ submitWith: <T extends SubmitMethod>(method: T, settings?: SubmitSettings<T>) => void | Promise<void>;
188
188
  applePay: PaymentRequestStatus;
189
189
  googlePay: PaymentRequestStatus;
190
190
  stripeLink: StripeLinkController | null;