Skip to content

Commit

Permalink
Merge pull request #12 from ChronSyn/feature/216-release
Browse files Browse the repository at this point in the history
2.1.6 Release
  • Loading branch information
ChronSyn authored Dec 8, 2020
2 parents 3bfe2d5 + dab7949 commit 9544843
Show file tree
Hide file tree
Showing 14 changed files with 82 additions and 82 deletions.
4 changes: 2 additions & 2 deletions build/quicache.lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ var CacheManager = /** @class */ (function () {
return null;
};
this._showDebugMessages = (_a = args === null || args === void 0 ? void 0 : args.showDebugMessages) !== null && _a !== void 0 ? _a : false;
if (!(args === null || args === void 0 ? void 0 : args.cacheMaxAgeInSeconds) && !this._showDebugMessages) {
if (!(args === null || args === void 0 ? void 0 : args.cacheMaxAgeInSeconds) && this._showDebugMessages) {
console.warn("No cacheMaxAgeInSeconds provided, defaulting to 60 seconds");
}
var fallbackCacheName = new Date().getTime().toString();
if (!(args === null || args === void 0 ? void 0 : args.cacheName) && !this._showDebugMessages) {
if (!(args === null || args === void 0 ? void 0 : args.cacheName) && this._showDebugMessages) {
console.warn("No cacheName provided, falling back to " + fallbackCacheName);
}
this._cacheMaxAgeInSeconds = (_b = args === null || args === void 0 ? void 0 : args.cacheMaxAgeInSeconds) !== null && _b !== void 0 ? _b : 60;
Expand Down
48 changes: 24 additions & 24 deletions docs/classes/_src_quicache_lib_.cachemanager.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/enums/_src_quicache_lib_.quicachemessages.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h3>ERROR_<wbr>DEPRECATED_<wbr>USE_<wbr>ENABLEDEBUGLOGS</h3>
<div class="tsd-signature tsd-kind-icon">ERROR_<wbr>DEPRECATED_<wbr>USE_<wbr>ENABLEDEBUGLOGS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;This method is deprecated. Please use enableDebugLogs()&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L32">src/quicache.lib.ts:32</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L32">src/quicache.lib.ts:32</a></li>
</ul>
</aside>
</section>
Expand All @@ -102,7 +102,7 @@ <h3>ERROR_<wbr>TIME_<wbr>LT1</h3>
<div class="tsd-signature tsd-kind-icon">ERROR_<wbr>TIME_<wbr>LT1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;Time can not be less than 1&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L31">src/quicache.lib.ts:31</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L31">src/quicache.lib.ts:31</a></li>
</ul>
</aside>
</section>
Expand All @@ -112,7 +112,7 @@ <h3>MESSAGE_<wbr>DEBUG_<wbr>LOGS_<wbr>ENABLED</h3>
<div class="tsd-signature tsd-kind-icon">MESSAGE_<wbr>DEBUG_<wbr>LOGS_<wbr>ENABLED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;[QUICACHE] Debug logs enabled&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L33">src/quicache.lib.ts:33</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L33">src/quicache.lib.ts:33</a></li>
</ul>
</aside>
</section>
Expand Down
22 changes: 11 additions & 11 deletions docs/interfaces/_src_quicache_lib_.icacheconstructorprops.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3>cache<wbr>Max<wbr>Age<wbr>InSeconds</h3>
<div class="tsd-signature tsd-kind-icon">cache<wbr>Max<wbr>Age<wbr>InSeconds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L49">src/quicache.lib.ts:49</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L49">src/quicache.lib.ts:49</a></li>
</ul>
</aside>
</section>
Expand All @@ -151,7 +151,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> cache<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">cache<wbr>Name<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/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L50">src/quicache.lib.ts:50</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L50">src/quicache.lib.ts:50</a></li>
</ul>
</aside>
</section>
Expand All @@ -161,7 +161,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Accessed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncacheevent.html" class="tsd-signature-type">IOnCacheEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L53">src/quicache.lib.ts:53</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L53">src/quicache.lib.ts:53</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -192,7 +192,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Add<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncacheevent.html" class="tsd-signature-type">IOnCacheEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L52">src/quicache.lib.ts:52</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L52">src/quicache.lib.ts:52</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -223,7 +223,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Already<wbr>Exists<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncacheevent.html" class="tsd-signature-type">IOnCacheEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L56">src/quicache.lib.ts:56</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L56">src/quicache.lib.ts:56</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Delete<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncacheevent.html" class="tsd-signature-type">IOnCacheEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L54">src/quicache.lib.ts:54</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L54">src/quicache.lib.ts:54</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -285,7 +285,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Does<wbr>Not<wbr>Already<wbr>Exist<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncachedatanotexistevent.html" class="tsd-signature-type">IOnCacheDataNotExistEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L57">src/quicache.lib.ts:57</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L57">src/quicache.lib.ts:57</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -316,7 +316,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Data
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Data<wbr>Expired<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncacheevent.html" class="tsd-signature-type">IOnCacheEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L55">src/quicache.lib.ts:55</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L55">src/quicache.lib.ts:55</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -347,7 +347,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Max<
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Max<wbr>Age<wbr>Set<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncachemaxageset.html" class="tsd-signature-type">IOnCacheMaxAgeSet</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L59">src/quicache.lib.ts:59</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L59">src/quicache.lib.ts:59</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -378,7 +378,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Cache<wbr>Name
<div class="tsd-signature tsd-kind-icon">on<wbr>Cache<wbr>Name<wbr>Set<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="_src_quicache_lib_.ioncachenameset.html" class="tsd-signature-type">IOnCacheNameSet</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L58">src/quicache.lib.ts:58</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L58">src/quicache.lib.ts:58</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -409,7 +409,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> show<wbr>Debug<wbr>Me
<div class="tsd-signature tsd-kind-icon">show<wbr>Debug<wbr>Messages<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/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L51">src/quicache.lib.ts:51</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L51">src/quicache.lib.ts:51</a></li>
</ul>
</aside>
</section>
Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/_src_quicache_lib_.icacheentry.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3>data</h3>
<div class="tsd-signature tsd-kind-icon">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L21">src/quicache.lib.ts:21</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L21">src/quicache.lib.ts:21</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -129,7 +129,7 @@ <h3>timestamp</h3>
<div class="tsd-signature tsd-kind-icon">timestamp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/d86a9e6/src/quicache.lib.ts#L20">src/quicache.lib.ts:20</a></li>
<li>Defined in <a href="https://github.com/ChronSyn/quiCache/blob/5fc3877/src/quicache.lib.ts#L20">src/quicache.lib.ts:20</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 9544843

Please sign in to comment.