@integry/sdk 3.7.7 → 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.
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -162,7 +162,7 @@ interface NestedObject {
|
|
|
162
162
|
[key: string]: string | number | NestedObject;
|
|
163
163
|
}
|
|
164
164
|
interface UserConfig {
|
|
165
|
-
availableFlowsLabel?: string;
|
|
165
|
+
// availableFlowsLabel?: string;
|
|
166
166
|
myFlowsLabel?: string;
|
|
167
167
|
hideWebhookUrlScreen?: boolean;
|
|
168
168
|
hideAppConnectionModal?: boolean;
|
|
@@ -178,6 +178,8 @@ interface UserConfig {
|
|
|
178
178
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
179
179
|
[other: string]: any;
|
|
180
180
|
}
|
|
181
|
+
type SDKOptions = UserConfig; // rename user config to options for better understanding
|
|
182
|
+
// rename user config to options for better understanding
|
|
181
183
|
interface SDKConfig {
|
|
182
184
|
env?: "staging" | "production";
|
|
183
185
|
baseUrl?: string;
|
|
@@ -192,6 +194,7 @@ interface SDKConfig {
|
|
|
192
194
|
};
|
|
193
195
|
};
|
|
194
196
|
userConfig?: UserConfig;
|
|
197
|
+
options?: SDKOptions;
|
|
195
198
|
}
|
|
196
199
|
interface ConfigWithObject extends SDKConfig {
|
|
197
200
|
appKey: string;
|