@useparagon/connect
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -8,3 +8,3 @@ import { IConnectCredential } from './entities/connectCredential.interface'; | ||
import { ConnectSdkEnvironments } from './server.types'; | ||
import { AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DeleteConfigurationOptions, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallIntegrationOptions, LoadCustomDropdownOptionsResult, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions } from './types'; | ||
import { AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DeleteConfigurationOptions, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallIntegrationOptions, IntegrationInstallEvent, LoadCustomDropdownOptionsResult, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions } from './types'; | ||
export declare const PARAGON_OVERFLOW_EMPTY_VALUE = "PARAGON_OVERFLOW_EMPTY_VALUE"; | ||
@@ -119,3 +119,3 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK { | ||
*/ | ||
connect(action: string, params?: ConnectParams): Promise<void>; | ||
connect(action: string, params?: ConnectParams): Promise<IntegrationInstallEvent>; | ||
private setCredentialConfigForUserState; | ||
@@ -199,3 +199,3 @@ private getCredentialAndConfig; | ||
*/ | ||
installIntegration(action: string, params?: InstallIntegrationOptions): Promise<void>; | ||
installIntegration(action: string, params?: InstallIntegrationOptions): Promise<void | IntegrationInstallEvent>; | ||
/** | ||
@@ -202,0 +202,0 @@ * gates headless feature to pro and enterprise users |
@@ -99,3 +99,3 @@ import ConnectSDK from '../ConnectSDK'; | ||
*/ | ||
installIntegration(name: string, options: InstallIntegrationOptions): Promise<void>; | ||
installIntegration(name: string, options: InstallIntegrationOptions): Promise<void | IntegrationInstallEvent>; | ||
/** | ||
@@ -262,2 +262,4 @@ * uninstalls an integration for connected user. | ||
integrationType: string; | ||
credentialId?: string; | ||
credential?: IConnectCredential | undefined; | ||
}; | ||
@@ -264,0 +266,0 @@ export type IntegrationUninstallEvent = IntegrationInstallEvent; |
{ | ||
"name": "@useparagon/connect", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "Embed integrations into your app with the Paragon SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190451
2335