@adminforth/two-factors-auth 4.4.4 → 4.4.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
@@ -17,5 +17,5 @@ custom/tsconfig.json
17
17
  custom/use2faApi.ts
18
18
  custom/utils.js
19
19
 
20
- sent 312,263 bytes received 248 bytes 625,022.00 bytes/sec
21
- total size is 311,290 speedup is 1.00
20
+ sent 312,284 bytes received 248 bytes 625,064.00 bytes/sec
21
+ total size is 311,311 speedup is 1.00
@@ -137,7 +137,7 @@
137
137
  }
138
138
  });
139
139
 
140
- watch( props, () => {
140
+ watch(props, () => {
141
141
  if (props.adminUser) {
142
142
  websocket.unsubscribeByPrefix(`/user2fa/`);
143
143
  const user2FaTopic = `/user2fa/${props.adminUser.pk}/${getAdminForthClientId()}`;
@@ -186,7 +186,7 @@
186
186
  }
187
187
  });
188
188
  }
189
- })
189
+ }, { immediate: true });
190
190
 
191
191
 
192
192
  const emit = defineEmits<{
@@ -137,7 +137,7 @@
137
137
  }
138
138
  });
139
139
 
140
- watch( props, () => {
140
+ watch(props, () => {
141
141
  if (props.adminUser) {
142
142
  websocket.unsubscribeByPrefix(`/user2fa/`);
143
143
  const user2FaTopic = `/user2fa/${props.adminUser.pk}/${getAdminForthClientId()}`;
@@ -186,7 +186,7 @@
186
186
  }
187
187
  });
188
188
  }
189
- })
189
+ }, { immediate: true });
190
190
 
191
191
 
192
192
  const emit = defineEmits<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "4.4.4",
3
+ "version": "4.4.5",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",