@taladel/common 1.0.6 → 1.0.8

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,10 @@ export { correlationIdMiddleware, getCorrelationId, } from './correlation/middle
6
6
  * Export the types
7
7
  */
8
8
  export type { CorrelationIdOptions, RequestWithCorrelation, } from './correlation/types';
9
+ export type { jwtPayload as JwtPayload, } from './services/jwt.service';
10
+ export type { CustomError, } from './errors/custom-error';
11
+ export type { default as Authenticate, } from './middlewares/auth-req';
12
+ export type { default as ErrorHandler, } from './middlewares/error-handler';
13
+ export type { correlationIdMiddleware as CorrelationIdMiddleware, } from './correlation/middleware';
14
+ export type { getCorrelationId as GetCorrelationId, } from './correlation/middleware';
9
15
  //# 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;AAGlC;;GAEG;AACH,YAAY,EACR,oBAAoB,EACpB,sBAAsB,GACzB,MAAM,qBAAqB,CAAC;AAE7B,YAAW,EACP,UAAU,IAAI,UAAU,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,YAAW,EACP,WAAW,GACd,MAAM,uBAAuB,CAAC;AAE/B,YAAW,EACP,OAAO,IAAI,YAAY,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,YAAW,EACP,OAAO,IAAI,YAAY,GAC1B,MAAM,6BAA6B,CAAC;AAErC,YAAW,EACP,uBAAuB,IAAI,uBAAuB,GACrD,MAAM,0BAA0B,CAAC;AAElC,YAAW,EACP,gBAAgB,IAAI,gBAAgB,GACvC,MAAM,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taladel/common",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "common utilities for microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "scripts": {
11
11
  "clean": "rm -rf dist",
12
12
  "build": "npm run clean && tsc",
13
- "pub": "git add . && git commit -m \"Updates\" && npm version patch && npm run build && npm publish && git push && git push --tags"
13
+ "pub": "git add . && git commit -m \"Updates\" && npm version patch && npm run build && npm publish --access public && git push && git push --tags"
14
14
  },
15
15
  "keywords": [],
16
16
  "author": "",
package/src/index.ts CHANGED
@@ -13,4 +13,28 @@ export {
13
13
  export type {
14
14
  CorrelationIdOptions,
15
15
  RequestWithCorrelation,
16
- } from './correlation/types';
16
+ } from './correlation/types';
17
+
18
+ export type{
19
+ jwtPayload as JwtPayload,
20
+ } from './services/jwt.service';
21
+
22
+ export type{
23
+ CustomError,
24
+ } from './errors/custom-error';
25
+
26
+ export type{
27
+ default as Authenticate,
28
+ } from './middlewares/auth-req';
29
+
30
+ export type{
31
+ default as ErrorHandler,
32
+ } from './middlewares/error-handler';
33
+
34
+ export type{
35
+ correlationIdMiddleware as CorrelationIdMiddleware,
36
+ } from './correlation/middleware';
37
+
38
+ export type{
39
+ getCorrelationId as GetCorrelationId,
40
+ } from './correlation/middleware';