Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@useparagon/connect

Package Overview
Dependencies
Maintainers
26
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useparagon/connect - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

dist/src/entities/connectCredentialConfig.interface.d.ts

9

dist/src/entities/connectCredential.interface.d.ts

@@ -1,2 +0,3 @@

import { ConnectCredentialConfig } from '../types/connect';
import { SDKConnectCredentialConfig } from '../types/connect';
import { IConnectCredentialConfig } from './connectCredentialConfig.interface';
export interface IConnectCredential {

@@ -6,3 +7,7 @@ id: string;

integrationId: string;
config: ConnectCredentialConfig;
/**
* @deprecated
*/
config: SDKConnectCredentialConfig;
configurations?: IConnectCredentialConfig[];
personaId: string;

@@ -9,0 +14,0 @@ isPreviewCredential: boolean;

import { ConnectCredentialProviderData, CredentialStatus, IConnectCredential } from '../entities/connectCredential.interface';
import { ConnectCredentialConfigMeta, IConnectCredentialConfig } from '../entities/connectCredentialConfig.interface';
import { PersonaMeta } from '../entities/persona.interface';
import { AccountType, DataSource, IntegrationConnectInput, SidebarInputType } from './action';
import { OrConditions } from './resolvers';
export interface ConnectCredentialConfig {
export interface SDKConnectCredentialConfig {
sharedSettings?: IntegrationSharedInputStateMap;
workflowSettings?: IntegrationWorkflowStateMap;
configMeta?: ConnectCredentialConfigMeta;
/**
* this refer `externalId` of credential config containing shared/workflow settings
*/
externalId?: string;
/**
* @deprecated - use `workflowSettings`
*/
configuredWorkflows?: IntegrationWorkflowStateMap;
sharedSettings?: {
[inputId: string]: ConnectInputValue | undefined;
};
}

@@ -37,3 +45,3 @@ type ConnectInputValue = string | number | boolean | FieldMappingValue | ComboInputValue | undefined;

};
type IntegrationWorkflowStateMap = {
export type IntegrationWorkflowStateMap = {
[workflowId: string]: IntegrationWorkflowState | undefined;

@@ -47,2 +55,5 @@ };

};
export type IntegrationSharedInputStateMap = {
[inputId: string]: ConnectInputValue | undefined;
};
export type ModalConfig = {

@@ -178,2 +189,3 @@ /**

credentialId?: string;
credentialConfigId?: string;
credentialStatus?: CredentialStatus;

@@ -183,3 +195,4 @@ providerId?: string;

allCredentials: IConnectCredential[];
} & ConnectCredentialConfig;
allConfigurations?: IConnectCredentialConfig[];
} & SDKConnectCredentialConfig;
export type SDKIntegrationConfig = {

@@ -186,0 +199,0 @@ oauthInputs: IntegrationConnectInput[];

{
"name": "@useparagon/connect",
"version": "1.0.20",
"version": "1.0.21",
"description": "Embed integrations into your app with the Paragon SDK",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc