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

@useparagon/connect

Package Overview
Dependencies
Maintainers
27
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.22 to 1.0.23-experimental.1

7

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, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions } from './types';
import { AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DeleteConfigurationOptions, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallIntegrationOptions, LoadCustomDropdownOptionsResult, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions } from './types';
export declare const PARAGON_OVERFLOW_EMPTY_VALUE = "PARAGON_OVERFLOW_EMPTY_VALUE";

@@ -130,3 +130,8 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {

_oauthErrorCallback(errorMessage: string | object, event?: MessageEvent): Promise<void>;
customDropdownOptionsLoaders: Record<string, (cursor?: string | undefined, search?: string | undefined) => LoadCustomDropdownOptionsResult>;
/**
* Display the Paragon Connect modal
*/
_loadCustomDropdownOptions(key: string, cursor?: string | undefined, search?: string | undefined): LoadCustomDropdownOptionsResult;
/**
* Send a Connect API request. Automatically handles authorization and errors.

@@ -133,0 +138,0 @@ *

@@ -60,2 +60,9 @@ import ConnectSDK from '../ConnectSDK';

};
export type LoadCustomDropdownOptionsResult = Promise<{
options: {
label: string;
value: string;
}[];
nextPageCursor: string | null;
}>;
export interface IConnectSDK {

@@ -80,2 +87,11 @@ authenticate(projectId: string, token: string, options?: AuthenticateOptions): Promise<void>;

/**
* TODO(UI/UX): Document this
* TODO(UI/UX): Create type
* Destroys an existing configuration using the provided instance ID.
*
* @param {string} cursor - An object containing the necessary parameters.
* @returns {Promise<void>} - A promise that resolves when the configuration is successfully destroyed.
*/
_loadCustomDropdownOptions(key: string, cursor?: string | undefined, search?: string | undefined): LoadCustomDropdownOptionsResult;
/**
* installs an integration without the need to click on enable button from portal

@@ -82,0 +98,0 @@ * Install Options:

2

package.json
{
"name": "@useparagon/connect",
"version": "1.0.22",
"version": "1.0.23-experimental.1",
"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

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