Skip to content

Commit 6748954

Browse files
author
Jonathan Casarrubias
committed
Release 2.1.0-beta.9
- Fix: #140
1 parent d34cbc6 commit 6748954

File tree

3 files changed

+30
-23
lines changed

3 files changed

+30
-23
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
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`.
44

5-
## Release 2.1.0-beta.8
5+
## Release 2.1.0-beta.9
66

77
- Fix: https://github.com/mean-expert-official/loopback-sdk-builder/issues/140
88

9+
## Release 2.1.0-beta.8
10+
11+
- Replaced by beta 9
12+
913
## Release 2.1.0-beta.7
1014

1115
- Fix: https://github.com/mean-expert-official/loopback-sdk-builder/issues/141

lib/angular2/shared/index.ejs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,18 @@ export class SDKModule {
4646
return {
4747
ngModule: SDKModule,
4848
providers: [
49-
RealTime,
50-
LoopBackAuth,
51-
ErrorHandler,
52-
LoggerService,
53-
JSONSearchParams,<%
49+
<% if ( isIo === 'enabled' ){ -%> RealTime,
50+
51+
<% }
52+
-%> LoopBackAuth,
53+
54+
ErrorHandler,
55+
LoggerService,
56+
JSONSearchParams,<%
5457
Object.keys(models).forEach(function(modelName, i, arr) {
5558
modelName = modelName[0].toUpperCase() + modelName.slice(1);
5659
%>
57-
<%- modelName %>Api<%= i < arr.length -1 ? ',' : '' %><%
60+
<%- modelName %>Api<%= i < arr.length -1 ? ',' : '' %><%
5861
});%>
5962
]
6063
};

tests/angular2/src/app/shared/sdk/index.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,22 @@ export class SDKModule {
6464
return {
6565
ngModule: SDKModule,
6666
providers: [
67-
RealTime,
68-
LoopBackAuth,
69-
ErrorHandler,
70-
LoggerService,
71-
JSONSearchParams,
72-
UserApi,
73-
RoomApi,
74-
MessageApi,
75-
ApplicationCredentialApi,
76-
UserCredentialApi,
77-
UserIdentityApi,
78-
CategoryApi,
79-
AccountApi,
80-
RoomAccountApi,
81-
StorageApi,
82-
CoreApi
67+
RealTime,
68+
LoopBackAuth,
69+
ErrorHandler,
70+
LoggerService,
71+
JSONSearchParams,
72+
UserApi,
73+
RoomApi,
74+
MessageApi,
75+
ApplicationCredentialApi,
76+
UserCredentialApi,
77+
UserIdentityApi,
78+
CategoryApi,
79+
AccountApi,
80+
RoomAccountApi,
81+
StorageApi,
82+
CoreApi
8383
]
8484
};
8585
}

0 commit comments

Comments
 (0)