@payrails/web-sdk 5.31.1-RC.0 → 5.31.1
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/README.md +4 -3
- package/index.js +4 -4
- package/package.json +1 -1
- package/payrails.d.ts +2 -1
- package/payrails.js +4 -4
package/package.json
CHANGED
package/payrails.d.ts
CHANGED
|
@@ -1310,7 +1310,6 @@ declare enum AuthorizationFailureReasons {
|
|
|
1310
1310
|
VALIDATION_FAILED = "VALIDATION_FAILED",
|
|
1311
1311
|
AUTHORIZATION_ERROR = "AUTHORIZATION_ERROR",
|
|
1312
1312
|
AUTHENTICATION_ERROR = "AUTHENTICATION_ERROR",
|
|
1313
|
-
FRAUD_RISK_DECLINED = "FRAUD_RISK_DECLINED",
|
|
1314
1313
|
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
1315
1314
|
USER_CANCELLED = "USER_CANCELLED"
|
|
1316
1315
|
}
|
|
@@ -1423,6 +1422,7 @@ interface GenericRedirectButtonOptions {
|
|
|
1423
1422
|
};
|
|
1424
1423
|
events?: PaymentEvents;
|
|
1425
1424
|
paymentMethod: BasePaymentMethodConfig;
|
|
1425
|
+
openInNewTab?: boolean;
|
|
1426
1426
|
}
|
|
1427
1427
|
declare class GenericRedirectButton extends PayrailsElement {
|
|
1428
1428
|
protected options: GenericRedirectButtonOptions;
|
|
@@ -1453,6 +1453,7 @@ interface GenericRedirectDropinOptions {
|
|
|
1453
1453
|
paymentMethod: StorablePaymentCompositionOption;
|
|
1454
1454
|
config?: {
|
|
1455
1455
|
showPaymentMethodLogo?: boolean;
|
|
1456
|
+
openInNewTab?: boolean;
|
|
1456
1457
|
};
|
|
1457
1458
|
styles?: {
|
|
1458
1459
|
element?: DropinElementStyles;
|