Skip to content

Commit

Permalink
Release 2.0.0-rc.7.2 :hurtrealbad:
Browse files Browse the repository at this point in the history
- Fix: #74
- Fix: #73
  • Loading branch information
Jonathan Casarrubias committed Aug 2, 2016
1 parent dbc3526 commit 833c13c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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.0-rc.7.2

- Fix: https://github.com/jonathan-casarrubias/loopback-sdk-builder/issues/74
- Fix: https://github.com/jonathan-casarrubias/loopback-sdk-builder/issues/73

## Release 2.0.0-rc.7

- Enhance: https://github.com/jonathan-casarrubias/loopback-sdk-builder/issues/72
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You don't have to manually write any static code.

````sh
$ cd to/api/project
$ npm install --save-dev [email protected]
$ npm install --save-dev [email protected].2
````

# LoopBack SDK CLI Options
Expand Down
2 changes: 1 addition & 1 deletion lib/angular2/shared/services/core/base.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export abstract class BaseLoopBackApi {
requestUrl = arr.join('/');
}
let event: string = (`[${method}]${requestUrl}`).replace(/\?/, '');
let subject: Subject = new Subject();
let subject: Subject<any> = new Subject<any>();
let socket: any = SocketConnections.getHandler(LoopBackConfig.getPath(), {
id: this.auth.getAccessTokenId(),
userId: this.auth.getCurrentUserId()
Expand Down
2 changes: 1 addition & 1 deletion lib/angular2/shared/services/custom/service.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if (model.isUser && methodName === 'login') { %>
*/
public getCurrent(): any {
let method: string = "GET";
let url: string = LoopBackConfig.getPath() + "/" + LoopBackConfig.getApiVersion() + "/Users" + "/:id";
let url: string = LoopBackConfig.getPath() + "/" + LoopBackConfig.getApiVersion() + <%-: model.getPath() | q %> + "/:id";
let id: any = this.auth.getCurrentUserId();
if (id == null)
id = '__anonymous__';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "loopback-sdk-builder",
"version": "2.0.0-rc.7",
"version": "2.0.0-rc.7.2",
"description": "Tool for auto-generating Software Development Kits (SDKs) for LoopBack",
"bin": {
"lb-ng": "bin/lb-ng",
Expand Down

0 comments on commit 833c13c

Please sign in to comment.