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.1 to 0.1.2

5

angular-google-signin.d.ts
/// <reference types="gapi.auth2" />
import { AfterViewInit, EventEmitter } from '@angular/core';
import GoogleUser = gapi.auth2.GoogleUser;
export declare class GoogleSignInSuccess {
googleUser: GoogleUser;
constructor(googleUser: GoogleUser);
googleUser: gapi.auth2.GoogleUser;
constructor(googleUser: gapi.auth2.GoogleUser);
}

@@ -8,0 +7,0 @@ export declare class GoogleSignInFailure {

import {Component, AfterViewInit, ChangeDetectionStrategy, Input, Output, EventEmitter} from '@angular/core';
import GoogleUser = gapi.auth2.GoogleUser;
export class GoogleSignInSuccess {
public googleUser: GoogleUser;
public googleUser: gapi.auth2.GoogleUser;
constructor(googleUser: GoogleUser) {
constructor(googleUser: gapi.auth2.GoogleUser) {
this.googleUser = googleUser;

@@ -106,3 +104,3 @@ }

private handleSuccess(googleUser: GoogleUser) {
private handleSuccess(googleUser: gapi.auth2.GoogleUser) {
this.googleSignInSuccess.next(new GoogleSignInSuccess(googleUser));

@@ -119,3 +117,3 @@ }

theme: this.theme,
onsuccess: (googleUser: GoogleUser) => this.handleSuccess(googleUser),
onsuccess: (googleUser: gapi.auth2.GoogleUser) => this.handleSuccess(googleUser),
onfailure: () => this.handleFailure()

@@ -122,0 +120,0 @@ });

6

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

@@ -28,3 +28,2 @@ "main": "angular-google-signin.js",

"devDependencies": {
"@types/gapi.auth2": "0.0.31",
"typescript": "^2.0.2",

@@ -38,3 +37,6 @@ "@angular/core": "^2.0.0",

"rxjs": "5.0.0-beta.12"
},
"dependencies": {
"@types/gapi.auth2": "^0.0.31"
}
}

@@ -87,3 +87,3 @@ # angular-google-signin

[tracker]: https://github.com/ntaoo/ng2_g_signin/issues
[tracker]: https://github.com/miltador/angular-google-signin/issues

@@ -90,0 +90,0 @@ ## Notes

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