@microsoft/mgt-msal2-provider
Advanced tools
Comparing version 3.1.2-next.enable-tree-shaking.f29541b to 3.1.2-next.mgt-chat.05610a0
@@ -171,4 +171,5 @@ /** | ||
customElement('msal2-provider') | ||
// @customElement('mgt-msal2-provider') | ||
], MgtMsal2Provider); | ||
export { MgtMsal2Provider }; | ||
//# sourceMappingURL=mgt-msal2-provider.js.map |
@@ -16,3 +16,3 @@ /** | ||
}; | ||
import { IProvider, LoginType, ProviderState, createFromProvider } from '@microsoft/mgt-element'; | ||
import { IProvider, LoginType, ProviderState, createFromProvider, error } from '@microsoft/mgt-element'; | ||
import { PublicClientApplication, InteractionRequiredAuthError } from '@azure/msal-browser'; | ||
@@ -182,3 +182,3 @@ /** | ||
catch (e) { | ||
console.error('🦒: Problem attempting to sign in', e); | ||
error('Problem attempting to sign in', e); | ||
throw e; | ||
@@ -501,3 +501,3 @@ } | ||
catch (popUpErr) { | ||
console.error('🦒: problem with pop-up sign in', popUpErr); | ||
error('problem with pop-up sign in', popUpErr); | ||
throw popUpErr; | ||
@@ -504,0 +504,0 @@ } |
{ | ||
"name": "@microsoft/mgt-msal2-provider", | ||
"version": "3.1.2-next.enable-tree-shaking.f29541b", | ||
"version": "3.1.2-next.mgt-chat.05610a0", | ||
"description": "The Microsoft Graph Toolkit Msal 2.0 Provider", | ||
@@ -41,6 +41,5 @@ "keywords": [ | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@azure/msal-browser": "^2.22.0", | ||
"@microsoft/mgt-element": "3.1.2-next.enable-tree-shaking.f29541b", | ||
"@microsoft/mgt-element": "3.1.2-next.mgt-chat.05610a0", | ||
"@microsoft/microsoft-graph-client": "3.0.2" | ||
@@ -47,0 +46,0 @@ }, |
@@ -19,2 +19,3 @@ /** | ||
@customElement('msal2-provider') | ||
// @customElement('mgt-msal2-provider') | ||
export class MgtMsal2Provider extends MgtBaseProvider { | ||
@@ -21,0 +22,0 @@ /** |
@@ -14,3 +14,4 @@ /** | ||
IProviderAccount, | ||
GraphEndpoint | ||
GraphEndpoint, | ||
error | ||
} from '@microsoft/mgt-element'; | ||
@@ -418,3 +419,3 @@ import { | ||
} catch (e) { | ||
console.error('🦒: Problem attempting to sign in', e); | ||
error('Problem attempting to sign in', e); | ||
throw e; | ||
@@ -739,3 +740,3 @@ } | ||
} catch (popUpErr) { | ||
console.error('🦒: problem with pop-up sign in', popUpErr); | ||
error('problem with pop-up sign in', popUpErr); | ||
throw popUpErr; | ||
@@ -742,0 +743,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2076
209816
+ Added@microsoft/mgt-element@3.1.2-next.mgt-chat.05610a0(transitive)
- Removed@microsoft/mgt-element@3.1.2-next.enable-tree-shaking.f29541b(transitive)