@basis-theory/basis-theory-js
Advanced tools
Comparing version 4.6.2 to 4.7.0
{ | ||
"name": "@basis-theory/basis-theory-js", | ||
"version": "4.6.2", | ||
"version": "4.7.0", | ||
"repository": "https://github.com/Basis-Theory/basis-theory-js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -34,2 +34,3 @@ import { CreditCardType } from './cardTypes'; | ||
mask?: (RegExp | string)[]; | ||
maxLength?: HTMLInputElement['maxLength']; | ||
password?: boolean; | ||
@@ -70,3 +71,3 @@ placeholder?: string; | ||
type UpdateCardElementOptions = Omit<CreateCardElementOptions, 'validateOnChange' | 'enableCopy'>; | ||
type CreateTextElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'mask' | 'password' | 'validation'> & TransformOption & Required<Pick<ElementOptions, 'targetId'>> & { | ||
type CreateTextElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'mask' | 'maxLength' | 'password' | 'validation'> & TransformOption & Required<Pick<ElementOptions, 'targetId'>> & { | ||
'aria-label'?: string; | ||
@@ -73,0 +74,0 @@ value?: string; |
175068
3964