@useparagon/connect 2.0.3 → 2.0.4-experimental.2

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.
@@ -5,6 +5,8 @@ import { PersonaMeta } from '../entities/persona.interface';
5
5
  import { AccountType, BooleanInput, ComboInput, CopyableButtonInput, CustomDropdownInput, DataSource, DynamicComboInput, DynamicEnumInput, EmailInput, FieldMapperInput, IntegrationConnectInput, NumberInput, PasswordInput, PermissionInput, SidebarInputType, SwitchInput, URLInput, ValueTextInput } from './action';
6
6
  import { OrConditions } from './resolvers';
7
7
  import { CredentialConfigOptions } from './sdk';
8
+ export { CredentialStatus } from '../entities/connectCredential.interface';
9
+ export type { IIntegrationMetadata } from '../entities/integration.interface';
8
10
  export interface SDKConnectCredentialConfig {
9
11
  sharedSettings?: IntegrationSharedInputStateMap;
10
12
  workflowSettings?: IntegrationWorkflowStateMap;
@@ -235,4 +237,3 @@ export type IConnectUserWithProject = IConnectUser & {
235
237
  export declare const INFER_CONTENT_TYPE_FROM_CONNECT_OPTIONS = "auto";
236
238
  export declare const SELECTED_CREDENTIAL_ID_HEADER = "X-Paragon-Credential";
237
239
  export declare const SELECTED_CREDENTIAL_CONFIG_ID_HEADER = "X-Paragon-Configuration-Id";
238
- export {};
@@ -39,5 +39,10 @@ export type Props = {
39
39
  apiInstallationOptions?: ModalApiInstallationOptions;
40
40
  connectionError?: ParagonError | undefined;
41
41
  selectedCredentialId?: string;
42
+ /**
43
+ * This flag is used to show the portal after the oauth flow is complete
44
+ * This flag is set to true when the installIntegration method is called with showPortalAfterInstall option
45
+ */
46
+ shouldShowPortalAfterInstall?: boolean;
42
47
  };
43
48
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.0.3",
3
+ "version": "2.0.4-experimental.2",
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",