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
77
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-experimental.1 to 1.0.20-experimental.2

4

dist/src/ConnectSDK.d.ts

@@ -208,6 +208,2 @@ import { IConnectCredential } from './entities/connectCredential.interface';

/**
* also returns false if unable to find workflow in configured workflow property of any integration
*/
private isWorkflowEnabled;
/**
* gets the user data from api `/sdk/me`

@@ -214,0 +210,0 @@ */

5

dist/src/helpers/oauth.d.ts

@@ -5,2 +5,4 @@ import { IConnectIntegrationWithCredentialInfo } from '../entities/integration.interface';

import { IConnectUserContext } from './ConnectUserContext';
export declare const CREDENTIAL_POLL_INTERVAL = 3000;
export declare const MAX_POLL_DURATION = 60000;
export type OAuthFlowOptions = {

@@ -21,2 +23,3 @@ context: IConnectUserContext;

*/
export declare const startOAuthFlow: ({ context, integration, endUserSuppliedValues, authParams, isPreviewMode, installOptions, }: OAuthFlowOptions) => Promise<void>;
export declare const startOAuthFlow: ({ context, integration, endUserSuppliedValues, authParams, isPreviewMode, installOptions, }: OAuthFlowOptions, sessionId: string) => Window | undefined | null;
export declare const pollForCredential: (sessionId: string, sendAuthenticatedRequest: (url: string, options: RequestInit) => Promise<any>, render: () => void) => Promise<any>;

@@ -0,1 +1,8 @@

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*! *****************************************************************************

@@ -15,1 +22,5 @@ Copyright (c) Microsoft Corporation.

***************************************************************************** */
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

@@ -33,1 +33,10 @@ /**

export declare function isUUID(value: string | unknown): boolean;
/**
* keeps attempting to execute a method until a desired result is achieved
*
* @param {() => Promise<T>} method
* @param {((result: T, attempt: number) => Promise<boolean> | boolean)} shouldRetry
* @param {(number | ((attempt: number) => number))} backoff
* @returns {Promise<T>}
*/
export declare function tryUntil<T = any>(method: () => Promise<T> | T, shouldRetry: (result: T | null, error?: Error | null, attempt?: number) => Promise<boolean> | boolean, backoff: number | ((attempt: number) => number)): Promise<T>;
{
"name": "@useparagon/connect",
"version": "1.0.20-experimental.1",
"version": "1.0.20-experimental.2",
"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