@adminforth/two-factors-auth 2.10.1 → 2.10.2
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 +2 -2
- package/custom/TwoFAModal.vue +4 -4
- package/dist/custom/TwoFAModal.vue +4 -4
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -15,5 +15,5 @@ custom/package.json
|
|
|
15
15
|
custom/tsconfig.json
|
|
16
16
|
custom/utils.js
|
|
17
17
|
|
|
18
|
-
sent 273,
|
|
19
|
-
total size is 272,
|
|
18
|
+
sent 273,585 bytes received 210 bytes 547,590.00 bytes/sec
|
|
19
|
+
total size is 272,758 speedup is 1.00
|
package/custom/TwoFAModal.vue
CHANGED
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
declare global {
|
|
86
86
|
interface Window {
|
|
87
87
|
adminforthTwoFaModal: {
|
|
88
|
-
get2FaConfirmationResult: (
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
get2FaConfirmationResult: (
|
|
89
|
+
title?: string,
|
|
90
|
+
verifyingCallback?: (confirmationResult: string) => Promise<boolean>
|
|
91
91
|
) => Promise<any>;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
window.adminforthTwoFaModal = {
|
|
130
|
-
get2FaConfirmationResult: (verifyingCallback?: (confirmationResult: string) => Promise<boolean
|
|
130
|
+
get2FaConfirmationResult: (title?: string, verifyingCallback?: (confirmationResult: string) => Promise<boolean>) =>
|
|
131
131
|
new Promise(async (resolve, reject) => {
|
|
132
132
|
if (modelShow.value) throw new Error('Modal is already open');
|
|
133
133
|
const skipAllowModal = await checkIfSkipAllowModal();
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
declare global {
|
|
86
86
|
interface Window {
|
|
87
87
|
adminforthTwoFaModal: {
|
|
88
|
-
get2FaConfirmationResult: (
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
get2FaConfirmationResult: (
|
|
89
|
+
title?: string,
|
|
90
|
+
verifyingCallback?: (confirmationResult: string) => Promise<boolean>
|
|
91
91
|
) => Promise<any>;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
window.adminforthTwoFaModal = {
|
|
130
|
-
get2FaConfirmationResult: (verifyingCallback?: (confirmationResult: string) => Promise<boolean
|
|
130
|
+
get2FaConfirmationResult: (title?: string, verifyingCallback?: (confirmationResult: string) => Promise<boolean>) =>
|
|
131
131
|
new Promise(async (resolve, reject) => {
|
|
132
132
|
if (modelShow.value) throw new Error('Modal is already open');
|
|
133
133
|
const skipAllowModal = await checkIfSkipAllowModal();
|