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

@equinor/fusion-framework-module-app

Package Overview
Dependencies
Maintainers
3
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-app - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [1.4.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@1.4.0...@equinor/fusion-framework-module-app@1.4.1) (2022-11-18)
### Bug Fixes
- **module-app:** fallback to portal ([6778624](https://github.com/equinor/fusion-framework/commit/67786241c809e27d60a2411dd6bffba315d5f3a3))
## 1.4.0 (2022-11-17)

@@ -8,0 +14,0 @@

7

dist/esm/configurator.js

@@ -23,3 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const serviceDiscovery = yield init.requireInstance('serviceDiscovery');
return yield serviceDiscovery.createClient('app');
try {
return yield serviceDiscovery.createClient('app');
}
catch (_a) {
return yield serviceDiscovery.createClient('portal');
}
}

@@ -26,0 +31,0 @@ });

4

package.json
{
"name": "@equinor/fusion-framework-module-app",
"version": "1.4.0",
"version": "1.4.1",
"description": "",

@@ -39,3 +39,3 @@ "main": "dist/esm/index.js",

},
"gitHead": "9ee572428e461bc7fb2a7c01692f4de1770d18c9"
"gitHead": "00a66f5c1e6f5a7892804f1ba0f939cec8320001"
}

@@ -39,4 +39,10 @@ import { AnyModule, ModuleInitializerArgs } from '@equinor/fusion-framework-module';

const serviceDiscovery = await init.requireInstance('serviceDiscovery');
// TODO - remove when refactor portal service!
/** resolve and create a client from discovery */
return await serviceDiscovery.createClient('app');
try {
return await serviceDiscovery.createClient('app');
} catch {
return await serviceDiscovery.createClient('portal');
}
}

@@ -43,0 +49,0 @@ }

Sorry, the diff of this file is not supported yet

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