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

@equinor/fusion

Package Overview
Dependencies
Maintainers
2
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion - npm Package Compare versions

Comparing version 0.1.40 to 0.1.41

5

lib/app/AppContainer.js
import EventEmitter from "../utils/EventEmitter";
import { useFusionContext } from "../core/FusionContext";
import { useEffect, useState } from 'react';
export default class AppContainer extends EventEmitter {

@@ -83,4 +84,8 @@ constructor(apiClients) {

const { app } = useFusionContext();
const [_, forceUpdate] = useState();
useEffect(() => {
return app.container.on("change", () => forceUpdate(null));
}, []);
return app.container.currentApp;
};
export { registerApp, appContainerFactory, useCurrentApp };

2

package.json
{
"name": "@equinor/fusion",
"version": "0.1.40",
"version": "0.1.41",
"description": "Everything a Fusion app needs to communicate with the core",

@@ -5,0 +5,0 @@ "main": "lib/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