@discover-cloud/shared 1.0.2 → 1.0.3
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.
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* perms never touch the JWT — they live in the permission cache and are
|
|
16
16
|
* resolved into req.accessContext by RequireAuthMiddleware on every request.
|
|
17
17
|
*/
|
|
18
|
-
import "express-serve-static-core";
|
|
19
18
|
import { JWTPayload } from "jose";
|
|
20
19
|
import { AccountRole } from "../enums";
|
|
21
20
|
import { GlobalPermission } from "../enums";
|
|
@@ -21,7 +21,6 @@ exports.isHumanPayload = isHumanPayload;
|
|
|
21
21
|
exports.isMachinePayload = isMachinePayload;
|
|
22
22
|
exports.isHumanContext = isHumanContext;
|
|
23
23
|
exports.isMachineContext = isMachineContext;
|
|
24
|
-
require("express-serve-static-core");
|
|
25
24
|
/* ====================================================================
|
|
26
25
|
4. TYPE GUARDS
|
|
27
26
|
|