Socket
Socket
Sign inDemoInstall

angular-google-signin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-google-signin - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "angular-google-signin",
"version": "0.1.2",
"version": "0.1.3",
"description": "Google Sign-In component for Angular written in TypeScript",

@@ -5,0 +5,0 @@ "main": "angular-google-signin.js",

@@ -1,2 +0,2 @@

# angular-google-signin
# angular-google-signin [![npm version](https://badge.fury.io/js/angular-google-signin.svg)](https://badge.fury.io/js/angular-google-signin)

@@ -42,5 +42,2 @@ Google Sign-In component for Angular written in TypeScript.

import GoogleUser = gapi.auth2.GoogleUser;
import BasicProfile = gapi.auth2.BasicProfile;
@Component({

@@ -57,5 +54,5 @@ selector: 'my-app',

onGoogleSignInSuccess(event: GoogleSignInSuccess) {
let googleUser: GoogleUser = event.googleUser;
let googleUser: gapi.auth2.GoogleUser = event.googleUser;
let id: string = googleUser.getId();
let profile: BasicProfile = googleUser.getBasicProfile();
let profile: gapi.auth2.BasicProfile = googleUser.getBasicProfile();
console.log('ID: ' +

@@ -62,0 +59,0 @@ profile

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