@mondaydotcomorg/monday-authorization 1.0.49 → 1.0.50

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.
@@ -109,7 +109,7 @@ class AuthorizationService {
109
109
  }
110
110
  static isAuthorizedMultiple(accountId, userId, authorizationRequestObjects) {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
- const internalAuthToken = monday_jwt_1.signAuthorizationHeader(INTERNAL_APP_NAME, accountId);
112
+ const internalAuthToken = monday_jwt_1.signAuthorizationHeader({ appName: INTERNAL_APP_NAME, accountId, userId });
113
113
  const startTime = perf_hooks_1.performance.now();
114
114
  const response = yield monday_fetch_1.fetch(getUrl(), {
115
115
  method: 'POST',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/monday-authorization",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
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": "236f962e63ab89bef95656c84a29cd82653b2087"
35
+ "gitHead": "daa5ecd75d76e7d71543cb35363a1b1d11f4240b"
36
36
  }