@payrails/web-sdk 5.12.0-RC.2 → 5.12.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 +4 -1
- package/payrails.js +4 -4
package/package.json
CHANGED
package/payrails.d.ts
CHANGED
|
@@ -613,14 +613,17 @@ interface PaymentInstallmentsElementOptions extends ElementOptions {
|
|
|
613
613
|
}
|
|
614
614
|
declare class PaymentInstallmentsDropdown extends PayrailsElement {
|
|
615
615
|
private options;
|
|
616
|
+
private installmentOptions;
|
|
616
617
|
constructor(options: PaymentInstallmentsElementOptions);
|
|
617
618
|
private generateOptionsHTML;
|
|
619
|
+
private renderOptions;
|
|
618
620
|
updateOptions(installmentOptions: BaseInstallmentOption[]): void;
|
|
619
621
|
private createHTML;
|
|
620
622
|
private applyStyles;
|
|
621
623
|
private addListeners;
|
|
622
624
|
get selectedInstallmentValue(): string | undefined;
|
|
623
625
|
setDisabled(state: boolean): void;
|
|
626
|
+
setVisible(state: boolean): void;
|
|
624
627
|
}
|
|
625
628
|
declare class PayrailsElementWithPaymentInstallmentsDropdown extends PayrailsElement {
|
|
626
629
|
protected options?: PaymentInstallmentsElementOptions | undefined;
|
|
@@ -738,7 +741,7 @@ interface ReturnInfo {
|
|
|
738
741
|
}
|
|
739
742
|
declare global {
|
|
740
743
|
interface Window {
|
|
741
|
-
|
|
744
|
+
PayrailsData: {
|
|
742
745
|
riskIds: {
|
|
743
746
|
[key in FraudProvider]?: string;
|
|
744
747
|
};
|