From 10035dddfe391a772921c3b78bad696b53b9b20a Mon Sep 17 00:00:00 2001 From: Jonathan Casarrubias Date: Tue, 6 Sep 2016 09:46:36 -0500 Subject: [PATCH] Release 2.0.8 - Hot Fix: https://github.com/mean-expert-official/loopback-sdk-builder/issues/111 --- CHANGELOG.md | 4 ++++ lib/angular2/index.js | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 496fc9b9..e95d87c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This file is created to keep history of the LoopBack SDK Builder, it does not consider or keeps any history of its parent module `loopback-sdk-angular`. +## Release 2.0.8 + +- Hot Fix: https://github.com/mean-expert-official/loopback-sdk-builder/issues/111 + ## Release 2.0.7 - Added contributors to ACII Splash diff --git a/lib/angular2/index.js b/lib/angular2/index.js index d984ead0..96293f19 100644 --- a/lib/angular2/index.js +++ b/lib/angular2/index.js @@ -372,7 +372,7 @@ module.exports = function generate(ctx) { { module: 'rxjs/add/operator/map' }, ]; - if (isIo) { + if (isIo === 'enabled') { imports.push({ module: 'Subject', from: 'rxjs/Subject'}); imports.push({ module: 'SocketConnections', from: '../../sockets/socket.connections'}); } diff --git a/package.json b/package.json index a647daff..01bd73ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mean-expert/loopback-sdk-builder", - "version": "2.0.7", + "version": "2.0.8", "description": "Tool for auto-generating Software Development Kits (SDKs) for LoopBack", "bin": { "lb-sdk": "bin/lb-sdk"