Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelFernando committed Jun 16, 2017
1 parent 41b0799 commit 1f6aad6
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 15 deletions.
8 changes: 7 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: pubnub-angular2
version: 1.0.2
version: 1.0.3
schema: 1
scm: github.com/pubnub/pubnub-angular2
files:
- dist/pubnub-angular2.js
- dist/pubnub-angular2.min.js
changelog:
- version: v1.0.3
changes:
- type: bug
text: fix issue 20 autoload history
- type: improvement
text: update for Angular4 and TS 2.3
- version: v1.0.2
changes:
- type: bug
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [v1.0.3](https://github.com/pubnub/pubnub-angular2/tree/v1.0.3)


[Full Changelog](https://github.com/pubnub/pubnub-angular2/compare/v1.0.2...v1.0.3)



- 🐛fix issue 20 autoload history
- 🌟update for Angular4 and TS 2.3


## [v1.0.2](https://github.com/pubnub/pubnub-angular2/tree/v1.0.2)

Expand Down
12 changes: 7 additions & 5 deletions dist/pubnub-angular2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! 1.0.2 */
/*! 1.0.3 */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand Down Expand Up @@ -314,10 +314,12 @@ return /******/ (function(modules) { // webpackBootstrap
this.autoload.getHistory(channel, callback);
}

this.broadcastOn.message(channel, function (message) {
_this.outputOn.push(channel, message);
if (callback) callback(message);
});
if (callback) {
this.broadcastOn.message(channel, function (message) {
_this.outputOn.push(channel, message);
callback(message);
});
}

return this.outputOn.get(channel);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/pubnub-angular2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/pubnub-angular2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Wrapper} from "./wrapper";
export declare class PubNubAngular {
constructor();
getInstance(instanceName: string): Wrapper;
init(initConfig: Object);
init(initConfig: Object): any;
subscribe(args: Object): void;
unsubscribe(args: Object): void;
unsubscribeAll(): void;
Expand Down
2 changes: 1 addition & 1 deletion lib/wrapper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export declare class Wrapper {
constructor();
getLabel(): string;
getOriginalInstance(): any;
init(initConfig: Object);
init(initConfig: Object): any;
subscribe(args: Object): void;
unsubscribe(args: Object): void;
unsubscribeAll(): void;
Expand Down
10 changes: 6 additions & 4 deletions lib/wrapper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wrapper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pubnub-angular2",
"version": "1.0.2",
"version": "1.0.3",
"description": "Official PubNub Angular2",
"main": "dist/pubnub-angular2.min.js",
"module": "lib/pubnub-angular2.js",
Expand Down

0 comments on commit 1f6aad6

Please sign in to comment.