@tryfinch/react-connect
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -8,2 +8,3 @@ export type SuccessEvent = { | ||
}; | ||
export type Sandbox = 'finch' /** This is to enable the new Finch (simulated) Sandbox */ | 'provider' /** This is to enable the new Provider Sandbox */ | boolean /** This is the old sandbox flag retained for backwards compatibility */; | ||
export type ConnectOptions = { | ||
@@ -19,8 +20,3 @@ category: string | null; | ||
products: string[]; | ||
sandbox: 'provider' /** This is to enable the new Provider Sandbox */ | ||
/** | ||
* The old sandbox flag retained for backwards compatibility. | ||
* It's defaults to the Provider Sandbox | ||
*/ | ||
| boolean; | ||
sandbox: Sandbox; | ||
zIndex: number; | ||
@@ -27,0 +23,0 @@ }; |
@@ -28,3 +28,3 @@ import { useRef, useEffect } from 'react'; | ||
// replace with actual SDK version by rollup | ||
authUrl.searchParams.append('sdk_version', 'react-3.4.0'); | ||
authUrl.searchParams.append('sdk_version', 'react-3.5.0'); | ||
return authUrl.href; | ||
@@ -31,0 +31,0 @@ }; |
@@ -32,3 +32,3 @@ 'use strict'; | ||
// replace with actual SDK version by rollup | ||
authUrl.searchParams.append('sdk_version', 'react-3.4.0'); | ||
authUrl.searchParams.append('sdk_version', 'react-3.5.0'); | ||
return authUrl.href; | ||
@@ -35,0 +35,0 @@ }; |
{ | ||
"name": "@tryfinch/react-connect", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Finch SDK for embedding Finch Connect in API React Single Page Applications (SPA)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,2 +12,7 @@ import { useEffect, useRef } from 'react'; | ||
export type Sandbox = | ||
| 'finch' /** This is to enable the new Finch (simulated) Sandbox */ | ||
| 'provider' /** This is to enable the new Provider Sandbox */ | ||
| boolean /** This is the old sandbox flag retained for backwards compatibility */; | ||
export type ConnectOptions = { | ||
@@ -23,9 +28,3 @@ category: string | null; | ||
products: string[]; | ||
sandbox: | ||
| 'provider' /** This is to enable the new Provider Sandbox */ | ||
/** | ||
* The old sandbox flag retained for backwards compatibility. | ||
* It's defaults to the Provider Sandbox | ||
*/ | ||
| boolean; | ||
sandbox: Sandbox; | ||
zIndex: number; | ||
@@ -32,0 +31,0 @@ }; |
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
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
935349
32165