Skip to content

Commit

Permalink
Deploy js API reference Merge pull request #196 from oasisprotocol/Ce…
Browse files Browse the repository at this point in the history
…darMist/tests/reverts-and-size

Test reversion with custom errors & maximum view call size b216916
  • Loading branch information
github-actions[bot] committed Oct 30, 2023
1 parent 8e4cd31 commit d34d107
Show file tree
Hide file tree
Showing 39 changed files with 96 additions and 96 deletions.
6 changes: 3 additions & 3 deletions js/sapphire-paratime/classes/CallError.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">CallError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/index.ts#L42">clients/js/src/index.ts:42</a></li></ul></aside>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/index.ts#L42">clients/js/src/index.ts:42</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -63,7 +63,7 @@ <h5><span class="tsd-kind-parameter">response</span>: <span class="tsd-signature
<h4 class="tsd-returns-title">Returns <a href="CallError.html" class="tsd-signature-type tsd-kind-class">CallError</a></h4><aside class="tsd-sources">
<p>Overrides Error.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/index.ts#L43">clients/js/src/index.ts:43</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/index.ts#L43">clients/js/src/index.ts:43</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cause" class="tsd-anchor"></a>
Expand All @@ -88,7 +88,7 @@ <h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permali
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>response</span><a href="#response" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">response</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/index.ts#L43">clients/js/src/index.ts:43</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/index.ts#L43">clients/js/src/index.ts:43</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">stack</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
Expand Down
22 changes: 11 additions & 11 deletions js/sapphire-paratime/classes/cipher.Cipher.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4>Hierarchy</h4>
<li><a href="cipher.X25519DeoxysII.html" class="tsd-signature-type tsd-kind-class">X25519DeoxysII</a></li>
<li><a href="cipher.Mock.html" class="tsd-signature-type tsd-kind-class">Mock</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L41">clients/js/src/cipher.ts:41</a></li></ul></aside>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L41">clients/js/src/cipher.ts:41</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -65,12 +65,12 @@ <h2>Properties</h2>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>kind</span><a href="#kind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">kind</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Promisable</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/cipher.Kind.html" class="tsd-signature-type tsd-kind-enum">Kind</a><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L42">clients/js/src/cipher.ts:42</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L42">clients/js/src/cipher.ts:42</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="publicKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">public<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Promisable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L43">clients/js/src/cipher.ts:43</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L43">clients/js/src/cipher.ts:43</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="decrypt" class="tsd-anchor"></a>
Expand All @@ -87,7 +87,7 @@ <h5><span class="tsd-kind-parameter">nonce</span>: <span class="tsd-signature-ty
<h5><span class="tsd-kind-parameter">ciphertext</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
<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 ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L49">clients/js/src/cipher.ts:49</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L49">clients/js/src/cipher.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decryptCallData" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decrypt<wbr/>Call<wbr/>Data</span><a href="#decryptCallData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -108,7 +108,7 @@ <h5><span class="tsd-kind-parameter">ciphertext</span>: <span class="tsd-signatu
<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 ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L92">clients/js/src/cipher.ts:92</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L92">clients/js/src/cipher.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decryptCallResult" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decrypt<wbr/>Call<wbr/>Result</span><a href="#decryptCallResult" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -124,7 +124,7 @@ <h5><span class="tsd-kind-parameter">res</span>: <a href="../types/cipher.CallRe
<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 ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L122">clients/js/src/cipher.ts:122</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L122">clients/js/src/cipher.ts:122</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decryptEncoded" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decrypt<wbr/>Encoded</span><a href="#decryptEncoded" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -140,7 +140,7 @@ <h5><span class="tsd-kind-parameter">callResult</span>: <span class="tsd-signatu
<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">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L115">clients/js/src/cipher.ts:115</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L115">clients/js/src/cipher.ts:115</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="encrypt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>encrypt</span><a href="#encrypt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -153,7 +153,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">plaintext</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">ciphertext</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">nonce</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L45">clients/js/src/cipher.ts:45</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L45">clients/js/src/cipher.ts:45</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="encryptCallData" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>encrypt<wbr/>Call<wbr/>Data</span><a href="#encryptCallData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
Expand All @@ -166,7 +166,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">plaintext</span>: <span class="tsd-signature-type ">Uint8Array</span></h5></li></ul></div>
<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 ">AeadEnvelope</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L76">clients/js/src/cipher.ts:76</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L76">clients/js/src/cipher.ts:76</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="encryptEncode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encrypt<wbr/>Encode</span><a href="#encryptEncode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -182,7 +182,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<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">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L55">clients/js/src/cipher.ts:55</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L55">clients/js/src/cipher.ts:55</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="encryptEnvelope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encrypt<wbr/>Envelope</span><a href="#encryptEnvelope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -198,7 +198,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<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">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../types/cipher.Envelope.html" class="tsd-signature-type tsd-kind-type-alias">Envelope</a><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/d1932bc/clients/js/src/cipher.ts#L61">clients/js/src/cipher.ts:61</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/oasisprotocol/sapphire-paratime/blob/b216916/clients/js/src/cipher.ts#L61">clients/js/src/cipher.ts:61</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit d34d107

Please sign in to comment.