@getopenpay/openpay-js-react 0.2.19-alpha.b8b43a7 → 0.2.23

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
@@ -208,7 +208,12 @@ export declare type ElementsFormProps = {
208
208
  onLoadError?: (message: string) => void;
209
209
  onValidationError?: (field: AllFieldNames, errors: string[], elementId?: string) => void;
210
210
  onCheckoutStarted?: () => void;
211
- onCheckoutSuccess?: (invoiceUrls: string[], subscriptionIds: string[], customerId: string) => void;
211
+ onCheckoutSuccess?: (
212
+ invoiceUrls: string[],
213
+ subscriptionIds: string[],
214
+ customerId: string,
215
+ processorsUsed: string[]
216
+ ) => void;
212
217
  onSetupPaymentMethodSuccess?: (paymentMethodId: string) => void;
213
218
  onCheckoutError?: (message: string, errorCode?: string) => void;
214
219
  baseUrl?: string;
@@ -247,6 +252,7 @@ declare enum ElementTypeEnum {
247
252
  CARD_NUMBER = 'card-number',
248
253
  CARD_EXPIRY = 'card-expiry',
249
254
  CARD_CVC = 'card-cvc',
255
+ CDE_BRIDGE = 'cde-bridge',
250
256
  }
251
257
 
252
258
  declare enum Environment {
@@ -377,7 +383,12 @@ declare type OnCheckoutError = (message: string, errorCode?: string) => void;
377
383
 
378
384
  declare type OnCheckoutStarted = () => void;
379
385
 
380
- declare type OnCheckoutSuccess = (invoiceUrls: string[], subscriptionIds: string[], customerId: string) => void;
386
+ declare type OnCheckoutSuccess = (
387
+ invoiceUrls: string[],
388
+ subscriptionIds: string[],
389
+ customerId: string,
390
+ processorsUsed: string[]
391
+ ) => void;
381
392
 
382
393
  declare type OnSetupPaymentMethodSuccess = (paymentMethodId: string) => void;
383
394