From 666fdce7850ce27583793e79824d8e013b49e3ba Mon Sep 17 00:00:00 2001 From: codeforges Date: Fri, 8 Dec 2017 11:16:18 +0100 Subject: [PATCH] due to rxjs update , had to fix imports --- package.json | 16 ++++++++-------- src/GoogleAuthService.ts | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 490b464..a0748f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng-gapi", - "version": "0.0.44", + "version": "0.0.45", "description": "Angular 4+ Google api module ng-gapi", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -36,13 +36,13 @@ "@types/gapi.auth2": "^0.0.44" }, "devDependencies": { - "@angular/compiler": "^4.2.6", - "@angular/compiler-cli": "^4.2.6", - "@angular/core": "^4.1.1", - "@angular/platform-server": "^4.2.6", + "@angular/compiler": "^4.4.6", + "@angular/compiler-cli": "^4.4.6", + "@angular/core": "^4.4.6", + "@angular/platform-server": "^4.4.6", "@types/node": "7.0.10", - "rxjs": "^5.3.1", - "typescript": "^2.4.1", - "zone.js": "^0.8.10" + "rxjs": "^5.5.5", + "typescript": "^2.6.2", + "zone.js": "^0.8.18" } } diff --git a/src/GoogleAuthService.ts b/src/GoogleAuthService.ts index d3bf266..049b361 100644 --- a/src/GoogleAuthService.ts +++ b/src/GoogleAuthService.ts @@ -1,7 +1,8 @@ import {Injectable} from "@angular/core"; import {Observable} from "rxjs/Observable"; - import {Observer} from "rxjs/Observer"; +import 'rxjs/add/observable/of'; +import 'rxjs/add/operator/mergeMap'; import {GoogleApiService} from "./GoogleApiService"; import GoogleAuth = gapi.auth2.GoogleAuth;