New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-microsoft-login

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-microsoft-login - npm Package Compare versions

Comparing version

to
1.12.0

4

dist/MicrosoftLogin.d.ts
import React from "react";
import { AuthResponse, AuthError } from "msal";
import { AuthResponse, AuthError, UserAgentApplication } from "msal";
import { User } from "@microsoft/microsoft-graph-types";

@@ -14,3 +14,3 @@ import { MicrosoftLoginButtonTheme } from "./MicrosoftLoginButton";

*/
authCallback: (error: AuthError | null, result?: AuthResponse | (AuthResponse & User)) => void;
authCallback: (error: AuthError | null, result?: AuthResponse | (AuthResponse & User), instance?: UserAgentApplication) => void;
/**

@@ -17,0 +17,0 @@ * Array of Graph API permission names.

@@ -113,3 +113,3 @@ "use strict";

log("Login SUCCEDED");
authCallback(null, authResponseWithAccessToken);
authCallback(null, authResponseWithAccessToken, msalInstance);
}

@@ -206,3 +206,3 @@ };

log("Login SUCCEDED");
authCallback(null, __assign(__assign({}, userData), authResponseWithAccessToken));
authCallback(null, __assign(__assign({}, userData), authResponseWithAccessToken), msalInstance);
return [2 /*return*/];

@@ -209,0 +209,0 @@ }

@@ -6,3 +6,3 @@ {

"types": "dist/index.d.ts",
"version": "1.11.3",
"version": "1.12.0",
"author": "alexandrtovmach@gmail.com",

@@ -13,3 +13,3 @@ "bugs": "https://github.com/alexandrtovmach/react-microsoft-login/issues",

"watch": "tsc --watch",
"develop": "webpack-dev-server --mode development",
"develop": "webpack serve --mode development",
"build": "rm -rf ./dist && tsc && webpack",

@@ -16,0 +16,0 @@ "prettify": "prettier --write './src/**/*.{js,jsx,ts,tsx,json,css,md}'"

Sorry, the diff of this file is not supported yet