@payrails/web-sdk 5.5.0 → 5.7.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-styles.css +4 -0
- package/payrails.d.ts +3 -0
package/package.json
CHANGED
package/payrails-styles.css
CHANGED
package/payrails.d.ts
CHANGED
|
@@ -749,6 +749,7 @@ declare class GooglePayButton extends PayrailsElementWithStoreInstrumentCheckbox
|
|
|
749
749
|
interface DropinElementEvents extends PaymentEvents {
|
|
750
750
|
onActivate?: () => void;
|
|
751
751
|
onDeactivate?: () => void;
|
|
752
|
+
onAvailable?: () => void;
|
|
752
753
|
}
|
|
753
754
|
interface DropinElementStyles {
|
|
754
755
|
base?: Partial<CSSStyleDeclaration>;
|
|
@@ -859,6 +860,7 @@ declare class Dropin extends PayrailsElement {
|
|
|
859
860
|
constructor(collectContainer: PayrailsCollectContainer, clientConfig: PayrailsClientOptions, dropinConfig: DropinOptions, execution: WorkflowExecution, sdkConfig: SdkConfiguration);
|
|
860
861
|
private createStoredInstrumentElement;
|
|
861
862
|
private createMercadoPagoButton;
|
|
863
|
+
private get totalPaymentOptions();
|
|
862
864
|
private createCreditCardButton;
|
|
863
865
|
private createGooglePayButton;
|
|
864
866
|
private createPayPalButton;
|
|
@@ -876,6 +878,7 @@ interface StorablePaymentMethodConfiguration extends StoreInstrumentElementOptio
|
|
|
876
878
|
}
|
|
877
879
|
interface DropinOptions {
|
|
878
880
|
paymentMethodsConfiguration?: {
|
|
881
|
+
preselectFirstPaymentOption?: boolean;
|
|
879
882
|
cards?: {
|
|
880
883
|
showCardHolderName?: boolean;
|
|
881
884
|
showExistingCards?: boolean;
|