@frontegg/client
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -15,6 +15,3 @@ "use strict"; | ||
await this.authenticator.validateAuthentication(); | ||
request.headers = { | ||
...request.headers, | ||
['x-access-token']: this.authenticator.accessToken, | ||
}; | ||
request.headers.set('x-access-token', this.authenticator.accessToken); | ||
if (request.baseURL) { | ||
@@ -26,3 +23,3 @@ if ((_a = request.headers) === null || _a === void 0 ? void 0 : _a['frontegg-vendor-host']) { | ||
return request; | ||
}, (err) => Promise.reject(err)); | ||
}); | ||
} | ||
@@ -29,0 +26,0 @@ async get(url, headers) { |
@@ -0,1 +1,8 @@ | ||
## [5.2.1](https://github.com/frontegg/nodejs-sdk/compare/5.2.0...5.2.1) (2023-11-27) | ||
### Bug Fixes | ||
* bump axios version (security) ([09bbdf0](https://github.com/frontegg/nodejs-sdk/commit/09bbdf0050b01f42fd38e245acade35288a92c41)) | ||
# [5.2.0](https://github.com/frontegg/nodejs-sdk/compare/5.1.2...5.2.0) (2023-11-02) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@frontegg/client", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "Frontegg Javascript Library for backend node servers", | ||
@@ -26,4 +26,3 @@ "main": "dist/index.js", | ||
"@frontegg/entitlements-javascript-commons": "^1.0.0", | ||
"@slack/web-api": "^6.7.2", | ||
"axios": "^0.27.2", | ||
"axios": "^1.6.2", | ||
"jsonwebtoken": "^9.0.0", | ||
@@ -30,0 +29,0 @@ "node-cache": "^5.1.2", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
219964
7
2943
1
- Removed@slack/web-api@^6.7.2
- Removed@slack/logger@3.0.0(transitive)
- Removed@slack/types@2.14.0(transitive)
- Removed@slack/web-api@6.13.0(transitive)
- Removed@types/is-stream@1.1.0(transitive)
- Removed@types/node@22.12.0(transitive)
- Removed@types/retry@0.12.0(transitive)
- Removedaxios@0.27.2(transitive)
- Removedeventemitter3@3.1.24.0.7(transitive)
- Removedis-electron@2.2.2(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedp-queue@6.6.2(transitive)
- Removedp-retry@4.6.2(transitive)
- Removedp-timeout@3.2.0(transitive)
- Removedretry@0.13.1(transitive)
- Removedundici-types@6.20.0(transitive)
Updatedaxios@^1.6.2