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

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
@@ -14,6 +14,7 @@ export { normalizeJwtPayload } from "./domain/services";
14
14
  export { InvalidJwtPayloadError } from "./domain/errors";
15
15
  export * from "./domain/ports";
16
16
  export * from "./domain/entities";
17
+ export { readNonEmptyString } from "./domain/services/helpers";
17
18
  export * from "./domain/object-values";
18
19
  export * from "./domain/props";
19
20
  export * from "./domain/errors";
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ 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 = void 0;
18
18
  /**
19
19
  * Contrato público (JWT payload):
20
20
  * - Los plugins devuelven payload verificado criptográficamente como unknown.
@@ -33,6 +33,9 @@ Object.defineProperty(exports, "InvalidJwtPayloadError", { enumerable: true, get
33
33
  __exportStar(require("./domain/ports"), exports);
34
34
  // Entities
35
35
  __exportStar(require("./domain/entities"), exports);
36
+ // Helpers
37
+ var helpers_1 = require("./domain/services/helpers");
38
+ Object.defineProperty(exports, "readNonEmptyString", { enumerable: true, get: function () { return helpers_1.readNonEmptyString; } });
36
39
  // VOs
37
40
  __exportStar(require("./domain/object-values"), exports);
38
41
  // 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.27",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {