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

@microsoft/mgt-element

Package Overview
Dependencies
Maintainers
2
Versions
831
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-next.multi-accounts.5ab75ad to 2.2.0-next.teamsprovider.16b1f8c

13

dist/es6/providers/IProvider.d.ts

@@ -34,7 +34,6 @@ /**

*/
protected isMultipleAccountSupported: boolean;
protected isMultipleAccountDisabled: boolean;
private _state;
private _loginChangedDispatcher;
private _activeAccountChangedDispatcher;
get isMultiAccountSupported(): boolean;
/**

@@ -99,9 +98,2 @@ * 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

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

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

5

dist/es6/providers/IProvider.js

@@ -25,3 +25,3 @@ /**

*/
this.isMultipleAccountSupported = false;
this.isMultipleAccountDisabled = true;
this._loginChangedDispatcher = new EventDispatcher();

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

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

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

{
"name": "@microsoft/mgt-element",
"version": "2.2.0-next.multi-accounts.5ab75ad",
"version": "2.2.0-next.teamsprovider.16b1f8c",
"description": "Microsoft Graph Toolkit base classes",

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

@@ -36,9 +36,6 @@ /**

*/
protected isMultipleAccountSupported: boolean = false;
protected isMultipleAccountDisabled: boolean = true;
private _state: ProviderState;
private _loginChangedDispatcher = new EventDispatcher<LoginChangedEvent>();
private _activeAccountChangedDispatcher = new EventDispatcher<ActiveAccountChanged>();
public get isMultiAccountSupported(): boolean {
return this.isMultipleAccountSupported;
}
/**

@@ -126,10 +123,2 @@ * 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

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

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

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