@useparagon/connect 1.0.8-experimental.2 → 1.0.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/src/ConnectSDK.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { OauthCallbackResponse } from './entities/credential.interface';
|
|
|
2
2
|
import { IConnectIntegrationWithCredentialInfo, IIntegrationMetadata } from './entities/integration.interface';
|
|
3
3
|
import { PersonaMeta } from './entities/persona.interface';
|
|
4
4
|
import SDKEventEmitter from './SDKEventEmitter';
|
|
5
|
-
import { AuthenticateOptions, AuthenticatedConnectUser, Props as ConnectModalProps, ConnectParams, ConnectUser, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallOptions, TriggerWorkflowRequest, UninstallOptions } from './types';
|
|
5
|
+
import { AuthenticateOptions, AuthenticatedConnectUser, CallbackMap, Props as ConnectModalProps, ConnectParams, ConnectUser, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallOptions, TriggerWorkflowRequest, UninstallOptions } from './types';
|
|
6
6
|
export declare const PARAGON_OVERFLOW_EMPTY_VALUE = "PARAGON_OVERFLOW_EMPTY_VALUE";
|
|
7
7
|
export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
8
8
|
root: HTMLIFrameElement | undefined;
|
|
@@ -168,7 +168,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
168
168
|
/**
|
|
169
169
|
* for programmatically installing an integration
|
|
170
170
|
*/
|
|
171
|
-
installIntegration(action: string, params?: Partial<Omit<InstallOptions, 'isApiInstallation'>>): Promise<void>;
|
|
171
|
+
installIntegration(action: string, params?: Partial<Omit<InstallOptions, 'isApiInstallation'> & Omit<CallbackMap, 'onOpen' | 'onClose'>>): Promise<void>;
|
|
172
172
|
/**
|
|
173
173
|
* gates headless feature to pro and enterprise users
|
|
174
174
|
*/
|
package/dist/src/types/sdk.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface IConnectSDK {
|
|
|
66
66
|
* Install Options:
|
|
67
67
|
* `{showPortalAfterInstall: boolean}` decides wether to show portal with configuration view after the installation is completed
|
|
68
68
|
*/
|
|
69
|
-
installIntegration(name: string, options: Partial<Omit<InstallOptions, 'isApiInstallation'>>): Promise<void>;
|
|
69
|
+
installIntegration(name: string, options: Partial<Omit<InstallOptions, 'isApiInstallation'> & Omit<CallbackMap, 'onOpen' | 'onClose'>>): Promise<void>;
|
|
70
70
|
/**
|
|
71
71
|
* uninstalls an integration for connected user.
|
|
72
72
|
*/
|