@adminforth/two-factors-auth 4.8.3 → 5.0.0

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
@@ -21,5 +21,5 @@ custom/tsconfig.json
21
21
  custom/use2faApi.ts
22
22
  custom/utils.js
23
23
 
24
- sent 306,855 bytes received 324 bytes 614,358.00 bytes/sec
25
- total size is 305,604 speedup is 0.99
24
+ sent 306,875 bytes received 324 bytes 614,398.00 bytes/sec
25
+ total size is 305,624 speedup is 0.99
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 top-0 bottom-0 left-0 right-0 px-4"
2
+ <div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-lightScrim dark:bg-darkScrim top-0 bottom-0 left-0 right-0 px-4"
3
3
  v-if="modelShow && (isLoading === false)">
4
4
  <TwoFaCard
5
5
  :class="`af-two-factor-modal-${modalMode}`"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 top-0 bottom-0 left-0 right-0 px-4"
2
+ <div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-lightScrim dark:bg-darkScrim top-0 bottom-0 left-0 right-0 px-4"
3
3
  v-if="modelShow && (isLoading === false)">
4
4
  <TwoFaCard
5
5
  :class="`af-two-factor-modal-${modalMode}`"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "4.8.3",
3
+ "version": "5.0.0",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "zod": "^4.3.6"
30
30
  },
31
31
  "peerDependencies": {
32
- "adminforth": "^3.32.0"
32
+ "adminforth": "^4.1.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^22.10.7",