skyflow-js 1.24.0 → 1.25.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.
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.24.0",
5
+ "version": "1.25.0",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -179,6 +179,10 @@ declare const SKYFLOW_ERROR_CODE: {
179
179
  code: number;
180
180
  description: string;
181
181
  };
182
+ INVALID_REDACTION_TYPE_IN_DETOKENIZE: {
183
+ code: number;
184
+ description: string;
185
+ };
182
186
  INVALID_TOKENS_IN_COLLECT: {
183
187
  code: number;
184
188
  description: string;
@@ -231,6 +235,10 @@ declare const SKYFLOW_ERROR_CODE: {
231
235
  code: number;
232
236
  description: string;
233
237
  };
238
+ INVALID_REDACTION_TYPE_REVEAL: {
239
+ code: number;
240
+ description: string;
241
+ };
234
242
  EMPTY_TABLE_IN_ADDITIONAL_FIELDS: {
235
243
  code: number;
236
244
  description: string;
@@ -531,5 +539,9 @@ declare const SKYFLOW_ERROR_CODE: {
531
539
  code: number;
532
540
  description: string;
533
541
  };
542
+ INVALID_BOOLEAN_OPTIONS: {
543
+ code: number;
544
+ description: string;
545
+ };
534
546
  };
535
547
  export default SKYFLOW_ERROR_CODE;
@@ -5,6 +5,8 @@ export declare function removeSpaces(inputString: string): string;
5
5
  export declare function formatVaultURL(vaultURL: any): any;
6
6
  export declare function checkIfDuplicateExists(arr: any): boolean;
7
7
  export declare const appendZeroToOne: (value: any) => any;
8
+ export declare const appendMonthFourDigitYears: (value: any) => any;
9
+ export declare const appendMonthTwoDigitYears: (value: any) => any;
8
10
  export declare const getReturnValue: (value: string | Blob, element: string, doesReturnValue: boolean) => string | Blob | undefined;
9
11
  export declare const copyToClipboard: (text: string) => void;
10
12
  export declare const handleCopyIconClick: (textToCopy: string, domCopy: any) => void;
@@ -113,11 +113,13 @@ declare const logs: {
113
113
  INVALID_TABLE_IN_GET: string;
114
114
  MISSING_REDACTION_IN_GET: string;
115
115
  INVALID_REDACTION_TYPE_IN_GET: string;
116
+ INVALID_REDACTION_TYPE_IN_DETOKENIZE: string;
116
117
  EMPTY_RECORDS_REVEAL: string;
117
118
  MISSING_TOKEN_KEY_REVEAL: string;
118
119
  INVALID_TOKEN_ID_REVEAL: string;
119
120
  INVALID_LABEL_REVEAL: string;
120
121
  INVALID_ALT_TEXT_REVEAL: string;
122
+ INVALID_REDACTION_TYPE_REVEAL: string;
121
123
  ELEMENTS_NOT_MOUNTED_REVEAL: string;
122
124
  EMPTY_TABLE_IN_ADDITIONAL_FIELDS: string;
123
125
  EMPTY_FIELDS_IN_ADDITIONAL_FIELDS: string;
@@ -213,6 +215,7 @@ declare const logs: {
213
215
  MISSING_COMPOSABLE_CONTAINER_OPTIONS: string;
214
216
  INVALID_COMPOSABLE_CONTAINER_OPTIONS: string;
215
217
  COMPOSABLE_CONTAINER_NOT_MOUNTED: string;
218
+ INVALID_BOOLEAN_OPTIONS: string;
216
219
  };
217
220
  warnLogs: {
218
221
  INVALID_EXPIRATION_DATE_FORMAT: string;
@@ -23,3 +23,4 @@ export declare const validateInitConfig: (initConfig: ISkyflow) => void;
23
23
  export declare const validateCollectElementInput: (input: CollectElementInput, logLevel: any) => void;
24
24
  export declare const validateUpsertOptions: (upsertOptions: any) => void;
25
25
  export declare const validateComposableContainerOptions: (options: any) => void;
26
+ export declare const validateBooleanOptions: (option: any) => boolean;