Commit 2027db8c authored by Johan Nordberg's avatar Johan Nordberg

Version 0.8.2

parent 6bda67da
......@@ -449,7 +449,7 @@ declare module 'dsteem/utils' {
/**
* Fetch API wrapper that retries until timeout is reached.
*/
export function retryingFetch(url: string, opts: any, timeout: number, backoff: (tries: number) => number): Promise<any>;
export function retryingFetch(url: string, opts: any, timeout: number, backoff: (tries: number) => number, fetchTimeout?: (tries: number) => number): Promise<any>;
}
declare module 'dsteem/crypto' {
......
This diff is collapsed.
No preview for this file type
This diff is collapsed.
......@@ -1055,7 +1055,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/jnordberg/dsteem/blob/master/src/client.ts#L293">client.ts:293</a></li>
<li>Defined in <a href="https://github.com/jnordberg/dsteem/blob/master/src/client.ts#L300">client.ts:300</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
......@@ -1255,7 +1255,7 @@
<a name="retryingfetch" class="tsd-anchor"></a>
<h3>retrying<wbr>Fetch</h3>
<ul class="tsd-signatures tsd-kind-function">
<li class="tsd-signature tsd-kind-icon">retrying<wbr>Fetch<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, opts<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, backoff<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</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><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">retrying<wbr>Fetch<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, opts<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, timeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, backoff<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span>, fetchTimeout<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</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><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
......@@ -1301,6 +1301,9 @@
</li>
</ul>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> fetchTimeout: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span></h5>
</li>
</ul>
<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">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
......
{
"name": "dsteem",
"version": "0.8.1",
"version": "0.8.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -19,7 +19,7 @@
"integrity": "sha512-Id1hnmfd+7G9K+jWz2syfMcpymx2mj6B1y4C72vAoYQzxOA79UhY/kNvOCyb9yYR1SoSaHyhwcYtWKKqUiLTZA==",
"dev": true,
"requires": {
"@types/node": "8.0.28"
"@types/node": "8.0.30"
}
},
"@types/glob": {
......@@ -29,7 +29,7 @@
"dev": true,
"requires": {
"@types/minimatch": "2.0.29",
"@types/node": "8.0.28"
"@types/node": "8.0.30"
}
},
"@types/handlebars": {
......@@ -75,9 +75,9 @@
"dev": true
},
"@types/node": {
"version": "8.0.28",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.28.tgz",
"integrity": "sha512-HupkFXEv3O3KSzcr3Ylfajg0kaerBg1DyaZzRBBQfrU3NN1mTBRE7sCveqHwXLS5Yrjvww8qFzkzYQQakG9FuQ==",
"version": "8.0.30",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.30.tgz",
"integrity": "sha512-IaQtG3DWe9gRsmk1DqNnYyRVjGDVcBdZywkRVF2f62Boe8XKmlR7lNcwC6pk4V4W8nk+Zu+vdGMsOdRTDj1JPA==",
"dev": true
},
"@types/shelljs": {
......@@ -87,7 +87,7 @@
"dev": true,
"requires": {
"@types/glob": "5.0.32",
"@types/node": "8.0.28"
"@types/node": "8.0.30"
}
},
"@types/verror": {
......@@ -4741,9 +4741,9 @@
}
},
"mocha": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.1.tgz",
"integrity": "sha512-2jD6NS4PNKVDpaICERx8vEkXaisx2MlRKxj5KuFJVZJdK1zRGs/HnS3OeH7zXhXAbGlzaMIan4Kwpm4O5hORnA==",
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz",
"integrity": "sha512-/6na001MJWEtYxHOV1WLfsmR4YIynkUEhBwzsb+fk2qmQ3iqsi258l/Q2MWHJMImAcNpZ8DEdYAK72NHoIQ9Eg==",
"dev": true,
"requires": {
"browser-stdout": "1.3.0",
......@@ -4846,9 +4846,9 @@
"integrity": "sha512-6oxV13poCOv7TfGvhsSz6XZWpXeKkdGVh72++cs33OfMh3KAX8lN84dCvmqSETyDXAFcUHtV7eJrgFBoOqZbNQ=="
},
"node-fetch": {
"version": "2.0.0-alpha.8",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.0.0-alpha.8.tgz",
"integrity": "sha512-cDokdqn6TD7LNpMqxgPsI1Iqu23sD4ihqbGELFn4YmMvJSiyJcAws2sm0qKo5hIPXwvc7vR2BDPK09UyyLSivw=="
"version": "2.0.0-alpha.9",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.0.0-alpha.9.tgz",
"integrity": "sha512-I7wP1QkmBNX1mt4BS5zyLRTegl5Ii+MSalpfFefn+EZFrGVsdfCvLTKt9eHkNlU4phKgp3tqLWW8VXDcCm9m9w=="
},
"noop-logger": {
"version": "0.1.1",
......@@ -7993,9 +7993,9 @@
"dev": true
},
"uglify-js": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.0.tgz",
"integrity": "sha512-PGUXuTJ5AkrfPsyg0L9/LD+BWYm9feVngbWpW5bg7Q3B7hqDM3xz00tNby4yY0CqjrLTF6CP9wpb/aNITRuSXg==",
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.2.tgz",
"integrity": "sha512-kKJ8zg7Ivw3DG9Ytgp4+iiSHq3HaHjEQMvyT2x2Bs8kSUwVemj6bPGFp6YWL81f5NAIOLVUKPxBSvqLRGXMpdw==",
"dev": true,
"requires": {
"commander": "2.11.0",
......
{
"name": "dsteem",
"version": "0.8.1",
"version": "0.8.2",
"description": "Steem blockchain RPC client library",
"author": "Johan Nordberg",
"license": "BSD-3-Clause",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment