New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.37 to 1.0.38

1

dist/src/middleware/index.d.ts

@@ -11,4 +11,5 @@ import { FronteggPermissions } from '../permissions';

contextResolver: fronteggContextResolver;
enableCors?: boolean;
}
export declare function frontegg(options: IFronteggOptions): (req: any, res: any) => Promise<void>;
export {};

4

dist/src/middleware/index.js

@@ -184,3 +184,5 @@ "use strict";

logger_1.default.debug("proxyReq - returned for " + req.originalUrl);
enableCors(req, proxyRes);
if (options.enableCors) {
enableCors(req, proxyRes);
}
if (!(proxyRes.statusCode === 401)) return [3 /*break*/, 3];

@@ -187,0 +189,0 @@ req.frontegg.retryCount = req.frontegg.retryCount + 1;

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

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

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