@taladel/common 1.0.7 → 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.d.ts CHANGED
@@ -6,4 +6,11 @@ export { correlationIdMiddleware, getCorrelationId, } from './correlation/middle
6
6
  * Export the types
7
7
  */
8
8
  export type { CorrelationIdOptions, RequestWithCorrelation, } from './correlation/types';
9
+ export * from './services/jwt.service';
10
+ export * from './services/password.service';
11
+ export * from './errors/custom-error';
12
+ export * from './middlewares/auth-req';
13
+ export * from './middlewares/error-handler';
14
+ export * from './correlation/middleware';
15
+ export * from './correlation/types';
9
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACH,uBAAuB,EACvB,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAGlC;;GAEG;AACH,YAAY,EACR,oBAAoB,EACpB,sBAAsB,GACzB,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACH,uBAAuB,EACvB,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,YAAY,EACR,oBAAoB,EACpB,sBAAsB,GACzB,MAAM,qBAAqB,CAAC;AAE7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uBAAuB,CAAC;AAEtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAG5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
17
  exports.getCorrelationId = exports.correlationIdMiddleware = void 0;
4
18
  /**
@@ -7,4 +21,11 @@ exports.getCorrelationId = exports.correlationIdMiddleware = void 0;
7
21
  var middleware_1 = require("./correlation/middleware");
8
22
  Object.defineProperty(exports, "correlationIdMiddleware", { enumerable: true, get: function () { return middleware_1.correlationIdMiddleware; } });
9
23
  Object.defineProperty(exports, "getCorrelationId", { enumerable: true, get: function () { return middleware_1.getCorrelationId; } });
24
+ __exportStar(require("./services/jwt.service"), exports);
25
+ __exportStar(require("./services/password.service"), exports);
26
+ __exportStar(require("./errors/custom-error"), exports);
27
+ __exportStar(require("./middlewares/auth-req"), exports);
28
+ __exportStar(require("./middlewares/error-handler"), exports);
29
+ __exportStar(require("./correlation/middleware"), exports);
30
+ __exportStar(require("./correlation/types"), exports);
10
31
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,uDAGkC;AAF9B,qHAAA,uBAAuB,OAAA;AACvB,8GAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,uDAGkC;AAF9B,qHAAA,uBAAuB,OAAA;AACvB,8GAAA,gBAAgB,OAAA;AAWpB,yDAAuC;AACvC,8DAA4C;AAE5C,wDAAsC;AAEtC,yDAAuC;AACvC,8DAA4C;AAG5C,2DAAyC;AACzC,sDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taladel/common",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "common utilities for microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -6,11 +6,22 @@ export {
6
6
  getCorrelationId,
7
7
  } from './correlation/middleware';
8
8
 
9
-
10
9
  /**
11
10
  * Export the types
12
11
  */
13
12
  export type {
14
13
  CorrelationIdOptions,
15
14
  RequestWithCorrelation,
16
- } from './correlation/types';
15
+ } from './correlation/types';
16
+
17
+ export * from './services/jwt.service';
18
+ export * from './services/password.service';
19
+
20
+ export * from './errors/custom-error';
21
+
22
+ export * from './middlewares/auth-req';
23
+ export * from './middlewares/error-handler';
24
+
25
+
26
+ export * from './correlation/middleware';
27
+ export * from './correlation/types';