@tryfinch/react-connect
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -21,3 +21,3 @@ export type SuccessEvent = { | ||
}; | ||
type OpenFn = (overrides?: Partial<Pick<ConnectOptions, 'products'>>) => void; | ||
type OpenFn = (overrides?: Partial<Pick<ConnectOptions, 'products' | 'state'>>) => void; | ||
export declare const useFinchConnect: (options: Partial<ConnectOptions>) => { | ||
@@ -24,0 +24,0 @@ open: OpenFn; |
@@ -26,3 +26,3 @@ import { useEffect } from 'react'; | ||
// replace with actual SDK version by rollup | ||
authUrl.searchParams.append('sdk_version', 'react-3.1.0'); | ||
authUrl.searchParams.append('sdk_version', 'react-3.1.1'); | ||
return authUrl.href; | ||
@@ -29,0 +29,0 @@ }; |
@@ -30,3 +30,3 @@ 'use strict'; | ||
// replace with actual SDK version by rollup | ||
authUrl.searchParams.append('sdk_version', 'react-3.1.0'); | ||
authUrl.searchParams.append('sdk_version', 'react-3.1.1'); | ||
return authUrl.href; | ||
@@ -33,0 +33,0 @@ }; |
@@ -8,7 +8,7 @@ { | ||
"dependencies": { | ||
"@tryfinch/react-connect": "file:..", | ||
"@types/react": "^17.0.37", | ||
"prop-types": "^15.6.2", | ||
"react": "file:../node_modules/react", | ||
"react-dom": "^16.9.0", | ||
"react-finch-connect": "file:.." | ||
"react-dom": "^16.9.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "scripts": { |
{ | ||
"name": "@tryfinch/react-connect", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Finch SDK for embedding Finch Connect in API React Single Page Applications (SPA)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,3 +26,3 @@ import { useEffect } from 'react'; | ||
type OpenFn = (overrides?: Partial<Pick<ConnectOptions, 'products'>>) => void; | ||
type OpenFn = (overrides?: Partial<Pick<ConnectOptions, 'products' | 'state'>>) => void; | ||
@@ -29,0 +29,0 @@ const POST_MESSAGE_NAME = 'finch-auth-message' as const; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
922339
27
32000