From 51646b2d226b1e6340228214070eb0d40132d31c Mon Sep 17 00:00:00 2001 From: Perry Mitchell Date: Tue, 26 Mar 2024 21:35:19 +0200 Subject: [PATCH] Update locust, fix recognitions --- package-lock.json | 14 +++++++------- package.json | 2 +- source/tab/services/formDetection.ts | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 360146e2..9f0dfaaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@blueprintjs/icons": "^4.16.0", "@blueprintjs/popover2": "^1.14.11", "@buttercup/channel-queue": "^1.4.0", - "@buttercup/locust": "^2.2.0", + "@buttercup/locust": "^2.2.1", "@buttercup/ui": "^6.2.2", "@types/chrome": "^0.0.251", "@types/ms": "^0.7.34", @@ -2059,9 +2059,9 @@ } }, "node_modules/@buttercup/locust": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@buttercup/locust/-/locust-2.2.0.tgz", - "integrity": "sha512-weT3huHJNwK+sTr/0TRUrRgpw1TE/sZ6DM8hoieURT818/HVITMpuMe5qwWtYrJIOISyY25tAKPKkp1KBImgyA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@buttercup/locust/-/locust-2.2.1.tgz", + "integrity": "sha512-tBOCS8bfuG2fGByTPR5V0EhQGieq4ewRHnfKlwzFsF3ZUKzc6/OvzKeH8JlmCnj90Y8nj4G3DDipMnbdv93a9g==", "dev": true, "dependencies": { "eventemitter3": "^5.0.1", @@ -16234,9 +16234,9 @@ } }, "@buttercup/locust": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@buttercup/locust/-/locust-2.2.0.tgz", - "integrity": "sha512-weT3huHJNwK+sTr/0TRUrRgpw1TE/sZ6DM8hoieURT818/HVITMpuMe5qwWtYrJIOISyY25tAKPKkp1KBImgyA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@buttercup/locust/-/locust-2.2.1.tgz", + "integrity": "sha512-tBOCS8bfuG2fGByTPR5V0EhQGieq4ewRHnfKlwzFsF3ZUKzc6/OvzKeH8JlmCnj90Y8nj4G3DDipMnbdv93a9g==", "dev": true, "requires": { "eventemitter3": "^5.0.1", diff --git a/package.json b/package.json index 9e3217bb..e4bb0578 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@blueprintjs/icons": "^4.16.0", "@blueprintjs/popover2": "^1.14.11", "@buttercup/channel-queue": "^1.4.0", - "@buttercup/locust": "^2.2.0", + "@buttercup/locust": "^2.2.1", "@buttercup/ui": "^6.2.2", "@types/chrome": "^0.0.251", "@types/ms": "^0.7.34", diff --git a/source/tab/services/formDetection.ts b/source/tab/services/formDetection.ts index 5668dda4..c35039ca 100644 --- a/source/tab/services/formDetection.ts +++ b/source/tab/services/formDetection.ts @@ -33,6 +33,7 @@ export function waitAndAttachLaunchButtons( ) { onIdentifiedTarget((loginTarget: LoginTarget) => { const { otpField, usernameField, passwordField } = loginTarget; + console.log("FOUND TARGET", loginTarget); if (otpField) { attachLaunchButton(otpField, (el) => onInputActivate(el, loginTarget, InputType.OTP)); }