@adminforth/two-factors-auth 1.0.8 → 1.0.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/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import AdminForthPlugin from "adminforth/
|
|
10
|
+
import AdminForthPlugin from "adminforth/basePlugin.js";
|
|
11
11
|
import twofactor from 'node-2fa';
|
|
12
12
|
export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
|
|
13
13
|
constructor(options) {
|
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdminForthResource } from "adminforth/types/AdminForthConfig.js";
|
|
2
2
|
import type { IAdminForth, IHttpServer, IAdminForthAuth } from "adminforth/types/AdminForthConfig.js";
|
|
3
|
-
import AdminForthPlugin from "adminforth/
|
|
3
|
+
import AdminForthPlugin from "adminforth/basePlugin.js";
|
|
4
4
|
import twofactor from 'node-2fa';
|
|
5
5
|
import { PluginOptions } from "./types.js"
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/two-factors-auth",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "AdminForth plugin for two factors authentication",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "devforth",
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"adminforth": "^1.1.
|
|
15
|
+
"adminforth": "^1.1.94",
|
|
16
16
|
"node-2fa": "^2.0.3"
|
|
17
17
|
}
|
|
18
18
|
}
|