Skip to content

Commit

Permalink
chore(all): prepare release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 18, 2019
1 parent 5f4f093 commit 5f21d6c
Show file tree
Hide file tree
Showing 8 changed files with 9,210 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-event-aggregator",
"version": "1.0.1",
"version": "1.0.2",
"description": "A lightweight pub/sub messaging system for app-wide or per-object loosely coupled events.",
"keywords": [
"aurelia",
Expand Down
4 changes: 2 additions & 2 deletions dist/aurelia-event-aggregator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export declare class EventAggregator {
/**
* Subscribes to a message channel or message type.
* @param event The event channel or event data type.
* @param callback The callback to be invoked when when the specified message is published.
* @param callback The callback to be invoked when the specified message is published.
*/
subscribe(event: string | Function, callback: Function): Subscription;

/**
* Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received.
* @param event The event channel or event data type.
* @param callback The callback to be invoked when when the specified message is published.
* @param callback The callback to be invoked when the specified message is published.
*/
subscribeOnce(event: string | Function, callback: Function): Subscription;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/aurelia-event-aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class EventAggregator {
/**
* Subscribes to a message channel or message type.
* @param event The event channel or event data type.
* @param callback The callback to be invoked when when the specified message is published.
* @param callback The callback to be invoked when the specified message is published.
*/
subscribe(event: string | Function, callback: Function): Subscription {
let handler;
Expand Down Expand Up @@ -122,7 +122,7 @@ export class EventAggregator {
/**
* Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received.
* @param event The event channel or event data type.
* @param callback The callback to be invoked when when the specified message is published.
* @param callback The callback to be invoked when the specified message is published.
*/
subscribeOnce(event: string | Function, callback: Function): Subscription {
let sub = this.subscribe(event, (a, b) => {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ System.register(['./aurelia-event-aggregator'], function (_export, _context) {
var _exportObj = {};

for (var _key in _aureliaEventAggregator) {
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaEventAggregator[_key];
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaEventAggregator[_key];
}

_export(_exportObj);
Expand Down
5 changes: 5 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="1.0.2"></a>
## [1.0.2](https://github.com/aurelia/event-aggregator/compare/1.0.1...1.0.2) (2019-01-18)

* Add module field to package.json

<a name="1.0.1"></a>
## [1.0.1](https://github.com/aurelia/event-aggregator/compare/1.0.0...v1.0.1) (2016-12-03)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"aurelia-event-aggregator","children":[{"id":5,"name":"EventAggregator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables loosely coupled publish/subscribe messaging."},"children":[{"id":6,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"signatures":[{"id":7,"name":"new EventAggregator","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"type":{"type":"reference","name":"EventAggregator","id":5}}]},{"id":8,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Publishes a message."},"parameters":[{"id":10,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event or channel to publish to."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"any"}]}},{"id":11,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The data to publish on the channel.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":12,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type."},"parameters":[{"id":14,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":15,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}]},{"id":16,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received."},"parameters":[{"id":18,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":19,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}]}],"groups":[{"title":"Constructors","kind":512,"children":[6]},{"title":"Methods","kind":2048,"children":[8,12,16]}]},{"id":2,"name":"Subscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a disposable subsciption to an EventAggregator event."},"children":[{"id":3,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disposes the subscription."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[3]}]},{"id":23,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":24,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a global EA by merging functionality into the Aurelia instance."},"parameters":[{"id":25,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Aurelia Framework configuration object used to configure the plugin.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":20,"name":"includeEventsIn","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":21,"name":"includeEventsIn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Includes EA functionality into an object instance."},"parameters":[{"id":22,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to mix Event Aggregator functionality into.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"EventAggregator","id":5}}]}],"groups":[{"title":"Classes","kind":128,"children":[5]},{"title":"Interfaces","kind":256,"children":[2]},{"title":"Functions","kind":64,"children":[23,20]}]}
{"name":"aurelia-event-aggregator","children":[{"id":5,"name":"EventAggregator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables loosely coupled publish/subscribe messaging."},"children":[{"id":6,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"signatures":[{"id":7,"name":"new EventAggregator","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the EventAggregator class."},"type":{"type":"reference","name":"EventAggregator","id":5}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":20,"character":38}]},{"id":8,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Publishes a message."},"parameters":[{"id":10,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event or channel to publish to."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"any"}]}},{"id":11,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The data to publish on the channel.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":32,"character":9}]},{"id":12,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type."},"parameters":[{"id":14,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":15,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":39,"character":11}]},{"id":16,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to a message channel or message type, then disposes the subscription automatically after the first message is received."},"parameters":[{"id":18,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event channel or event data type."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Function"}]}},{"id":19,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when the specified message is published.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"Subscription","id":2}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":46,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[6]},{"title":"Methods","kind":2048,"children":[8,12,16]}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":20,"character":36}]},{"id":2,"name":"Subscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a disposable subsciption to an EventAggregator event."},"children":[{"id":3,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Disposes the subscription."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":11,"character":9}]}],"groups":[{"title":"Methods","kind":2048,"children":[3]}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":6,"character":37}]},{"id":23,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":24,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a global EA by merging functionality into the Aurelia instance."},"parameters":[{"id":25,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Aurelia Framework configuration object used to configure the plugin.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":59,"character":33}]},{"id":20,"name":"includeEventsIn","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":21,"name":"includeEventsIn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Includes EA functionality into an object instance."},"parameters":[{"id":22,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to mix Event Aggregator functionality into.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"EventAggregator","id":5}}],"sources":[{"fileName":"aurelia-event-aggregator.d.ts","line":53,"character":39}]}],"groups":[{"title":"Classes","kind":128,"children":[5]},{"title":"Interfaces","kind":256,"children":[2]},{"title":"Functions","kind":64,"children":[23,20]}]}
Loading

0 comments on commit 5f21d6c

Please sign in to comment.