Skip to content

Commit

Permalink
Update to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
auralia committed Dec 23, 2017
1 parent f4e2f2b commit 4bc2674
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.3 ##

* Bug fixes

## 0.2.2 ##

* Add validate TRL function
Expand Down
64 changes: 32 additions & 32 deletions docs/classes/nstgapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ <h3>api</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:300</li>
<li>Defined in api.ts:302</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -531,7 +531,7 @@ <h3>block<wbr>Existing<wbr>Telegrams</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:414</li>
<li>Defined in api.ts:416</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -545,7 +545,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:425</li>
<li>Defined in api.ts:427</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -581,7 +581,7 @@ <h3>block<wbr>New<wbr>Telegrams</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:433</li>
<li>Defined in api.ts:435</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -595,7 +595,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:444</li>
<li>Defined in api.ts:446</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -630,7 +630,7 @@ <h3>client<wbr>Key</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:307</li>
<li>Defined in api.ts:309</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -653,7 +653,7 @@ <h3>on<wbr>Job<wbr>Complete</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:388</li>
<li>Defined in api.ts:390</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -688,7 +688,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:398</li>
<li>Defined in api.ts:400</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -739,7 +739,7 @@ <h3>on<wbr>Job<wbr>Start</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:315</li>
<li>Defined in api.ts:317</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -771,7 +771,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:325</li>
<li>Defined in api.ts:327</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -824,7 +824,7 @@ <h3>on<wbr>New<wbr>Recipients</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:332</li>
<li>Defined in api.ts:334</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -861,7 +861,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:341</li>
<li>Defined in api.ts:343</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -914,7 +914,7 @@ <h3>on<wbr>TgFailure</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:369</li>
<li>Defined in api.ts:371</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -949,7 +949,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:379</li>
<li>Defined in api.ts:381</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1000,7 +1000,7 @@ <h3>on<wbr>TgSuccess</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:350</li>
<li>Defined in api.ts:352</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1035,7 +1035,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:360</li>
<li>Defined in api.ts:362</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1085,7 +1085,7 @@ <h3>refresh<wbr>Rate<wbr>Secs</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:406</li>
<li>Defined in api.ts:408</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1108,7 +1108,7 @@ <h3>tg<wbr>InProgress</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:451</li>
<li>Defined in api.ts:453</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1130,7 +1130,7 @@ <h3>tg<wbr>Queued</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:458</li>
<li>Defined in api.ts:460</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1155,7 +1155,7 @@ <h3>cancel<wbr>Job</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:504</li>
<li>Defined in api.ts:506</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1186,7 +1186,7 @@ <h3>cleanup</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:480</li>
<li>Defined in api.ts:482</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1211,7 +1211,7 @@ <h3>clear<wbr>Queue</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:465</li>
<li>Defined in api.ts:467</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1233,7 +1233,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Job</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:605</li>
<li>Defined in api.ts:607</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1292,7 +1292,7 @@ <h3>evaluate<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:539</li>
<li>Defined in api.ts:541</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1325,7 +1325,7 @@ <h3>get<wbr>Job</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:495</li>
<li>Defined in api.ts:497</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1360,7 +1360,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> job<wbr>Complete</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:735</li>
<li>Defined in api.ts:737</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1392,7 +1392,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> recipient<wbr>Failure</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:716</li>
<li>Defined in api.ts:718</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1430,7 +1430,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> recipient<wbr>Success</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:697</li>
<li>Defined in api.ts:699</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1461,7 +1461,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> send<wbr>Telegram</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:652</li>
<li>Defined in api.ts:654</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1492,7 +1492,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> send<wbr>Telegram<wbr>W
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:641</li>
<li>Defined in api.ts:643</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1523,7 +1523,7 @@ <h3>send<wbr>Telegrams<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:562</li>
<li>Defined in api.ts:564</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1587,7 +1587,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> validate<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:527</li>
<li>Defined in api.ts:529</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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": "nstg",
"version": "0.2.2",
"version": "0.2.3",
"description": "Sends telegrams to a list of NationStates nations defined using a powerful query language called Telegram Recipient Language",
"keywords": [
"NationStates",
Expand Down
4 changes: 3 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ export class NsTgApi {
job.recipients.push(recipient);
this._tgQueue.push(recipient);
}
this._onNewRecipients(job.id, recipients);
if (recipients.length > 0) {
this._onNewRecipients(job.id, recipients);
}
});
}
}, this.refreshRateSecs * 1000);
Expand Down

0 comments on commit 4bc2674

Please sign in to comment.