@adminforth/two-factors-auth 3.0.3 → 3.0.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/package.json +3 -3
- package/types.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/two-factors-auth",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "AdminForth plugin for two factors authentication",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"2fa"
|
|
23
23
|
],
|
|
24
24
|
"author": "devforth",
|
|
25
|
-
"license": "
|
|
25
|
+
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@simplewebauthn/server": "^13.2.1",
|
|
28
28
|
"node-2fa": "^2.0.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"adminforth": "^2.
|
|
31
|
+
"adminforth": "^2.30.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^22.10.7",
|
package/types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AdminUser, KeyValueAdapter } from "adminforth";
|
|
2
|
+
import {type PluginsCommonOptions } from "adminforth";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
+
export interface PluginOptions extends PluginsCommonOptions {
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Name of the field in the auth resource which will store 2FA secret.
|