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
608
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.57 to 3.1.58

9

auth/index.js

@@ -727,2 +727,9 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

}
const noThrowLoadEntitlements = async () => {
try {
return await loadEntitlementsV2();
} catch (e) {}
};
export async function getMeAndEntitlements() {

@@ -734,3 +741,3 @@ const [useEntitlementsV2] = FeatureFlags.getFeatureFlags([USE_ENTITLEMENTS_V2_ENDPOINT_FF], ContextHolder.getAppName() || '');

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

@@ -737,0 +744,0 @@ }, {

2

index.js

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

/** @license Frontegg v3.1.57
/** @license Frontegg v3.1.58
*

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

@@ -1245,2 +1245,8 @@ "use strict";

const noThrowLoadEntitlements = async () => {
try {
return await (0, _entitlements.loadEntitlementsV2)();
} catch (e) {}
};
async function getMeAndEntitlements() {

@@ -1253,3 +1259,3 @@ const [useEntitlementsV2] = _featureFlags.FeatureFlags.getFeatureFlags([_constants2.USE_ENTITLEMENTS_V2_ENDPOINT_FF], _ContextHolder.ContextHolder.getAppName() || '');

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

@@ -1256,0 +1262,0 @@ }, {

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

/** @license Frontegg v3.1.57
/** @license Frontegg v3.1.58
*

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

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

@@ -8,3 +8,3 @@ "license": "MIT",

"@babel/runtime": "^7.17.2",
"@frontegg/entitlements-javascript-commons": "1.0.1"
"@frontegg/entitlements-javascript-commons": "1.1.1"
},

@@ -11,0 +11,0 @@ "sideEffects": false,

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