Skip to content

Commit

Permalink
bump package and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmueller committed Oct 28, 2020
1 parent 0fd8914 commit 11c939c
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 5 deletions.
139 changes: 136 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset='utf-8'>
<title>omg-js 4.0.1-1.0.0 | Documentation</title>
<title>omg-js 4.1.0-1.0.4 | Documentation</title>
<meta name='description' content='JavaScript Library to interact with OMG Network'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' rel='stylesheet'>
Expand All @@ -15,7 +15,7 @@
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>omg-js</h3>
<div class='mb1'><code>4.0.1-1.0.0</code></div>
<div class='mb1'><code>4.1.0-1.0.4</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down Expand Up @@ -530,6 +530,16 @@ <h3 class='mb0 no-anchor'>omg-js</h3>

</li>


<li><a
href='#getdeposits'
class="">
getDeposits

</a>

</li>

</ul>
</div>
<div class='mt1 h6 quiet'>
Expand Down Expand Up @@ -2328,7 +2338,7 @@ <h3 class='fl m0' id='childchain'>
<tr>
<td class='break-word'><span class='code bold'>config.watcherUrl</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code>
</td>
<td class='break-word'><span>the url of the watcher server (running in security-critical and informational mode)
<td class='break-word'><span>the url of the watcher-info server (running in both security-critical and informational mode)
</span></td>
</tr>

Expand All @@ -2344,6 +2354,16 @@ <h3 class='fl m0' id='childchain'>



<tr>
<td class='break-word'><span class='code bold'>config.watcherSecurityUrl</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code>
</td>
<td class='break-word'><span><em>optional</em>
the url of the watcher security server. If this is set, all security related endpoints would be using from this url instead.
</span></td>
</tr>



<tr>
<td class='break-word'><span class='code bold'>config.plasmaContractAddress</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code>
</td>
Expand Down Expand Up @@ -8243,6 +8263,119 @@ <h3 class='fl m0' id='types'>



</section>




<section class='p2 mb2 clearfix bg-white minishadow'>


<div class='clearfix'>

<h3 class='fl m0' id='getdeposits'>
getDeposits
</h3>


</div>


<p>Get deposits</p>

<div class='pre p1 fill-light mt0'>getDeposits(filters: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a>&#x3C;DepositInfo></div>











<div class='py1 quiet mt1 prose-big'>Parameters</div>
<div class='prose'>

<div class='space-bottom0'>
<div>
<span class='code bold'>filters</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>)</code>
filter object

</div>

<table class='mt1 mb2 fixed-table h5 col-12'>
<colgroup>
<col width='30%' />
<col width='70%' />
</colgroup>
<thead>
<tr class='bold fill-light'>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody class='mt1'>

<tr>
<td class='break-word'><span class='code bold'>filters.address</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?</code>
</td>
<td class='break-word'><span>address to filter by
</span></td>
</tr>



<tr>
<td class='break-word'><span class='code bold'>filters.limit</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?</code>
</td>
<td class='break-word'><span>max number of transactions to return
</span></td>
</tr>



<tr>
<td class='break-word'><span class='code bold'>filters.page</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?</code>
</td>
<td class='break-word'><span>page of paginated request
</span></td>
</tr>



</tbody>
</table>

</div>

</div>






<div class='py1 quiet mt1 prose-big'>Returns</div>
<code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a>&#x3C;DepositInfo></code>:
promise that resolves with an array of confirmed deposits
















</section>


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": "omg-js",
"version": "4.0.1-1.0.0",
"version": "4.1.0-1.0.4",
"private": true,
"description": "JavaScript Library to interact with OMG Network",
"scripts": {
Expand Down

0 comments on commit 11c939c

Please sign in to comment.