@tryfinch/react-connect
Advanced tools
Comparing version 3.3.1 to 3.4.0
@@ -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
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
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
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
935203
32171
0