@globalpayments/js 1.9.19 → 1.9.21

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.
@@ -57,7 +57,7 @@ export declare class IframeField extends EventEmitter {
57
57
  * @param name Field name to be used
58
58
  * @param autocomplete Value for field's autocomplete attribute
59
59
  */
60
- static createAutocompleteField(destination: Node, id: string, type: string, name: string, autocomplete: string): void;
60
+ static createAutocompleteField(destination: Node, id: string, type: string, name: string, label: string, autocomplete: string): void;
61
61
  /**
62
62
  * addFrameFocusEvent
63
63
  *
@@ -148,5 +148,21 @@ export declare class IframeField extends EventEmitter {
148
148
  * @param title The desired title
149
149
  */
150
150
  setTitle(title: string): void;
151
+ /**
152
+ * Show the validation of a hosted field
153
+ *
154
+ * @param validationMessage The desired validation message
155
+ */
156
+ showValidation(validationMessage: string): void;
157
+ /**
158
+ * Hide the validation of a hosted field
159
+ *
160
+ */
161
+ hideValidation(): void;
162
+ /**
163
+ * Validate hosted field
164
+ *
165
+ */
166
+ validate(): void;
151
167
  private makeFrame;
152
168
  }