@revolut/checkout
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -5,1 +5,4 @@ "use strict"; | ||
exports.default = loader_1.RevolutCheckoutLoader; | ||
var checks_1 = require("./checks"); | ||
exports.isRevolutCheckoutError = checks_1.isRevolutCheckoutError; | ||
exports.isValidationError = checks_1.isValidationError; |
export { RevolutCheckoutLoader as default } from './loader'; | ||
export { isRevolutCheckoutError, isValidationError } from './checks'; |
{ | ||
"name": "@revolut/checkout", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "RevolutCheckout.js as npm module", | ||
@@ -5,0 +5,0 @@ "author": "John Grishin <hi@johngrish.in>", |
export { RevolutCheckoutLoader as default } from './loader'; | ||
export { isRevolutCheckoutError, isValidationError } from './checks'; | ||
export { ValidationErrorType, ValidationError, RevolutCheckoutErrorType, RevolutCheckoutError, FieldStatus, FieldClasses, FieldStyles, RevolutCheckoutCardField, RevolutCheckoutInstance, } from './types'; |
@@ -5,3 +5,3 @@ import { MODE } from './constants'; | ||
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.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 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.transaction-failed'; | ||
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'; | ||
export interface ValidationError extends Error { | ||
@@ -8,0 +8,0 @@ name: 'Validation'; |
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
21307
18
316