skyflow-js 1.33.2 → 1.33.3

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.
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "skyflow-js",
3
3
  "preferGlobal": true,
4
4
  "analyze": false,
5
- "version": "1.33.2",
5
+ "version": "1.33.3",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -37,7 +37,7 @@ export declare class IFrameFormElement extends EventEmitter {
37
37
  setValidation(validations: IValidationRule[] | undefined): void;
38
38
  setFormat(format: string): void;
39
39
  setSensitive(sensitive?: boolean): void;
40
- setValue: (value?: any, valid?: boolean, isReset?: boolean) => void;
40
+ setValue: (value?: any, valid?: boolean) => void;
41
41
  getValue: () => any;
42
42
  getUnformattedValue: () => any;
43
43
  getStatus: () => {
@@ -1,3 +1,7 @@
1
+ /// <reference types="jquery" />
2
+ /// <reference types="jquery" />
3
+ /// <reference types="jquery-mask-plugin" />
4
+ import 'jquery-mask-plugin/dist/jquery.mask.min';
1
5
  import { IFrameFormElement } from './iframe-form';
2
6
  import { LogLevel } from '../../utils/common';
3
7
  export declare class FrameController {
@@ -33,7 +37,7 @@ export declare class FrameElement {
33
37
  findPreviousElement: (currentInput: any) => HTMLInputElement;
34
38
  findNextElement: (currentInput: any) => HTMLInputElement;
35
39
  onSubmit: () => void;
36
- onArrowKeys: (keyBoardEvent: KeyboardEvent) => void;
40
+ onArrowKeys: (event: JQuery.TriggeredEvent) => void;
37
41
  focusChange: (focus: boolean) => void;
38
42
  destroy: () => void;
39
43
  injectInputStyles(styles: any, preText?: string): void;
@@ -1,3 +1,4 @@
1
+ import 'jquery-mask-plugin/dist/jquery.mask.min';
1
2
  declare class RevealFrame {
2
3
  #private;
3
4
  static revealFrame: RevealFrame;
@@ -19,8 +19,6 @@ export declare const appendMonthTwoDigitYears: (value: any) => {
19
19
  value: any;
20
20
  };
21
21
  export declare const getReturnValue: (value: string | Blob, element: string, doesReturnValue: boolean) => string | Blob | undefined;
22
- export declare function domReady(fn: any): void;
23
- export declare const getMaskedOutput: (input: string, format: string, translation: any) => string;
24
22
  export declare const copyToClipboard: (text: string) => void;
25
23
  export declare const handleCopyIconClick: (textToCopy: string, domCopy: any) => void;
26
24
  export declare const fileValidation: (value: any, required?: Boolean) => boolean;