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.36 to 0.1.37

1

lib/app/AppContainer.js

@@ -16,2 +16,3 @@ import EventEmitter from "../utils/EventEmitter";

existingApp.manifest = Object.assign({}, existingApp.manifest, manifest);
this.emit("update", existingApp);
}

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

import React, { useState, useEffect, useCallback } from "react";
import { useFusionContext } from "../core/FusionContext";
import AppContext from "./AppContext";
const AppWrapper = ({ appKey }) => {

@@ -43,4 +44,9 @@ const { app: { container: appContainer }, http: { apiClients }, } = useFusionContext();

const AppComponent = currentApp.manifest.AppComponent;
return React.createElement(AppComponent, null);
return (React.createElement(AppContext.Provider, { value: {
appKey: appKey,
appPath: "apps/" + appKey,
manifest: currentApp.manifest,
} },
React.createElement(AppComponent, null)));
};
export default AppWrapper;

2

package.json
{
"name": "@equinor/fusion",
"version": "0.1.36",
"version": "0.1.37",
"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