@riocrypto/common-server 1.0.572 → 1.0.573

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.
@@ -98,7 +98,8 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
98
98
  catch (err) { }
99
99
  }
100
100
  }
101
- if (authorizationTypes.includes(common_1.AuthorizationType.PartnerAuth)) {
101
+ if (authorizationTypes.includes(common_1.AuthorizationType.PartnerAuth) ||
102
+ authorizationTypes.includes(common_1.AuthorizationType.Partner)) {
102
103
  if ((_g = req.cookies) === null || _g === void 0 ? void 0 : _g.partnerAccessToken) {
103
104
  try {
104
105
  const PARTNER_ACCESS_TOKEN_SECRET = yield secret_manager_client_1.secretManagerClient.getSecretValue("PARTNER_ACCESS_TOKEN_SECRET");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.572",
3
+ "version": "1.0.573",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",