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

@useparagon/connect

Package Overview
Dependencies
Maintainers
2
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.0 to 1.0.1

dist/src/ConnectSDK.d.ts

58

package.json
{
"name": "@useparagon/connect",
"version": "1.0.0",
"version": "1.0.1",
"description": "paragon connect npm package",
"main": "dist/src/index.js",
"main": "dist/src/index.ts",
"types": "dist/src/index.d.ts",
"exports": "./dist/src/index.js",
"scripts": {
"build:binary": "NODE_OPTIONS=--max-old-space-size=4096 pkg --public --output connect --targets node18 .",
"build": "yarn typecheck && yarn clean && webpack --config webpack.config.js",
"build:prod": "yarn typecheck && yarn clean && webpack --config webpack.config.js",
"build:watch": "yarn build --watch",
"clean": "rimraf coverage tmp dist",
"clean:hard": "yarn -s clean && rimraf node_modules shared",
"clean": "rimraf coverage dist",
"clean:server": "rimraf ./dist/src",

@@ -21,25 +21,10 @@ "format:check": "prettier --ignore-path=./prettierignore --config=prettier.config.js --check .",

"prebuild": "yarn -s clean",
"start:dev": "concurrently \"yarn build:watch\" \"lite-server -c ./bs-config.js\"",
"start:prod": "node dist/src/index.js",
"test": "NODE_OPTIONS=--max-old-space-size=4096 jest",
"typecheck": "tsc -p tsconfig.json"
"typecheck": "tsc -p tsconfig.json",
"prepublishOnly":"yarn lint && yarn build"
},
"dependencies": {
"browserify-zlib": "0.2.0",
"crypto-browserify": "^3.12.0",
"cryptr": "^6.0.1",
"https-browserify": "1.0.0",
"hash.js": "^1.1.7",
"jwt-decode": "^3.1.2",
"process": "^0.11.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"reactjs-popup": "^1.5.0",
"rxjs": "^7.3.0",
"snarkdown": "^2.0.0",
"source-map-support": "^0.5.19",
"sourcemapped-stacktrace": "^1.1.11",
"stacktrace-parser": "^0.1.8",
"stream-http": "^3.2.0",
"styled-components": "^5.2.1",
"timers-browserify": "^2.0.12",
"tslib": "2.3.1"

@@ -51,14 +36,5 @@ },

"@babel/preset-react": "^7.12.5",
"@darraghor/eslint-plugin-nestjs-typed": "^3.9.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.0",
"@testing-library/user-event": "^14.4.3",
"@types/cls-hooked": "^4.3.3",
"@types/jest": "^29.5.0",
"@types/jest": "^29.5.1",
"@types/node": "^18.13.0",
"@types/object-hash": "^2.2.1",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"@types/styled-components": "^5.1.9",
"@types/webpack-env": "^1.15.3",
"@typescript-eslint/eslint-plugin": "^5.21.0",

@@ -68,4 +44,4 @@ "@typescript-eslint/eslint-plugin-tslint": "^5.21.0",

"babel-loader": "^8.2.1",
"buffer": "^6.0.3",
"concurrently": "^6.2.0",
"crypto-browserify": "^3.12.0",
"dotenv-webpack": "^7.0.3",

@@ -76,7 +52,6 @@ "eslint": "^8.14.0",

"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-local-rules": "^1.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-unicorn": "^41.0.0",
"filemanager-webpack-plugin": "^3.0.0-alpha.7",
"jest": "^27.0.6",

@@ -86,3 +61,2 @@ "jest-fetch-mock": "useparagon/jest-fetch-mock.git#3.0.4",

"jest-json-reporter2": "^1.1.0",
"jsonwebtoken": "^8.5.1",
"node-notifier": "^10.0.0",

@@ -95,7 +69,7 @@ "nyc": "^15.1.0",

"stream-browserify": "^3.0.0",
"stripe": "^8.67.0",
"stream-http": "^3.2.0",
"terser-webpack-plugin": "^5.3.7",
"ts-jest": "^27.0.5",
"ts-loader": "^6.2.1",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",

@@ -105,8 +79,8 @@ "tslint": "6.1.2",

"util": "^0.12.4",
"vm-browserify": "^1.1.2",
"uuid": "^9.0.0",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^4.2.0"
"webpack-cli": "^5.0.2"
},
"license": "UNLICENSED",
"license": "MIT",
"pkg": {

@@ -113,0 +87,0 @@ "scripts": "./dist/**/*.js",

<p align="center">
<a href="https://www.useparagon.com/" target="blank"><img src="../../static/paragon-banner.png" width="320" alt="Paragon Logo" /></a>
<a href="https://www.useparagon.com/" target="blank"><img src="https://raw.githubusercontent.com/useparagon/aws-on-prem/master/assets/paragon-logo-dark.png" width="150" alt="Paragon Logo" /></a>
</p>
## Description
<p align="center">
<b>
The embedded integration platform for developers.
</b>
</p>
Work on [Paragon](https://www.useparagon.com) tasks.
---
## Running the app
Paragon is an embedded integration platform that 100+ software companies rely on to rapidly accelerate development of native product integrations with 3rd party SaaS apps such as Salesforce, Slack, and QuickBooks. This allows their engineering teams to avoid the heavy costs and risks that come with building and maintaining dozens of their own integrations.
```bash
# development
$ yarn run start
## Usage
To install the Paragon SDK, run this command in your project to add it as a dependency:
```sh
npm install @useparagon/connect
```
## Test
This package is intended for usage in your frontend application to embed the Paragon connection experience. After importing the **[Paragon SDK](https://docs.useparagon.com/getting-started/installing-the-connect-sdk)**, you can:
- Display the **[Connect Portal](https://docs.useparagon.com/connect-portal/connect-portal-customization)**, a prebuilt UI component for your users to connect third-party app accounts
- Trigger [**Workflows**](https://docs.useparagon.com/workflows/building-workflows), which are observable, durable jobs you define to sync integration data
- Send [**Connect API**](https://docs.useparagon.com/api/making-api-requests) requests to access integration data in realtime from your app
- Render a custom integrations UI using the [**Headless Connect Portal**](https://docs.useparagon.com/connect-portal/headless-connect-portal)
```typescript
import { paragon } from '@useparagon/connect';
// Authenticate your user with the SDK
await paragon.authenticate(projectId, paragonUserToken);
// Launch the Connect Portal for Salesforce in your app
paragon.connect('salesforce');
```
## Documentation
To start using the Paragon SDK, you will need to [sign up and register for an account](https://dashboard.useparagon.com/signup).
For details on getting started and a reference on all available SDK functions, please see [our documentation](https://docs.useparagon.com/getting-started/introduction).

Sorry, the diff of this file is not supported yet

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