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

@tryfinch/react-connect

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tryfinch/react-connect - npm Package Compare versions

Comparing version 3.3.1 to 3.4.0

4

dist/index.es.js

@@ -18,2 +18,4 @@ import { useRef, useEffect } from 'react';

authUrl.searchParams.append('redirect_uri', DEFAULT_FINCH_REDIRECT_URI);
/** The host URL of the SDK. This is used to store the referrer for postMessage purposes */
authUrl.searchParams.append('sdk_host_url', window.location.origin);
authUrl.searchParams.append('mode', 'employer');

@@ -27,3 +29,3 @@ if (manual)

// replace with actual SDK version by rollup
authUrl.searchParams.append('sdk_version', 'react-3.3.1');
authUrl.searchParams.append('sdk_version', 'react-3.4.0');
return authUrl.href;

@@ -30,0 +32,0 @@ };

@@ -22,2 +22,4 @@ 'use strict';

authUrl.searchParams.append('redirect_uri', DEFAULT_FINCH_REDIRECT_URI);
/** The host URL of the SDK. This is used to store the referrer for postMessage purposes */
authUrl.searchParams.append('sdk_host_url', window.location.origin);
authUrl.searchParams.append('mode', 'employer');

@@ -31,3 +33,3 @@ if (manual)

// replace with actual SDK version by rollup
authUrl.searchParams.append('sdk_version', 'react-3.3.1');
authUrl.searchParams.append('sdk_version', 'react-3.4.0');
return authUrl.href;

@@ -34,0 +36,0 @@ };

{
"name": "@tryfinch/react-connect",
"version": "3.3.1",
"version": "3.4.0",
"description": "Finch SDK for embedding Finch Connect in API React Single Page Applications (SPA)",

@@ -5,0 +5,0 @@ "keywords": [

@@ -79,2 +79,4 @@ import { useEffect, useRef } from 'react';

authUrl.searchParams.append('redirect_uri', DEFAULT_FINCH_REDIRECT_URI);
/** The host URL of the SDK. This is used to store the referrer for postMessage purposes */
authUrl.searchParams.append('sdk_host_url', window.location.origin);
authUrl.searchParams.append('mode', 'employer');

@@ -81,0 +83,0 @@ if (manual) authUrl.searchParams.append('manual', String(manual));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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