@payrails/web-sdk 5.34.0 → 5.35.0-RC.0
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/index.js +4 -4
- package/package.json +1 -1
- package/payrails.d.ts +7 -3
- package/payrails.js +4 -4
package/package.json
CHANGED
package/payrails.d.ts
CHANGED
|
@@ -94,7 +94,10 @@ declare enum PAYMENT_METHOD_CODES {
|
|
|
94
94
|
'MERCADO_PAGO' = "mercadoPago",
|
|
95
95
|
'PIX' = "pix",
|
|
96
96
|
'BANK_ACCOUNT' = "bankAccount",
|
|
97
|
-
'IDEAL' = "iDeal"
|
|
97
|
+
'IDEAL' = "iDeal",
|
|
98
|
+
'YAPE' = "yape",
|
|
99
|
+
'UPI' = "upi",
|
|
100
|
+
'KLARNA' = "klarna"
|
|
98
101
|
}
|
|
99
102
|
declare enum PAYMENT_INSTRUMENT_STATUS {
|
|
100
103
|
'ENABLED' = "enabled",
|
|
@@ -1581,6 +1584,7 @@ declare class Dropin extends PayrailsElement {
|
|
|
1581
1584
|
private paypal;
|
|
1582
1585
|
private loadingScreen;
|
|
1583
1586
|
constructor(collectContainer: PayrailsCollectContainer, clientConfig: PayrailsClientOptions, dropinConfig: DropinOptions);
|
|
1587
|
+
private get returnInfo();
|
|
1584
1588
|
private isHppIntegration;
|
|
1585
1589
|
private createStoredInstrumentElement;
|
|
1586
1590
|
private createInstallmentsDropdown;
|
|
@@ -1875,7 +1879,7 @@ declare class Payrails {
|
|
|
1875
1879
|
getAvailablePaymentMethods(): PAYMENT_METHOD_CODES[];
|
|
1876
1880
|
paymentButton(options: CardPaymentButtonOptions): CardPaymentButton;
|
|
1877
1881
|
paypalButton(options?: PaypalButtonOptions): PaypalButton;
|
|
1878
|
-
genericRedirectButton(options: GenericRedirectButtonOptions): GenericRedirectButton;
|
|
1882
|
+
genericRedirectButton(options: GenericRedirectButtonOptions, returnInfo?: ReturnInfo): GenericRedirectButton;
|
|
1879
1883
|
dynamicElement(options: DynamicElementOptions): DynamicElementForm;
|
|
1880
1884
|
getSavedPaypalAccounts(): StoredPaymentInstrument<PayPalMetadata>[];
|
|
1881
1885
|
private logIntegrationMode;
|
|
@@ -1985,4 +1989,4 @@ declare class ApplePayButton extends PayrailsElementWithStoreInstrumentCheckbox
|
|
|
1985
1989
|
}
|
|
1986
1990
|
|
|
1987
1991
|
export { AuthorizationFailureReasons, ElementType, INTEGRATION_TYPE, PAYMENT_METHOD_CODES, Payrails, PayrailsEnvironment };
|
|
1988
|
-
export type { ApplePayButtonOptions, CardFormOptions, CardListOptions, CardPaymentButtonOptions, DropinOptions, GooglePayButtonOptions, InitOptions, PaymentEvents, PaypalButtonOptions, PayrailsAmount, PayrailsClientOptions, PayrailsContainerType, PayrailsSecureField, PayrailsSecureFieldEvent, SaveInstrumentResponse, WorkflowExecutionResponse };
|
|
1992
|
+
export type { ApplePayButtonOptions, CardFormOptions, CardListOptions, CardPaymentButtonOptions, DropinOptions, GenericRedirectButtonOptions, GooglePayButtonOptions, InitOptions, PaymentEvents, PaypalButtonOptions, PayrailsAmount, PayrailsClientOptions, PayrailsContainerType, PayrailsSecureField, PayrailsSecureFieldEvent, ReturnInfo, SaveInstrumentResponse, WorkflowExecutionResponse };
|