@getopenpay/openpay-js 0.2.19-alpha.b8b43a7 → 0.2.21
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 +7 -1
- package/dist/index.es.js +264 -248
- package/dist/index.umd.js +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare enum ElementTypeEnum {
|
|
|
188
188
|
CARD_NUMBER = 'card-number',
|
|
189
189
|
CARD_EXPIRY = 'card-expiry',
|
|
190
190
|
CARD_CVC = 'card-cvc',
|
|
191
|
+
CDE_BRIDGE = 'cde-bridge',
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
declare type ElementTypeEnumValue = ElementTypeEnum[keyof ElementTypeEnum];
|
|
@@ -651,7 +652,12 @@ declare type OnCheckoutError = (message: string, errorCode?: string) => void;
|
|
|
651
652
|
|
|
652
653
|
declare type OnCheckoutStarted = () => void;
|
|
653
654
|
|
|
654
|
-
declare type OnCheckoutSuccess = (
|
|
655
|
+
declare type OnCheckoutSuccess = (
|
|
656
|
+
invoiceUrls: string[],
|
|
657
|
+
subscriptionIds: string[],
|
|
658
|
+
customerId: string,
|
|
659
|
+
processorsUsed: string[]
|
|
660
|
+
) => void;
|
|
655
661
|
|
|
656
662
|
declare type OnSetupPaymentMethodSuccess = (paymentMethodId: string) => void;
|
|
657
663
|
|