@useparagon/connect
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
546122
4
45
41
0
0
100
5842
44
3
+ Addedhash.js@^1.1.7
- Removedbrowserify-zlib@0.2.0
- Removedcrypto-browserify@^3.12.0
- Removedcryptr@^6.0.1
- Removedhttps-browserify@1.0.0
- Removedprocess@^0.11.10
- Removedreact-dom@^17.0.2
- Removedreactjs-popup@^1.5.0
- Removedrxjs@^7.3.0
- Removedsnarkdown@^2.0.0
- Removedsource-map-support@^0.5.19
- Removedsourcemapped-stacktrace@^1.1.11
- Removedstacktrace-parser@^0.1.8
- Removedstream-http@^3.2.0
- Removedstyled-components@^5.2.1
- Removedtimers-browserify@^2.0.12
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.3(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-annotate-as-pure@7.25.9(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-plugin-utils@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/plugin-syntax-jsx@7.25.9(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@emotion/is-prop-valid@1.3.1(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removedasn1.js@4.10.1(transitive)
- Removedbabel-plugin-styled-components@2.1.4(transitive)
- Removedbn.js@4.12.15.2.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbrowserify-aes@1.2.0(transitive)
- Removedbrowserify-cipher@1.0.1(transitive)
- Removedbrowserify-des@1.0.2(transitive)
- Removedbrowserify-rsa@4.1.1(transitive)
- Removedbrowserify-sign@4.2.3(transitive)
- Removedbrowserify-zlib@0.2.0(transitive)
- Removedbrowserslist@4.24.3(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedbuffer-xor@1.0.3(transitive)
- Removedbuiltin-status-codes@3.0.0(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcaniuse-lite@1.0.30001689(transitive)
- Removedcipher-base@1.0.6(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcreate-ecdh@4.0.4(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcreate-hmac@1.1.7(transitive)
- Removedcrypto-browserify@3.12.1(transitive)
- Removedcryptr@6.3.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@3.2.0(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddes.js@1.1.0(transitive)
- Removeddiffie-hellman@5.0.3(transitive)
- Removedelectron-to-chromium@1.5.74(transitive)
- Removedelliptic@6.6.1(transitive)
- Removedescalade@3.2.0(transitive)
- Removedevp_bytestokey@1.0.3(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhash-base@3.0.5(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedhttps-browserify@1.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedmiller-rabin@4.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.19(transitive)
- Removedpako@1.0.11(transitive)
- Removedparse-asn1@5.1.7(transitive)
- Removedpbkdf2@3.1.2(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)
- Removedprocess@0.11.10(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedpublic-encrypt@4.0.3(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedrandomfill@1.0.4(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.017.0.2(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreactjs-popup@1.5.0(transitive)
- Removedreadable-stream@2.3.83.6.2(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedrxjs@7.8.1(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedscheduler@0.19.10.20.2(transitive)
- Removedsemver@6.3.1(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedshallowequal@1.1.0(transitive)
- Removedsnarkdown@2.0.0(transitive)
- Removedsource-map@0.5.60.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)
- Removedsourcemapped-stacktrace@1.1.11(transitive)
- Removedstacktrace-parser@0.1.10(transitive)
- Removedstream-http@3.2.0(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstyled-components@5.3.11(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtimers-browserify@2.0.12(transitive)
- Removedtype-fest@0.7.1(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)
- Removedyallist@3.1.1(transitive)