@adminforth/two-factors-auth 2.2.1 → 2.2.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 CHANGED
@@ -14,5 +14,5 @@ custom/package.json
14
14
  custom/tsconfig.json
15
15
  custom/utils.js
16
16
 
17
- sent 269,443 bytes received 191 bytes 539,268.00 bytes/sec
18
- total size is 268,697 speedup is 1.00
17
+ sent 269,512 bytes received 191 bytes 539,406.00 bytes/sec
18
+ total size is 268,776 speedup is 1.00
@@ -13,7 +13,7 @@
13
13
  >
14
14
  <template #cell:name="{item}">
15
15
  <div class="flex items-center justify-start space-x-2">
16
- <img class="max-h-6" :src="coreStore.theme === 'light' ? item.light_icon : item.dark_icon" />
16
+ <img class="max-h-6 max-w-6" :src="coreStore.theme === 'light' ? item.light_icon : item.dark_icon" />
17
17
  <p>{{ item.name }}</p>
18
18
  </div>
19
19
  </template>
@@ -377,6 +377,7 @@
377
377
  async function callWebAuthn(options: any) {
378
378
  let credential;
379
379
  try {
380
+ console.log('Creating credential with options:', options);
380
381
  credential = await navigator.credentials.create({
381
382
  publicKey: options
382
383
  });
@@ -13,7 +13,7 @@
13
13
  >
14
14
  <template #cell:name="{item}">
15
15
  <div class="flex items-center justify-start space-x-2">
16
- <img class="max-h-6" :src="coreStore.theme === 'light' ? item.light_icon : item.dark_icon" />
16
+ <img class="max-h-6 max-w-6" :src="coreStore.theme === 'light' ? item.light_icon : item.dark_icon" />
17
17
  <p>{{ item.name }}</p>
18
18
  </div>
19
19
  </template>
@@ -377,6 +377,7 @@
377
377
  async function callWebAuthn(options: any) {
378
378
  let credential;
379
379
  try {
380
+ console.log('Creating credential with options:', options);
380
381
  credential = await navigator.credentials.create({
381
382
  publicKey: options
382
383
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",