@useparagon/connect
Advanced tools
Comparing version 1.0.19-experimental.4 to 1.0.19-experimental.5
@@ -155,3 +155,3 @@ import { IConnectCredential } from './entities/connectCredential.interface'; | ||
}): Promise<TResponse | undefined>; | ||
event(name: string, payload: Record<string, unknown>, options: CredentialConfigOptions): Promise<void>; | ||
event(name: string, payload: Record<string, unknown>, options?: CredentialConfigOptions): Promise<void>; | ||
/** | ||
@@ -200,2 +200,3 @@ * @summary this will be called to close the modal | ||
disableWorkflow(workflowId: string, options?: DisableWorkflowOptions): Promise<void>; | ||
enableWorkflow(workflowId: string, options?: CredentialConfigOptions): Promise<void>; | ||
/** | ||
@@ -266,2 +267,3 @@ * Get account details by integration type. To get accountAuth, includeAccountAuth should be true in options. | ||
}): Promise<void>; | ||
updateConfiguration(id: string, meta: Record<string, unknown>, credentialId?: string): Promise<IConnectCredentialConfig>; | ||
} |
@@ -6,2 +6,3 @@ import { ConnectCredentialProviderData, CredentialStatus, IConnectCredential } from '../entities/connectCredential.interface'; | ||
import { OrConditions } from './resolvers'; | ||
import { CredentialConfigOptions } from './sdk'; | ||
export interface SDKConnectCredentialConfig { | ||
@@ -215,8 +216,4 @@ sharedSettings?: IntegrationSharedInputStateMap; | ||
export type SDKIntegrationState = Partial<Record<string, SDKIntegration>>; | ||
export type UninstallOptions = { | ||
selectedCredentialId?: string; | ||
}; | ||
export type DisableWorkflowOptions = { | ||
selectedCredentialId?: string; | ||
}; | ||
export type UninstallOptions = CredentialConfigOptions; | ||
export type DisableWorkflowOptions = CredentialConfigOptions; | ||
/** | ||
@@ -223,0 +220,0 @@ * method options for getIntegrationAccount in sdk |
@@ -92,2 +92,6 @@ import ConnectSDK from '../ConnectSDK'; | ||
disableWorkflow(workflowId: string, options: DisableWorkflowOptions): Promise<void>; | ||
/** | ||
* enables a workflow for the connected user and subscribe the workflows in hermes | ||
*/ | ||
enableWorkflow(workflowId: string, options: CredentialConfigOptions): Promise<void>; | ||
setUserMetadata(meta: PersonaMeta): Promise<AuthenticatedConnectUser>; | ||
@@ -184,2 +188,3 @@ /** | ||
}): Promise<void>; | ||
updateConfiguration(id: string, meta: Record<string, unknown>, credentialId?: string): Promise<IConnectCredentialConfig>; | ||
} | ||
@@ -186,0 +191,0 @@ /** |
{ | ||
"name": "@useparagon/connect", | ||
"version": "1.0.19-experimental.4", | ||
"version": "1.0.19-experimental.5", | ||
"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
177929
2293