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

@useparagon/connect

Package Overview
Dependencies
Maintainers
0
Versions
100
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.24-experimental.2 to 1.0.24-experimental.3

6

dist/src/ConnectSDK.d.ts

@@ -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

export declare const ACTION_CUSTOM = "custom";
export declare const INSUFFICIENT_PERMISSION: string;

@@ -10,2 +10,8 @@ /// <reference types="react" />

};
export type BasicAuthError = {
name: string;
message: string;
details?: Record<string, any>;
meta?: Record<string, any>;
};
export type Props = {

@@ -33,5 +39,5 @@ integration: IConnectIntegrationWithCredentialInfo | null;

apiInstallationOptions?: ModalApiInstallationOptions;
connectionError?: string;
connectionError?: BasicAuthError | undefined;
selectedCredentialId?: string;
};
export {};

@@ -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.24-experimental.2",
"version": "1.0.24-experimental.3",
"description": "Embed integrations into your app with the Paragon SDK",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "./dist/src/index.js",
"./ConnectSDK": "./dist/src/ConnectSDK.js"
},
"exports": "./dist/src/index.js",
"scripts": {

@@ -12,0 +9,0 @@ "start:dev": "NODE_ENV=development webpack serve",

Sorry, the diff of this file is too big to display

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