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

@frontegg/rest-api

Package Overview
Dependencies
Maintainers
2
Versions
611
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/rest-api - npm Package Compare versions

Comparing version 3.1.38 to 3.1.39

6

auth/index.js

@@ -15,7 +15,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

import { LOAD_AUTHORIZATION_FF } from './interfaces';
import { loadEntitlements, loadEntitlementsV2 } from '../entitlements';
import { loadEntitlements } from '../entitlements';
import { ADMIN_PORTAL_ENTITLEMENTS_FF } from '../entitlements/interfaces';
import { FeatureFlags } from "../feature-flags";
import { executeConditionalPromise, getCurrentUserTenantsFunction, getTabTenantFromSessionStorage, setTabTenantInSessionStorage } from "./utils";
import { USE_ENTITLEMENTS_V2_ENDPOINT_FF } from "./constants";
export async function generateLoginResponse(loginResponse) {

@@ -729,3 +728,2 @@ if (!loginResponse.accessToken) {

export async function getMeAndEntitlements() {
const [useEntitlementsV2] = FeatureFlags.getFeatureFlags([USE_ENTITLEMENTS_V2_ENDPOINT_FF], ContextHolder.getAppName() || '');
const actions = [{

@@ -735,3 +733,3 @@ action: getMeV2,

}, {
action: useEntitlementsV2 ? loadEntitlementsV2 : loadEntitlements,
action: loadEntitlements,
shouldLoad: shouldLoadEntitlements()

@@ -738,0 +736,0 @@ }, {

@@ -1,2 +0,2 @@

/** @license Frontegg v3.1.38
/** @license Frontegg v3.1.39
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -380,4 +380,2 @@ "use strict";

var _constants2 = require("./constants");
const _excluded = ["type"],

@@ -1245,4 +1243,2 @@ _excluded2 = ["type"],

async function getMeAndEntitlements() {
const [useEntitlementsV2] = _featureFlags.FeatureFlags.getFeatureFlags([_constants2.USE_ENTITLEMENTS_V2_ENDPOINT_FF], _ContextHolder.ContextHolder.getAppName() || '');
const actions = [{

@@ -1252,3 +1248,3 @@ action: getMeV2,

}, {
action: useEntitlementsV2 ? _entitlements.loadEntitlementsV2 : _entitlements.loadEntitlements,
action: _entitlements.loadEntitlements,
shouldLoad: shouldLoadEntitlements()

@@ -1255,0 +1251,0 @@ }, {

@@ -1,2 +0,2 @@

/** @license Frontegg v3.1.38
/** @license Frontegg v3.1.39
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

{
"name": "@frontegg/rest-api",
"version": "3.1.38",
"version": "3.1.39",
"main": "./node/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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