@integry/sdk 3.7.8 → 3.7.9

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.
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [3.7.7] - 2023-09-19
9
9
 
10
+ ## Fixed
11
+
12
+ - Minor bug fixes
13
+
14
+ ## [3.7.7] - 2023-09-19
15
+
10
16
  ### Added
11
17
 
12
18
  - Added support for deployment ID for legacy users. When a deployment ID is provided to the SDK, only `Published` flows will be listed.
@@ -163,7 +163,7 @@ interface NestedObject {
163
163
  [key: string]: string | number | NestedObject;
164
164
  }
165
165
  interface UserConfig {
166
- availableFlowsLabel?: string;
166
+ // availableFlowsLabel?: string;
167
167
  myFlowsLabel?: string;
168
168
  hideWebhookUrlScreen?: boolean;
169
169
  hideAppConnectionModal?: boolean;
@@ -179,6 +179,8 @@ interface UserConfig {
179
179
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
180
180
  [other: string]: any;
181
181
  }
182
+ type SDKOptions = UserConfig; // rename user config to options for better understanding
183
+ // rename user config to options for better understanding
182
184
  interface SDKConfig {
183
185
  env?: "staging" | "production";
184
186
  baseUrl?: string;
@@ -193,6 +195,7 @@ interface SDKConfig {
193
195
  };
194
196
  };
195
197
  userConfig?: UserConfig;
198
+ options?: SDKOptions;
196
199
  }
197
200
  interface ConfigWithObject extends SDKConfig {
198
201
  appKey: string;
@@ -315,13 +318,7 @@ interface TemplateField {
315
318
  app_user: number;
316
319
  id: number;
317
320
  value: string | number;
318
- is_changed: boolean /**
319
- * Render the template form we ship
320
- * @param data
321
- */; /**
322
- * Render the template form we ship
323
- * @param data
324
- */
321
+ is_changed: boolean;
325
322
  changed_dynamic_fields: string;
326
323
  }[];
327
324
  added_in_mapping?: boolean;