skyflow-js 1.34.0 → 1.34.2

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.34.0",
5
+ "version": "1.34.2",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -351,6 +351,7 @@ export declare const COLLECT_ELEMENT_LABEL_DEFAULT_STYLES: {
351
351
  marginBottom?: undefined;
352
352
  };
353
353
  };
354
+ export declare const ALLOWED_NAME_FOR_FILE: RegExp;
354
355
  export declare const CARD_TYPE_REGEX: {
355
356
  VISA: {
356
357
  regex: RegExp;
@@ -9,6 +9,7 @@ export declare class IFrameFormElement extends EventEmitter {
9
9
  isComplete: boolean;
10
10
  name: string;
11
11
  isRequired: boolean;
12
+ isTouched: boolean;
12
13
  };
13
14
  readonly fieldType: string;
14
15
  private sensitive;
@@ -46,6 +47,7 @@ export declare class IFrameFormElement extends EventEmitter {
46
47
  isEmpty: boolean;
47
48
  isComplete: boolean;
48
49
  isRequired: boolean;
50
+ isTouched: boolean;
49
51
  value: any;
50
52
  };
51
53
  validator(value: any): boolean;
@@ -43,6 +43,7 @@ export declare class FrameElement {
43
43
  isEmpty: boolean;
44
44
  isComplete: boolean;
45
45
  value: string | Blob | undefined;
46
+ isTouched: boolean;
46
47
  }): void;
47
48
  setClass(types: string[], dom?: HTMLElement, preText?: string): void;
48
49
  updateOptions(options: any): void;
@@ -1,4 +1,8 @@
1
1
  declare const SKYFLOW_ERROR_CODE: {
2
+ INVALID_FILE_NAME: {
3
+ code: number;
4
+ description: string;
5
+ };
2
6
  INVALID_FIELD: {
3
7
  code: number;
4
8
  description: string;
@@ -24,6 +24,7 @@ export declare const getMaskedOutput: (input: string, format: string, translatio
24
24
  export declare const copyToClipboard: (text: string) => void;
25
25
  export declare const handleCopyIconClick: (textToCopy: string, domCopy: any) => void;
26
26
  export declare const fileValidation: (value: any, required?: Boolean) => boolean;
27
+ export declare const vaildateFileName: (name: any) => boolean;
27
28
  export declare const styleToString: (style: any) => string;
28
29
  export declare const getContainerType: (frameName: string) => ContainerType;
29
30
  export declare const addSeperatorToCardNumberMask: (cardNumberMask: any, seperator?: string) => any;
@@ -71,6 +71,8 @@ declare const logs: {
71
71
  VALIDATE_GET_BY_ID_INPUT: string;
72
72
  };
73
73
  errorLogs: {
74
+ INVALID_FILE_NAMES: string;
75
+ INVALID_FILE_NAME: string;
74
76
  CLIENT_CONNECTION: string;
75
77
  INVALID_BEARER_TOKEN: string;
76
78
  BEARER_TOKEN_REJECTED: string;