@jmlq/auth 0.0.1-alpha.26 → 0.0.1-alpha.28

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.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { optionalAudience } from "./domain/services/helpers";
1
2
  export type { IAuthServiceContainer } from "./infrastructure/types";
2
3
  export { AuthServiceFactoryOptions } from "./application/types";
3
4
  /**
@@ -14,6 +15,7 @@ export { normalizeJwtPayload } from "./domain/services";
14
15
  export { InvalidJwtPayloadError } from "./domain/errors";
15
16
  export * from "./domain/ports";
16
17
  export * from "./domain/entities";
18
+ export { readNonEmptyString } from "./domain/services/helpers";
17
19
  export * from "./domain/object-values";
18
20
  export * from "./domain/props";
19
21
  export * from "./domain/errors";
package/dist/index.js CHANGED
@@ -14,7 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.InvalidJwtPayloadError = exports.normalizeJwtPayload = void 0;
17
+ exports.readNonEmptyString = exports.InvalidJwtPayloadError = exports.normalizeJwtPayload = exports.optionalAudience = void 0;
18
+ var helpers_1 = require("./domain/services/helpers");
19
+ Object.defineProperty(exports, "optionalAudience", { enumerable: true, get: function () { return helpers_1.optionalAudience; } });
18
20
  /**
19
21
  * Contrato público (JWT payload):
20
22
  * - Los plugins devuelven payload verificado criptográficamente como unknown.
@@ -33,6 +35,9 @@ Object.defineProperty(exports, "InvalidJwtPayloadError", { enumerable: true, get
33
35
  __exportStar(require("./domain/ports"), exports);
34
36
  // Entities
35
37
  __exportStar(require("./domain/entities"), exports);
38
+ // Helpers
39
+ var helpers_2 = require("./domain/services/helpers");
40
+ Object.defineProperty(exports, "readNonEmptyString", { enumerable: true, get: function () { return helpers_2.readNonEmptyString; } });
36
41
  // VOs
37
42
  __exportStar(require("./domain/object-values"), exports);
38
43
  // Props (JWT generation inputs, etc.)
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.26",
4
+ "version": "0.0.1-alpha.28",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {