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

@microsoft/mgt-element

Package Overview
Dependencies
Maintainers
1
Versions
832
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-element - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0-next.build21.b0a0338

19

dist/es6/providers/IProvider.d.ts

@@ -27,5 +27,14 @@ /**

graph: IGraph;
/**
* Enable/Disable multi account functionality
*
* @protected
* @type {boolean}
* @memberof IProvider
*/
protected isMultipleAccountSupported: boolean;
private _state;
private _loginChangedDispatcher;
private _activeAccountChangedDispatcher;
get isMultiAccountSupported(): boolean;
/**

@@ -90,2 +99,9 @@ * returns state of Provider

/**
* Returns active account in case of multi-account sign in
*
* @return {*} {any[]}
* @memberof IProvider
*/
getActiveAccount?(): IProviderAccount;
/**
* Switch between two signed in accounts

@@ -193,5 +209,6 @@ *

export declare type IProviderAccount = {
username?: string;
id: string;
mail?: string;
name?: string;
};
//# sourceMappingURL=IProvider.d.ts.map

@@ -18,2 +18,10 @@ /**

constructor() {
/**
* Enable/Disable multi account functionality
*
* @protected
* @type {boolean}
* @memberof IProvider
*/
this.isMultipleAccountSupported = false;
this._loginChangedDispatcher = new EventDispatcher();

@@ -23,2 +31,5 @@ this._activeAccountChangedDispatcher = new EventDispatcher();

}
get isMultiAccountSupported() {
return this.isMultipleAccountSupported;
}
/**

@@ -25,0 +36,0 @@ * returns state of Provider

2

dist/es6/utils/Cache.js

@@ -94,3 +94,3 @@ /**

},
isEnabled: true,
isEnabled: false,
people: {

@@ -97,0 +97,0 @@ invalidationPeriod: null,

@@ -7,3 +7,3 @@ /**

*/
export declare const PACKAGE_VERSION = "2.2.0";
export declare const PACKAGE_VERSION = "2.3.0";
//# sourceMappingURL=version.d.ts.map

@@ -9,3 +9,3 @@ /**

// ANY CHANGES WILL BE LOST DURING BUILD
export const PACKAGE_VERSION = '2.2.0';
export const PACKAGE_VERSION = '2.3.0';
//# sourceMappingURL=version.js.map
{
"name": "@microsoft/mgt-element",
"version": "2.2.0",
"version": "2.3.0-next.build21.b0a0338",
"description": "Microsoft Graph Toolkit base classes",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit",

@@ -29,5 +29,16 @@ /**

public graph: IGraph;
/**
* Enable/Disable multi account functionality
*
* @protected
* @type {boolean}
* @memberof IProvider
*/
protected isMultipleAccountSupported: boolean = false;
private _state: ProviderState;
private _loginChangedDispatcher = new EventDispatcher<LoginChangedEvent>();
private _activeAccountChangedDispatcher = new EventDispatcher<ActiveAccountChanged>();
public get isMultiAccountSupported(): boolean {
return this.isMultipleAccountSupported;
}
/**

@@ -115,2 +126,10 @@ * returns state of Provider

/**
* Returns active account in case of multi-account sign in
*
* @return {*} {any[]}
* @memberof IProvider
*/
public getActiveAccount?(): IProviderAccount;
/**
* Switch between two signed in accounts

@@ -236,4 +255,5 @@ *

export type IProviderAccount = {
username?: string;
id: string;
mail?: string;
name?: string;
};

@@ -164,3 +164,3 @@ /**

},
isEnabled: true,
isEnabled: false,
people: {

@@ -167,0 +167,0 @@ invalidationPeriod: null,

@@ -11,2 +11,2 @@ /**

export const PACKAGE_VERSION = '2.2.0';
export const PACKAGE_VERSION = '2.3.0';

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

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