Skip to content

Commit

Permalink
Add stream for old transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed May 22, 2021
1 parent 71d37b8 commit 0ced17e
Show file tree
Hide file tree
Showing 19 changed files with 265 additions and 85 deletions.
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/address.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Address | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>Address | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="address.html">Address</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/addressliteral.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AddressLiteral | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>AddressLiteral | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="addressliteral.html">AddressLiteral</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/contract.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Contract | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>Contract | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="contract.html">Contract</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/providernotfoundexception.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ProviderNotFoundException | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>ProviderNotFoundException | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="providernotfoundexception.html">ProviderNotFoundException</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/providerrpcclient.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ProviderRpcClient | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>ProviderRpcClient | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="providerrpcclient.html">ProviderRpcClient</a>
Expand Down
64 changes: 56 additions & 8 deletions docs/classes/subscriber.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Subscriber | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>Subscriber | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="subscriber.html">Subscriber</a>
Expand Down Expand Up @@ -86,6 +86,7 @@ <h3>Constructors</h3>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="subscriber.html#oldtransactions" class="tsd-kind-icon">old<wbr>Transactions</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="subscriber.html#states" class="tsd-kind-icon">states</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="subscriber.html#transactions" class="tsd-kind-icon">transactions</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="subscriber.html#unsubscribe" class="tsd-kind-icon">unsubscribe</a></li>
Expand All @@ -106,7 +107,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/stream.ts:23</li>
<li>Defined in src/stream.ts:123</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -122,6 +123,45 @@ <h4 class="tsd-returns-title">Returns <a href="subscriber.html" class="tsd-signa
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="oldtransactions" class="tsd-anchor"></a>
<h3>old<wbr>Transactions</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">old<wbr>Transactions<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a>, filter<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>fromLt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>fromUtime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/stream.html" class="tsd-signature-type" data-tsd-kind="Interface">Stream</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>address<span class="tsd-signature-symbol">: </span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">: </span><a href="../index.html#transactionsbatchinfo" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionsBatchInfo</a><span class="tsd-signature-symbol">; </span>transactions<span class="tsd-signature-symbol">: </span><a href="../index.html#transaction" class="tsd-signature-type" data-tsd-kind="Type alias">Transaction</a><span class="tsd-signature-symbol">&lt;</span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span>address<span class="tsd-signature-symbol">: </span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">: </span><a href="../index.html#transactionsbatchinfo" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionsBatchInfo</a><span class="tsd-signature-symbol">; </span>transactions<span class="tsd-signature-symbol">: </span><a href="../index.html#transaction" class="tsd-signature-type" data-tsd-kind="Type alias">Transaction</a><span class="tsd-signature-symbol">&lt;</span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</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 src/stream.ts:138</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns stream of old transactions</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>address: <a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> filter: <span class="tsd-signature-symbol">{ </span>fromLt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>fromUtime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5><span class="tsd-flag ts-flagOptional">Optional</span> from<wbr>Lt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5><span class="tsd-flag ts-flagOptional">Optional</span> from<wbr>Utime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/stream.html" class="tsd-signature-type" data-tsd-kind="Interface">Stream</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>address<span class="tsd-signature-symbol">: </span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">: </span><a href="../index.html#transactionsbatchinfo" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionsBatchInfo</a><span class="tsd-signature-symbol">; </span>transactions<span class="tsd-signature-symbol">: </span><a href="../index.html#transaction" class="tsd-signature-type" data-tsd-kind="Type alias">Transaction</a><span class="tsd-signature-symbol">&lt;</span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span>address<span class="tsd-signature-symbol">: </span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">: </span><a href="../index.html#transactionsbatchinfo" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionsBatchInfo</a><span class="tsd-signature-symbol">; </span>transactions<span class="tsd-signature-symbol">: </span><a href="../index.html#transaction" class="tsd-signature-type" data-tsd-kind="Type alias">Transaction</a><span class="tsd-signature-symbol">&lt;</span><a href="address.html" class="tsd-signature-type" data-tsd-kind="Class">Address</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="states" class="tsd-anchor"></a>
<h3>states</h3>
Expand All @@ -132,7 +172,7 @@ <h3>states</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/stream.ts:32</li>
<li>Defined in src/stream.ts:159</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -155,9 +195,14 @@ <h3>transactions</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/stream.ts:28</li>
<li>Defined in src/stream.ts:131</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns stream of new transactions</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
Expand All @@ -178,7 +223,7 @@ <h3>unsubscribe</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/stream.ts:36</li>
<li>Defined in src/stream.ts:163</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
Expand All @@ -205,6 +250,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="subscriber.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="subscriber.html#oldtransactions" class="tsd-kind-icon">old<wbr>Transactions</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="subscriber.html#states" class="tsd-kind-icon">states</a>
</li>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/tvmexception.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TvmException | ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>TvmException | ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="../index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">ton-inpage-provider - v0.1.7</a>
<a href="../index.html">ton-inpage-provider - v0.1.8</a>
</li>
<li>
<a href="tvmexception.html">TvmException</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ton-inpage-provider - v0.1.7</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.7">
<title>ton-inpage-provider - v0.1.8</title>
<meta name="description" content="Documentation for ton-inpage-provider - v0.1.8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
<script async src="assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="index.html" class="title">ton-inpage-provider - v0.1.7</a>
<a href="index.html" class="title">ton-inpage-provider - v0.1.8</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand All @@ -50,7 +50,7 @@
</div>
<div class="tsd-page-title">
<div class="container">
<h1>ton-inpage-provider - v0.1.7</h1>
<h1>ton-inpage-provider - v0.1.8</h1>
</div>
</div>
</header>
Expand Down
Loading

0 comments on commit 0ced17e

Please sign in to comment.