@jmlq/auth 0.0.1-alpha.19 → 0.0.1-alpha.20
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.
|
@@ -78,8 +78,8 @@ class InvalidIdError extends auth_errors_1.AuthDomainError {
|
|
|
78
78
|
}
|
|
79
79
|
exports.InvalidIdError = InvalidIdError;
|
|
80
80
|
class LogoutError extends auth_errors_1.AuthDomainError {
|
|
81
|
-
constructor(message) {
|
|
82
|
-
super(message, "LOGOUT_FAILED");
|
|
81
|
+
constructor(message, details) {
|
|
82
|
+
super(message, "LOGOUT_FAILED", details);
|
|
83
83
|
this.name = "LogoutError";
|
|
84
84
|
}
|
|
85
85
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { AuthServiceFactoryOptions } from "./application/types";
|
|
|
3
3
|
export * from "./domain/ports";
|
|
4
4
|
export * from "./domain/entities";
|
|
5
5
|
export * from "./domain/object-values";
|
|
6
|
+
export * from "./domain/props";
|
|
6
7
|
export * from "./domain/errors";
|
|
7
8
|
export * from "./application/dtos";
|
|
8
9
|
export * from "./application/facades";
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ __exportStar(require("./domain/entities"), exports);
|
|
|
22
22
|
// VOs
|
|
23
23
|
__exportStar(require("./domain/object-values"), exports);
|
|
24
24
|
// Contratos (ports) + config
|
|
25
|
-
|
|
25
|
+
__exportStar(require("./domain/props"), exports);
|
|
26
26
|
// Errores públicos
|
|
27
27
|
__exportStar(require("./domain/errors"), exports);
|
|
28
28
|
// DTOs (solo types)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jmlq/auth",
|
|
3
3
|
"description": "JWT authentication package with clean architecture",
|
|
4
|
-
"version": "0.0.1-alpha.
|
|
4
|
+
"version": "0.0.1-alpha.20",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
"author": "MLahuasi",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"bcryptjs": "^2.4.3"
|
|
31
|
-
"rimraf": "^6.1.2"
|
|
30
|
+
"bcryptjs": "^2.4.3"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
34
33
|
"@swc/core": "^1.3.95",
|
|
@@ -38,7 +37,8 @@
|
|
|
38
37
|
"@types/node": "^20.8.10",
|
|
39
38
|
"jest": "^29.7.0",
|
|
40
39
|
"tsx": "^4.1.4",
|
|
41
|
-
"typescript": "^5.2.2"
|
|
40
|
+
"typescript": "^5.2.2",
|
|
41
|
+
"rimraf": "^6.1.2"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist"
|