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.14 to 1.1.15

8

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

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

"build": "run-s build:*",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"build:esm": "tsc -p tsconfig.esm.json --stripInternal",
"build:cjs": "tsc -p tsconfig.cjs.json --stripInternal",
"build:types": "tsc -p tsconfig.types.json --stripInternal",
"prebuild": "rimraf esm cjs types",

@@ -32,0 +32,0 @@ "test": "jest",

export { RevolutCheckoutLoader as default } from './loader';
export { isRevolutCheckoutError, isValidationError, isValidLocale, } from './checks';
export { ValidationErrorType, ValidationError, RevolutCheckoutErrorType, RevolutCheckoutError, FieldStatus, FieldClasses, FieldStyles, Locale, RevolutCheckoutCardField, RevolutCheckoutInstance, RevolutUpsellModuleInstance, RevolutPayEvents, RevolutPayEventPayload, UpsellModuleCardGatewayBannerInstance, Mode, WidgetPaymentsRevolutPayOptions, WidgetPaymentRequestInstance, WidgetUpsellCardGatewayBannerOptions, } from './types';
export { ValidationErrorType, ValidationError, RevolutCheckoutErrorType, RevolutCheckoutError, FieldStatus, FieldClasses, FieldStyles, Locale, RevolutCheckoutCardField, RevolutCheckoutInstance, RevolutPaymentsModuleOptions, RevolutPaymentsModuleInstance, RevolutUpsellModuleInstance, RevolutUpsellModuleOptions, RevolutPayEvents, RevolutPayEventPayload, UpsellModuleCardGatewayBannerInstance, UpsellModulePromotionalBannerInstance, UpsellModuleEnrollmentConfirmationBannerInstance, Mode, WidgetPaymentsRevolutPayOptions, WidgetPaymentRequestInstance, WidgetUpsellCardGatewayBannerOptions, WidgetUpsellPromotionalBannerOptions, WidgetUpsellEnrollmentConfirmationBannerOptions, } from './types';
export { getRevolutPayOrderIdURLParam, getRevolutPaySuccessURLParam, getRevolutPayFailureURLParam, } from './helpers';

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

classes?: FieldClasses;
/** Whether to prefer dark or light theme. Defaults to light */
theme?: 'light' | 'dark';
/**

@@ -286,4 +288,2 @@ * Don't ask user for the `postcode` inside the card field.

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

@@ -357,2 +357,5 @@ export interface RevolutPaymentsModuleInstance {

customer?: Partial<CustomerDetails>;
style?: {
backgroundColor?: string;
};
/** Whether promotional banner should be shown if user has not enrolled */

@@ -367,7 +370,2 @@ promotionalBanner?: boolean;

}
export interface RevolutCheckout {
(token: string): RevolutCheckoutInstance;
payments: (option: RevolutPaymentsModuleOptions) => RevolutPaymentsModuleInstance;
upsell: (option: RevolutUpsellModuleOptions) => RevolutUpsellModuleInstance;
}
export {};
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