skyflow-js 1.37.1 → 1.38.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.37.1",
5
+ "version": "1.38.0",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -19,7 +19,7 @@ declare class Skyflow {
19
19
  #private;
20
20
  constructor(config: ISkyflow);
21
21
  static init(config: ISkyflow): Skyflow;
22
- container(type: ContainerType, options?: Record<string, any>): CollectContainer | RevealContainer | ComposableContainer;
22
+ container(type: ContainerType, options?: Record<string, any>): CollectContainer | ComposableContainer | RevealContainer;
23
23
  insert(records: IInsertRecordInput, options?: IInsertOptions): Promise<any>;
24
24
  detokenize(detokenizeInput: IDetokenizeInput): Promise<IRevealResponseType>;
25
25
  getById(getByIdInput: IGetByIdInput): Promise<unknown>;
@@ -63,6 +63,10 @@ declare const SKYFLOW_ERROR_CODE: {
63
63
  code: number;
64
64
  description: string;
65
65
  };
66
+ EMPTY_SKYFLOW_ID_COLLECT: {
67
+ code: number;
68
+ description: string;
69
+ };
66
70
  INVALID_TABLE_IN_COLLECT: {
67
71
  code: number;
68
72
  description: string;
@@ -53,4 +53,8 @@ export declare function checkAndSetForCustomUrl(config: ISkyflow): void;
53
53
  export declare const generateUploadFileName: (fileName: string) => string;
54
54
  export declare const getValueFromName: (name: string, index: number) => string;
55
55
  export declare const getAtobValue: (encodedValue: string) => string;
56
+ export declare const getSDKLanguageAndVersion: () => {
57
+ sdkLanguageAndVersion: string;
58
+ sdkOwner: string;
59
+ };
56
60
  export {};
@@ -161,7 +161,6 @@ declare const logs: {
161
161
  INVALID_FORMAT_VALUE_REVEAL: string;
162
162
  INVALID_REDACTION_TYPE_REVEAL: string;
163
163
  ELEMENTS_NOT_MOUNTED_REVEAL: string;
164
- ELEMENT_NOT_MOUNTED_RENDER: string;
165
164
  EMPTY_TABLE_IN_ADDITIONAL_FIELDS: string;
166
165
  EMPTY_FIELDS_IN_ADDITIONAL_FIELDS: string;
167
166
  EMPTY_TOKEN_IN_DETOKENIZE: string;
@@ -178,6 +177,7 @@ declare const logs: {
178
177
  MISSING_TABLE_IN_COLLECT: string;
179
178
  EMPTY_TABLE_IN_COLLECT: string;
180
179
  EMPTY_SKYFLOW_ID_IN_ADDITIONAL_FIELDS: string;
180
+ EMPTY_SKYFLOW_ID_COLLECT: string;
181
181
  INVALID_TABLE_IN_COLLECT: string;
182
182
  INVALID_SKYFLOWID_IN_COLLECT: string;
183
183
  MISSING_COLUMN_IN_COLLECT: string;