@rebilly/framepay 5.161.0 → 5.162.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/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -196,6 +196,13 @@ export declare class CardElement {
|
|
|
196
196
|
focus(options?: {
|
|
197
197
|
target?: string;
|
|
198
198
|
}): void;
|
|
199
|
+
/**
|
|
200
|
+
* Visually invalidate a field without emitting merchant `change` (e.g. gateway CVV/EXP mismatch).
|
|
201
|
+
* @param options.target - Combined card subfield, e.g. "cardCvv" or "cardExpiration".
|
|
202
|
+
*/
|
|
203
|
+
invalidate(options?: {
|
|
204
|
+
target?: string;
|
|
205
|
+
}): void;
|
|
199
206
|
destroy(): void;
|
|
200
207
|
on: IframeElementBusOn;
|
|
201
208
|
validate(): Promise<void>;
|
|
@@ -386,6 +393,7 @@ export declare class FieldNotification {
|
|
|
386
393
|
readonly ready: "ready";
|
|
387
394
|
readonly autoFillStart: "auto-fill-start";
|
|
388
395
|
readonly autoFillCancel: "auto-fill-cancel";
|
|
396
|
+
readonly clearExternalInvalid: "clear-external-invalid";
|
|
389
397
|
};
|
|
390
398
|
type: FieldNotificationType;
|
|
391
399
|
content: NotificationContent | FieldError;
|