@mondaydotcomorg/monday-authorization 1.0.53-featureyardenauthorization-sdk-can-action-in-scope-support.33 → 1.0.53-featureyardenauthorization-sdk-can-action-in-scope-support.34

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.
@@ -92,8 +92,7 @@ class AuthorizationService {
92
92
  static canActionInScope(accountId, userId, action, scope) {
93
93
  return __awaiter(this, void 0, void 0, function* () {
94
94
  const subjects = [{ action, scope }];
95
- const subjectsResponse = this.canActionInScopeMultiple(accountId, userId, subjects);
96
- console.log(subjectsResponse);
95
+ const subjectsResponse = yield this.canActionInScopeMultiple(accountId, userId, subjects);
97
96
  return subjectsResponse[0].permit.isAllowed;
98
97
  });
99
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/monday-authorization",
3
- "version": "1.0.53-featureyardenauthorization-sdk-can-action-in-scope-support.33+745f13086",
3
+ "version": "1.0.53-featureyardenauthorization-sdk-can-action-in-scope-support.34+3c772f361",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "BSD-3-Clause",
@@ -32,5 +32,5 @@
32
32
  "files": [
33
33
  "dist/"
34
34
  ],
35
- "gitHead": "745f130861b3f765819255e1a91fbaa3824fde05"
35
+ "gitHead": "3c772f361ac623b6da03988d05af464886b0ff48"
36
36
  }