@revolut/checkout
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -15,2 +15,3 @@ "use strict"; | ||
'cs', | ||
'hu' | ||
]; | ||
@@ -17,0 +18,0 @@ exports.MODE = { |
@@ -13,2 +13,3 @@ var _a; | ||
'cs', | ||
'hu' | ||
]; | ||
@@ -15,0 +16,0 @@ export var MODE = { |
{ | ||
"name": "@revolut/checkout", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "RevolutCheckout.js as npm module", | ||
@@ -5,0 +5,0 @@ "author": "John Grishin <hi@johngrish.in>", |
@@ -1,2 +0,2 @@ | ||
export declare const LOCALES: readonly ["en", "nl", "fr", "de", "it", "lt", "pl", "pt", "es", "cs"]; | ||
export declare const LOCALES: readonly ["en", "nl", "fr", "de", "it", "lt", "pl", "pt", "es", "cs", "hu"]; | ||
export declare const MODE: { | ||
@@ -3,0 +3,0 @@ readonly PRODUCTION: "prod"; |
@@ -5,3 +5,3 @@ import { MODE, LOCALES } from './constants'; | ||
export declare type Locale = typeof LOCALES[number]; | ||
export declare type ValidationErrorType = 'validation.card.number.incomplete' | 'validation.card.number.invalid' | 'validation.card.number.required' | 'validation.card.expiry.expired' | 'validation.card.expiry.incomplete' | 'validation.card.expiry.required' | 'validation.card.cvv.invalid' | 'validation.card.cvv.required' | 'validation.card.type.invalid' | 'validation.postcode.invalid' | 'validation.postcode.required' | 'validation.email.incomplete' | 'validation.email.invalid' | 'validation.email.required' | 'validation.phone.code.required' | 'validation.phone.number.invalid' | 'validation.phone.number.required'; | ||
export declare type ValidationErrorType = 'validation.card.number.incomplete' | 'validation.card.number.invalid' | 'validation.card.number.required' | 'validation.card.expiry.expired' | 'validation.card.expiry.incomplete' | 'validation.card.expiry.required' | 'validation.card.cvv.invalid' | 'validation.card.cvv.required' | 'validation.card.type.invalid' | 'validation.postcode.invalid' | 'validation.postcode.country-invalid' | 'validation.postcode.required' | 'validation.email.incomplete' | 'validation.email.invalid' | 'validation.email.required' | 'validation.phone.code.required' | 'validation.phone.number.invalid' | 'validation.phone.number.required'; | ||
export declare type RevolutCheckoutErrorType = 'error.unknown' | 'error.unauthenticated-access' | 'error.order-not-found' | 'error.transaction-invalid-state' | 'error.declined' | 'error.token-not-found' | 'error.email-is-not-specified' | 'error.order-already-completed' | 'error.deactivated-merchant' | 'error.invalid-postcode' | 'error.invalid-email' | 'error.do-not-honour' | 'error.insufficient-funds' | 'error.3ds-failed' | 'error.expired-card' | 'error.incorrect-cvv-code' | 'error.order-is-cancelled' | 'error.trusted-principal-not-specified' | 'error.merchant-not-specified' | 'error.invalid-order-type' | 'error.transaction-step' | 'error.payment-method-already-exists' | 'error.payment-method-not-found' | 'error.order-customer-id-is-not-set' | 'error.payment-method-not-permitted-for-merchant' | 'error.webhook-not-found' | 'error.verification-not-permitted' | 'error.customer-already-exists' | 'error.unknown-authorisation' | 'error.submerchant-not-found' | 'error.submerchant-incorrect-notification' | 'error.3ds-incorrect-notification' | 'error.authentication-challenge-not-found' | 'error.mpi-provider' | 'error.payment-gateway' | 'error.invalid-provider-response' | 'error.unexpected-mpi-provider' | 'error.terminal-not-found' | 'error.submerchant-not-onboarded'; | ||
@@ -8,0 +8,0 @@ export interface ValidationError extends Error { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24396
409