Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@frontegg/client

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/client - npm Package Compare versions

Comparing version 1.2.11 to 1.2.12

2

dist/src/config/index.js

@@ -14,3 +14,3 @@ "use strict";

}
urls.authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || exports.baseUrl + "/vendors/auth/token";
urls.authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || exports.baseUrl + "/auth/vendor";
urls.auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || exports.baseUrl + "/audits/";

@@ -17,0 +17,0 @@ urls.notificationService = process.env.FRONTEGG_NOTIFICATION_SERVICE_URL || exports.baseUrl + "/notification/";

@@ -12,4 +12,4 @@ export interface ISamlResponse {

*/
prelogin(payload: string, scopes?: string[]): Promise<string>;
prelogin(payload: string, scopes?: string[], additionalUrlParams?: any): Promise<string>;
postlogin(samlResponse: ISamlResponse): Promise<any>;
}

@@ -65,3 +65,3 @@ "use strict";

*/
SsoClient.prototype.prelogin = function (payload, scopes) {
SsoClient.prototype.prelogin = function (payload, scopes, additionalUrlParams) {
return __awaiter(this, void 0, void 0, function () {

@@ -71,3 +71,3 @@ var preloginRes;

switch (_a.label) {
case 0: return [4 /*yield*/, axios_1.default.post(config_1.config.urls.teamService + "/resources/sso/v1/prelogin", { payload: payload, scopes: scopes }, {
case 0: return [4 /*yield*/, axios_1.default.post(config_1.config.urls.teamService + "/resources/sso/v1/prelogin", { payload: payload, scopes: scopes, additionalUrlParams: additionalUrlParams }, {
headers: {

@@ -74,0 +74,0 @@ 'x-access-token': this.authenticator.accessToken,

{
"name": "@frontegg/client",
"version": "1.2.11",
"version": "1.2.12",
"description": "Frontegg Javascript Library for backend",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc