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

@frontegg/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
1083
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/react-hooks - npm Package Compare versions

Comparing version 1.23.33 to 1.23.35

4

FronteggProvider.d.ts
import { FC } from 'react';
import { ContextOptions } from '@frontegg/rest-api';
declare type FronteggProviderProps = {
app: any;
app?: any;
contextOptions?: ContextOptions;
};
export declare const FronteggProvider: FC<FronteggProviderProps>;
export {};

@@ -11,5 +11,6 @@ import React, { useMemo } from 'react';

const FronteggProvider = ({ children, app }) => {
const context = ContextHolder.getContext();
const store = useMemo(() => createFronteggStore({ context }, app), []);
const FronteggProvider = ({ children, app, contextOptions }) => {
const context = contextOptions !== null && contextOptions !== void 0 ? contextOptions : app.options.contextOptions;
ContextHolder.setContext(context);
const store = useMemo(() => createFronteggStore({ context }, app), [app]);
return React.createElement(Provider, { store: store }, children);

@@ -16,0 +17,0 @@ };

{
"name": "@frontegg/react-hooks",
"libName": "FronteggReactHooks",
"version": "1.23.33",
"version": "1.23.35",
"author": "Frontegg LTD",

@@ -15,3 +15,3 @@ "main": "index.js",

"dependencies": {
"@frontegg/redux-store": "^1.23.33",
"@frontegg/redux-store": "^1.23.35",
"react-redux": "7.x"

@@ -18,0 +18,0 @@ },

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