@mondaydotcomorg/monday-authorization 1.0.49 → 1.0.51
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.
|
|
3
|
+
"version": "1.0.51",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@mondaydotcomorg/monday-fetch": "^0.0.7",
|
|
13
|
-
"@mondaydotcomorg/monday-jwt": "^3.0.
|
|
13
|
+
"@mondaydotcomorg/monday-jwt": "^3.0.4",
|
|
14
14
|
"@mondaydotcomorg/monday-logger": "^3.0.10",
|
|
15
15
|
"@types/express": "^4.17.12",
|
|
16
16
|
"node-fetch": "^2.6.7",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"dist/"
|
|
34
34
|
],
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "96fb71ac9bb7d12fd191058134b3777f010d0e3b"
|
|
36
36
|
}
|