@tachybase/auth 0.23.40 → 0.23.47
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/lib/auth-manager.js +1 -5
- package/lib/auth.js +0 -3
- package/lib/base/auth.js +0 -1
- package/lib/base/jwt-service.js +0 -1
- package/package.json +7 -7
package/lib/auth-manager.js
CHANGED
|
@@ -24,12 +24,8 @@ module.exports = __toCommonJS(auth_manager_exports);
|
|
|
24
24
|
var import_utils = require("@tachybase/utils");
|
|
25
25
|
var import_jwt_service = require("./base/jwt-service");
|
|
26
26
|
const _AuthManager = class _AuthManager {
|
|
27
|
-
jwt;
|
|
28
|
-
options;
|
|
29
|
-
authTypes = new import_utils.Registry();
|
|
30
|
-
// authenticators collection manager.
|
|
31
|
-
storer;
|
|
32
27
|
constructor(options) {
|
|
28
|
+
this.authTypes = new import_utils.Registry();
|
|
33
29
|
this.options = options;
|
|
34
30
|
this.jwt = new import_jwt_service.JwtService(options.jwt);
|
|
35
31
|
}
|
package/lib/auth.js
CHANGED
|
@@ -22,9 +22,6 @@ __export(auth_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(auth_exports);
|
|
24
24
|
const _Auth = class _Auth {
|
|
25
|
-
authenticator;
|
|
26
|
-
options;
|
|
27
|
-
ctx;
|
|
28
25
|
constructor(config) {
|
|
29
26
|
const { authenticator, options, ctx } = config;
|
|
30
27
|
this.authenticator = authenticator;
|
package/lib/base/auth.js
CHANGED
|
@@ -23,7 +23,6 @@ __export(auth_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(auth_exports);
|
|
24
24
|
var import_auth = require("../auth");
|
|
25
25
|
const _BaseAuth = class _BaseAuth extends import_auth.Auth {
|
|
26
|
-
userCollection;
|
|
27
26
|
constructor(config) {
|
|
28
27
|
const { userCollection } = config;
|
|
29
28
|
super(config);
|
package/lib/base/jwt-service.js
CHANGED
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/auth",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.47",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"jsonwebtoken": "^8.5.1",
|
|
10
|
-
"@tachybase/
|
|
11
|
-
"@tachybase/
|
|
12
|
-
"@tachybase/
|
|
13
|
-
"@tachybase/
|
|
14
|
-
"@tachybase/
|
|
10
|
+
"@tachybase/actions": "0.23.47",
|
|
11
|
+
"@tachybase/database": "0.23.47",
|
|
12
|
+
"@tachybase/utils": "0.23.47",
|
|
13
|
+
"@tachybase/resourcer": "0.23.47",
|
|
14
|
+
"@tachybase/cache": "0.23.47"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/jsonwebtoken": "^8.5.9",
|
|
18
|
-
"vitest": "^
|
|
18
|
+
"vitest": "^3.0.5"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tachybase-build --no-dts @tachybase/auth"
|