@adminforth/two-factors-auth 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log
CHANGED
|
@@ -13,5 +13,5 @@ custom/package.json
|
|
|
13
13
|
custom/tsconfig.json
|
|
14
14
|
custom/utils.js
|
|
15
15
|
|
|
16
|
-
sent 77,
|
|
17
|
-
total size is 76,
|
|
16
|
+
sent 77,515 bytes received 172 bytes 155,374.00 bytes/sec
|
|
17
|
+
total size is 76,884 speedup is 0.99
|
|
@@ -349,8 +349,11 @@
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
+
let controller = new AbortController();
|
|
353
|
+
|
|
352
354
|
async function authenticate(options) {
|
|
353
355
|
console.log("Authenticating with options:", options);
|
|
356
|
+
controller.abort();
|
|
354
357
|
try {
|
|
355
358
|
// Guard: prevent concurrent navigator.credentials.get calls
|
|
356
359
|
if (webAuthn.inFlight) {
|
package/custom/utils.js
CHANGED
|
@@ -349,8 +349,11 @@
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
+
let controller = new AbortController();
|
|
353
|
+
|
|
352
354
|
async function authenticate(options) {
|
|
353
355
|
console.log("Authenticating with options:", options);
|
|
356
|
+
controller.abort();
|
|
354
357
|
try {
|
|
355
358
|
// Guard: prevent concurrent navigator.credentials.get calls
|
|
356
359
|
if (webAuthn.inFlight) {
|
package/dist/custom/utils.js
CHANGED