@adminforth/two-factors-auth 1.8.8 → 1.8.9

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
@@ -11,5 +11,5 @@ custom/package-lock.json
11
11
  custom/package.json
12
12
  custom/tsconfig.json
13
13
 
14
- sent 31,440 bytes received 134 bytes 63,148.00 bytes/sec
15
- total size is 30,942 speedup is 0.98
14
+ sent 31,500 bytes received 134 bytes 63,268.00 bytes/sec
15
+ total size is 31,002 speedup is 0.98
@@ -124,6 +124,7 @@
124
124
  function onCancel() {
125
125
  modelShow.value = false;
126
126
  bindValue.value = '';
127
+ code.value?.clearInput();
127
128
  emit('rejected', new Error('cancelled'));
128
129
  emit('closed');
129
130
  }
@@ -144,6 +145,7 @@
144
145
  htmlRef.style.overflow = '';
145
146
  }
146
147
  bindValue.value = '';
148
+ code.value?.clearInput();
147
149
  }
148
150
  });
149
151
 
@@ -124,6 +124,7 @@
124
124
  function onCancel() {
125
125
  modelShow.value = false;
126
126
  bindValue.value = '';
127
+ code.value?.clearInput();
127
128
  emit('rejected', new Error('cancelled'));
128
129
  emit('closed');
129
130
  }
@@ -144,6 +145,7 @@
144
145
  htmlRef.style.overflow = '';
145
146
  }
146
147
  bindValue.value = '';
148
+ code.value?.clearInput();
147
149
  }
148
150
  });
149
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",