Skip to content

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderwe committed Apr 13, 2019
2 parents 5518ce5 + 2cc353a commit bfd7db0
Show file tree
Hide file tree
Showing 973 changed files with 123,104 additions and 120,522 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.8.0
v10.15.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ _Query:_
```js
import Traveler from 'the-traveler';
import {ComponentType} from 'the-traveler/build/enums'
import {ComponentType} from 'the-traveler/type-definitions/destiny2';

const traveler = new Traveler({
apikey: 'pasteYourAPIkey',
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/bungieresource.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L6">resources/BungieResoure.ts:6</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L6">resources/BungieResoure.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -143,7 +143,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> base<wbr>Path</h3>
<div class="tsd-signature tsd-kind-icon">base<wbr>Path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L5">resources/BungieResoure.ts:5</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L5">resources/BungieResoure.ts:5</a></li>
</ul>
</aside>
</section>
Expand All @@ -153,7 +153,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> http<wbr>Service</h
<div class="tsd-signature tsd-kind-icon">http<wbr>Service<span class="tsd-signature-symbol">:</span> <a href="httpservice.html" class="tsd-signature-type">HTTPService</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L4">resources/BungieResoure.ts:4</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L4">resources/BungieResoure.ts:4</a></li>
</ul>
</aside>
</section>
Expand All @@ -163,7 +163,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> resource<wbr>Path</
<div class="tsd-signature tsd-kind-icon">resource<wbr>Path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L6">resources/BungieResoure.ts:6</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L6">resources/BungieResoure.ts:6</a></li>
</ul>
</aside>
</section>
Expand Down
257 changes: 162 additions & 95 deletions docs/classes/destiny2resource.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/classes/globalresource.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h3>constructor</h3>
<aside class="tsd-sources">
<p>Overrides <a href="bungieresource.html">BungieResource</a>.<a href="bungieresource.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/GlobalResource.ts#L8">resources/GlobalResource.ts:8</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/GlobalResource.ts#L8">resources/GlobalResource.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -144,7 +144,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> base<wbr>Path</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="bungieresource.html">BungieResource</a>.<a href="bungieresource.html#basepath">basePath</a></p>
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L5">resources/BungieResoure.ts:5</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L5">resources/BungieResoure.ts:5</a></li>
</ul>
</aside>
</section>
Expand All @@ -155,7 +155,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> http<wbr>Service</h
<aside class="tsd-sources">
<p>Inherited from <a href="bungieresource.html">BungieResource</a>.<a href="bungieresource.html#httpservice">httpService</a></p>
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/BungieResoure.ts#L4">resources/BungieResoure.ts:4</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/BungieResoure.ts#L4">resources/BungieResoure.ts:4</a></li>
</ul>
</aside>
</section>
Expand All @@ -166,7 +166,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> resource<wbr>Path</
<aside class="tsd-sources">
<p>Overrides <a href="bungieresource.html">BungieResource</a>.<a href="bungieresource.html#resourcepath">resourcePath</a></p>
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/GlobalResource.ts#L8">resources/GlobalResource.ts:8</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/GlobalResource.ts#L8">resources/GlobalResource.ts:8</a></li>
</ul>
</aside>
</section>
Expand All @@ -177,13 +177,13 @@ <h2>Methods</h2>
<a name="getavailablelocales" class="tsd-anchor"></a>
<h3>get<wbr>Available<wbr>Locales</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Available<wbr>Locales<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/idictionaryresponse.html" class="tsd-signature-type">IDictionaryResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">get<wbr>Available<wbr>Locales<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/dictionaryresponse.html" class="tsd-signature-type">DictionaryResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/GlobalResource.ts#L20">resources/GlobalResource.ts:20</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/GlobalResource.ts#L20">resources/GlobalResource.ts:20</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -195,7 +195,7 @@ <h3>get<wbr>Available<wbr>Locales</h3>
<dd></dd>
</dl>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/idictionaryresponse.html" class="tsd-signature-type">IDictionaryResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/dictionaryresponse.html" class="tsd-signature-type">DictionaryResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<p>When fulfilled returns a list of available localization cultures</p>
</li>
</ul>
Expand All @@ -204,13 +204,13 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<a name="getcommonsettings" class="tsd-anchor"></a>
<h3>get<wbr>Common<wbr>Settings</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Common<wbr>Settings<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">get<wbr>Common<wbr>Settings<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/GlobalResource.ts#L38">resources/GlobalResource.ts:38</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/GlobalResource.ts#L38">resources/GlobalResource.ts:38</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -222,7 +222,7 @@ <h3>get<wbr>Common<wbr>Settings</h3>
<dd></dd>
</dl>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<p>When fulfilled returns an object containing the common settings</p>
</li>
</ul>
Expand All @@ -231,13 +231,13 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<a name="getglobalalerts" class="tsd-anchor"></a>
<h3>get<wbr>Global<wbr>Alerts</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Global<wbr>Alerts<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iglobalalert.html" class="tsd-signature-type">IGlobalAlert</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">get<wbr>Global<wbr>Alerts<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/globalalert.html" class="tsd-signature-type">GlobalAlert</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/resources/GlobalResource.ts#L56">resources/GlobalResource.ts:56</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/resources/GlobalResource.ts#L56">resources/GlobalResource.ts:56</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -249,7 +249,7 @@ <h3>get<wbr>Global<wbr>Alerts</h3>
<dd></dd>
</dl>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iserverresponse.html" class="tsd-signature-type">IServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/iglobalalert.html" class="tsd-signature-type">IGlobalAlert</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/serverresponse.html" class="tsd-signature-type">ServerResponse</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/globalalert.html" class="tsd-signature-type">GlobalAlert</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
<p>When fulfilled returns an object containing the current Global Alerts</p>
</li>
</ul>
Expand Down
10 changes: 5 additions & 5 deletions docs/classes/httpservice.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/HttpService.ts#L9">HttpService.ts:9</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/HttpService.ts#L9">HttpService.ts:9</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -145,7 +145,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag t
<div class="tsd-signature tsd-kind-icon">debug<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/HttpService.ts#L8">HttpService.ts:8</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/HttpService.ts#L8">HttpService.ts:8</a></li>
</ul>
</aside>
</section>
Expand All @@ -155,7 +155,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> options</h3>
<div class="tsd-signature tsd-kind-icon">options<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GotJSONOptions</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/HttpService.ts#L9">HttpService.ts:9</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/HttpService.ts#L9">HttpService.ts:9</a></li>
</ul>
</aside>
</section>
Expand All @@ -172,7 +172,7 @@ <h3>get</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/HttpService.ts#L24">HttpService.ts:24</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/HttpService.ts#L24">HttpService.ts:24</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -211,7 +211,7 @@ <h3>post</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/HttpService.ts#L43">HttpService.ts:43</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/HttpService.ts#L43">HttpService.ts:43</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/logger.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> debug</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/Logger.ts#L3">Logger.ts:3</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/Logger.ts#L3">Logger.ts:3</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -125,7 +125,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> err</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/Logger.ts#L15">Logger.ts:15</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/Logger.ts#L15">Logger.ts:15</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -148,7 +148,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> trace</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/Logger.ts#L7">Logger.ts:7</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/Logger.ts#L7">Logger.ts:7</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -171,7 +171,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> warn</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2ecf1ba/src/Logger.ts#L11">Logger.ts:11</a></li>
<li>Defined in <a href="https://github.com/alexanderwe/the-traveler/blob/2c51936/src/Logger.ts#L11">Logger.ts:11</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit bfd7db0

Please sign in to comment.