@yuno-payments/sdk-web-types 5.5.0 → 5.6.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/dist/global.d.ts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -784,10 +784,18 @@ declare namespace ExternalButtonsNameSpace {
|
|
|
784
784
|
borderRadius?: number;
|
|
785
785
|
locale?: string;
|
|
786
786
|
};
|
|
787
|
+
type RevolutPayButtonConfig = {
|
|
788
|
+
variant?: 'dark' | 'light' | 'light-outlined';
|
|
789
|
+
size?: 'large' | 'small';
|
|
790
|
+
radius?: 'none' | 'small' | 'large' | 'round';
|
|
791
|
+
action?: 'pay' | 'buy' | 'donate' | 'subscribe';
|
|
792
|
+
locale?: string;
|
|
793
|
+
};
|
|
787
794
|
type ExternalButtonsConfig = {
|
|
788
795
|
googlePay?: GooglePayButtonConfig;
|
|
789
796
|
applePay?: ApplePayButtonConfig;
|
|
790
797
|
paypal?: PayPalButtonConfig;
|
|
798
|
+
revolutPay?: RevolutPayButtonConfig;
|
|
791
799
|
};
|
|
792
800
|
}
|
|
793
801
|
|
package/dist/index.d.ts
CHANGED
|
@@ -784,10 +784,18 @@ declare namespace ExternalButtonsNameSpace {
|
|
|
784
784
|
borderRadius?: number;
|
|
785
785
|
locale?: string;
|
|
786
786
|
};
|
|
787
|
+
type RevolutPayButtonConfig = {
|
|
788
|
+
variant?: 'dark' | 'light' | 'light-outlined';
|
|
789
|
+
size?: 'large' | 'small';
|
|
790
|
+
radius?: 'none' | 'small' | 'large' | 'round';
|
|
791
|
+
action?: 'pay' | 'buy' | 'donate' | 'subscribe';
|
|
792
|
+
locale?: string;
|
|
793
|
+
};
|
|
787
794
|
type ExternalButtonsConfig = {
|
|
788
795
|
googlePay?: GooglePayButtonConfig;
|
|
789
796
|
applePay?: ApplePayButtonConfig;
|
|
790
797
|
paypal?: PayPalButtonConfig;
|
|
798
|
+
revolutPay?: RevolutPayButtonConfig;
|
|
791
799
|
};
|
|
792
800
|
}
|
|
793
801
|
|