@basis-theory/basis-theory-js 1.63.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@ interface ElementInternalOptions {
|
|
|
8
8
|
baseUrl: string;
|
|
9
9
|
}
|
|
10
10
|
interface SanitizedElementOptions {
|
|
11
|
+
validateOnChange?: boolean;
|
|
11
12
|
style?: ElementStyle;
|
|
12
13
|
disabled?: boolean;
|
|
13
14
|
targetId?: string;
|
|
@@ -30,7 +31,7 @@ interface TransformOption {
|
|
|
30
31
|
interface AutoCompleteOption {
|
|
31
32
|
autoComplete?: AutoCompleteValue;
|
|
32
33
|
}
|
|
33
|
-
declare type CustomizableElementOptions = Pick<ElementOptions, 'style' | 'disabled'> & AutoCompleteOption;
|
|
34
|
+
declare type CustomizableElementOptions = Pick<ElementOptions, 'style' | 'disabled' | 'validateOnChange'> & AutoCompleteOption;
|
|
34
35
|
declare type ElementValueType = 'static' | 'reference';
|
|
35
36
|
interface CardElementValue<T extends ElementValueType> {
|
|
36
37
|
number?: T extends 'reference' ? DataElementReference : string;
|