c2-http 1.0.154 → 1.0.155
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.
|
@@ -103,7 +103,7 @@ class MiddlewareCheckTokenFlow {
|
|
|
103
103
|
express_http_context_1.default.set("accountId", verify.account);
|
|
104
104
|
express_http_context_1.default.set("accountBlockDate", verify.accountBlockDate);
|
|
105
105
|
express_http_context_1.default.set("accountExpireDate", verify.accountExpireDate);
|
|
106
|
-
|
|
106
|
+
// httpContext.set("scopes", verify.scopes)
|
|
107
107
|
// const tokenDecoded = await ValidateTokenFlowItem.exec(token)
|
|
108
108
|
// AddInContextFlowItem.exec(tokenDecoded, token)
|
|
109
109
|
// const tokenDecoded = jwt.verify(token, process.env.JWT_SECRET ?? "") as unknown as IJWTPayload//await ValidateTokenFlowItem.exec(token)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c2-http",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.155",
|
|
4
4
|
"description": "Biblioteca Typescript para API NodeJS",
|
|
5
5
|
"repository": "https://cabralsilva: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@github.com/cabralsilva/c2-http.git",
|
|
6
6
|
"author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",
|