@useparagon/connect 2.3.0-experimental.1 → 2.3.0-experimental.3

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.
@@ -141,13 +141,18 @@ export type FieldMapperSources = {
141
141
  dependentFieldInputSource?: DynamicDataSource<any>;
142
142
  mapObjectFieldOptions?: DynamicMappingOptions | DynamicMappingField[];
143
143
  };
144
+ export type ComboSources = {
145
+ kind: 'combo';
146
+ mainInputSource: DynamicDataSource<any>;
147
+ dependentInputSource: DynamicDataSource<any>;
148
+ };
144
149
  export type DefaultFieldValueSources = {
145
150
  kind: 'defaultFieldValue';
146
151
  mainInputSource: DynamicDataSource<any>;
147
152
  dependentInputSource: DynamicDataSource<any>;
148
153
  variableInputSource?: DynamicDataSource<any>;
149
154
  };
150
- export type InputSources = SingleSource | FieldMapperSources | DefaultFieldValueSources;
155
+ export type InputSources = SingleSource | FieldMapperSources | ComboSources | DefaultFieldValueSources;
151
156
  type IntegrationWorkflowMetaMap = {
152
157
  [id: string]: IntegrationWorkflowMeta;
153
158
  };
@@ -299,7 +299,7 @@ export interface IConnectSDK {
299
299
  nextPageCursor: string | null;
300
300
  }>;
301
301
  getDataSourceOptions(integrationName: string, action: string): Promise<DataSource | undefined>;
302
- getSourcesForInput(integrationName: string, action: string, input: SerializedConnectInput): InputSources | null;
302
+ getSourcesForInput(integrationName: string, input: SerializedConnectInput): InputSources | null;
303
303
  installFlow: InstallFlow;
304
304
  getAssetUrl(name: string): string;
305
305
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.3.0-experimental.1",
3
+ "version": "2.3.0-experimental.3",
4
4
  "description": "Embed integrations into your app with the Paragon SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",