@useparagon/connect 2.1.0-experimental.1 → 2.1.0-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.
@@ -1,7 +1,7 @@
1
1
  import { IConnectCredential } from './entities/connectCredential.interface';
2
2
  import { IConnectCredentialConfig } from './entities/connectCredentialConfig.interface';
3
3
  import { OauthCallbackResponse } from './entities/credential.interface';
4
- import { IConnectIntegrationWithCredentialInfo, IIntegrationMetadata } from './entities/integration.interface';
4
+ import { IConnectIntegrationWithCredentialInfo, IntegrationMetadata } from './entities/integration.interface';
5
5
  import { PersonaMeta } from './entities/persona.interface';
6
6
  import { ExternalFilePicker } from './file-picker/types';
7
7
  import SDKEventEmitter from './SDKEventEmitter';
@@ -130,6 +130,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
130
130
  }, options?: {
131
131
  onSuccess?: (connectCredentialId: string) => void;
132
132
  onError?: (error: unknown) => void;
133
+ oauthTimeout?: number;
133
134
  }): void;
134
135
  private getIntegrationByName;
135
136
  private getSelectedMultipleAccountTypes;
@@ -213,8 +214,8 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
213
214
  * @param integrationKey
214
215
  * @returns
215
216
  */
216
- getIntegrationMetadata(): IIntegrationMetadata[];
217
- getIntegrationMetadata(integrationKey: string): IIntegrationMetadata;
217
+ getIntegrationMetadata(): IntegrationMetadata[];
218
+ getIntegrationMetadata(integrationKey: string): IntegrationMetadata;
218
219
  /**
219
220
  * Closing the portal by invoking this method
220
221
  */