@taladel/common 1.0.8 → 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 +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +7 -20
package/dist/index.d.ts
CHANGED
|
@@ -6,10 +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
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
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';
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;
|
|
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":"
|
|
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
package/src/index.ts
CHANGED
|
@@ -6,7 +6,6 @@ export {
|
|
|
6
6
|
getCorrelationId,
|
|
7
7
|
} from './correlation/middleware';
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
/**
|
|
11
10
|
* Export the types
|
|
12
11
|
*/
|
|
@@ -15,26 +14,14 @@ export type {
|
|
|
15
14
|
RequestWithCorrelation,
|
|
16
15
|
} from './correlation/types';
|
|
17
16
|
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
} from './services/jwt.service';
|
|
21
|
-
|
|
22
|
-
export type{
|
|
23
|
-
CustomError,
|
|
24
|
-
} from './errors/custom-error';
|
|
17
|
+
export * from './services/jwt.service';
|
|
18
|
+
export * from './services/password.service';
|
|
25
19
|
|
|
26
|
-
export
|
|
27
|
-
default as Authenticate,
|
|
28
|
-
} from './middlewares/auth-req';
|
|
20
|
+
export * from './errors/custom-error';
|
|
29
21
|
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
} from './middlewares/error-handler';
|
|
22
|
+
export * from './middlewares/auth-req';
|
|
23
|
+
export * from './middlewares/error-handler';
|
|
33
24
|
|
|
34
|
-
export type{
|
|
35
|
-
correlationIdMiddleware as CorrelationIdMiddleware,
|
|
36
|
-
} from './correlation/middleware';
|
|
37
25
|
|
|
38
|
-
export
|
|
39
|
-
|
|
40
|
-
} from './correlation/middleware';
|
|
26
|
+
export * from './correlation/middleware';
|
|
27
|
+
export * from './correlation/types';
|