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.0.23-3 to 1.0.23-4

10

dist/src/config/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var baseUrl = process.env.FRONTEGG_API_GATEWAY_URL || "https://api.frontegg.com/";
if (baseUrl.endsWith('/')) {
baseUrl = baseUrl.slice(0, -1);
}
// tslint:disable-next-line:no-namespace

@@ -10,5 +14,5 @@ var config;

}
urls.authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || 'https://api.frontegg.com/vendors/auth/token';
urls.auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || 'https://api.frontegg.com/audits/';
urls.metadataService = process.env.FRONTEGG_METADATA_SERVICE_URL || 'https://api.frontegg.com/metadata/';
urls.authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || baseUrl + "/vendors/auth/token";
urls.auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || baseUrl + "/audits/";
urls.metadataService = process.env.FRONTEGG_METADATA_SERVICE_URL || baseUrl + "/metadata/";
return urls;

@@ -15,0 +19,0 @@ }());

{
"name": "@frontegg/client",
"version": "1.0.23-3",
"version": "1.0.23-4",
"description": "Frontegg Javascript Library for backend",

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

@@ -0,1 +1,6 @@

let baseUrl = process.env.FRONTEGG_API_GATEWAY_URL || "https://api.frontegg.com/";
if (baseUrl.endsWith('/')) {
baseUrl = baseUrl.slice(0, -1);
}
// tslint:disable-next-line:no-namespace

@@ -5,6 +10,6 @@ export namespace config {

export class urls {
public static authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || 'https://api.frontegg.com/vendors/auth/token';
public static auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || 'https://api.frontegg.com/audits/';
public static metadataService = process.env.FRONTEGG_METADATA_SERVICE_URL || 'https://api.frontegg.com/metadata/';
public static authenticationService = process.env.FRONTEGG_AUTHENTICATION_SERVICE_URL || `${baseUrl}/vendors/auth/token`;
public static auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || `${baseUrl}/audits/`;
public static metadataService = process.env.FRONTEGG_METADATA_SERVICE_URL || `${baseUrl}/metadata/`;
}
}
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