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

@equinor/fusion-framework-module-msal

Package Overview
Dependencies
Maintainers
3
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.0 to 0.1.1

8

CHANGELOG.md

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

## 0.1.1 (2022-02-09)
**Note:** Version bump only for package @equinor/fusion-framework-module-msal
# 0.1.0 (2022-02-07)

@@ -8,0 +16,0 @@

4

dist/esm/module.js

@@ -17,3 +17,5 @@ import { AuthConfigurator } from './configurator';

if (scopes.length) {
const token = await modules.auth.acquireToken({ scopes });
const token = await modules.auth.acquireToken({
scopes,
});
if (token) {

@@ -20,0 +22,0 @@ const headers = new Headers(request.headers);

{
"name": "@equinor/fusion-framework-module-msal",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -25,4 +25,4 @@ "main": "./dist/esm/index.js",

"@azure/msal-browser": "^2.21.0",
"@equinor/fusion-framework-module": "^0.1.0",
"@equinor/fusion-framework-module-http": "^0.1.0"
"@equinor/fusion-framework-module": "^0.1.1",
"@equinor/fusion-framework-module-http": "^0.1.1"
},

@@ -37,3 +37,3 @@ "types": "index.d.ts",

},
"gitHead": "bbd0502b7d5277534489dab284c3586c67b746a2"
"gitHead": "ca79b01fcc32c2c4e4aeea2f7c251fe9d91a2d04"
}

@@ -5,3 +5,5 @@ import { Configuration, IPublicClientApplication } from '@azure/msal-browser';

export type AuthClientConfig = Configuration & { auth: Partial<Configuration['auth']> };
export type AuthClientConfig = Configuration & {
auth: Partial<Configuration['auth']>;
};

@@ -8,0 +10,0 @@ /**

@@ -30,3 +30,5 @@ import { AuthConfigurator, IAuthConfigurator } from './configurator';

/** TODO should be try catch, check caller for handling */
const token = await modules.auth.acquireToken({ scopes });
const token = await modules.auth.acquireToken({
scopes,
});
if (token) {

@@ -33,0 +35,0 @@ const headers = new Headers(request.headers);

Sorry, the diff of this file is not supported yet

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