Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@revolut/checkout

Package Overview
Dependencies
Maintainers
4
Versions
43
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 1.1.13 to 1.1.14

2

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

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

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

};
/** Similar to redirectUrls option, however only used for mobile devices */
mobileRedirectUrls?: {
success: string;
failure: string;
cancel: string;
};
billingAddress?: Address;

@@ -281,3 +287,3 @@ buttonStyle?: ButtonStyleOptions;

/** The upsell SDK module */
upsell: (option: RevolutUpsellModuleOptions) => RevolutPaymentsModuleInstance;
upsell: (option: RevolutUpsellModuleOptions) => RevolutUpsellModuleInstance;
}

@@ -308,2 +314,4 @@ export interface RevolutPaymentsModuleInstance {

promotionalBanner: UpsellModulePromotionalBannerInstance;
/** Enrollment confirmation banner */
enrollmentConfirmationBanner: UpsellModuleEnrollmentConfirmationBannerInstance;
/** Manually destroy the instance */

@@ -342,2 +350,15 @@ destroy: () => void;

}
export interface UpsellModuleEnrollmentConfirmationBannerInstance {
mount: (target: string | HTMLElement, options: WidgetUpsellEnrollmentConfirmationBannerOptions) => void;
destroy: () => void;
}
export interface WidgetUpsellEnrollmentConfirmationBannerOptions {
orderToken: string;
/** Prefilled customer details within the banner */
customer?: Partial<CustomerDetails>;
/** Whether promotional banner should be shown if user has not enrolled */
promotionalBanner?: boolean;
/** Style object for promotional banner customisation */
promotionalBannerStyle?: WidgetUpsellPromotionalBannerOptions['style'];
}
export interface RevolutUpsellModuleOptions {

@@ -344,0 +365,0 @@ publicToken: string;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc