@riocrypto/common-server 1.0.690 → 1.0.692

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.
@@ -1,3 +1,4 @@
1
+ import { Crypto } from "@riocrypto/common";
1
2
  declare class GuenoClient {
2
3
  private email;
3
4
  private password;
@@ -100,9 +100,12 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
100
100
  throw new Error("Unable to get ADMIN_ACCESS_TOKEN_SECRET");
101
101
  }
102
102
  const payload = jsonwebtoken_1.default.verify(req.cookies.adminAccessToken, ADMIN_ACCESS_TOKEN_SECRET);
103
+ console.log(payload);
103
104
  req.currentAdminAuth = payload;
104
105
  }
105
- catch (err) { }
106
+ catch (err) {
107
+ console.log(err);
108
+ }
106
109
  }
107
110
  }
108
111
  if (authorizationTypes.includes(common_1.AuthorizationType.PartnerAuth) ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.690",
3
+ "version": "1.0.692",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",