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.0.6 to 1.0.7-0

2

package.json
{
"name": "@revolut/checkout",
"version": "1.0.6",
"version": "1.0.7-0",
"description": "RevolutCheckout.js as npm module",

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

@@ -40,3 +40,3 @@ import { MODE } from './constants';

}
export interface PopupOptions extends CustomerDetails {
export interface CommonOptions {
/** Callback will be called when the payment is completed successfully */

@@ -49,2 +49,4 @@ onSuccess?: () => void;

}
export interface PopupOptions extends CustomerDetails, CommonOptions {
}
export interface CardFieldOptions extends PopupOptions {

@@ -95,2 +97,8 @@ /** Empty `<div>` inside your form */

}
export interface PayWithRevolutOptions extends CommonOptions {
/** Revolut user phone number */
phone?: string;
/** Revolut user email */
email?: string;
}
export interface RevolutCheckoutCardField extends RevolutCheckoutInstance {

@@ -115,2 +123,4 @@ /** Submit entered card details along with a customer details */

createCardField: (options?: CardFieldOptions) => RevolutCheckoutCardField;
/** @private */
payWithRevolut?: (options: PayWithRevolutOptions) => RevolutCheckoutInstance;
/** Manually destroy popup or card field if needed */

@@ -117,0 +127,0 @@ destroy: () => void;

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