Socket
Book a DemoInstallSign in
Socket

@revolut/checkout

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@revolut/checkout - npm Package Compare versions

Comparing version

to
1.1.20

2

package.json
{
"name": "@revolut/checkout",
"version": "1.1.19",
"version": "1.1.20",
"description": "RevolutCheckout.js as npm module",

@@ -5,0 +5,0 @@ "author": "John Grishin <hi@johngrish.in>",

@@ -154,2 +154,8 @@ import { MODE, LOCALES } from './constants';

requestShipping?: boolean;
/** Request payer name in payment request UI */
requestPayerName?: boolean;
/** Request payer phone in payment request UI */
requestPayerPhone?: boolean;
/** Request payer email in payment request UI */
requestPayerEmail?: boolean;
/** Disable payment request via basic card */

@@ -245,8 +251,11 @@ disableBasicCard?: boolean;

type: 'success';
orderId: string;
} | {
type: 'error';
error: RevolutCheckoutError;
orderId: string;
} | {
type: 'cancel';
dropOffState: RevolutPayDropOffState;
orderId?: string;
};

@@ -392,2 +401,7 @@ } | {

currency: string;
/** Style object for customisation */
style?: {
text?: 'learn_more' | 'cashback' | 'get_discounts' | 'earn_as_customer';
color?: 'blue' | 'black';
};
}

@@ -394,0 +408,0 @@ export interface WidgetUpsellPromotionalBannerInformationalIconOptions {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.