Skip to content

Commit

Permalink
Deploying to gh-pages from @ d040331 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fbwoolf committed Nov 17, 2023
1 parent 311d349 commit 3a77227
Show file tree
Hide file tree
Showing 164 changed files with 369 additions and 315 deletions.
2 changes: 1 addition & 1 deletion app/common/account-restoration/account-restore.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/account-restoration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> app/common/account-restoration</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">

<head>
<title>Code coverage report for app/common/api/wrapped-fetch.ts</title>
<title>Code coverage report for app/common/api/fetch-wrapper.ts</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
Expand All @@ -19,34 +19,34 @@
<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="../../../index.html">All files</a> / <a href="index.html">app/common/api</a> wrapped-fetch.ts</h1>
<h1><a href="../../../index.html">All files</a> / <a href="index.html">app/common/api</a> fetch-wrapper.ts</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">10% </span>
<span class="strong">14.28% </span>
<span class="quiet">Statements</span>
<span class='fraction'>1/10</span>
<span class='fraction'>2/14</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/5</span>
<span class='fraction'>0/7</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Functions</span>
<span class='fraction'>0/3</span>
<span class='fraction'>0/4</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">11.11% </span>
<span class="strong">16.66% </span>
<span class="quiet">Lines</span>
<span class='fraction'>1/9</span>
<span class='fraction'>2/12</span>
</div>


Expand Down Expand Up @@ -94,13 +94,34 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<a name='L29'></a><a href='#L29'>29</a>
<a name='L30'></a><a href='#L30'>30</a>
<a name='L31'></a><a href='#L31'>31</a>
<a name='L32'></a><a href='#L32'>32</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">3x</span>
<a name='L32'></a><a href='#L32'>32</a>
<a name='L33'></a><a href='#L33'>33</a>
<a name='L34'></a><a href='#L34'>34</a>
<a name='L35'></a><a href='#L35'>35</a>
<a name='L36'></a><a href='#L36'>36</a>
<a name='L37'></a><a href='#L37'>37</a>
<a name='L38'></a><a href='#L38'>38</a>
<a name='L39'></a><a href='#L39'>39</a>
<a name='L40'></a><a href='#L40'>40</a>
<a name='L41'></a><a href='#L41'>41</a>
<a name='L42'></a><a href='#L42'>42</a>
<a name='L43'></a><a href='#L43'>43</a>
<a name='L44'></a><a href='#L44'>44</a>
<a name='L45'></a><a href='#L45'>45</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand All @@ -125,17 +146,30 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const hiroHeaders: HeadersInit = {
'x-hiro-product': 'stacks-wallet-web',
'x-hiro-version': VERSION,
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import axios from 'axios';
&nbsp;
import { HIRO_API_KEY } from '@shared/constants';
&nbsp;
const leatherHeaders: HeadersInit = {
'x-leather-version': VERSION,
'x-hiro-api-key': HIRO_API_KEY,
};
&nbsp;
export function <span class="fstat-no" title="function not covered" >fetcher(i</span>nput: RequestInfo, init: RequestInit = <span class="branch-0 cbranch-no" title="branch not covered" >{}) {</span>
/**
* @deprecated Use `axios` directly instead
*/
export function <span class="fstat-no" title="function not covered" >wrappedFetch(i</span>nput: RequestInfo, init: RequestInit = <span class="branch-0 cbranch-no" title="branch not covered" >{}) {</span>
const initHeaders = <span class="cstat-no" title="statement not covered" >init.headers || {};</span>
// eslint-disable-next-line no-restricted-globals
<span class="cstat-no" title="statement not covered" > return fetch(input, {</span>
credentials: 'omit',
...init,
headers: { ...initHeaders, ...hiroHeaders },
headers: { ...initHeaders, ...leatherHeaders },
});
}
&nbsp;
Expand All @@ -148,22 +182,27 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
const controller = <span class="cstat-no" title="statement not covered" >new AbortController();</span>
const id = <span class="cstat-no" title="statement not covered" >setTimeout(<span class="fstat-no" title="function not covered" >() =&gt; <span class="cstat-no" title="statement not covered" >c</span>ontroller.abort(), t</span>imeout);</span>
&nbsp;
const response = <span class="cstat-no" title="statement not covered" >await fetcher(input, {</span>
const response = <span class="cstat-no" title="statement not covered" >await wrappedFetch(input, {</span>
...options,
signal: controller.signal,
});
<span class="cstat-no" title="statement not covered" > clearTimeout(id);</span>
&nbsp;
<span class="cstat-no" title="statement not covered" > return response;</span>
}
&nbsp;
axios.interceptors.request.use(<span class="fstat-no" title="function not covered" >config =&gt; {</span>
<span class="cstat-no" title="statement not covered" > if (config.url?.includes('hiro.so')) <span class="cstat-no" title="statement not covered" >config.headers['x-hiro-api-key'] = HIRO_API_KEY;</span></span>
<span class="cstat-no" title="statement not covered" > return config;</span>
});
&nbsp;</pre></td></tr></table></pre>

<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
32 changes: 16 additions & 16 deletions app/common/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1><a href="../../../index.html">All files</a> app/common/api</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">10% </span>
<span class="strong">14.28% </span>
<span class="quiet">Statements</span>
<span class='fraction'>1/10</span>
<span class='fraction'>2/14</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/5</span>
<span class='fraction'>0/7</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Functions</span>
<span class='fraction'>0/3</span>
<span class='fraction'>0/4</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">11.11% </span>
<span class="strong">16.66% </span>
<span class="quiet">Lines</span>
<span class='fraction'>1/9</span>
<span class='fraction'>2/12</span>
</div>


Expand Down Expand Up @@ -79,18 +79,18 @@ <h1><a href="../../../index.html">All files</a> app/common/api</h1>
</tr>
</thead>
<tbody><tr>
<td class="file low" data-value="wrapped-fetch.ts"><a href="wrapped-fetch.ts.html">wrapped-fetch.ts</a></td>
<td data-value="10" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 10%"></div><div class="cover-empty" style="width: 90%"></div></div>
<td class="file low" data-value="fetch-wrapper.ts"><a href="fetch-wrapper.ts.html">fetch-wrapper.ts</a></td>
<td data-value="14.28" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 14%"></div><div class="cover-empty" style="width: 86%"></div></div>
</td>
<td data-value="10" class="pct low">10%</td>
<td data-value="10" class="abs low">1/10</td>
<td data-value="14.28" class="pct low">14.28%</td>
<td data-value="14" class="abs low">2/14</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="5" class="abs low">0/5</td>
<td data-value="7" class="abs low">0/7</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="3" class="abs low">0/3</td>
<td data-value="11.11" class="pct low">11.11%</td>
<td data-value="9" class="abs low">1/9</td>
<td data-value="4" class="abs low">0/4</td>
<td data-value="16.66" class="pct low">16.66%</td>
<td data-value="12" class="abs low">2/12</td>
</tr>

</tbody>
Expand All @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> app/common/api</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/crypto-assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> app/common/crypto-assets</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/crypto-assets/stacks-crypto-asset.utils.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/date-utils.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">app/common</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/hooks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> app/common/hooks</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/hooks/use-default-request-search-params.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
36 changes: 18 additions & 18 deletions app/common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1><a href="../../index.html">All files</a> app/common</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">34.46% </span>
<span class="strong">34.85% </span>
<span class="quiet">Statements</span>
<span class='fraction'>61/177</span>
<span class='fraction'>61/175</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">28.22% </span>
<span class="strong">28.45% </span>
<span class="quiet">Branches</span>
<span class='fraction'>35/124</span>
<span class='fraction'>35/123</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">28.81% </span>
<span class="strong">29.31% </span>
<span class="quiet">Functions</span>
<span class='fraction'>17/59</span>
<span class='fraction'>17/58</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">35.22% </span>
<span class="strong">35.66% </span>
<span class="quiet">Lines</span>
<span class='fraction'>56/159</span>
<span class='fraction'>56/157</span>
</div>


Expand Down Expand Up @@ -155,17 +155,17 @@ <h1><a href="../../index.html">All files</a> app/common</h1>

<tr>
<td class="file low" data-value="utils.ts"><a href="utils.ts.html">utils.ts</a></td>
<td data-value="26.08" class="pic low">
<td data-value="26.54" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 26%"></div><div class="cover-empty" style="width: 74%"></div></div>
</td>
<td data-value="26.08" class="pct low">26.08%</td>
<td data-value="115" class="abs low">30/115</td>
<td data-value="17.77" class="pct low">17.77%</td>
<td data-value="90" class="abs low">16/90</td>
<td data-value="26.19" class="pct low">26.19%</td>
<td data-value="42" class="abs low">11/42</td>
<td data-value="27.45" class="pct low">27.45%</td>
<td data-value="102" class="abs low">28/102</td>
<td data-value="26.54" class="pct low">26.54%</td>
<td data-value="113" class="abs low">30/113</td>
<td data-value="17.97" class="pct low">17.97%</td>
<td data-value="89" class="abs low">16/89</td>
<td data-value="26.82" class="pct low">26.82%</td>
<td data-value="41" class="abs low">11/41</td>
<td data-value="28" class="pct low">28%</td>
<td data-value="100" class="abs low">28/100</td>
</tr>

</tbody>
Expand All @@ -176,7 +176,7 @@ <h1><a href="../../index.html">All files</a> app/common</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/initial-search-params.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">app/common</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/keychain/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> app/common/keychain</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/common/keychain/keychain.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">app/commo
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-11-08T11:20:04.604Z
at 2023-11-17T00:43:58.899Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 3a77227

Please sign in to comment.