@getopenpay/openpay-js-react 0.2.11-alpha.5523a0e → 0.2.12
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/.tsbuildinfo +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +629 -606
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export declare type ElementsFormProps = {
|
|
|
178
178
|
onCheckoutStarted?: () => void;
|
|
179
179
|
onCheckoutSuccess?: (invoiceUrls: string[], subscriptionIds: string[], customerId: string) => void;
|
|
180
180
|
onSetupPaymentMethodSuccess?: (paymentMethodId: string) => void;
|
|
181
|
-
onCheckoutError?: (message: string) => void;
|
|
181
|
+
onCheckoutError?: (message: string, errorCode?: string) => void;
|
|
182
182
|
baseUrl?: string;
|
|
183
183
|
enableDynamicPreviews?: boolean;
|
|
184
184
|
customInitParams?: CustomInitParams;
|
|
@@ -270,7 +270,7 @@ export declare type InitAirwallexGooglePayFlowResult = {
|
|
|
270
270
|
startFlow: (customParams?: AirwallexGooglePayFlowCustomParams) => Promise<void>;
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
declare type OnCheckoutError = (message: string) => void;
|
|
273
|
+
declare type OnCheckoutError = (message: string, errorCode?: string) => void;
|
|
274
274
|
|
|
275
275
|
declare type OnCheckoutStarted = () => void;
|
|
276
276
|
|