@mondaydotcomorg/monday-authorization 1.1.9-featurebelkaauthz-sdk-update.2214 → 1.1.9-featurebelkaauthz-sdk-update.2215
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.
|
@@ -29,6 +29,4 @@ export declare class AuthorizationService {
|
|
|
29
29
|
}
|
|
30
30
|
export declare function getCurrentAppName(): string;
|
|
31
31
|
export declare function getAttributions(): any;
|
|
32
|
-
export declare function getAttributionsFromApi(): {
|
|
33
|
-
[k: string]: any;
|
|
34
|
-
};
|
|
32
|
+
export declare function getAttributionsFromApi(): {};
|
|
@@ -205,8 +205,12 @@ function getAttributionsFromApi() {
|
|
|
205
205
|
// @ts-expect-error not an error
|
|
206
206
|
const { runtimeAttributions } = tridentContext;
|
|
207
207
|
const attributionsHeaders = Object.fromEntries(runtimeAttributions === null || runtimeAttributions === void 0 ? void 0 : runtimeAttributions.buildOutgoingHeaders('HTTP_INTERNAL'));
|
|
208
|
+
const attributionHeadersInternal = {};
|
|
209
|
+
Object.keys(attributionsHeaders).forEach(function (key) {
|
|
210
|
+
attributionHeadersInternal[`${key}_belka_internal`] = attributionsHeaders[key];
|
|
211
|
+
});
|
|
208
212
|
// let attributions = getVariable('runtime_attributions/valid_attributes', { silent: true });
|
|
209
|
-
return
|
|
213
|
+
return attributionHeadersInternal;
|
|
210
214
|
}
|
|
211
215
|
exports.getAttributionsFromApi = getAttributionsFromApi;
|
|
212
216
|
function getVariable(key, options = { silent: false }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mondaydotcomorg/monday-authorization",
|
|
3
|
-
"version": "1.1.9-featurebelkaauthz-sdk-update.
|
|
3
|
+
"version": "1.1.9-featurebelkaauthz-sdk-update.2215+1bfb8b39a",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"files": [
|
|
34
34
|
"dist/"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "1bfb8b39a050015f349ffafcd707b9aeb44dad91"
|
|
37
37
|
}
|