Merge pull request #2258 from automatisch/remote-use-what-changed
refactor: remove obsolete dependency and its usage
This commit is contained in:
@@ -83,7 +83,6 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@simbathesailor/use-what-changed": "^2.0.0",
|
|
||||||
"@tanstack/eslint-plugin-query": "^5.20.1",
|
"@tanstack/eslint-plugin-query": "^5.20.1",
|
||||||
"@tanstack/react-query-devtools": "^5.24.1",
|
"@tanstack/react-query-devtools": "^5.24.1",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import useCreateConnectionAuthUrl from './useCreateConnectionAuthUrl';
|
|||||||
import useUpdateConnection from './useUpdateConnection';
|
import useUpdateConnection from './useUpdateConnection';
|
||||||
import useResetConnection from './useResetConnection';
|
import useResetConnection from './useResetConnection';
|
||||||
import useVerifyConnection from './useVerifyConnection';
|
import useVerifyConnection from './useVerifyConnection';
|
||||||
import { useWhatChanged } from '@simbathesailor/use-what-changed';
|
|
||||||
|
|
||||||
function getSteps(auth, hasConnection, useShared) {
|
function getSteps(auth, hasConnection, useShared) {
|
||||||
if (hasConnection) {
|
if (hasConnection) {
|
||||||
@@ -143,24 +142,6 @@ export default function useAuthenticateApp(payload) {
|
|||||||
verifyConnection,
|
verifyConnection,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
useWhatChanged(
|
|
||||||
[
|
|
||||||
steps,
|
|
||||||
appKey,
|
|
||||||
oauthClientId,
|
|
||||||
connectionId,
|
|
||||||
queryClient,
|
|
||||||
createConnection,
|
|
||||||
createConnectionAuthUrl,
|
|
||||||
updateConnection,
|
|
||||||
resetConnection,
|
|
||||||
verifyConnection,
|
|
||||||
],
|
|
||||||
'steps, appKey, oauthClientId, connectionId, queryClient, createConnection, createConnectionAuthUrl, updateConnection, resetConnection, verifyConnection',
|
|
||||||
'',
|
|
||||||
'useAuthenticate',
|
|
||||||
);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
authenticate,
|
authenticate,
|
||||||
inProgress: authenticationInProgress,
|
inProgress: authenticationInProgress,
|
||||||
|
|||||||
@@ -2126,11 +2126,6 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz#427d5549943a9c6fce808e39ea64dbe60d4047f1"
|
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz#427d5549943a9c6fce808e39ea64dbe60d4047f1"
|
||||||
integrity sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==
|
integrity sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==
|
||||||
|
|
||||||
"@simbathesailor/use-what-changed@^2.0.0":
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@simbathesailor/use-what-changed/-/use-what-changed-2.0.0.tgz#7f82d78f92c8588b5fadd702065dde93bd781403"
|
|
||||||
integrity sha512-ulBNrPSvfho9UN6zS2fii3AsdEcp2fMaKeqUZZeCNPaZbB6aXyTUhpEN9atjMAbu/eyK3AY8L4SYJUG62Ekocw==
|
|
||||||
|
|
||||||
"@sinclair/typebox@^0.24.1":
|
"@sinclair/typebox@^0.24.1":
|
||||||
version "0.24.51"
|
version "0.24.51"
|
||||||
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f"
|
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f"
|
||||||
|
|||||||
Reference in New Issue
Block a user