mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-04 14:53:08 +00:00
Updates
This commit is contained in:
parent
0eaa323c2e
commit
4543f42bd6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1124,6 +1124,7 @@ ul.tsd-type-parameter-list h5 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 2.5rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.tsd-page-toolbar .table-cell {
|
||||
position: relative;
|
||||
|
||||
@ -19,10 +19,12 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><a href="../types/index.enr.ENRKey.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRKey</a><span class="tsd-signature-symbol">, </span><a href="../types/index.enr.ENRValue.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRValue</a><span class="tsd-signature-symbol">></span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">ENR</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">ENR</span></li></ul></section></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L31">src/lib/enr/enr.ts:31</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L31">src/lib/enr/enr.ts:31</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">
|
||||
@ -105,30 +107,30 @@
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map<ENRKey, ENRValue>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L37">src/lib/enr/enr.ts:37</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L37">src/lib/enr/enr.ts:37</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-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="_toStringTag_" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[to<wbr/>String<wbr/>Tag]</span><a href="#_toStringTag_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">[to<wbr/>String<wbr/>Tag]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from Map.__@toStringTag@23</p>
|
||||
<p>Inherited from Map.__@toStringTag@24</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:135</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="peerId" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>peer<wbr/>Id</span><a href="#peerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">peer<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">PeerId</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L35">src/lib/enr/enr.ts:35</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L35">src/lib/enr/enr.ts:35</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="seq" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>seq</span><a href="#seq" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">seq<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L33">src/lib/enr/enr.ts:33</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L33">src/lib/enr/enr.ts:33</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="signature" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>signature</span><a href="#signature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">signature<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L34">src/lib/enr/enr.ts:34</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L34">src/lib/enr/enr.ts:34</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="size" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
||||
@ -139,11 +141,11 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>RECORD_<wbr/>PREFIX</span><a href="#RECORD_PREFIX" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">RECORD_<wbr/>PREFIX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"enr:"</span><span class="tsd-signature-symbol"> = "enr:"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L32">src/lib/enr/enr.ts:32</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L32">src/lib/enr/enr.ts:32</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="_species_" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[species]</span><a href="#_species_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">[species]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapConstructor</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from Map.__@species@625</p>
|
||||
<p>Inherited from Map.__@species@641</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:317</li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
@ -155,7 +157,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L150">src/lib/enr/enr.ts:150</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L150">src/lib/enr/enr.ts:150</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="ip" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>ip</span><a href="#ip" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -163,7 +165,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L191">src/lib/enr/enr.ts:191</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L191">src/lib/enr/enr.ts:191</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="ip.ip-2"><span class="tsd-signature-symbol">set</span> ip<span class="tsd-signature-symbol">(</span>ip<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -173,7 +175,7 @@
|
||||
<h5>ip: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L200">src/lib/enr/enr.ts:200</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L200">src/lib/enr/enr.ts:200</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="ip6" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>ip6</span><a href="#ip6" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -181,7 +183,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L242">src/lib/enr/enr.ts:242</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L242">src/lib/enr/enr.ts:242</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="ip6.ip6-2"><span class="tsd-signature-symbol">set</span> ip6<span class="tsd-signature-symbol">(</span>ip<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -191,7 +193,7 @@
|
||||
<h5>ip: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L251">src/lib/enr/enr.ts:251</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L251">src/lib/enr/enr.ts:251</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="keypair" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>keypair</span><a href="#keypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -199,7 +201,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L174">src/lib/enr/enr.ts:174</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L174">src/lib/enr/enr.ts:174</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="keypairType" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>keypair<wbr/>Type</span><a href="#keypairType" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -207,7 +209,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <a href="../enums/index.enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L156">src/lib/enr/enr.ts:156</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L156">src/lib/enr/enr.ts:156</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="multiaddrs" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>multiaddrs</span><a href="#multiaddrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -223,7 +225,7 @@ address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L305">src/lib/enr/enr.ts:305</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L305">src/lib/enr/enr.ts:305</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="multiaddrs.multiaddrs-2"><span class="tsd-signature-symbol">set</span> multiaddrs<span class="tsd-signature-symbol">(</span>multiaddrs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Set the <code>multiaddrs</code> field on the ENR.</p>
|
||||
@ -242,7 +244,7 @@ ie, without a peer id.</p>
|
||||
<h5>multiaddrs: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L325">src/lib/enr/enr.ts:325</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L325">src/lib/enr/enr.ts:325</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="nodeId" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>node<wbr/>Id</span><a href="#nodeId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -250,7 +252,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L182">src/lib/enr/enr.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L182">src/lib/enr/enr.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -258,7 +260,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L165">src/lib/enr/enr.ts:165</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L165">src/lib/enr/enr.ts:165</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="tcp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>tcp</span><a href="#tcp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -266,7 +268,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L208">src/lib/enr/enr.ts:208</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L208">src/lib/enr/enr.ts:208</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="tcp.tcp-2"><span class="tsd-signature-symbol">set</span> tcp<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><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-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -276,7 +278,7 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L217">src/lib/enr/enr.ts:217</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L217">src/lib/enr/enr.ts:217</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="tcp6" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>tcp6</span><a href="#tcp6" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -284,7 +286,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L259">src/lib/enr/enr.ts:259</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L259">src/lib/enr/enr.ts:259</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="tcp6.tcp6-2"><span class="tsd-signature-symbol">set</span> tcp6<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><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-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -294,7 +296,7 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L268">src/lib/enr/enr.ts:268</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L268">src/lib/enr/enr.ts:268</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="udp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>udp</span><a href="#udp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -302,7 +304,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L225">src/lib/enr/enr.ts:225</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L225">src/lib/enr/enr.ts:225</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="udp.udp-2"><span class="tsd-signature-symbol">set</span> udp<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><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-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -312,7 +314,7 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L234">src/lib/enr/enr.ts:234</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L234">src/lib/enr/enr.ts:234</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="udp6" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>udp6</span><a href="#udp6" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -320,7 +322,7 @@ ie, without a peer id.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L276">src/lib/enr/enr.ts:276</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L276">src/lib/enr/enr.ts:276</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="udp6.udp6-2"><span class="tsd-signature-symbol">set</span> udp6<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><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-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
@ -330,7 +332,7 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L285">src/lib/enr/enr.ts:285</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L285">src/lib/enr/enr.ts:285</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="waku2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>waku2</span><a href="#waku2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -340,7 +342,7 @@ ie, without a peer id.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.enr.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L438">src/lib/enr/enr.ts:438</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L438">src/lib/enr/enr.ts:438</a></li></ul></aside></li>
|
||||
<li class="tsd-signature" id="waku2.waku2-2"><span class="tsd-signature-symbol">set</span> waku2<span class="tsd-signature-symbol">(</span>waku2<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.enr.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Set the <code>waku2</code> field on the ENR.</p>
|
||||
@ -352,7 +354,7 @@ ie, without a peer id.</p>
|
||||
<h5>waku2: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.enr.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L448">src/lib/enr/enr.ts:448</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L448">src/lib/enr/enr.ts:448</a></li></ul></aside></li></ul></section></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 tsd-is-inherited tsd-is-external"><a id="_iterator_" class="tsd-anchor"></a>
|
||||
@ -363,7 +365,7 @@ ie, without a peer id.</p>
|
||||
<div class="tsd-comment tsd-typography"><p>Returns an iterable of entries in the map.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from Map.__@iterator@21</p>
|
||||
<p>Inherited from Map.__@iterator@22</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:121</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="clear" class="tsd-anchor"></a>
|
||||
@ -401,7 +403,7 @@ ie, without a peer id.</p>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <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"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L501">src/lib/enr/enr.ts:501</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L501">src/lib/enr/enr.ts:501</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeToValues" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>To<wbr/>Values</span><a href="#encodeToValues" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -414,7 +416,7 @@ ie, without a peer id.</p>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <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"><</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><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><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L478">src/lib/enr/enr.ts:478</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L478">src/lib/enr/enr.ts:478</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeTxt" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>Txt</span><a href="#encodeTxt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -427,7 +429,7 @@ ie, without a peer id.</p>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L511">src/lib/enr/enr.ts:511</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L511">src/lib/enr/enr.ts:511</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="entries" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -487,7 +489,7 @@ ie, without a peer id.</p>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getFullMultiaddr" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Full<wbr/>Multiaddr</span><a href="#getFullMultiaddr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddr.getFullMultiaddr-1">get<wbr/>Full<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getFullMultiaddr.getFullMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddr.getFullMultiaddr-1">get<wbr/>Full<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getFullMultiaddr.getFullMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the full multiaddr from the ENR fields matching the provided
|
||||
<code>protocol</code> parameter.
|
||||
@ -498,10 +500,10 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span></h5></li></ul></div>
|
||||
<h5>protocol: <span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L410">src/lib/enr/enr.ts:410</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L410">src/lib/enr/enr.ts:410</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getFullMultiaddrs" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Full<wbr/>Multiaddrs</span><a href="#getFullMultiaddrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -511,20 +513,20 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L425">src/lib/enr/enr.ts:425</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L425">src/lib/enr/enr.ts:425</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLocationMultiaddr" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Location<wbr/>Multiaddr</span><a href="#getLocationMultiaddr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="getLocationMultiaddr.getLocationMultiaddr-1">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getLocationMultiaddr.getLocationMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="getLocationMultiaddr.getLocationMultiaddr-1">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getLocationMultiaddr.getLocationMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span></h5></li></ul></div>
|
||||
<h5>protocol: <span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L334">src/lib/enr/enr.ts:334</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L334">src/lib/enr/enr.ts:334</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="has" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -565,7 +567,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map.set</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L144">src/lib/enr/enr.ts:144</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L144">src/lib/enr/enr.ts:144</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setLocationMultiaddr" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>set<wbr/>Location<wbr/>Multiaddr</span><a href="#setLocationMultiaddr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -578,7 +580,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>multiaddr: <span class="tsd-signature-type">Multiaddr</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L378">src/lib/enr/enr.ts:378</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L378">src/lib/enr/enr.ts:378</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="sign" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>sign</span><a href="#sign" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -593,7 +595,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>privateKey: <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"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L467">src/lib/enr/enr.ts:467</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L467">src/lib/enr/enr.ts:467</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="values" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -619,7 +621,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L457">src/lib/enr/enr.ts:457</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L457">src/lib/enr/enr.ts:457</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="create" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -636,7 +638,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>signature: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> = null</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L47">src/lib/enr/enr.ts:47</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L47">src/lib/enr/enr.ts:47</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createFromPeerId" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>create<wbr/>From<wbr/>Peer<wbr/>Id</span><a href="#createFromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -651,7 +653,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L81">src/lib/enr/enr.ts:81</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L81">src/lib/enr/enr.ts:81</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createV4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>create<wbr/>V4</span><a href="#createV4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -666,7 +668,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L66">src/lib/enr/enr.ts:66</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L66">src/lib/enr/enr.ts:66</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -679,7 +681,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>encoded: <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"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L130">src/lib/enr/enr.ts:130</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L130">src/lib/enr/enr.ts:130</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decodeFromValues" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>decode<wbr/>From<wbr/>Values</span><a href="#decodeFromValues" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -692,7 +694,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>decoded: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L94">src/lib/enr/enr.ts:94</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L94">src/lib/enr/enr.ts:94</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decodeTxt" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>decode<wbr/>Txt</span><a href="#decodeTxt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -705,7 +707,7 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h5>encoded: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/enr.ts#L135">src/lib/enr/enr.ts:135</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/enr.ts#L135">src/lib/enr/enr.ts:135</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -733,20 +735,25 @@ use <a href="index.enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.enr.ENR.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>ENR</span></a>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/index.enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L7">src/lib/enr/keypair/secp256k1.ts:7</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L7">src/lib/enr/keypair/secp256k1.ts:7</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">
|
||||
@ -68,25 +68,25 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L12">src/lib/enr/keypair/secp256k1.ts:12</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L12">src/lib/enr/keypair/secp256k1.ts:12</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-kind-property tsd-parent-kind-class"><a id="_privateKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>_private<wbr/>Key</span><a href="#_privateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">_private<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L9">src/lib/enr/keypair/secp256k1.ts:9</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L9">src/lib/enr/keypair/secp256k1.ts:9</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_public<wbr/>Key</span><a href="#_publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">_public<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L10">src/lib/enr/keypair/secp256k1.ts:10</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L10">src/lib/enr/keypair/secp256k1.ts:10</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="type" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">type<span class="tsd-signature-symbol">:</span> <a href="../enums/index.enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#type">type</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L8">src/lib/enr/keypair/secp256k1.ts:8</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L8">src/lib/enr/keypair/secp256k1.ts:8</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="privateKey" class="tsd-anchor"></a>
|
||||
@ -97,7 +97,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#privateKey">privateKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L52">src/lib/enr/keypair/secp256k1.ts:52</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L52">src/lib/enr/keypair/secp256k1.ts:52</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
@ -106,7 +106,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#publicKey">publicKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L59">src/lib/enr/keypair/secp256k1.ts:59</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L59">src/lib/enr/keypair/secp256k1.ts:59</a></li></ul></aside></li></ul></section></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 id="hasPrivateKey" class="tsd-anchor"></a>
|
||||
@ -117,7 +117,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#hasPrivateKey">hasPrivateKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L66">src/lib/enr/keypair/secp256k1.ts:66</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L66">src/lib/enr/keypair/secp256k1.ts:66</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="privateKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>private<wbr/>Key<wbr/>Verify</span><a href="#privateKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -131,7 +131,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#privateKeyVerify">privateKeyVerify</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L33">src/lib/enr/keypair/secp256k1.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L33">src/lib/enr/keypair/secp256k1.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="publicKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key<wbr/>Verify</span><a href="#publicKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -145,7 +145,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/index.enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/index.enr.IKeypair.html#publicKeyVerify">publicKeyVerify</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L40">src/lib/enr/keypair/secp256k1.ts:40</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L40">src/lib/enr/keypair/secp256k1.ts:40</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="generate" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>generate</span><a href="#generate" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -153,7 +153,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="index.enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/secp256k1.ts#L27">src/lib/enr/keypair/secp256k1.ts:27</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/secp256k1.ts#L27">src/lib/enr/keypair/secp256k1.ts:27</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -181,20 +181,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.enr.Secp256k1Keypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Secp256k1<wbr/>Keypair</span></a>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L49">src/lib/waku.ts:49</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L48">src/lib/waku.ts:48</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">
|
||||
@ -46,9 +46,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku.WakuNode.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku.WakuNode.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="index.waku.WakuNode.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku.WakuNode.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="index.waku.WakuNode.html#dial" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dial</span></a>
|
||||
<a href="index.waku.WakuNode.html#getLocalMultiaddrWithID" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Local<wbr/>Multiaddr<wbr/>WithID</span></a>
|
||||
<a href="index.waku.WakuNode.html#isStarted" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Started</span></a>
|
||||
@ -80,7 +78,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> filter: <a href="index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.waku.WakuNode.html" class="tsd-signature-type" data-tsd-kind="Class">WakuNode</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L63">src/lib/waku.ts:63</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L62">src/lib/waku.ts:62</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-kind-property tsd-parent-kind-class"><a id="filter" class="tsd-anchor"></a>
|
||||
@ -88,19 +86,19 @@
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">?:</span> <a href="index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#filter">filter</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L53">src/lib/waku.ts:53</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L52">src/lib/waku.ts:52</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#libp2p">libp2p</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L50">src/lib/waku.ts:50</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L49">src/lib/waku.ts:49</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">?:</span> <a href="index.waku_light_push.WakuLightPush.html" class="tsd-signature-type" data-tsd-kind="Class">WakuLightPush</a></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#lightPush">lightPush</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L54">src/lib/waku.ts:54</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L53">src/lib/waku.ts:53</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="pingKeepAliveTimers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>ping<wbr/>Keep<wbr/>Alive<wbr/>Timers</span><a href="#pingKeepAliveTimers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">ping<wbr/>Keep<wbr/>Alive<wbr/>Timers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>[peer: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span></div>
|
||||
@ -110,13 +108,13 @@
|
||||
<li class="tsd-parameter-index-signature">
|
||||
<h5><span class="tsd-signature-symbol">[</span>peer: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">></span></h5></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L56">src/lib/waku.ts:56</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L55">src/lib/waku.ts:55</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">?:</span> <a href="index.waku_relay.WakuRelay.html" class="tsd-signature-type" data-tsd-kind="Class">WakuRelay</a></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#relay">relay</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L51">src/lib/waku.ts:51</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L50">src/lib/waku.ts:50</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="relayKeepAliveTimers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>relay<wbr/>Keep<wbr/>Alive<wbr/>Timers</span><a href="#relayKeepAliveTimers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<wbr/>Keep<wbr/>Alive<wbr/>Timers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>[peer: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span></div>
|
||||
@ -126,45 +124,19 @@
|
||||
<li class="tsd-parameter-index-signature">
|
||||
<h5><span class="tsd-signature-symbol">[</span>peer: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">></span></h5></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L59">src/lib/waku.ts:59</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L58">src/lib/waku.ts:58</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">?:</span> <a href="index.waku_store.WakuStore.html" class="tsd-signature-type" data-tsd-kind="Class">WakuStore</a></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#store">store</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L52">src/lib/waku.ts:52</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L51">src/lib/waku.ts:51</a></li></ul></aside></section></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 id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Register a decryption key to attempt decryption of messages received via
|
||||
<a href="../modules/index.html#WakuRelay">WakuRelay</a> and <a href="../modules/index.html#WakuStore">WakuStore</a>. This can either be a private key for
|
||||
asymmetric encryption or a symmetric key.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#addDecryptionKey">addDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L186">src/lib/waku.ts:186</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addPeerToAddressBook" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span><a href="#addPeerToAddressBook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addPeerToAddressBook.addPeerToAddressBook-1">add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PeerId</span>, multiaddrs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addPeerToAddressBook.addPeerToAddressBook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="addPeerToAddressBook.addPeerToAddressBook-1">add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PeerId</span>, multiaddrs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#addPeerToAddressBook.addPeerToAddressBook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Add peer to address book, it will be auto-dialed in the background.</p>
|
||||
</div>
|
||||
@ -175,28 +147,10 @@ asymmetric encryption or a symmetric key.</p>
|
||||
<h5>peerId: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PeerId</span></h5></li>
|
||||
<li>
|
||||
<h5>multiaddrs: <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#addPeerToAddressBook">addPeerToAddressBook</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L146">src/lib/waku.ts:146</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Delete a decryption key that was used to attempt decryption of messages
|
||||
received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href="../modules/index.html#WakuStore">WakuStore</a>.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#deleteDecryptionKey">deleteDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L201">src/lib/waku.ts:201</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L148">src/lib/waku.ts:148</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="dial" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dial</span><a href="#dial" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -218,7 +172,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#dial">dial</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L118">src/lib/waku.ts:118</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L120">src/lib/waku.ts:120</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLocalMultiaddrWithID" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Local<wbr/>Multiaddr<wbr/>WithID</span><a href="#getLocalMultiaddrWithID" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -230,7 +184,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L212">src/lib/waku.ts:212</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L186">src/lib/waku.ts:186</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isStarted" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>is<wbr/>Started</span><a href="#isStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -239,7 +193,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#isStarted">isStarted</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L175">src/lib/waku.ts:175</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L177">src/lib/waku.ts:177</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -248,7 +202,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#start">start</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L166">src/lib/waku.ts:166</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L168">src/lib/waku.ts:168</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="startKeepAlive" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>start<wbr/>Keep<wbr/>Alive</span><a href="#startKeepAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -265,7 +219,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h5>relayPeriodSecs: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L222">src/lib/waku.ts:222</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L196">src/lib/waku.ts:196</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -274,7 +228,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Waku.html">Waku</a>.<a href="../interfaces/lib_interfaces.Waku.html#stop">stop</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L170">src/lib/waku.ts:170</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L172">src/lib/waku.ts:172</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="stopAllKeepAlives" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>stop<wbr/>All<wbr/>Keep<wbr/>Alives</span><a href="#stopAllKeepAlives" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -282,7 +236,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L265">src/lib/waku.ts:265</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L240">src/lib/waku.ts:240</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="stopKeepAlive" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>stop<wbr/>Keep<wbr/>Alive</span><a href="#stopKeepAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -295,7 +249,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L251">src/lib/waku.ts:251</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L226">src/lib/waku.ts:226</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -323,20 +277,25 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku.WakuNode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Node</span></a>
|
||||
@ -349,9 +308,7 @@ received via <a href="../modules/index.html#WakuRelay">WakuRelay</a> or <a href=
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku.WakuNode.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="index.waku.WakuNode.html#relayKeepAliveTimers" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay<wbr/>Keep<wbr/>Alive<wbr/>Timers</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku.WakuNode.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>store?</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#addPeerToAddressBook" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#dial" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dial</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#getLocalMultiaddrWithID" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Local<wbr/>Multiaddr<wbr/>WithID</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku.WakuNode.html#isStarted" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Started</a></li>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuFilter</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L59">src/lib/waku_filter/index.ts:59</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L65">src/lib/waku_filter/index.ts:65</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">
|
||||
@ -40,7 +40,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_filter.WakuFilter.html#decryptionKeys" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>decryption<wbr/>Keys</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku_filter.WakuFilter.html#decoders" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>decoders</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#libp2p" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>libp2p</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#pubSubTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>pub<wbr/>Sub<wbr/>Topic</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#subscriptions" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>subscriptions</span></a>
|
||||
@ -48,15 +48,15 @@
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_filter.WakuFilter.html#addCallback" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Callback</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#addDecoders" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Decoders</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#deleteCallback" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Callback</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#deleteDecoders" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decoders</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#getPeer" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Peer</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#newStream" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>new<wbr/>Stream</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#onRequest" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>on<wbr/>Request</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#peers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>peers</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#pushMessages" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>push<wbr/>Messages</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#randomPeer" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>random<wbr/>Peer</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#removeCallback" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>remove<wbr/>Callback</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#subscribe" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>subscribe</span></a>
|
||||
<a href="index.waku_filter.WakuFilter.html#unsubscribe" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>unsubscribe</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
@ -76,35 +76,35 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../modules/index.waku_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_filter</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_filter.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L67">src/lib/waku_filter/index.ts:67</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L73">src/lib/waku_filter/index.ts:73</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-kind-property tsd-parent-kind-class"><a id="decryptionKeys" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decryption<wbr/>Keys</span><a href="#decryptionKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decryption<wbr/>Keys<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="decoders" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>decoders</span><a href="#decoders" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decoders<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L62">src/lib/waku_filter/index.ts:62</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L68">src/lib/waku_filter/index.ts:68</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L67">src/lib/waku_filter/index.ts:67</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L73">src/lib/waku_filter/index.ts:73</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L60">src/lib/waku_filter/index.ts:60</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L66">src/lib/waku_filter/index.ts:66</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="subscriptions" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>subscriptions</span><a href="#subscriptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">subscriptions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<div class="tsd-signature">subscriptions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L61">src/lib/waku_filter/index.ts:61</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L67">src/lib/waku_filter/index.ts:67</a></li></ul></aside></section></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 tsd-is-private"><a id="addCallback" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>add<wbr/>Callback</span><a href="#addCallback" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addCallback.addCallback-1">add<wbr/>Callback<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addCallback.addCallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="addCallback.addCallback-1">add<wbr/>Callback<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addCallback.addCallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@ -112,52 +112,63 @@
|
||||
<li>
|
||||
<h5>requestId: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>callback: <a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a></h5></li></ul></div>
|
||||
<h5>callback: <a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L190">src/lib/waku_filter/index.ts:190</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L214">src/lib/waku_filter/index.ts:214</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="addDecoders" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>add<wbr/>Decoders</span><a href="#addDecoders" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecoders.addDecoders-1">add<wbr/>Decoders<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</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><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecoders.addDecoders-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Register a decryption key to attempt decryption of messages received in any
|
||||
subsequent <a href="index.waku_filter.WakuFilter.html#subscribe">subscribe</a> call. This can either be a private key for
|
||||
asymmetric encryption or a symmetric key. <a href="../modules/index.html#WakuStore">WakuStore</a> will attempt to
|
||||
decrypt messages using both methods.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h5>decoders: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L258">src/lib/waku_filter/index.ts:258</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L222">src/lib/waku_filter/index.ts:222</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="deleteCallback" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>delete<wbr/>Callback</span><a href="#deleteCallback" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteCallback.deleteCallback-1">delete<wbr/>Callback<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteCallback.deleteCallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Delete a decryption key so that it cannot be used in future <a href="index.waku_filter.WakuFilter.html#subscribe">subscribe</a> calls</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h5>requestId: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L270">src/lib/waku_filter/index.ts:270</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L218">src/lib/waku_filter/index.ts:218</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="deleteDecoders" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>delete<wbr/>Decoders</span><a href="#deleteDecoders" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecoders.deleteDecoders-1">delete<wbr/>Decoders<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</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><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecoders.deleteDecoders-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>decoders: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L235">src/lib/waku_filter/index.ts:235</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="getPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Peer</span><a href="#getPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -170,7 +181,7 @@ decrypt messages using both methods.</p>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> peerId: <span class="tsd-signature-type">PeerId</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L230">src/lib/waku_filter/index.ts:230</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L280">src/lib/waku_filter/index.ts:280</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="newStream" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>new<wbr/>Stream</span><a href="#newStream" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -183,7 +194,7 @@ decrypt messages using both methods.</p>
|
||||
<h5>peer: <span class="tsd-signature-type">Peer</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L220">src/lib/waku_filter/index.ts:220</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L270">src/lib/waku_filter/index.ts:270</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="onRequest" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>on<wbr/>Request</span><a href="#onRequest" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -196,7 +207,7 @@ decrypt messages using both methods.</p>
|
||||
<h5>streamData: <span class="tsd-signature-type">IncomingStreamData</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L137">src/lib/waku_filter/index.ts:137</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L149">src/lib/waku_filter/index.ts:149</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="peers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>peers</span><a href="#peers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -204,11 +215,11 @@ decrypt messages using both methods.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L274">src/lib/waku_filter/index.ts:274</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L292">src/lib/waku_filter/index.ts:292</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="pushMessages" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>push<wbr/>Messages</span><a href="#pushMessages" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="pushMessages.pushMessages-1">push<wbr/>Messages<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, messages<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#pushMessages.pushMessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="pushMessages.pushMessages-1">push<wbr/>Messages<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, messages<span class="tsd-signature-symbol">: </span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#pushMessages.pushMessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@ -216,10 +227,10 @@ decrypt messages using both methods.</p>
|
||||
<li>
|
||||
<h5>requestId: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>messages: <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h5>messages: <a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L160">src/lib/waku_filter/index.ts:160</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L172">src/lib/waku_filter/index.ts:172</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="randomPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>random<wbr/>Peer</span><a href="#randomPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -227,38 +238,32 @@ decrypt messages using both methods.</p>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L278">src/lib/waku_filter/index.ts:278</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="removeCallback" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>remove<wbr/>Callback</span><a href="#removeCallback" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="removeCallback.removeCallback-1">remove<wbr/>Callback<span class="tsd-signature-symbol">(</span>requestId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeCallback.removeCallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>requestId: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L194">src/lib/waku_filter/index.ts:194</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L296">src/lib/waku_filter/index.ts:296</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="subscribe" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>subscribe</span><a href="#subscribe" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="subscribe.subscribe-1">subscribe<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a>, contentTopics<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, opts<span class="tsd-signature-symbol">?: </span><a href="../types/index.waku_filter.FilterSubscriptionOpts.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterSubscriptionOpts</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/index.waku_filter.UnsubscribeFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">UnsubscribeFunction</a><span class="tsd-signature-symbol">></span><a href="#subscribe.subscribe-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="subscribe.subscribe-1">subscribe<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, callback<span class="tsd-signature-symbol">: </span><a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span>, opts<span class="tsd-signature-symbol">?: </span><a href="../types/index.waku_filter.FilterSubscriptionOpts.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterSubscriptionOpts</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/index.waku_filter.UnsubscribeFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">UnsubscribeFunction</a><span class="tsd-signature-symbol">></span><a href="#subscribe.subscribe-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<h3>Returns</h3><p>Unsubscribe function that can be used to end the subscription.</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>callback: <a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that will be called on each message returned by the filter.</p>
|
||||
<h5>decoders: <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Array of Decoders to use to decode messages, it also specifies the content topics.</p>
|
||||
</div></li>
|
||||
<li>
|
||||
<h5>contentTopics: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Array of ContentTopics to subscribe to. If empty, no messages will be returned from the filter.</p>
|
||||
<h5>callback: <a href="../types/index.waku_filter.FilterCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterCallback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that will be called on each message returned by the filter.</p>
|
||||
</div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> opts: <a href="../types/index.waku_filter.FilterSubscriptionOpts.html" class="tsd-signature-type" data-tsd-kind="Type alias">FilterSubscriptionOpts</a></h5>
|
||||
@ -266,7 +271,7 @@ decrypt messages using both methods.</p>
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/index.waku_filter.UnsubscribeFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">UnsubscribeFunction</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L82">src/lib/waku_filter/index.ts:82</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L88">src/lib/waku_filter/index.ts:88</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="unsubscribe" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>unsubscribe</span><a href="#unsubscribe" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -285,7 +290,7 @@ decrypt messages using both methods.</p>
|
||||
<h5>peer: <span class="tsd-signature-type">Peer</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L198">src/lib/waku_filter/index.ts:198</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L248">src/lib/waku_filter/index.ts:248</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -313,39 +318,44 @@ decrypt messages using both methods.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku_filter.WakuFilter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Filter</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#decryptionKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decryption<wbr/>Keys</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#decoders" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decoders</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#libp2p" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>libp2p</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#pubSubTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>pub<wbr/>Sub<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#subscriptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>subscriptions</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#addCallback" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Callback</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#addDecoders" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decoders</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#deleteCallback" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Callback</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#deleteDecoders" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decoders</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#getPeer" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Peer</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#newStream" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>new<wbr/>Stream</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#onRequest" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>on<wbr/>Request</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#peers" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>peers</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#pushMessages" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>push<wbr/>Messages</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#randomPeer" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>random<wbr/>Peer</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#removeCallback" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>remove<wbr/>Callback</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_filter.WakuFilter.html#subscribe" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>subscribe</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="index.waku_filter.WakuFilter.html#unsubscribe" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>unsubscribe</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuLightPush</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L43">src/lib/waku_light_push/index.ts:43</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L47">src/lib/waku_light_push/index.ts:47</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">
|
||||
@ -60,19 +60,19 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../modules/index.waku_light_push.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_light_push</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_light_push.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.waku_light_push.WakuLightPush.html" class="tsd-signature-type" data-tsd-kind="Class">WakuLightPush</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L46">src/lib/waku_light_push/index.ts:46</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L50">src/lib/waku_light_push/index.ts:50</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-kind-property tsd-parent-kind-class"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L46">src/lib/waku_light_push/index.ts:46</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L50">src/lib/waku_light_push/index.ts:50</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L44">src/lib/waku_light_push/index.ts:44</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L48">src/lib/waku_light_push/index.ts:48</a></li></ul></aside></section></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 id="peers" class="tsd-anchor"></a>
|
||||
@ -86,22 +86,24 @@ peers.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L111">src/lib/waku_light_push/index.ts:111</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L125">src/lib/waku_light_push/index.ts:125</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="push" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>push</span><a href="#push" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="push.push-1">push<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a>, opts<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_light_push.PushOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">PushOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a><span class="tsd-signature-symbol">></span><a href="#push.push-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="push.push-1">push<span class="tsd-signature-symbol">(</span>encoder<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a>, message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a>, opts<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_light_push.PushOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">PushOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-signature-type" data-tsd-kind="Interface">SendResult</a><span class="tsd-signature-symbol">></span><a href="#push.push-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a></h5></li>
|
||||
<h5>encoder: <a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a></h5></li>
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> opts: <a href="../interfaces/index.waku_light_push.PushOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">PushOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/index.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-signature-type" data-tsd-kind="Interface">SendResult</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L50">src/lib/waku_light_push/index.ts:50</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L54">src/lib/waku_light_push/index.ts:54</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="randomPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>random<wbr/>Peer</span><a href="#randomPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -113,7 +115,7 @@ this peer.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L120">src/lib/waku_light_push/index.ts:120</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L134">src/lib/waku_light_push/index.ts:134</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -141,20 +143,25 @@ this peer.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku_light_push.WakuLightPush.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Light<wbr/>Push</span></a>
|
||||
|
||||
@ -1,309 +0,0 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WakuMessage | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.waku_message.html">waku_message</a></li>
|
||||
<li><a href="index.waku_message.WakuMessage.html">WakuMessage</a></li></ul>
|
||||
<h1>Class WakuMessage</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuMessage</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L47">src/lib/waku_message/index.ts:47</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.WakuMessage.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.WakuMessage.html#proto" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>proto</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.WakuMessage.html#contentTopic" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#payload" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>payload</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#payloadAsUtf8" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>payload<wbr/>As<wbr/>Utf8</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#signature" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>signature</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#signaturePublicKey" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>signature<wbr/>Public<wbr/>Key</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#timestamp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>timestamp</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#version" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>version</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.WakuMessage.html#encode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>encode</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#decode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#decodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#fromBytes" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>from<wbr/>Bytes</span></a>
|
||||
<a href="index.waku_message.WakuMessage.html#fromUtf8String" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>from<wbr/>Utf8<wbr/>String</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_WakuMessage">new <wbr/>Waku<wbr/>Message<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a>, _signaturePublicKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span>, _signature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><a href="#constructor.new_WakuMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> _signaturePublicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> _signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L48">src/lib/waku_message/index.ts:48</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-kind-property tsd-parent-kind-class"><a id="proto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>proto</span><a href="#proto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">proto<span class="tsd-signature-symbol">:</span> <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L49">src/lib/waku_message/index.ts:49</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="contentTopic.contentTopic-1"><span class="tsd-signature-symbol">get</span> contentTopic<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L267">src/lib/waku_message/index.ts:267</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="payload.payload-1"><span class="tsd-signature-symbol">get</span> payload<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L260">src/lib/waku_message/index.ts:260</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="payloadAsUtf8" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>payload<wbr/>As<wbr/>Utf8</span><a href="#payloadAsUtf8" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="payloadAsUtf8.payloadAsUtf8-1"><span class="tsd-signature-symbol">get</span> payloadAsUtf8<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L247">src/lib/waku_message/index.ts:247</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="signature" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>signature</span><a href="#signature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="signature.signature-1"><span class="tsd-signature-symbol">get</span> signature<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>The signature of the message.</p>
|
||||
<p>MAY be present if the message is version 1.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L309">src/lib/waku_message/index.ts:309</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="signaturePublicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>signature<wbr/>Public<wbr/>Key</span><a href="#signaturePublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="signaturePublicKey.signaturePublicKey-1"><span class="tsd-signature-symbol">get</span> signaturePublicKey<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>The public key used to sign the message.</p>
|
||||
<p>MAY be present if the message is version 1.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L300">src/lib/waku_message/index.ts:300</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="timestamp.timestamp-1"><span class="tsd-signature-symbol">get</span> timestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L276">src/lib/waku_message/index.ts:276</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="version.version-1"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L271">src/lib/waku_message/index.ts:271</a></li></ul></aside></li></ul></section></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 id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#encode.encode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L243">src/lib/waku_message/index.ts:243</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, decryptionParams<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-signature-type" data-tsd-kind="Interface">DecryptionParams</a><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Decode a byte array into Waku Message.</p>
|
||||
|
||||
<h3>Params</h3><p>bytes The message encoded using protobuf as defined in <a href="https://rfc.vac.dev/spec/14/">14/WAKU2-MESSAGE</a>.</p>
|
||||
|
||||
<h3>Params</h3><p>decryptionKeys If the payload is encrypted (version = 1), then the
|
||||
keys are used to attempt decryption of the message. The passed key can either
|
||||
be asymmetric private keys or symmetric keys, both method are tried for each
|
||||
key until the message is decrypted or combinations are run out.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> decryptionParams: <a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-signature-type" data-tsd-kind="Interface">DecryptionParams</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L131">src/lib/waku_message/index.ts:131</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decodeProto.decodeProto-1">decode<wbr/>Proto<span class="tsd-signature-symbol">(</span>protoBuf<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a>, decryptionParams<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-signature-type" data-tsd-kind="Interface">DecryptionParams</a><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#decodeProto.decodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Decode and decrypt Waku Message Protobuf Object into Waku Message.</p>
|
||||
|
||||
<h3>Params</h3><p>protoBuf The message to decode and decrypt.</p>
|
||||
|
||||
<h3>Params</h3><p>decryptionParams If the payload is encrypted (version = 1), then the
|
||||
keys are used to attempt decryption of the message. The passed key can either
|
||||
be asymmetric private keys or symmetric keys, both method are tried for each
|
||||
key until the message is decrypted or combinations are run out.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protoBuf: <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> decryptionParams: <a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-signature-type" data-tsd-kind="Interface">DecryptionParams</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L149">src/lib/waku_message/index.ts:149</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromBytes" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Bytes</span><a href="#fromBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="fromBytes.fromBytes-1">from<wbr/>Bytes<span class="tsd-signature-symbol">(</span>payload<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, opts<span class="tsd-signature-symbol">?: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_message.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#fromBytes.fromBytes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Create a Waku Message with the given payload.</p>
|
||||
<p>By default, the payload is kept clear (version 0).
|
||||
If <code>opts.encPublicKey</code> is passed, the payload is encrypted using
|
||||
asymmetric encryption (version 1).</p>
|
||||
<p>If <code>opts.sigPrivKey</code> is passed and version 1 is used, the payload is signed
|
||||
before encryption.</p>
|
||||
|
||||
<h3>Throws</h3><p>if both <code>opts.encPublicKey</code> and <code>opt.symKey</code> are passed</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>payload: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> opts: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_message.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L78">src/lib/waku_message/index.ts:78</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromUtf8String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Utf8<wbr/>String</span><a href="#fromUtf8String" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="fromUtf8String.fromUtf8String-1">from<wbr/>Utf8<wbr/>String<span class="tsd-signature-symbol">(</span>utf8<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, opts<span class="tsd-signature-symbol">?: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_message.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#fromUtf8String.fromUtf8String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Create Message with an utf-8 string as payload.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>utf8: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> opts: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_message.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L57">src/lib/waku_message/index.ts:57</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku_message.WakuMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Message</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><a href="index.waku_message.WakuMessage.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#proto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>proto</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#payload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>payload</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#payloadAsUtf8" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>payload<wbr/>As<wbr/>Utf8</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#signature" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>signature</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#signaturePublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>signature<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>timestamp</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>version</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode<wbr/>Proto</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#fromBytes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>from<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_message.WakuMessage.html#fromUtf8String" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>from<wbr/>Utf8<wbr/>String</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -24,10 +24,12 @@ Must be passed as a <code>pubsub</code> module to a <code>Libp2p</code> instance
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type">GossipSub</span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuRelay</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">WakuRelay</span></li></ul></section></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L45">src/lib/waku_relay/index.ts:45</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L52">src/lib/waku_relay/index.ts:52</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">
|
||||
@ -41,7 +43,7 @@ Must be passed as a <code>pubsub</code> module to a <code>Libp2p</code> instance
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_relay.WakuRelay.html#_private" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>#private</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#control" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>control</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#decryptionKeys" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>decryption<wbr/>Keys</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#defaultDecoder" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>default<wbr/>Decoder</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#direct" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>direct</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#fanout" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>fanout</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#globalSignaturePolicy" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>global<wbr/>Signature<wbr/>Policy</span></a>
|
||||
@ -66,11 +68,8 @@ Must be passed as a <code>pubsub</code> module to a <code>Libp2p</code> instance
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_relay.WakuRelay.html#acceptFrom" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>accept<wbr/>From</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#addEventListener" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Event<wbr/>Listener</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#addObserver" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Observer</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#deleteObserver" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Observer</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#dispatchEvent" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dispatch<wbr/>Event</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#dumpPeerScoreStats" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dump<wbr/>Peer<wbr/>Score<wbr/>Stats</span></a>
|
||||
<a href="index.waku_relay.WakuRelay.html#getMeshPeers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Mesh<wbr/>Peers</span></a>
|
||||
@ -108,7 +107,7 @@ Must be passed as a <code>pubsub</code> module to a <code>Libp2p</code> instance
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.waku_relay.WakuRelay.html" class="tsd-signature-type" data-tsd-kind="Class">WakuRelay</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides GossipSub.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L62">src/lib/waku_relay/index.ts:62</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L63">src/lib/waku_relay/index.ts:63</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-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited tsd-is-external"><a id="_private" class="tsd-anchor"></a>
|
||||
@ -126,11 +125,11 @@ peer id => control message</p>
|
||||
<p>Inherited from GossipSub.control</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/@chainsafe/libp2p-gossipsub/dist/src/index.d.ts:145</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="decryptionKeys" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decryption<wbr/>Keys</span><a href="#decryptionKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decryption<wbr/>Keys<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="defaultDecoder" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>default<wbr/>Decoder</span><a href="#defaultDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">default<wbr/>Decoder<span class="tsd-signature-symbol">:</span> <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L49">src/lib/waku_relay/index.ts:49</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L54">src/lib/waku_relay/index.ts:54</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="direct" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>direct</span><a href="#direct" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">direct<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></div>
|
||||
@ -190,17 +189,12 @@ topic => peer id set</p>
|
||||
<li>Defined in node_modules/@chainsafe/libp2p-gossipsub/dist/src/index.d.ts:95</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="observers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>observers</span><a href="#observers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">observers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>[contentTopic: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span></div>
|
||||
<div class="tsd-signature">observers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><a href="../types/index.waku_relay.Observer.html" class="tsd-signature-type" data-tsd-kind="Type alias">Observer</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>observers called when receiving new message.
|
||||
Observers under key <code>""</code> are always called.</p>
|
||||
</div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-index-signature">
|
||||
<h5><span class="tsd-signature-symbol">[</span>contentTopic: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">></span></h5></li></ul></div><aside class="tsd-sources">
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L58">src/lib/waku_relay/index.ts:58</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L61">src/lib/waku_relay/index.ts:61</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="opts" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">opts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">GossipOptions</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
@ -217,7 +211,7 @@ Observers under key <code>""</code> are always called.</p>
|
||||
<h3 class="tsd-anchor-link"><span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L46">src/lib/waku_relay/index.ts:46</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L53">src/lib/waku_relay/index.ts:53</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="score" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>score</span><a href="#score" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">score<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PeerScore</span></div>
|
||||
@ -249,7 +243,7 @@ Observers under key <code>""</code> are always called.</p>
|
||||
<div class="tsd-signature">multicodec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
||||
<p>Overrides GossipSub.multicodec</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L47">src/lib/waku_relay/index.ts:47</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L55">src/lib/waku_relay/index.ts:55</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="started" class="tsd-anchor"></a>
|
||||
@ -279,31 +273,6 @@ Observers under key <code>""</code> are always called.</p>
|
||||
<p>Inherited from GossipSub.acceptFrom</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/@chainsafe/libp2p-gossipsub/dist/src/index.d.ts:288</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Register a decryption key to attempt decryption of received messages.
|
||||
This can either be a private key for asymmetric encryption or a symmetric
|
||||
key. <code>WakuRelay</code> will attempt to decrypt messages using both methods.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L111">src/lib/waku_relay/index.ts:111</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="addEventListener" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Event<wbr/>Listener</span><a href="#addEventListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -311,9 +280,11 @@ key. <code>WakuRelay</code> will attempt to decrypt messages using both methods.
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type">GossipsubEvents</span></h4></li></ul></div>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type">GossipsubEvents</span></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
@ -330,84 +301,39 @@ key. <code>WakuRelay</code> will attempt to decrypt messages using both methods.
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addObserver" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Observer</span><a href="#addObserver" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addObserver.addObserver-1">add<wbr/>Observer<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addObserver.addObserver-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="addObserver.addObserver-1">add<wbr/>Observer<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoder<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span>, callback<span class="tsd-signature-symbol">: </span><a href="../types/index.waku_relay.Callback.html" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</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><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><a href="#addObserver.addObserver-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Register an observer of new messages received via waku relay</p>
|
||||
<div class="tsd-comment tsd-typography"><p>Add an observer and associated Decoder to process incoming messages on a given content topic.</p>
|
||||
|
||||
<h3>Returns</h3></div>
|
||||
<h3>Returns</h3><p>Function to delete the observer</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>called when a new message is received via waku relay</p>
|
||||
</div>
|
||||
<h5>decoder: <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h5></li>
|
||||
<li>
|
||||
<h5>callback: <a href="../types/index.waku_relay.Callback.html" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-signature" id="addObserver.addObserver-1.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5>contentTopics: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Content Topics for which the callback with be called,
|
||||
all of them if undefined, [] or ["",..] is passed.</p>
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L136">src/lib/waku_relay/index.ts:136</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Delete a decryption key that was used to attempt decryption of received
|
||||
messages.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
<div class="tsd-comment tsd-typography"><p>Add an observer and associated Decoder to process incoming messages on a given content topic.</p>
|
||||
|
||||
<h3>Returns</h3><p>Function to delete the observer</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L124">src/lib/waku_relay/index.ts:124</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteObserver" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Observer</span><a href="#deleteObserver" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteObserver.deleteObserver-1">delete<wbr/>Observer<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteObserver.deleteObserver-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Remove an observer of new messages received via waku relay.
|
||||
Useful to ensure the same observer is not registered several time
|
||||
(e.g when loading React components)</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5>contentTopics: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L160">src/lib/waku_relay/index.ts:160</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L109">src/lib/waku_relay/index.ts:109</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="dispatchEvent" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dispatch<wbr/>Event</span><a href="#dispatchEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -446,7 +372,7 @@ Useful to ensure the same observer is not registered several time
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<p>Overrides GossipSub.getMeshPeers</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L228">src/lib/waku_relay/index.ts:228</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L174">src/lib/waku_relay/index.ts:174</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="getPeers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Peers</span><a href="#getPeers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -612,9 +538,11 @@ Note: <code>async</code> due to crypto only if <code>StrictSign</code>, otherwis
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type">GossipsubEvents</span></h4></li></ul></div>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type">GossipsubEvents</span></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
@ -664,19 +592,20 @@ in the cache anymore.</p>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="send" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>send</span><a href="#send" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="send.send-1">send<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#send.send-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="send.send-1">send<span class="tsd-signature-symbol">(</span>encoder<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a>, message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-signature-type" data-tsd-kind="Interface">SendResult</a><span class="tsd-signature-symbol">></span><a href="#send.send-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Send Waku message.</p>
|
||||
|
||||
<h3>Returns</h3></div>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<h5>encoder: <a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a></h5></li>
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-signature-type" data-tsd-kind="Interface">SendResult</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L99">src/lib/waku_relay/index.ts:99</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L95">src/lib/waku_relay/index.ts:95</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -689,7 +618,7 @@ and subscribes to the default topic.</p>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Overrides GossipSub.start</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L88">src/lib/waku_relay/index.ts:88</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L87">src/lib/waku_relay/index.ts:87</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -716,7 +645,7 @@ and subscribes to the default topic.</p>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Overrides GossipSub.subscribe</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L182">src/lib/waku_relay/index.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L132">src/lib/waku_relay/index.ts:132</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="unsubscribe" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>unsubscribe</span><a href="#unsubscribe" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -760,20 +689,25 @@ and subscribes to the default topic.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku_relay.WakuRelay.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Relay</span></a>
|
||||
@ -781,7 +715,7 @@ and subscribes to the default topic.</p>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#_private" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>#private</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#control" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>control</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#decryptionKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decryption<wbr/>Keys</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#defaultDecoder" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>default<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#direct" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>direct</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#fanout" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>fanout</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#globalSignaturePolicy" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>global<wbr/>Signature<wbr/>Policy</a></li>
|
||||
@ -800,11 +734,8 @@ and subscribes to the default topic.</p>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#multicodec" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>multicodec</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#started" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>started</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#acceptFrom" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>accept<wbr/>From</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#addEventListener" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Event<wbr/>Listener</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#addObserver" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Observer</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#deleteObserver" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Observer</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#dispatchEvent" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dispatch<wbr/>Event</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="index.waku_relay.WakuRelay.html#dumpPeerScoreStats" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dump<wbr/>Peer<wbr/>Score<wbr/>Stats</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_relay.WakuRelay.html#getMeshPeers" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Mesh<wbr/>Peers</a></li>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuStore</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L106">src/lib/waku_store/index.ts:106</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L83">src/lib/waku_store/index.ts:83</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">
|
||||
@ -36,17 +36,15 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.WakuStore.html#decryptionKeys" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>decryption<wbr/>Keys</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#libp2p" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>libp2p</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.WakuStore.html#libp2p" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>libp2p</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#pubSubTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>pub<wbr/>Sub<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.WakuStore.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#peers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>peers</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#queryHistory" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>query<wbr/>History</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#randomPeer" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>random<wbr/>Peer</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.WakuStore.html#peers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>peers</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#queryCallbackOnPromise" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>query<wbr/>Callback<wbr/>On<wbr/>Promise</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#queryGenerator" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>query<wbr/>Generator</span></a>
|
||||
<a href="index.waku_store.WakuStore.html#queryOrderedCallback" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>query<wbr/>Ordered<wbr/>Callback</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
@ -64,70 +62,21 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../modules/index.waku_store.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_store</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.waku_store.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="index.waku_store.WakuStore.html" class="tsd-signature-type" data-tsd-kind="Class">WakuStore</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L113">src/lib/waku_store/index.ts:113</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L86">src/lib/waku_store/index.ts:86</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-kind-property tsd-parent-kind-class"><a id="decryptionKeys" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decryption<wbr/>Keys</span><a href="#decryptionKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decryption<wbr/>Keys<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L108">src/lib/waku_store/index.ts:108</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L113">src/lib/waku_store/index.ts:113</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L86">src/lib/waku_store/index.ts:86</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L107">src/lib/waku_store/index.ts:107</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L84">src/lib/waku_store/index.ts:84</a></li></ul></aside></section></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 id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Register a decryption key to attempt decryption of messages received in any
|
||||
subsequent <a href="index.waku_store.WakuStore.html#queryHistory">queryHistory</a> call. This can either be a private key for
|
||||
asymmetric encryption or a symmetric key. <a href="index.waku_store.WakuStore.html">WakuStore</a> will attempt to
|
||||
decrypt messages using both methods.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L288">src/lib/waku_store/index.ts:288</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>cursorV2Beta4
|
||||
Delete a decryption key that was used to attempt decryption of messages
|
||||
received in subsequent <a href="index.waku_store.WakuStore.html#queryHistory">queryHistory</a> calls.</p>
|
||||
<p>Strings must be in hex format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L301">src/lib/waku_store/index.ts:301</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="peers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>peers</span><a href="#peers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -138,44 +87,146 @@ store protocol. Waku may or may not be currently connected to these peers.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L309">src/lib/waku_store/index.ts:309</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="queryHistory" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>query<wbr/>History</span><a href="#queryHistory" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L262">src/lib/waku_store/index.ts:262</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="queryCallbackOnPromise" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>query<wbr/>Callback<wbr/>On<wbr/>Promise</span><a href="#queryCallbackOnPromise" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="queryHistory.queryHistory-1">query<wbr/>History<span class="tsd-signature-symbol">(</span>contentTopics<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#queryHistory.queryHistory-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="queryCallbackOnPromise.queryCallbackOnPromise-1">query<wbr/>Callback<wbr/>On<wbr/>Promise<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#queryCallbackOnPromise.queryCallbackOnPromise-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Do a query to a Waku Store to retrieve historical/missed messages.</p>
|
||||
<p>The callback function takes a <code>Promise<WakuMessage></code> in input,
|
||||
useful if messages needs to be decrypted and performance matters.</p>
|
||||
<p>The order of the messages passed to the callback is as follows:</p>
|
||||
<ul>
|
||||
<li>within a page, messages are expected to be ordered from oldest to most recent</li>
|
||||
<li>pages direction depends on <a href="../interfaces/index.waku_store.QueryOptions.html#pageDirection">pageDirection</a></li>
|
||||
</ul>
|
||||
<p>Do note that the resolution of the <code>Promise<WakuMessage | undefined</code> may
|
||||
break the order as it may rely on the browser decryption API, which in turn,
|
||||
may have a different speed depending on the type of decryption.</p>
|
||||
|
||||
<h3>Throws</h3><p>If not able to reach a Waku Store peer to query
|
||||
or if an error is encountered when processing the reply.</p>
|
||||
<h3>Throws</h3><p>If not able to reach a Waku Store peer to query,
|
||||
or if an error is encountered when processing the reply,
|
||||
or if two decoders with the same content topic are passed.</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopics: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The content topics to pass to the query, leave empty to
|
||||
retrieve all messages.</p>
|
||||
</div></li>
|
||||
<h5>decoders: <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Optional parameters.</p>
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L129">src/lib/waku_store/index.ts:129</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="randomPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>random<wbr/>Peer</span><a href="#randomPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="randomPeer.randomPeer-1">random<wbr/>Peer<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">></span><a href="#randomPeer.randomPeer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a random peer that supports store protocol from the address
|
||||
book (<code>libp2p.peerStore</code>). Waku may or may not be currently connected to
|
||||
this peer.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L323">src/lib/waku_store/index.ts:323</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L156">src/lib/waku_store/index.ts:156</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="queryGenerator" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>query<wbr/>Generator</span><a href="#queryGenerator" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="queryGenerator.queryGenerator-1">query<wbr/>Generator<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><a href="#queryGenerator.queryGenerator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Do a query to a Waku Store to retrieve historical/missed messages.</p>
|
||||
<p>This is a generator, useful if you want most control on how messages
|
||||
are processed.</p>
|
||||
<p>The order of the messages returned by the remote Waku node SHOULD BE
|
||||
as follows:</p>
|
||||
<ul>
|
||||
<li>within a page, messages SHOULD be ordered from oldest to most recent</li>
|
||||
<li>pages direction depends on <a href="../interfaces/index.waku_store.QueryOptions.html#pageDirection">pageDirection</a></li>
|
||||
</ul>
|
||||
<p>However, there is no way to guarantee the behavior of the remote node.</p>
|
||||
|
||||
<h3>Throws</h3><p>If not able to reach a Waku Store peer to query,
|
||||
or if an error is encountered when processing the reply,
|
||||
or if two decoders with the same content topic are passed.</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>decoders: <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L194">src/lib/waku_store/index.ts:194</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="queryOrderedCallback" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>query<wbr/>Ordered<wbr/>Callback</span><a href="#queryOrderedCallback" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="queryOrderedCallback.queryOrderedCallback-1">query<wbr/>Ordered<wbr/>Callback<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>decoders<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#queryOrderedCallback.queryOrderedCallback-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Do a query to a Waku Store to retrieve historical/missed messages.</p>
|
||||
<p>The callback function takes a <code>WakuMessage</code> in input,
|
||||
messages are processed in order:</p>
|
||||
<ul>
|
||||
<li>oldest to latest if <code>options.pageDirection</code> == <a href="../enums/index.waku_store.PageDirection.html#FORWARD">FORWARD</a></li>
|
||||
<li>latest to oldest if <code>options.pageDirection</code> == <a href="../enums/index.waku_store.PageDirection.html#BACKWARD">BACKWARD</a></li>
|
||||
</ul>
|
||||
<p>The ordering may affect performance.
|
||||
The ordering depends on the behavior of the remote store node.
|
||||
If strong ordering is needed, you may need to handle this at application level
|
||||
and set your own timestamps too (the WakuMessage timestamps are not certified).</p>
|
||||
|
||||
<h3>Throws</h3><p>If not able to reach a Waku Store peer to query,
|
||||
or if an error is encountered when processing the reply,
|
||||
or if two decoders with the same content topic are passed.</p>
|
||||
</div>
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>decoders: <a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li>
|
||||
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">QueryOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L107">src/lib/waku_store/index.ts:107</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -203,33 +254,36 @@ this peer.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace"><a href="index.waku_store.WakuStore.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Store</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#decryptionKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decryption<wbr/>Keys</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#libp2p" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>libp2p</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#pubSubTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>pub<wbr/>Sub<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#peers" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>peers</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#queryHistory" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>query<wbr/>History</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#randomPeer" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>random<wbr/>Peer</a></li></ul></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#queryCallbackOnPromise" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>query<wbr/>Callback<wbr/>On<wbr/>Promise</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#queryGenerator" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>query<wbr/>Generator</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="index.waku_store.WakuStore.html#queryOrderedCallback" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>query<wbr/>Ordered<wbr/>Callback</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -21,14 +21,16 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type">EventEmitter</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">></span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">PeerDiscoveryStaticPeers</span></li></ul></li></ul></section>
|
||||
<li><span class="target">PeerDiscoveryStaticPeers</span></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type">PeerDiscovery</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L34">src/lib/peer_discovery_static_list.ts:34</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L34">src/lib/peer_discovery_static_list.ts:34</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">
|
||||
@ -81,7 +83,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_peer_discovery_static_list.PeerDiscoveryStaticPeers.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryStaticPeers</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides EventEmitter<PeerDiscoveryEvents>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L47">src/lib/peer_discovery_static_list.ts:47</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L47">src/lib/peer_discovery_static_list.ts:47</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-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited tsd-is-external"><a id="_private" class="tsd-anchor"></a>
|
||||
@ -95,22 +97,22 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>interval</span><a href="#interval" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L41">src/lib/peer_discovery_static_list.ts:41</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L41">src/lib/peer_discovery_static_list.ts:41</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="peers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>peers</span><a href="#peers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">peers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PeerInfo</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L39">src/lib/peer_discovery_static_list.ts:39</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L39">src/lib/peer_discovery_static_list.ts:39</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="timer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>timer</span><a href="#timer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">timer<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Timer</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L40">src/lib/peer_discovery_static_list.ts:40</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L40">src/lib/peer_discovery_static_list.ts:40</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="DefaultInterval" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>Default<wbr/>Interval</span><a href="#DefaultInterval" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Default<wbr/>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 200</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L38">src/lib/peer_discovery_static_list.ts:38</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L38">src/lib/peer_discovery_static_list.ts:38</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_symbol_" class="tsd-anchor"></a>
|
||||
@ -119,18 +121,18 @@
|
||||
<li class="tsd-signature" id="_symbol_._symbol_-1"><span class="tsd-signature-symbol">get</span> [symbol]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">true</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">true</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of PeerDiscovery.__@symbol@3831</p>
|
||||
<p>Implementation of PeerDiscovery.__@symbol@3530</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L110">src/lib/peer_discovery_static_list.ts:110</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L110">src/lib/peer_discovery_static_list.ts:110</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_toStringTag_" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>[to<wbr/>String<wbr/>Tag]</span><a href="#_toStringTag_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="_toStringTag_._toStringTag_-1"><span class="tsd-signature-symbol">get</span> [toStringTag]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of PeerDiscovery.__@toStringTag@23</p>
|
||||
<p>Implementation of PeerDiscovery.__@toStringTag@24</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L114">src/lib/peer_discovery_static_list.ts:114</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L114">src/lib/peer_discovery_static_list.ts:114</a></li></ul></aside></li></ul></section></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 id="_returnPeers" class="tsd-anchor"></a>
|
||||
@ -140,7 +142,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L87">src/lib/peer_discovery_static_list.ts:87</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L87">src/lib/peer_discovery_static_list.ts:87</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="_startTimer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_start<wbr/>Timer</span><a href="#_startTimer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
@ -148,7 +150,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L74">src/lib/peer_discovery_static_list.ts:74</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L74">src/lib/peer_discovery_static_list.ts:74</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="addEventListener" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Event<wbr/>Listener</span><a href="#addEventListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
||||
@ -156,9 +158,11 @@
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"peer"</span></h4></li></ul></div>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"peer"</span></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
@ -210,9 +214,11 @@
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"peer"</span></h4></li></ul></div>
|
||||
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"peer"</span></h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
@ -236,7 +242,7 @@
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L70">src/lib/peer_discovery_static_list.ts:70</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L70">src/lib/peer_discovery_static_list.ts:70</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -246,7 +252,7 @@
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L102">src/lib/peer_discovery_static_list.ts:102</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L102">src/lib/peer_discovery_static_list.ts:102</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -274,20 +280,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_peer_discovery_static_list.PeerDiscoveryStaticPeers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Peer<wbr/>Discovery<wbr/>Static<wbr/>Peers</span></a>
|
||||
|
||||
@ -0,0 +1,147 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TopicOnlyDecoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_message/topic_only_message</a></li>
|
||||
<li><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html">TopicOnlyDecoder</a></li></ul>
|
||||
<h1>Class TopicOnlyDecoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">TopicOnlyDecoder</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L16">src/lib/waku_message/topic_only_message.ts:16</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#decode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>decode</span></a>
|
||||
<a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#decodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_TopicOnlyDecoder">new <wbr/>Topic<wbr/>Only<wbr/>Decoder<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyDecoder</a><a href="#constructor.new_TopicOnlyDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyDecoder</a></h4></li></ul></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ""</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Decoder.html">Decoder</a>.<a href="../interfaces/lib_interfaces.Decoder.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L17">src/lib/waku_message/topic_only_message.ts:17</a></li></ul></aside></section></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 id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decode</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L25">src/lib/waku_message/topic_only_message.ts:25</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decodeProto.decodeProto-1">decode<wbr/>Proto<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#decodeProto.decodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decodeProto</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L19">src/lib/waku_message/topic_only_message.ts:19</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Topic<wbr/>Only<wbr/>Decoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyDecoder.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -0,0 +1,120 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TopicOnlyMessage | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_message/topic_only_message</a></li>
|
||||
<li><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html">TopicOnlyMessage</a></li></ul>
|
||||
<h1>Class TopicOnlyMessage</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">TopicOnlyMessage</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L8">src/lib/waku_message/topic_only_message.ts:8</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html#contentTopic" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_TopicOnlyMessage">new <wbr/>Topic<wbr/>Only<wbr/>Message<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><a href="#constructor.new_TopicOnlyMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L9">src/lib/waku_message/topic_only_message.ts:9</a></li></ul></aside></li></ul></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="contentTopic.contentTopic-1"><span class="tsd-signature-symbol">get</span> contentTopic<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/topic_only_message.ts#L11">src/lib/waku_message/topic_only_message.ts:11</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Topic<wbr/>Only<wbr/>Message</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_topic_only_message.TopicOnlyMessage.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>content<wbr/>Topic</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
159
classes/lib_waku_message_version_0.DecoderV0.html
Normal file
159
classes/lib_waku_message_version_0.DecoderV0.html
Normal file
@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DecoderV0 | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_0.html">lib/waku_message/version_0</a></li>
|
||||
<li><a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a></li></ul>
|
||||
<h1>Class DecoderV0</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">DecoderV0</span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_waku_message_version_1.AsymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymDecoder</a></li>
|
||||
<li><a href="lib_waku_message_version_1.SymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymDecoder</a></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L78">src/lib/waku_message/version_0.ts:78</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.DecoderV0.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.DecoderV0.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.DecoderV0.html#decode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>decode</span></a>
|
||||
<a href="lib_waku_message_version_0.DecoderV0.html#decodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_DecoderV0">new <wbr/>Decoder<wbr/>V0<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_0.DecoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">DecoderV0</a><a href="#constructor.new_DecoderV0" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_0.DecoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">DecoderV0</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L79">src/lib/waku_message/version_0.ts:79</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-kind-property tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Decoder.html">Decoder</a>.<a href="../interfaces/lib_interfaces.Decoder.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L79">src/lib/waku_message/version_0.ts:79</a></li></ul></aside></section></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 id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decode</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L87">src/lib/waku_message/version_0.ts:87</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decodeProto.decodeProto-1">decode<wbr/>Proto<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#decodeProto.decodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decodeProto</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L81">src/lib/waku_message/version_0.ts:81</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_0.DecoderV0.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Decoder<wbr/>V0</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_0.DecoderV0.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_0.DecoderV0.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_0.DecoderV0.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_0.DecoderV0.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
154
classes/lib_waku_message_version_0.EncoderV0.html
Normal file
154
classes/lib_waku_message_version_0.EncoderV0.html
Normal file
@ -0,0 +1,154 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EncoderV0 | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_0.html">lib/waku_message/version_0</a></li>
|
||||
<li><a href="lib_waku_message_version_0.EncoderV0.html">EncoderV0</a></li></ul>
|
||||
<h1>Class EncoderV0</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">EncoderV0</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L59">src/lib/waku_message/version_0.ts:59</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.EncoderV0.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.EncoderV0.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.EncoderV0.html#encode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>encode</span></a>
|
||||
<a href="lib_waku_message_version_0.EncoderV0.html#encodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_EncoderV0">new <wbr/>Encoder<wbr/>V0<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_0.EncoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">EncoderV0</a><a href="#constructor.new_EncoderV0" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_0.EncoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">EncoderV0</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L60">src/lib/waku_message/version_0.ts:60</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-kind-property tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Encoder.html">Encoder</a>.<a href="../interfaces/lib_interfaces.Encoder.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L60">src/lib/waku_message/version_0.ts:60</a></li></ul></aside></section></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 id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><a href="#encode.encode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encode</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L62">src/lib/waku_message/version_0.ts:62</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>Proto</span><a href="#encodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encodeProto.encodeProto-1">encode<wbr/>Proto<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#encodeProto.encodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encodeProto</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L66">src/lib/waku_message/version_0.ts:66</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_0.EncoderV0.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Encoder<wbr/>V0</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_0.EncoderV0.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_0.EncoderV0.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_0.EncoderV0.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_0.EncoderV0.html#encodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
176
classes/lib_waku_message_version_0.MessageV0.html
Normal file
176
classes/lib_waku_message_version_0.MessageV0.html
Normal file
@ -0,0 +1,176 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MessageV0 | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_0.html">lib/waku_message/version_0</a></li>
|
||||
<li><a href="lib_waku_message_version_0.MessageV0.html">MessageV0</a></li></ul>
|
||||
<h1>Class MessageV0</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">MessageV0</span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L12">src/lib/waku_message/version_0.ts:12</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.MessageV0.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_0.MessageV0.html#_rawPayload" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>_raw<wbr/>Payload</span></a>
|
||||
<a href="lib_waku_message_version_0.MessageV0.html#_rawTimestamp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>_raw<wbr/>Timestamp</span></a>
|
||||
<a href="lib_waku_message_version_0.MessageV0.html#contentTopic" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>content<wbr/>Topic</span></a>
|
||||
<a href="lib_waku_message_version_0.MessageV0.html#payload" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>payload</span></a>
|
||||
<a href="lib_waku_message_version_0.MessageV0.html#timestamp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>timestamp</span></a>
|
||||
<a href="lib_waku_message_version_0.MessageV0.html#version" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>version</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_MessageV0">new <wbr/>Message<wbr/>V0<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a><a href="#constructor.new_MessageV0" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L13">src/lib/waku_message/version_0.ts:13</a></li></ul></aside></li></ul></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_rawPayload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>_raw<wbr/>Payload</span><a href="#_rawPayload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="_rawPayload._rawPayload-1"><span class="tsd-signature-symbol">get</span> _rawPayload<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L15">src/lib/waku_message/version_0.ts:15</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_rawTimestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>_raw<wbr/>Timestamp</span><a href="#_rawTimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="_rawTimestamp._rawTimestamp-1"><span class="tsd-signature-symbol">get</span> _rawTimestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L30">src/lib/waku_message/version_0.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="contentTopic.contentTopic-1"><span class="tsd-signature-symbol">get</span> contentTopic<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L26">src/lib/waku_message/version_0.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="payload.payload-1"><span class="tsd-signature-symbol">get</span> payload<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#payload">payload</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L22">src/lib/waku_message/version_0.ts:22</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="timestamp.timestamp-1"><span class="tsd-signature-symbol">get</span> timestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#timestamp">timestamp</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L34">src/lib/waku_message/version_0.ts:34</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="version.version-1"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L53">src/lib/waku_message/version_0.ts:53</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Message<wbr/>V0</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#_rawPayload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_raw<wbr/>Payload</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#_rawTimestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_raw<wbr/>Timestamp</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#payload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>payload</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>timestamp</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_0.MessageV0.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>version</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
164
classes/lib_waku_message_version_1.AsymDecoder.html
Normal file
164
classes/lib_waku_message_version_1.AsymDecoder.html
Normal file
@ -0,0 +1,164 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AsymDecoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_1.html">lib/waku_message/version_1</a></li>
|
||||
<li><a href="lib_waku_message_version_1.AsymDecoder.html">AsymDecoder</a></li></ul>
|
||||
<h1>Class AsymDecoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_waku_message_version_0.DecoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">DecoderV0</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">AsymDecoder</span></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L113">src/lib/waku_message/version_1.ts:113</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymDecoder.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymDecoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymDecoder.html#decode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>decode</span></a>
|
||||
<a href="lib_waku_message_version_1.AsymDecoder.html#decodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_AsymDecoder">new <wbr/>Asym<wbr/>Decoder<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_1.AsymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymDecoder</a><a href="#constructor.new_AsymDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_1.AsymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymDecoder</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L114">src/lib/waku_message/version_1.ts:114</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-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Decoder.html">Decoder</a>.<a href="../interfaces/lib_interfaces.Decoder.html#contentTopic">contentTopic</a></p>
|
||||
<p>Inherited from <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L79">src/lib/waku_message/version_0.ts:79</a></li></ul></aside></section></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 id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protoMessage: <a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decode</p>
|
||||
<p>Overrides <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#decode">decode</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L118">src/lib/waku_message/version_1.ts:118</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decodeProto.decodeProto-1">decode<wbr/>Proto<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#decodeProto.decodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decodeProto</p>
|
||||
<p>Inherited from <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#decodeProto">decodeProto</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L81">src/lib/waku_message/version_0.ts:81</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_1.AsymDecoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Asym<wbr/>Decoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymDecoder.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.AsymDecoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymDecoder.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.AsymDecoder.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
158
classes/lib_waku_message_version_1.AsymEncoder.html
Normal file
158
classes/lib_waku_message_version_1.AsymEncoder.html
Normal file
@ -0,0 +1,158 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AsymEncoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_1.html">lib/waku_message/version_1</a></li>
|
||||
<li><a href="lib_waku_message_version_1.AsymEncoder.html">AsymEncoder</a></li></ul>
|
||||
<h1>Class AsymEncoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">AsymEncoder</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L48">src/lib/waku_message/version_1.ts:48</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymEncoder.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymEncoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.AsymEncoder.html#encode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>encode</span></a>
|
||||
<a href="lib_waku_message_version_1.AsymEncoder.html#encodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_AsymEncoder">new <wbr/>Asym<wbr/>Encoder<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, sigPrivKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_1.AsymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymEncoder</a><a href="#constructor.new_AsymEncoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_1.AsymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymEncoder</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L49">src/lib/waku_message/version_1.ts:49</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-kind-property tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Encoder.html">Encoder</a>.<a href="../interfaces/lib_interfaces.Encoder.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L50">src/lib/waku_message/version_1.ts:50</a></li></ul></aside></section></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 id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><a href="#encode.encode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encode</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L55">src/lib/waku_message/version_1.ts:55</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>Proto</span><a href="#encodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encodeProto.encodeProto-1">encode<wbr/>Proto<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#encodeProto.encodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encodeProto</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L62">src/lib/waku_message/version_1.ts:62</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_1.AsymEncoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Asym<wbr/>Encoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymEncoder.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymEncoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymEncoder.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.AsymEncoder.html#encodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
215
classes/lib_waku_message_version_1.MessageV1.html
Normal file
215
classes/lib_waku_message_version_1.MessageV1.html
Normal file
@ -0,0 +1,215 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MessageV1 | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_1.html">lib/waku_message/version_1</a></li>
|
||||
<li><a href="lib_waku_message_version_1.MessageV1.html">MessageV1</a></li></ul>
|
||||
<h1>Class MessageV1</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">MessageV1</span></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L30">src/lib/waku_message/version_1.ts:30</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.MessageV1.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.MessageV1.html#_decodedPayload" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>_decoded<wbr/>Payload</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#signature" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>signature?</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#signaturePublicKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>signature<wbr/>Public<wbr/>Key?</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.MessageV1.html#_rawPayload" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>_raw<wbr/>Payload</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#_rawTimestamp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>_raw<wbr/>Timestamp</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#contentTopic" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>content<wbr/>Topic</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#payload" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>payload</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#timestamp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>timestamp</span></a>
|
||||
<a href="lib_waku_message_version_1.MessageV1.html#version" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>version</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_MessageV1">new <wbr/>Message<wbr/>V1<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a>, decodedPayload<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, signature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span>, signaturePublicKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><a href="#constructor.new_MessageV1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li>
|
||||
<li>
|
||||
<h5>decodedPayload: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signaturePublicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_waku_message_version_0.MessageV0.html">MessageV0</a>.<a href="lib_waku_message_version_0.MessageV0.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L33">src/lib/waku_message/version_1.ts:33</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-kind-property tsd-parent-kind-class tsd-is-private"><a id="_decodedPayload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_decoded<wbr/>Payload</span><a href="#_decodedPayload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">_decoded<wbr/>Payload<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L31">src/lib/waku_message/version_1.ts:31</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="signature" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>signature</span><a href="#signature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">signature<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L36">src/lib/waku_message/version_1.ts:36</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="signaturePublicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>signature<wbr/>Public<wbr/>Key</span><a href="#signaturePublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">signature<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L37">src/lib/waku_message/version_1.ts:37</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="_rawPayload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>_raw<wbr/>Payload</span><a href="#_rawPayload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature" id="_rawPayload._rawPayload-1"><span class="tsd-signature-symbol">get</span> _rawPayload<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from MessageV0._rawPayload</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L15">src/lib/waku_message/version_0.ts:15</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="_rawTimestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>_raw<wbr/>Timestamp</span><a href="#_rawTimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature" id="_rawTimestamp._rawTimestamp-1"><span class="tsd-signature-symbol">get</span> _rawTimestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from MessageV0._rawTimestamp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L30">src/lib/waku_message/version_0.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature" id="contentTopic.contentTopic-1"><span class="tsd-signature-symbol">get</span> contentTopic<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#contentTopic">contentTopic</a></p>
|
||||
<p>Inherited from MessageV0.contentTopic</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L26">src/lib/waku_message/version_0.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<li class="tsd-signature" id="payload.payload-1"><span class="tsd-signature-symbol">get</span> payload<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#payload">payload</a></p>
|
||||
<p>Overrides MessageV0.payload</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L43">src/lib/waku_message/version_1.ts:43</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature" id="timestamp.timestamp-1"><span class="tsd-signature-symbol">get</span> timestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Message.html">Message</a>.<a href="../interfaces/lib_interfaces.Message.html#timestamp">timestamp</a></p>
|
||||
<p>Inherited from MessageV0.timestamp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L34">src/lib/waku_message/version_0.ts:34</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="version" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature" id="version.version-1"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from MessageV0.version</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L53">src/lib/waku_message/version_0.ts:53</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Message<wbr/>V1</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_1.MessageV1.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="lib_waku_message_version_1.MessageV1.html#_decodedPayload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>_decoded<wbr/>Payload</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_1.MessageV1.html#signature" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>signature?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_1.MessageV1.html#signaturePublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>signature<wbr/>Public<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.MessageV1.html#_rawPayload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_raw<wbr/>Payload</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.MessageV1.html#_rawTimestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_raw<wbr/>Timestamp</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.MessageV1.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="lib_waku_message_version_1.MessageV1.html#payload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>payload</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.MessageV1.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>timestamp</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.MessageV1.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>version</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
164
classes/lib_waku_message_version_1.SymDecoder.html
Normal file
164
classes/lib_waku_message_version_1.SymDecoder.html
Normal file
@ -0,0 +1,164 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SymDecoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_1.html">lib/waku_message/version_1</a></li>
|
||||
<li><a href="lib_waku_message_version_1.SymDecoder.html">SymDecoder</a></li></ul>
|
||||
<h1>Class SymDecoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_waku_message_version_0.DecoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">DecoderV0</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">SymDecoder</span></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Decoder</a><span class="tsd-signature-symbol"><</span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L169">src/lib/waku_message/version_1.ts:169</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymDecoder.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymDecoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymDecoder.html#decode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>decode</span></a>
|
||||
<a href="lib_waku_message_version_1.SymDecoder.html#decodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_SymDecoder">new <wbr/>Sym<wbr/>Decoder<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, symKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_1.SymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymDecoder</a><a href="#constructor.new_SymDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>symKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_1.SymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymDecoder</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L170">src/lib/waku_message/version_1.ts:170</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-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Decoder.html">Decoder</a>.<a href="../interfaces/lib_interfaces.Decoder.html#contentTopic">contentTopic</a></p>
|
||||
<p>Inherited from <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L79">src/lib/waku_message/version_0.ts:79</a></li></ul></aside></section></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 id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protoMessage: <a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decode</p>
|
||||
<p>Overrides <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#decode">decode</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L174">src/lib/waku_message/version_1.ts:174</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decodeProto.decodeProto-1">decode<wbr/>Proto<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#decodeProto.decodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Decoder.decodeProto</p>
|
||||
<p>Inherited from <a href="lib_waku_message_version_0.DecoderV0.html">DecoderV0</a>.<a href="lib_waku_message_version_0.DecoderV0.html#decodeProto">decodeProto</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_0.ts#L81">src/lib/waku_message/version_0.ts:81</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_1.SymDecoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Sym<wbr/>Decoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymDecoder.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.SymDecoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymDecoder.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="lib_waku_message_version_1.SymDecoder.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
158
classes/lib_waku_message_version_1.SymEncoder.html
Normal file
158
classes/lib_waku_message_version_1.SymEncoder.html
Normal file
@ -0,0 +1,158 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SymEncoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_waku_message_version_1.html">lib/waku_message/version_1</a></li>
|
||||
<li><a href="lib_waku_message_version_1.SymEncoder.html">SymEncoder</a></li></ul>
|
||||
<h1>Class SymEncoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">SymEncoder</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-signature-type" data-tsd-kind="Interface">Encoder</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L81">src/lib/waku_message/version_1.ts:81</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymEncoder.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymEncoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_waku_message_version_1.SymEncoder.html#encode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>encode</span></a>
|
||||
<a href="lib_waku_message_version_1.SymEncoder.html#encodeProto" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_SymEncoder">new <wbr/>Sym<wbr/>Encoder<span class="tsd-signature-symbol">(</span>contentTopic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, symKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, sigPrivKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="lib_waku_message_version_1.SymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymEncoder</a><a href="#constructor.new_SymEncoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5>symKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="lib_waku_message_version_1.SymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymEncoder</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L82">src/lib/waku_message/version_1.ts:82</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-kind-property tsd-parent-kind-class"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/lib_interfaces.Encoder.html">Encoder</a>.<a href="../interfaces/lib_interfaces.Encoder.html#contentTopic">contentTopic</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L83">src/lib/waku_message/version_1.ts:83</a></li></ul></aside></section></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 id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><a href="#encode.encode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encode</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L88">src/lib/waku_message/version_1.ts:88</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>Proto</span><a href="#encodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encodeProto.encodeProto-1">encode<wbr/>Proto<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><a href="#encodeProto.encodeProto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="../interfaces/lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of Encoder.encodeProto</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_message/version_1.ts#L95">src/lib/waku_message/version_1.ts:95</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="lib_waku_message_version_1.SymEncoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Sym<wbr/>Encoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymEncoder.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymEncoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymEncoder.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="lib_waku_message_version_1.SymEncoder.html#encodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -16,7 +16,7 @@
|
||||
<li><a href="index.enr.KeypairType.html">KeypairType</a></li></ul>
|
||||
<h1>Enumeration KeypairType</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L1">src/lib/enr/keypair/types.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L1">src/lib/enr/keypair/types.ts:1</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">
|
||||
@ -34,17 +34,17 @@
|
||||
<h3 class="tsd-anchor-link"><span>ed25519</span><a href="#ed25519" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">ed25519<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L3">src/lib/enr/keypair/types.ts:3</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L3">src/lib/enr/keypair/types.ts:3</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="rsa" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>rsa</span><a href="#rsa" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">rsa<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L2">src/lib/enr/keypair/types.ts:2</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L2">src/lib/enr/keypair/types.ts:2</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="secp256k1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>secp256k1</span><a href="#secp256k1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">secp256k1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L4">src/lib/enr/keypair/types.ts:4</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L4">src/lib/enr/keypair/types.ts:4</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -72,20 +72,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-namespace"><a href="index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Keypair<wbr/>Type</span></a>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<li><a href="index.waku.Protocols.html">Protocols</a></li></ul>
|
||||
<h1>Enumeration Protocols</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L24">src/lib/waku.ts:24</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L24">src/lib/waku.ts:24</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">
|
||||
@ -35,22 +35,22 @@
|
||||
<h3 class="tsd-anchor-link"><span>Filter</span><a href="#Filter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"filter"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L28">src/lib/waku.ts:28</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L28">src/lib/waku.ts:28</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="LightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Light<wbr/>Push</span><a href="#LightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Light<wbr/>Push<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"lightpush"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L27">src/lib/waku.ts:27</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L27">src/lib/waku.ts:27</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Relay</span><a href="#Relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Relay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"relay"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L25">src/lib/waku.ts:25</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L25">src/lib/waku.ts:25</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Store</span><a href="#Store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"store"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L26">src/lib/waku.ts:26</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L26">src/lib/waku.ts:26</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -78,20 +78,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-namespace"><a href="index.waku.Protocols.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Protocols</span></a>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<li><a href="index.waku_store.PageDirection.html">PageDirection</a></li></ul>
|
||||
<h1>Enumeration PageDirection</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/history_rpc.ts#L11">src/lib/waku_store/history_rpc.ts:11</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/history_rpc.ts#L11">src/lib/waku_store/history_rpc.ts:11</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">
|
||||
@ -33,12 +33,12 @@
|
||||
<h3 class="tsd-anchor-link"><span>BACKWARD</span><a href="#BACKWARD" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">BACKWARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"backward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/history_rpc.ts#L12">src/lib/waku_store/history_rpc.ts:12</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/history_rpc.ts#L12">src/lib/waku_store/history_rpc.ts:12</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="FORWARD" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>FORWARD</span><a href="#FORWARD" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">FORWARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"forward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/history_rpc.ts#L13">src/lib/waku_store/history_rpc.ts:13</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/history_rpc.ts#L13">src/lib/waku_store/history_rpc.ts:13</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -66,20 +66,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-namespace"><a href="index.waku_store.PageDirection.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Page<wbr/>Direction</span></a>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<li><a href="index.waku_store.StoreCodecs.html">StoreCodecs</a></li></ul>
|
||||
<h1>Enumeration StoreCodecs</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/constants.ts#L6">src/lib/constants.ts:6</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/constants.ts#L6">src/lib/constants.ts:6</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">
|
||||
@ -33,12 +33,12 @@
|
||||
<h3 class="tsd-anchor-link"><span>V2<wbr/>Beta3</span><a href="#V2Beta3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">V2<wbr/>Beta3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"/vac/waku/store/2.0.0-beta3"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/constants.ts#L7">src/lib/constants.ts:7</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/constants.ts#L7">src/lib/constants.ts:7</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="V2Beta4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>V2<wbr/>Beta4</span><a href="#V2Beta4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">V2<wbr/>Beta4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"/vac/waku/store/2.0.0-beta4"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/constants.ts#L8">src/lib/constants.ts:8</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/constants.ts#L8">src/lib/constants.ts:8</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -66,20 +66,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-namespace"><a href="index.waku_store.StoreCodecs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Store<wbr/>Codecs</span></a>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="lib_predefined_bootstrap_nodes.Fleet.html">Fleet</a></li></ul>
|
||||
<h1>Enumeration Fleet</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/predefined_bootstrap_nodes.ts#L7">src/lib/predefined_bootstrap_nodes.ts:7</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/predefined_bootstrap_nodes.ts#L7">src/lib/predefined_bootstrap_nodes.ts:7</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">
|
||||
@ -32,12 +32,12 @@
|
||||
<h3 class="tsd-anchor-link"><span>Prod</span><a href="#Prod" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">Prod<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"prod"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/predefined_bootstrap_nodes.ts#L8">src/lib/predefined_bootstrap_nodes.ts:8</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/predefined_bootstrap_nodes.ts#L8">src/lib/predefined_bootstrap_nodes.ts:8</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Test" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Test</span><a href="#Test" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Test<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"test"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/predefined_bootstrap_nodes.ts#L9">src/lib/predefined_bootstrap_nodes.ts:9</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/predefined_bootstrap_nodes.ts#L9">src/lib/predefined_bootstrap_nodes.ts:9</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -65,20 +65,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-module"><a href="lib_predefined_bootstrap_nodes.Fleet.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Fleet</span></a>
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/index.enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/index.ts#L13">src/lib/enr/keypair/index.ts:13</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/index.ts#L13">src/lib/enr/keypair/index.ts:13</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -58,20 +58,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/index.enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/index.ts#L46">src/lib/enr/keypair/index.ts:46</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/index.ts#L46">src/lib/enr/keypair/index.ts:46</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<h5>keypair: <a href="../interfaces/index.enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/index.ts#L26">src/lib/enr/keypair/index.ts:26</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/index.ts#L26">src/lib/enr/keypair/index.ts:26</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<h5>byte: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/index.enr.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L22">src/lib/enr/waku2_codec.ts:22</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L22">src/lib/enr/waku2_codec.ts:22</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<h5>protocols: <a href="../interfaces/index.enr.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L8">src/lib/enr/waku2_codec.ts:8</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L8">src/lib/enr/waku2_codec.ts:8</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/crypto.ts#L35">src/lib/crypto.ts:35</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/crypto.ts#L35">src/lib/crypto.ts:35</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -51,20 +51,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#LightPushCodec" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-8388608-path"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)" id="icon-8388608-text"></path></svg>Light<wbr/>Push<wbr/>Codec</a></li>
|
||||
@ -74,7 +79,6 @@
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#StoreCodecs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Store<wbr/>Codecs</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuFilter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuLightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuMessage" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuNode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Node</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuRelay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Relay</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuStore" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Store</a></li>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/crypto.ts#L42">src/lib/crypto.ts:42</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/crypto.ts#L42">src/lib/crypto.ts:42</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -50,20 +50,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#LightPushCodec" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-8388608-path"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)" id="icon-8388608-text"></path></svg>Light<wbr/>Push<wbr/>Codec</a></li>
|
||||
@ -73,7 +78,6 @@
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#StoreCodecs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Store<wbr/>Codecs</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuFilter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuLightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuMessage" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuNode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Node</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuRelay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Relay</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuStore" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Store</a></li>
|
||||
|
||||
@ -30,7 +30,7 @@ encryption.</p>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> isCompressed: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:66</li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:71</li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -58,20 +58,25 @@ encryption.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#LightPushCodec" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-8388608-path"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)" id="icon-8388608-text"></path></svg>Light<wbr/>Push<wbr/>Codec</a></li>
|
||||
@ -81,7 +86,6 @@ encryption.</p>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#StoreCodecs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Store<wbr/>Codecs</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuFilter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuLightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuMessage" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuNode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Node</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuRelay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Relay</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="../modules/index.html#WakuStore" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Store</a></li>
|
||||
|
||||
@ -18,11 +18,11 @@
|
||||
<h1>Function codec</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="codec">codec<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#codec" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="codec">codec<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span><a href="#codec" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L19">src/proto/message.ts:19</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L19">src/proto/message.ts:19</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -50,20 +50,25 @@
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
@ -18,16 +18,16 @@
|
||||
<h1>Function decode</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode">decode<span class="tsd-signature-symbol">(</span>buf<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode">decode<span class="tsd-signature-symbol">(</span>buf<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>buf: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h4><aside class="tsd-sources">
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L98">src/proto/message.ts:98</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L98">src/proto/message.ts:98</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
@ -18,16 +18,16 @@
|
||||
<h1>Function encode</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode">encode<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode">encode<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>obj: <a href="../modules/index.proto_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li></ul></div>
|
||||
<h5>obj: <a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L94">src/proto/message.ts:94</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L94">src/proto/message.ts:94</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
@ -0,0 +1,79 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>codec | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.html">proto_topic_only_message</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
|
||||
<li><a href="index.proto_topic_only_message.TopicOnlyMessage.codec.html">codec</a></li></ul>
|
||||
<h1>Function codec</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="codec">codec<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">></span><a href="#codec" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L15">src/proto/topic_only_message.ts:15</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.decode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.encode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>encode</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>decode | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.html">proto_topic_only_message</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
|
||||
<li><a href="index.proto_topic_only_message.TopicOnlyMessage.decode.html">decode</a></li></ul>
|
||||
<h1>Function decode</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="decode">decode<span class="tsd-signature-symbol">(</span>buf<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>buf: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L62">src/proto/topic_only_message.ts:62</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.decode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.encode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>encode</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>encode | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.html">proto_topic_only_message</a></li>
|
||||
<li><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
|
||||
<li><a href="index.proto_topic_only_message.TopicOnlyMessage.encode.html">encode</a></li></ul>
|
||||
<h1>Function encode</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="encode">encode<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>obj: <a href="../modules/index.proto_topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L58">src/proto/topic_only_message.ts:58</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.decode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>decode</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.encode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>encode</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -28,7 +28,7 @@
|
||||
<h5>bytes: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L20">src/lib/utils.ts:20</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L20">src/lib/utils.ts:20</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -56,20 +56,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<h5>b: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L26">src/lib/utils.ts:26</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L26">src/lib/utils.ts:26</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -56,20 +56,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> totalLength: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L36">src/lib/utils.ts:36</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L36">src/lib/utils.ts:36</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -58,20 +58,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>hex: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L9">src/lib/utils.ts:9</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L9">src/lib/utils.ts:9</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -57,20 +57,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<h5>s: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L31">src/lib/utils.ts:31</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L31">src/lib/utils.ts:31</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -56,20 +56,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/index.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L87">src/proto/light_push.ts:87</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L87">src/proto/light_push.ts:87</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -50,20 +50,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<h5>buf: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ArrayList</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/index.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L142">src/proto/light_push.ts:142</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L142">src/proto/light_push.ts:142</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<h5>obj: <a href="../interfaces/index.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L138">src/proto/light_push.ts:138</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L138">src/proto/light_push.ts:138</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>codec</a></li>
|
||||
|
||||
95
functions/index.waku_store.isDefined.html
Normal file
95
functions/index.waku_store.isDefined.html
Normal file
@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>isDefined | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.waku_store.html">waku_store</a></li>
|
||||
<li><a href="index.waku_store.isDefined.html">isDefined</a></li></ul>
|
||||
<h1>Function isDefined</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
||||
<li class="tsd-signature tsd-anchor-link" id="isDefined">is<wbr/>Defined<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">msg</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><a href="#isDefined" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-type-parameters">
|
||||
<h4 class="tsd-type-parameters-title">Type Parameters</h4>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T</h4></li></ul></section></div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>msg: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">msg</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L373">src/lib/waku_store/index.ts:373</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.waku_store.PageDirection.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Page<wbr/>Direction</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.waku_store.StoreCodecs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Store<wbr/>Codecs</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/index.waku_store.WakuStore.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg>Waku<wbr/>Store</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Query<wbr/>Options</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.TimeFilter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Time<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/index.waku_store.DefaultPageSize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>Default<wbr/>Page<wbr/>Size</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="index.waku_store.isDefined.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>is<wbr/>Defined</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -31,7 +31,7 @@ receive messages, enabling low resource consumption.
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.WakuLight.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuLight</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L60">src/lib/create_waku.ts:60</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L60">src/lib/create_waku.ts:60</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -59,20 +59,25 @@ receive messages, enabling low resource consumption.
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<h1>Function createPrivacyNode</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
|
||||
<li class="tsd-signature tsd-anchor-link" id="createPrivacyNode">create<wbr/>Privacy<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.WakuPrivacy.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuPrivacy</a><span class="tsd-signature-symbol">></span><a href="#createPrivacyNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="createPrivacyNode">create<wbr/>Privacy<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CreateOptions</a><span class="tsd-signature-symbol">></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"><</span><a href="../interfaces/lib_interfaces.WakuPrivacy.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuPrivacy</a><span class="tsd-signature-symbol">></span><a href="#createPrivacyNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Create a Waku node that uses Waku Relay to send and receive messages,
|
||||
enabling some privacy preserving properties.</p>
|
||||
@ -25,10 +25,10 @@ enabling some privacy preserving properties.</p>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li></ul></div>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CreateOptions</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.WakuPrivacy.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuPrivacy</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L89">src/lib/create_waku.ts:89</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L89">src/lib/create_waku.ts:89</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -56,20 +56,25 @@ enabling some privacy preserving properties.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<h1>Function createWaku</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
|
||||
<li class="tsd-signature tsd-anchor-link" id="createWaku">create<wbr/>Waku<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a><span class="tsd-signature-symbol">></span><a href="#createWaku" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="createWaku">create<wbr/>Waku<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CreateOptions</a><span class="tsd-signature-symbol">></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"><</span><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a><span class="tsd-signature-symbol">></span><a href="#createWaku" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<h3>Deprecated</h3><p>use <a href="lib_create_waku.createLightNode.html">createLightNode</a>, <a href="lib_create_waku.createPrivacyNode.html">createPrivacyNode</a> or
|
||||
@ -26,10 +26,10 @@
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li></ul></div>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateOptions</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/index.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/index.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CreateOptions</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L146">src/lib/create_waku.ts:146</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L146">src/lib/create_waku.ts:146</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -57,20 +57,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">RecursivePartial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Libp2pInit</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L175">src/lib/create_waku.ts:175</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L175">src/lib/create_waku.ts:175</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PeerDiscovery</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L171">src/lib/create_waku.ts:171</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L171">src/lib/create_waku.ts:171</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -48,20 +48,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/predefined_bootstrap_nodes.ts#L22">src/lib/predefined_bootstrap_nodes.ts:22</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/predefined_bootstrap_nodes.ts#L22">src/lib/predefined_bootstrap_nodes.ts:22</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -64,20 +64,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/lib_predefined_bootstrap_nodes.Fleet.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Fleet</a></li>
|
||||
|
||||
@ -50,7 +50,7 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/wait_for_remote_peer.ts#L43">src/lib/wait_for_remote_peer.ts:43</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/wait_for_remote_peer.ts#L43">src/lib/wait_for_remote_peer.ts:43</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -78,20 +78,25 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="lib_wait_for_remote_peer.waitForRemotePeer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>wait<wbr/>For<wbr/>Remote<wbr/>Peer</a></li></ul></nav></div></div>
|
||||
|
||||
@ -95,20 +95,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav></div></div>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="assets/main.js"></script></body></html>
|
||||
@ -24,7 +24,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/index.enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L7">src/lib/enr/keypair/types.ts:7</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L7">src/lib/enr/keypair/types.ts:7</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">
|
||||
@ -48,17 +48,17 @@
|
||||
<h3 class="tsd-anchor-link"><span>private<wbr/>Key</span><a href="#privateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">private<wbr/>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L9">src/lib/enr/keypair/types.ts:9</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L9">src/lib/enr/keypair/types.ts:9</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">public<wbr/>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L10">src/lib/enr/keypair/types.ts:10</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L10">src/lib/enr/keypair/types.ts:10</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="type" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">type<span class="tsd-signature-symbol">:</span> <a href="../enums/index.enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L8">src/lib/enr/keypair/types.ts:8</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L8">src/lib/enr/keypair/types.ts:8</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="hasPrivateKey" class="tsd-anchor"></a>
|
||||
@ -68,7 +68,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L13">src/lib/enr/keypair/types.ts:13</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L13">src/lib/enr/keypair/types.ts:13</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="privateKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>private<wbr/>Key<wbr/>Verify</span><a href="#privateKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -76,7 +76,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L11">src/lib/enr/keypair/types.ts:11</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L11">src/lib/enr/keypair/types.ts:11</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="publicKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key<wbr/>Verify</span><a href="#publicKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -84,7 +84,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/keypair/types.ts#L12">src/lib/enr/keypair/types.ts:12</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/keypair/types.ts#L12">src/lib/enr/keypair/types.ts:12</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -112,20 +112,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>IKeypair</span></a>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Waku2</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L1">src/lib/enr/waku2_codec.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L1">src/lib/enr/waku2_codec.ts:1</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">
|
||||
@ -39,22 +39,22 @@
|
||||
<h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L4">src/lib/enr/waku2_codec.ts:4</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L4">src/lib/enr/waku2_codec.ts:4</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L5">src/lib/enr/waku2_codec.ts:5</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L5">src/lib/enr/waku2_codec.ts:5</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L2">src/lib/enr/waku2_codec.ts:2</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L2">src/lib/enr/waku2_codec.ts:2</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/waku2_codec.ts#L3">src/lib/enr/waku2_codec.ts:3</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/waku2_codec.ts#L3">src/lib/enr/waku2_codec.ts:3</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -82,20 +82,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.enr.Waku2.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku2</span></a>
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuMessage</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L8">src/proto/message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L16">src/proto/message.ts:16</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L8">src/proto/message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L16">src/proto/message.ts:16</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">
|
||||
@ -41,27 +41,27 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L10">src/proto/message.ts:10</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L10">src/proto/message.ts:10</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">payload<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L9">src/proto/message.ts:9</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L9">src/proto/message.ts:9</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">timestamp<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">bigint</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L13">src/proto/message.ts:13</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L13">src/proto/message.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="timestampDeprecated" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>timestamp<wbr/>Deprecated</span><a href="#timestampDeprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">timestamp<wbr/>Deprecated<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L12">src/proto/message.ts:12</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L12">src/proto/message.ts:12</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="version" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">version<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L11">src/proto/message.ts:11</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L11">src/proto/message.ts:11</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -89,20 +89,25 @@
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage-1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku<wbr/>Message</span></a>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DecryptionMethod | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TopicOnlyMessage | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
@ -12,33 +12,32 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.waku_message.html">waku_message</a></li>
|
||||
<li><a href="index.waku_message.DecryptionMethod.html">DecryptionMethod</a></li></ul>
|
||||
<h1>Enumeration DecryptionMethod</h1></div><aside class="tsd-sources">
|
||||
<li><a href="../modules/index.proto_topic_only_message.html">proto_topic_only_message</a></li>
|
||||
<li><a href="index.proto_topic_only_message.TopicOnlyMessage-1.html">TopicOnlyMessage</a></li></ul>
|
||||
<h1>Interface TopicOnlyMessage</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">TopicOnlyMessage</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L12">src/lib/waku_message/index.ts:12</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L8">src/proto/topic_only_message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L12">src/proto/topic_only_message.ts:12</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Enumeration Members</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.DecryptionMethod.html#Asymmetric" class="tsd-index-link tsd-kind-enum-member tsd-parent-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>Asymmetric</span></a>
|
||||
<a href="index.waku_message.DecryptionMethod.html#Symmetric" class="tsd-index-link tsd-kind-enum-member tsd-parent-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>Symmetric</span></a>
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.proto_topic_only_message.TopicOnlyMessage-1.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic?</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Enumeration Members</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Asymmetric" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Asymmetric</span><a href="#Asymmetric" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">Asymmetric<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"asymmetric"</span></div><aside class="tsd-sources">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L13">src/lib/waku_message/index.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Symmetric" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Symmetric</span><a href="#Symmetric" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Symmetric<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"symmetric"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L14">src/lib/waku_message/index.ts:14</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L9">src/proto/topic_only_message.ts:9</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -66,26 +65,30 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-namespace"><a href="index.waku_message.DecryptionMethod.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Decryption<wbr/>Method</span></a>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Topic<wbr/>Only<wbr/>Message</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="index.waku_message.DecryptionMethod.html#Asymmetric" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>Asymmetric</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="index.waku_message.DecryptionMethod.html#Symmetric" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>Symmetric</a></li></ul></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.proto_topic_only_message.TopicOnlyMessage-1.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic?</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L31">src/lib/waku.ts:31</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L31">src/lib/waku.ts:31</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">
|
||||
@ -28,19 +28,13 @@
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku.WakuOptions.html#decryptionKeys" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>decryption<wbr/>Keys?</span></a>
|
||||
<a href="index.waku.WakuOptions.html#pingKeepAlive" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>ping<wbr/>Keep<wbr/>Alive?</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku.WakuOptions.html#pingKeepAlive" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>ping<wbr/>Keep<wbr/>Alive?</span></a>
|
||||
<a href="index.waku.WakuOptions.html#relayKeepAlive" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>relay<wbr/>Keep<wbr/>Alive?</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="decryptionKeys" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>decryption<wbr/>Keys</span><a href="#decryptionKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">decryption<wbr/>Keys<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L46">src/lib/waku.ts:46</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pingKeepAlive" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>ping<wbr/>Keep<wbr/>Alive</span><a href="#pingKeepAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>ping<wbr/>Keep<wbr/>Alive</span><a href="#pingKeepAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">ping<wbr/>Keep<wbr/>Alive<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Set keep alive frequency in seconds: Waku will send a <code>/ipfs/ping/1.0.0</code>
|
||||
request to each peer after the set number of seconds. Set to 0 to disable.</p>
|
||||
@ -48,7 +42,7 @@ request to each peer after the set number of seconds. Set to 0 to disable.</p>
|
||||
<h3>Default</h3><p><a href="../variables/index.waku.DefaultPingKeepAliveValueSecs.html">DefaultPingKeepAliveValueSecs</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L38">src/lib/waku.ts:38</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L38">src/lib/waku.ts:38</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relayKeepAlive" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>relay<wbr/>Keep<wbr/>Alive</span><a href="#relayKeepAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<wbr/>Keep<wbr/>Alive<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
||||
@ -58,7 +52,7 @@ relay to each peer after the set number of seconds. Set to 0 to disable.</p>
|
||||
<h3>Default</h3><p><a href="../variables/index.waku.DefaultRelayKeepAliveValueSecs.html">DefaultRelayKeepAliveValueSecs</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L45">src/lib/waku.ts:45</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L45">src/lib/waku.ts:45</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -86,25 +80,29 @@ relay to each peer after the set number of seconds. Set to 0 to disable.</p>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku.WakuOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku<wbr/>Options</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku.WakuOptions.html#decryptionKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decryption<wbr/>Keys?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku.WakuOptions.html#pingKeepAlive" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>ping<wbr/>Keep<wbr/>Alive?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku.WakuOptions.html#relayKeepAlive" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay<wbr/>Keep<wbr/>Alive?</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">CreateOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L25">src/lib/waku_filter/index.ts:25</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L29">src/lib/waku_filter/index.ts:29</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">
|
||||
@ -42,7 +42,7 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<h3>Default</h3><p><a href="../variables/index.DefaultPubSubTopic.html">DefaultPubSubTopic</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L34">src/lib/waku_filter/index.ts:34</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L38">src/lib/waku_filter/index.ts:38</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,20 +70,25 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_filter.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Create<wbr/>Options</span></a>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">CreateOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L23">src/lib/waku_light_push/index.ts:23</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L27">src/lib/waku_light_push/index.ts:27</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">
|
||||
@ -42,7 +42,7 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<h3>Default</h3><p><a href="../variables/index.DefaultPubSubTopic.html">DefaultPubSubTopic</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L32">src/lib/waku_light_push/index.ts:32</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L36">src/lib/waku_light_push/index.ts:36</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,20 +70,25 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_light_push.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Create<wbr/>Options</span></a>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">PushOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L35">src/lib/waku_light_push/index.ts:35</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L39">src/lib/waku_light_push/index.ts:39</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">
|
||||
@ -37,12 +37,12 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>peer<wbr/>Id</span><a href="#peerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">peer<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">PeerId</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L36">src/lib/waku_light_push/index.ts:36</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L40">src/lib/waku_light_push/index.ts:40</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L37">src/lib/waku_light_push/index.ts:37</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L41">src/lib/waku_light_push/index.ts:41</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,20 +70,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_light_push.PushOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Push<wbr/>Options</span></a>
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">PushResponse</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L79">src/proto/light_push.ts:79</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L84">src/proto/light_push.ts:84</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L79">src/proto/light_push.ts:79</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L84">src/proto/light_push.ts:84</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">
|
||||
@ -38,12 +38,12 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>info</span><a href="#info" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">info<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L81">src/proto/light_push.ts:81</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L81">src/proto/light_push.ts:81</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isSuccess" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>is<wbr/>Success</span><a href="#isSuccess" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">is<wbr/>Success<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L80">src/proto/light_push.ts:80</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L80">src/proto/light_push.ts:80</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -71,20 +71,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse-1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Push<wbr/>Response</span></a>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">CreateOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L32">src/lib/waku_store/index.ts:32</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L28">src/lib/waku_store/index.ts:28</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">
|
||||
@ -42,7 +42,7 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<h3>Default</h3><p><a href="../variables/index.DefaultPubSubTopic.html">DefaultPubSubTopic</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L41">src/lib/waku_store/index.ts:41</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L37">src/lib/waku_store/index.ts:37</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,20 +70,25 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_store.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Create<wbr/>Options</span></a>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">QueryOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L49">src/lib/waku_store/index.ts:49</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L45">src/lib/waku_store/index.ts:45</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">
|
||||
@ -28,9 +28,7 @@
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.QueryOptions.html#callback" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>callback?</span></a>
|
||||
<a href="index.waku_store.QueryOptions.html#decryptionParams" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>decryption<wbr/>Params?</span></a>
|
||||
<a href="index.waku_store.QueryOptions.html#pageDirection" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>page<wbr/>Direction?</span></a>
|
||||
<div class="tsd-index-list"><a href="index.waku_store.QueryOptions.html#pageDirection" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>page<wbr/>Direction?</span></a>
|
||||
<a href="index.waku_store.QueryOptions.html#pageSize" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>page<wbr/>Size?</span></a>
|
||||
<a href="index.waku_store.QueryOptions.html#peerId" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>peer<wbr/>Id?</span></a>
|
||||
<a href="index.waku_store.QueryOptions.html#pubSubTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>pub<wbr/>Sub<wbr/>Topic?</span></a>
|
||||
@ -38,43 +36,8 @@
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="callback" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>callback</span><a href="#callback" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">callback<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>messages<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../classes/index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
||||
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>messages<span class="tsd-signature-symbol">: </span><a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../classes/index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Callback called on pages of stored messages as they are retrieved.</p>
|
||||
<p>Allows for a faster access to the results as it is called as soon as a page
|
||||
is received. Traversal of the pages is done automatically so this function
|
||||
will invoked for each retrieved page.</p>
|
||||
<p>If the call on a page returns <code>true</code>, then traversal of the pages is aborted.
|
||||
For example, this can be used for the caller to stop the query after a
|
||||
specific message is found.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>messages: <a href="../modules/index.waku_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_message</a><span class="tsd-signature-symbol">.</span><a href="../classes/index.waku_message.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Class">WakuMessage</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L91">src/lib/waku_store/index.ts:91</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="decryptionParams" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>decryption<wbr/>Params</span><a href="#decryptionParams" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decryption<wbr/>Params<span class="tsd-signature-symbol">?:</span> <a href="index.waku_message.DecryptionParams.html" class="tsd-signature-type" data-tsd-kind="Interface">DecryptionParams</a><span class="tsd-signature-symbol">[]</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Keys that will be used to decrypt messages.</p>
|
||||
<p>It can be Asymmetric Private Keys and Symmetric Keys in the same array,
|
||||
all keys will be tried with both methods.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L98">src/lib/waku_store/index.ts:98</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pageDirection" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>page<wbr/>Direction</span><a href="#pageDirection" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>page<wbr/>Direction</span><a href="#pageDirection" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">page<wbr/>Direction<span class="tsd-signature-symbol">?:</span> <a href="../enums/index.waku_store.PageDirection.html" class="tsd-signature-type" data-tsd-kind="Enumeration">PageDirection</a></div>
|
||||
<div class="tsd-comment tsd-typography"><p>The direction in which pages are retrieved:</p>
|
||||
<ul>
|
||||
@ -82,12 +45,12 @@ all keys will be tried with both methods.</p>
|
||||
<li><a href="../enums/index.waku_store.PageDirection.html#FORWARD">FORWARD</a>: Oldest page first.</li>
|
||||
</ul>
|
||||
<p>Note: This does not affect the ordering of messages with the page
|
||||
(oldest message is always first).</p>
|
||||
(the oldest message is always first).</p>
|
||||
|
||||
<h3>Default</h3><p><a href="../enums/index.waku_store.PageDirection.html#BACKWARD">BACKWARD</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L69">src/lib/waku_store/index.ts:69</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L65">src/lib/waku_store/index.ts:65</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pageSize" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>page<wbr/>Size</span><a href="#pageSize" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">page<wbr/>Size<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
||||
@ -96,14 +59,14 @@ all keys will be tried with both methods.</p>
|
||||
<h3>Default</h3><p><a href="../variables/index.waku_store.DefaultPageSize.html">DefaultPageSize</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L75">src/lib/waku_store/index.ts:75</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L71">src/lib/waku_store/index.ts:71</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="peerId" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>peer<wbr/>Id</span><a href="#peerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">peer<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">PeerId</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>The peer to query. If undefined, a pseudo-random peer is selected from the connected Waku Store peers.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L53">src/lib/waku_store/index.ts:53</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L49">src/lib/waku_store/index.ts:49</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
||||
@ -111,14 +74,14 @@ all keys will be tried with both methods.</p>
|
||||
See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</a>.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L58">src/lib/waku_store/index.ts:58</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L54">src/lib/waku_store/index.ts:54</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="timeFilter" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>time<wbr/>Filter</span><a href="#timeFilter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">time<wbr/>Filter<span class="tsd-signature-symbol">?:</span> <a href="index.waku_store.TimeFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">TimeFilter</a></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Retrieve messages with a timestamp within the provided values.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L79">src/lib/waku_store/index.ts:79</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L75">src/lib/waku_store/index.ts:75</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -146,26 +109,29 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_store.QueryOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Query<wbr/>Options</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_store.QueryOptions.html#callback" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>callback?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_store.QueryOptions.html#decryptionParams" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decryption<wbr/>Params?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_store.QueryOptions.html#pageDirection" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>page<wbr/>Direction?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_store.QueryOptions.html#pageSize" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>page<wbr/>Size?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_store.QueryOptions.html#peerId" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>peer<wbr/>Id?</a></li>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">TimeFilter</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L44">src/lib/waku_store/index.ts:44</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L40">src/lib/waku_store/index.ts:40</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">
|
||||
@ -37,12 +37,12 @@
|
||||
<h3 class="tsd-anchor-link"><span>end<wbr/>Time</span><a href="#endTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">end<wbr/>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L46">src/lib/waku_store/index.ts:46</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L42">src/lib/waku_store/index.ts:42</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="startTime" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start<wbr/>Time</span><a href="#startTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">start<wbr/>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L45">src/lib/waku_store/index.ts:45</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L41">src/lib/waku_store/index.ts:41</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,20 +70,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_store.TimeFilter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Time<wbr/>Filter</span></a>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">CreateOptions</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L18">src/lib/create_waku.ts:18</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L18">src/lib/create_waku.ts:18</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">
|
||||
@ -40,7 +40,7 @@
|
||||
<div class="tsd-comment tsd-typography"><p>Use recommended bootstrap method to discovery and connect to new nodes.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L50">src/lib/create_waku.ts:50</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L50">src/lib/create_waku.ts:50</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">RecursivePartial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Libp2pInit</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
|
||||
@ -51,7 +51,7 @@ allowing its omission and letting Waku set good defaults.
|
||||
Notes that some values are overridden by <a href="../classes/index.waku.WakuNode.html">WakuNode</a> to ensure it implements the Waku protocol.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L40">src/lib/create_waku.ts:40</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L40">src/lib/create_waku.ts:40</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pubSubTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>pub<wbr/>Sub<wbr/>Topic</span><a href="#pubSubTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">pub<wbr/>Sub<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
||||
@ -68,7 +68,7 @@ See <a href="https://rfc.vac.dev/spec/23/">Waku v2 Topic Usage Recommendations</
|
||||
<h3>Default</h3><p><a href="../variables/index.DefaultPubSubTopic.html">DefaultPubSubTopic</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L32">src/lib/create_waku.ts:32</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L32">src/lib/create_waku.ts:32</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="staticNoiseKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>static<wbr/>Noise<wbr/>Key</span><a href="#staticNoiseKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">static<wbr/>Noise<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div>
|
||||
@ -77,7 +77,7 @@ by <a href="https://github.com/libp2p/js-libp2p/blob/master/doc/API.md#create"><
|
||||
This is only used for test purposes to not run out of entropy during CI runs.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L46">src/lib/create_waku.ts:46</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L46">src/lib/create_waku.ts:46</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -105,20 +105,25 @@ This is only used for test purposes to not run out of entropy during CI runs.</p
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Create<wbr/>Options</span></a>
|
||||
|
||||
144
interfaces/lib_interfaces.Decoder.html
Normal file
144
interfaces/lib_interfaces.Decoder.html
Normal file
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Decoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li><a href="lib_interfaces.Decoder.html">Decoder</a></li></ul>
|
||||
<h1>Interface Decoder<T></h1></div>
|
||||
<section class="tsd-panel tsd-type-parameters">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameters">
|
||||
<li>
|
||||
<h4>T<span class="tsd-signature-symbol"> extends </span><a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h4></li></ul></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Decoder</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implemented by</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/lib_waku_message_version_1.AsymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymDecoder</a></li>
|
||||
<li><a href="../classes/lib_waku_message_version_0.DecoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">DecoderV0</a></li>
|
||||
<li><a href="../classes/lib_waku_message_version_1.SymDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymDecoder</a></li>
|
||||
<li><a href="../classes/lib_waku_message_topic_only_message.TopicOnlyDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyDecoder</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L73">src/lib/interfaces.ts:73</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.Decoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
<a href="lib_interfaces.Decoder.html#decode" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>decode</span></a>
|
||||
<a href="lib_interfaces.Decoder.html#decodeProto" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>decode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L74">src/lib/interfaces.ts:74</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="decode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode</span><a href="#decode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
||||
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>proto: <a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L76">src/lib/interfaces.ts:76</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="decodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>decode<wbr/>Proto</span><a href="#decodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">decode<wbr/>Proto<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
||||
<li class="tsd-signature" id="__type-2.__type-3"><span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>bytes: <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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L75">src/lib/interfaces.ts:75</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.Decoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Decoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Decoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Decoder.html#decode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Decoder.html#decodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>decode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
138
interfaces/lib_interfaces.Encoder.html
Normal file
138
interfaces/lib_interfaces.Encoder.html
Normal file
@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Encoder | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li><a href="lib_interfaces.Encoder.html">Encoder</a></li></ul>
|
||||
<h1>Interface Encoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Encoder</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implemented by</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/lib_waku_message_version_1.AsymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">AsymEncoder</a></li>
|
||||
<li><a href="../classes/lib_waku_message_version_0.EncoderV0.html" class="tsd-signature-type" data-tsd-kind="Class">EncoderV0</a></li>
|
||||
<li><a href="../classes/lib_waku_message_version_1.SymEncoder.html" class="tsd-signature-type" data-tsd-kind="Class">SymEncoder</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L67">src/lib/interfaces.ts:67</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.Encoder.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic</span></a>
|
||||
<a href="lib_interfaces.Encoder.html#encode" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>encode</span></a>
|
||||
<a href="lib_interfaces.Encoder.html#encodeProto" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>encode<wbr/>Proto</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L68">src/lib/interfaces.ts:68</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">encode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
||||
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L69">src/lib/interfaces.ts:69</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="encodeProto" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode<wbr/>Proto</span><a href="#encodeProto" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">encode<wbr/>Proto<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
||||
<li class="tsd-signature" id="__type-2.__type-3"><span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>message: <a href="lib_interfaces.Message.html" class="tsd-signature-type" data-tsd-kind="Interface">Message</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="lib_interfaces.ProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">ProtoMessage</a><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L70">src/lib/interfaces.ts:70</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.Encoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Encoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Encoder.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Encoder.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>encode</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Encoder.html#encodeProto" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>encode<wbr/>Proto</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DecryptionParams | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Message | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
@ -11,16 +11,21 @@
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.waku_message.html">waku_message</a></li>
|
||||
<li><a href="index.waku_message.DecryptionParams.html">DecryptionParams</a></li></ul>
|
||||
<h1>Interface DecryptionParams</h1></div>
|
||||
<li><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li><a href="lib_interfaces.Message.html">Message</a></li></ul>
|
||||
<h1>Interface Message</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">DecryptionParams</span></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">Message</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implemented by</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/lib_waku_message_version_0.MessageV0.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV0</a></li>
|
||||
<li><a href="../classes/lib_waku_message_version_1.MessageV1.html" class="tsd-signature-type" data-tsd-kind="Class">MessageV1</a></li>
|
||||
<li><a href="../classes/lib_waku_message_topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L41">src/lib/waku_message/index.ts:41</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L61">src/lib/interfaces.ts:61</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">
|
||||
@ -28,27 +33,27 @@
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.DecryptionParams.html#contentTopics" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topics?</span></a>
|
||||
<a href="index.waku_message.DecryptionParams.html#key" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>key</span></a>
|
||||
<a href="index.waku_message.DecryptionParams.html#method" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>method?</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.Message.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic?</span></a>
|
||||
<a href="lib_interfaces.Message.html#payload" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>payload?</span></a>
|
||||
<a href="lib_interfaces.Message.html#timestamp" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>timestamp?</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopics" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>content<wbr/>Topics</span><a href="#contentTopics" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topics<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L44">src/lib/waku_message/index.ts:44</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="key" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>key</span><a href="#key" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L63">src/lib/interfaces.ts:63</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">payload<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L42">src/lib/waku_message/index.ts:42</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="method" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>method</span><a href="#method" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">method<span class="tsd-signature-symbol">?:</span> <a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></div><aside class="tsd-sources">
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L62">src/lib/interfaces.ts:62</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">timestamp<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L43">src/lib/waku_message/index.ts:43</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L64">src/lib/interfaces.ts:64</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -70,33 +75,38 @@
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_message.DecryptionParams.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Decryption<wbr/>Params</span></a>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.Message.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Message</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.DecryptionParams.html#contentTopics" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topics?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.DecryptionParams.html#key" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>key</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.DecryptionParams.html#method" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>method?</a></li></ul></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Message.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Message.html#payload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>payload?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Message.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>timestamp?</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Options | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ProtoMessage | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
@ -11,16 +11,15 @@
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/index.html">index</a></li>
|
||||
<li><a href="../modules/index.waku_message.html">waku_message</a></li>
|
||||
<li><a href="index.waku_message.Options.html">Options</a></li></ul>
|
||||
<h1>Interface Options</h1></div>
|
||||
<li><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li><a href="lib_interfaces.ProtoMessage.html">ProtoMessage</a></li></ul>
|
||||
<h1>Interface ProtoMessage</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Options</span></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">ProtoMessage</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L17">src/lib/waku_message/index.ts:17</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L54">src/lib/interfaces.ts:54</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">
|
||||
@ -28,46 +27,33 @@
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="index.waku_message.Options.html#encPublicKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>enc<wbr/>Public<wbr/>Key?</span></a>
|
||||
<a href="index.waku_message.Options.html#sigPrivKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>sig<wbr/>Priv<wbr/>Key?</span></a>
|
||||
<a href="index.waku_message.Options.html#symKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>sym<wbr/>Key?</span></a>
|
||||
<a href="index.waku_message.Options.html#timestamp" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>timestamp?</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.ProtoMessage.html#contentTopic" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>content<wbr/>Topic?</span></a>
|
||||
<a href="lib_interfaces.ProtoMessage.html#payload" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>payload?</span></a>
|
||||
<a href="lib_interfaces.ProtoMessage.html#timestamp" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>timestamp?</span></a>
|
||||
<a href="lib_interfaces.ProtoMessage.html#version" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>version?</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="encPublicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>enc<wbr/>Public<wbr/>Key</span><a href="#encPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">enc<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Public Key to use to encrypt the messages using ECIES (Asymmetric Encryption).</p>
|
||||
|
||||
<h3>Throws</h3><p>if both <code>encPublicKey</code> and <code>symKey</code> are passed</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>content<wbr/>Topic</span><a href="#contentTopic" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L27">src/lib/waku_message/index.ts:27</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="sigPrivKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>sig<wbr/>Priv<wbr/>Key</span><a href="#sigPrivKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">sig<wbr/>Priv<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Private key to use to sign the message, either <code>encPublicKey</code> or <code>symKey</code> must be provided as only
|
||||
encrypted messages are signed.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L56">src/lib/interfaces.ts:56</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="payload" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>payload</span><a href="#payload" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">payload<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L38">src/lib/waku_message/index.ts:38</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="symKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>sym<wbr/>Key</span><a href="#symKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">sym<wbr/>Key<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Key to use to encrypt the messages using AES (Symmetric Encryption).</p>
|
||||
|
||||
<h3>Throws</h3><p>if both <code>encPublicKey</code> and <code>symKey</code> are passed</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L33">src/lib/waku_message/index.ts:33</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L55">src/lib/interfaces.ts:55</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="timestamp" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>timestamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">timestamp<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Timestamp to set on the message, defaults to now if not passed.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<div class="tsd-signature">timestamp<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">bigint</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L21">src/lib/waku_message/index.ts:21</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L58">src/lib/interfaces.ts:58</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="version" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">version<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L57">src/lib/interfaces.ts:57</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -89,34 +75,39 @@ encrypted messages are signed.</p>
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="index.waku_message.Options.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Options</span></a>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.ProtoMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Proto<wbr/>Message</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.Options.html#encPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>enc<wbr/>Public<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.Options.html#sigPrivKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>sig<wbr/>Priv<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.Options.html#symKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>sym<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="index.waku_message.Options.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>timestamp?</a></li></ul></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.ProtoMessage.html#contentTopic" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>content<wbr/>Topic?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.ProtoMessage.html#payload" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>payload?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.ProtoMessage.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>timestamp?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.ProtoMessage.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>version?</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
92
interfaces/lib_interfaces.SendResult.html
Normal file
92
interfaces/lib_interfaces.SendResult.html
Normal file
@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SendResult | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li><a href="lib_interfaces.SendResult.html">SendResult</a></li></ul>
|
||||
<h1>Interface SendResult</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">SendResult</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L79">src/lib/interfaces.ts:79</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">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.SendResult.html#recipients" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>recipients</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="recipients" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>recipients</span><a href="#recipients" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">recipients<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L80">src/lib/interfaces.ts:80</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-module"><a href="../modules/index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.SendResult.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Send<wbr/>Result</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.SendResult.html#recipients" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>recipients</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -18,16 +18,18 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Waku</span>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_interfaces.WakuLight.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuLight</a></li>
|
||||
<li><a href="lib_interfaces.WakuPrivacy.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuPrivacy</a></li>
|
||||
<li><a href="lib_interfaces.WakuFull.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuFull</a></li></ul></li></ul></section>
|
||||
<li><a href="lib_interfaces.WakuFull.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuFull</a></li></ul></section></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implemented by</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/index.waku.WakuNode.html" class="tsd-signature-type" data-tsd-kind="Class">WakuNode</a></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L13">src/lib/interfaces.ts:13</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L12">src/lib/interfaces.ts:12</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">
|
||||
@ -43,9 +45,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.Waku.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="lib_interfaces.Waku.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.Waku.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.Waku.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.Waku.html#dial" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dial</span></a>
|
||||
<a href="lib_interfaces.Waku.html#isStarted" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Started</span></a>
|
||||
<a href="lib_interfaces.Waku.html#start" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>start</span></a>
|
||||
@ -57,49 +57,29 @@
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">?:</span> <a href="../classes/index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L17">src/lib/interfaces.ts:17</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L16">src/lib/interfaces.ts:16</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L14">src/lib/interfaces.ts:14</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L13">src/lib/interfaces.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">?:</span> <a href="../classes/index.waku_light_push.WakuLightPush.html" class="tsd-signature-type" data-tsd-kind="Class">WakuLightPush</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L18">src/lib/interfaces.ts:18</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L17">src/lib/interfaces.ts:17</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">?:</span> <a href="../classes/index.waku_relay.WakuRelay.html" class="tsd-signature-type" data-tsd-kind="Class">WakuRelay</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L15">src/lib/interfaces.ts:15</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L14">src/lib/interfaces.ts:14</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">?:</span> <a href="../classes/index.waku_store.WakuStore.html" class="tsd-signature-type" data-tsd-kind="Class">WakuStore</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L16">src/lib/interfaces.ts:16</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L15">src/lib/interfaces.ts:15</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L33">src/lib/interfaces.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPeerToAddressBook" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span><a href="#addPeerToAddressBook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -114,20 +94,7 @@
|
||||
<h5>multiaddrs: <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L22">src/lib/interfaces.ts:22</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L38">src/lib/interfaces.ts:38</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L21">src/lib/interfaces.ts:21</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="dial" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dial</span><a href="#dial" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -142,7 +109,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> protocols: <a href="../enums/index.waku.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L20">src/lib/interfaces.ts:20</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L19">src/lib/interfaces.ts:19</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="isStarted" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>is<wbr/>Started</span><a href="#isStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -150,7 +117,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L31">src/lib/interfaces.ts:31</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L30">src/lib/interfaces.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -158,7 +125,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L27">src/lib/interfaces.ts:27</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L26">src/lib/interfaces.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
@ -166,7 +133,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L29">src/lib/interfaces.ts:29</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L28">src/lib/interfaces.ts:28</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -194,20 +161,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.Waku.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku</span></a>
|
||||
@ -217,9 +189,7 @@
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#lightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>light<wbr/>Push?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>store?</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#addPeerToAddressBook" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#dial" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dial</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#isStarted" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Started</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="lib_interfaces.Waku.html#start" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>start</a></li>
|
||||
|
||||
@ -18,10 +18,12 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuFull</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">WakuFull</span></li></ul></section></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L55">src/lib/interfaces.ts:55</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L47">src/lib/interfaces.ts:47</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">
|
||||
@ -37,9 +39,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuFull.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="lib_interfaces.WakuFull.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuFull.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuFull.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuFull.html#dial" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dial</span></a>
|
||||
<a href="lib_interfaces.WakuFull.html#isStarted" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Started</span></a>
|
||||
<a href="lib_interfaces.WakuFull.html#start" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>start</span></a>
|
||||
@ -52,54 +52,33 @@
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#filter">filter</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L58">src/lib/interfaces.ts:58</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L50">src/lib/interfaces.ts:50</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#libp2p">libp2p</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L14">src/lib/interfaces.ts:14</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L13">src/lib/interfaces.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_light_push.WakuLightPush.html" class="tsd-signature-type" data-tsd-kind="Class">WakuLightPush</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#lightPush">lightPush</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L59">src/lib/interfaces.ts:59</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L51">src/lib/interfaces.ts:51</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_relay.WakuRelay.html" class="tsd-signature-type" data-tsd-kind="Class">WakuRelay</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#relay">relay</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L56">src/lib/interfaces.ts:56</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L48">src/lib/interfaces.ts:48</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_store.WakuStore.html" class="tsd-signature-type" data-tsd-kind="Class">WakuStore</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#store">store</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L57">src/lib/interfaces.ts:57</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L49">src/lib/interfaces.ts:49</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addDecryptionKey">addDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L33">src/lib/interfaces.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addPeerToAddressBook" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span><a href="#addPeerToAddressBook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -115,21 +94,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addPeerToAddressBook">addPeerToAddressBook</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L22">src/lib/interfaces.ts:22</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#deleteDecryptionKey">deleteDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L38">src/lib/interfaces.ts:38</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L21">src/lib/interfaces.ts:21</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="dial" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dial</span><a href="#dial" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -145,7 +110,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#dial">dial</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L20">src/lib/interfaces.ts:20</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L19">src/lib/interfaces.ts:19</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="isStarted" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>is<wbr/>Started</span><a href="#isStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -154,7 +119,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#isStarted">isStarted</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L31">src/lib/interfaces.ts:31</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L30">src/lib/interfaces.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -163,7 +128,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#start">start</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L27">src/lib/interfaces.ts:27</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L26">src/lib/interfaces.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -172,7 +137,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#stop">stop</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L29">src/lib/interfaces.ts:29</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L28">src/lib/interfaces.ts:28</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -200,20 +165,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.WakuFull.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku<wbr/>Full</span></a>
|
||||
@ -223,9 +193,7 @@
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuFull.html#lightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuFull.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuFull.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>store</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#addPeerToAddressBook" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#dial" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dial</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#isStarted" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Started</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuFull.html#start" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>start</a></li>
|
||||
|
||||
@ -18,10 +18,12 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuLight</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">WakuLight</span></li></ul></section></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L41">src/lib/interfaces.ts:41</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L33">src/lib/interfaces.ts:33</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">
|
||||
@ -37,9 +39,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuLight.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="lib_interfaces.WakuLight.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuLight.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuLight.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuLight.html#dial" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dial</span></a>
|
||||
<a href="lib_interfaces.WakuLight.html#isStarted" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Started</span></a>
|
||||
<a href="lib_interfaces.WakuLight.html#start" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>start</span></a>
|
||||
@ -52,54 +52,33 @@
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_filter.WakuFilter.html" class="tsd-signature-type" data-tsd-kind="Class">WakuFilter</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#filter">filter</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L44">src/lib/interfaces.ts:44</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L36">src/lib/interfaces.ts:36</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#libp2p">libp2p</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L14">src/lib/interfaces.ts:14</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L13">src/lib/interfaces.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_light_push.WakuLightPush.html" class="tsd-signature-type" data-tsd-kind="Class">WakuLightPush</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#lightPush">lightPush</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L45">src/lib/interfaces.ts:45</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L37">src/lib/interfaces.ts:37</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#relay">relay</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L42">src/lib/interfaces.ts:42</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L34">src/lib/interfaces.ts:34</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_store.WakuStore.html" class="tsd-signature-type" data-tsd-kind="Class">WakuStore</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#store">store</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L43">src/lib/interfaces.ts:43</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L35">src/lib/interfaces.ts:35</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addDecryptionKey">addDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L33">src/lib/interfaces.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addPeerToAddressBook" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span><a href="#addPeerToAddressBook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -115,21 +94,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addPeerToAddressBook">addPeerToAddressBook</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L22">src/lib/interfaces.ts:22</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#deleteDecryptionKey">deleteDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L38">src/lib/interfaces.ts:38</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L21">src/lib/interfaces.ts:21</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="dial" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dial</span><a href="#dial" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -145,7 +110,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#dial">dial</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L20">src/lib/interfaces.ts:20</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L19">src/lib/interfaces.ts:19</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="isStarted" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>is<wbr/>Started</span><a href="#isStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -154,7 +119,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#isStarted">isStarted</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L31">src/lib/interfaces.ts:31</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L30">src/lib/interfaces.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -163,7 +128,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#start">start</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L27">src/lib/interfaces.ts:27</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L26">src/lib/interfaces.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -172,7 +137,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#stop">stop</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L29">src/lib/interfaces.ts:29</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L28">src/lib/interfaces.ts:28</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -200,20 +165,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.WakuLight.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku<wbr/>Light</span></a>
|
||||
@ -223,9 +193,7 @@
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuLight.html#lightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuLight.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuLight.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>store</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#addPeerToAddressBook" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#dial" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dial</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#isStarted" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Started</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuLight.html#start" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>start</a></li>
|
||||
|
||||
@ -18,10 +18,12 @@
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="lib_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">WakuPrivacy</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">WakuPrivacy</span></li></ul></section></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L48">src/lib/interfaces.ts:48</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L40">src/lib/interfaces.ts:40</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">
|
||||
@ -37,9 +39,7 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuPrivacy.html#addDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<a href="lib_interfaces.WakuPrivacy.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuPrivacy.html#deleteDecryptionKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Decryption<wbr/>Key</span></a>
|
||||
<div class="tsd-index-list"><a href="lib_interfaces.WakuPrivacy.html#addPeerToAddressBook" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span></a>
|
||||
<a href="lib_interfaces.WakuPrivacy.html#dial" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>dial</span></a>
|
||||
<a href="lib_interfaces.WakuPrivacy.html#isStarted" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Started</span></a>
|
||||
<a href="lib_interfaces.WakuPrivacy.html#start" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>start</span></a>
|
||||
@ -52,54 +52,33 @@
|
||||
<div class="tsd-signature">filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#filter">filter</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L51">src/lib/interfaces.ts:51</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L43">src/lib/interfaces.ts:43</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="libp2p" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">libp2p<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#libp2p">libp2p</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L14">src/lib/interfaces.ts:14</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L13">src/lib/interfaces.ts:13</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#lightPush">lightPush</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L52">src/lib/interfaces.ts:52</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L44">src/lib/interfaces.ts:44</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">relay<span class="tsd-signature-symbol">:</span> <a href="../classes/index.waku_relay.WakuRelay.html" class="tsd-signature-type" data-tsd-kind="Class">WakuRelay</a></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#relay">relay</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L49">src/lib/interfaces.ts:49</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L41">src/lib/interfaces.ts:41</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="store" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>store</span><a href="#store" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
|
||||
<p>Overrides <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#store">store</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L50">src/lib/interfaces.ts:50</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L42">src/lib/interfaces.ts:42</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Decryption<wbr/>Key</span><a href="#addDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="addDecryptionKey.addDecryptionKey-1">add<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addDecryptionKey.addDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-symbol">{ </span>contentTopics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a><span class="tsd-signature-symbol"> }</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> content<wbr/>Topics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li class="tsd-parameter">
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> method<span class="tsd-signature-symbol">?: </span><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DecryptionMethod</a></h5></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addDecryptionKey">addDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L33">src/lib/interfaces.ts:33</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="addPeerToAddressBook" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</span><a href="#addPeerToAddressBook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -115,21 +94,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#addPeerToAddressBook">addPeerToAddressBook</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L22">src/lib/interfaces.ts:22</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="deleteDecryptionKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Decryption<wbr/>Key</span><a href="#deleteDecryptionKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="deleteDecryptionKey.deleteDecryptionKey-1">delete<wbr/>Decryption<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deleteDecryptionKey.deleteDecryptionKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#deleteDecryptionKey">deleteDecryptionKey</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L38">src/lib/interfaces.ts:38</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L21">src/lib/interfaces.ts:21</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="dial" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>dial</span><a href="#dial" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -145,7 +110,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#dial">dial</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L20">src/lib/interfaces.ts:20</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L19">src/lib/interfaces.ts:19</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="isStarted" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>is<wbr/>Started</span><a href="#isStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -154,7 +119,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#isStarted">isStarted</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L31">src/lib/interfaces.ts:31</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L30">src/lib/interfaces.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="start" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -163,7 +128,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#start">start</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L27">src/lib/interfaces.ts:27</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L26">src/lib/interfaces.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="stop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited">
|
||||
@ -172,7 +137,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from <a href="lib_interfaces.Waku.html">Waku</a>.<a href="lib_interfaces.Waku.html#stop">stop</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L29">src/lib/interfaces.ts:29</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L28">src/lib/interfaces.ts:28</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -200,20 +165,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_interfaces.WakuPrivacy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku<wbr/>Privacy</span></a>
|
||||
@ -223,9 +193,7 @@
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuPrivacy.html#lightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuPrivacy.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>relay</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="lib_interfaces.WakuPrivacy.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>store</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#addDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#addPeerToAddressBook" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Peer<wbr/>To<wbr/>Address<wbr/>Book</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#deleteDecryptionKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Decryption<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#dial" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>dial</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#isStarted" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Started</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="lib_interfaces.WakuPrivacy.html#start" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>start</a></li>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Options</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L16">src/lib/peer_discovery_static_list.ts:16</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L16">src/lib/peer_discovery_static_list.ts:16</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">
|
||||
@ -40,7 +40,7 @@
|
||||
<h3>Default</h3><p><a href="../classes/lib_peer_discovery_static_list.PeerDiscoveryStaticPeers.html#DefaultInterval">DefaultInterval</a></p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L28">src/lib/peer_discovery_static_list.ts:28</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L28">src/lib/peer_discovery_static_list.ts:28</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="maxPeers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>max<wbr/>Peers</span><a href="#maxPeers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">max<wbr/>Peers<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
||||
@ -49,7 +49,7 @@
|
||||
<h3>Default</h3><p>The length of the passed <code>peers</code> array.</p>
|
||||
</div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L22">src/lib/peer_discovery_static_list.ts:22</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L22">src/lib/peer_discovery_static_list.ts:22</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -77,20 +77,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="lib_peer_discovery_static_list.Options.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Options</span></a>
|
||||
|
||||
12
modules.html
12
modules.html
@ -21,6 +21,9 @@
|
||||
<a href="modules/lib_peer_discovery_static_list.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</span></a>
|
||||
<a href="modules/lib_predefined_bootstrap_nodes.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/predefined_<wbr/>bootstrap_<wbr/>nodes</span></a>
|
||||
<a href="modules/lib_wait_for_remote_peer.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</span></a>
|
||||
<a href="modules/lib_waku_message_topic_only_message.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</span></a>
|
||||
<a href="modules/lib_waku_message_version_0.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/waku_<wbr/>message/version_<wbr/>0</span></a>
|
||||
<a href="modules/lib_waku_message_version_1.html" class="tsd-index-link tsd-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>lib/waku_<wbr/>message/version_<wbr/>1</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
@ -49,20 +52,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="modules/index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="modules/index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav></div></div>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="modules/lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="assets/main.js"></script></body></html>
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.enr.html">enr</a></li></ul>
|
||||
<h1>Namespace enr</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/enr/index.ts#L1">src/lib/enr/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/enr/index.ts#L1">src/lib/enr/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -83,20 +83,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Keypair<wbr/>Type</a></li>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="index.html">index</a></li></ul>
|
||||
<h1>Module index</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/index.ts#L1">src/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/index.ts#L1">src/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -31,7 +31,6 @@
|
||||
<a href="index.html#StoreCodecs" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Store<wbr/>Codecs</span></a>
|
||||
<a href="index.html#WakuFilter" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Filter</span></a>
|
||||
<a href="index.html#WakuLightPush" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Light<wbr/>Push</span></a>
|
||||
<a href="index.html#WakuMessage" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Message</span></a>
|
||||
<a href="index.html#WakuNode" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Node</span></a>
|
||||
<a href="index.html#WakuRelay" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Relay</span></a>
|
||||
<a href="index.html#WakuStore" class="tsd-index-link tsd-kind-reference tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg><span>Waku<wbr/>Store</span></a>
|
||||
@ -40,11 +39,11 @@
|
||||
<h3 class="tsd-index-heading">Namespaces</h3>
|
||||
<div class="tsd-index-list"><a href="index.enr.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>enr</span></a>
|
||||
<a href="index.proto_message.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>proto_<wbr/>message</span></a>
|
||||
<a href="index.proto_topic_only_message.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>proto_<wbr/>topic_<wbr/>only_<wbr/>message</span></a>
|
||||
<a href="index.utils.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>utils</span></a>
|
||||
<a href="index.waku.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku</span></a>
|
||||
<a href="index.waku_filter.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku_<wbr/>filter</span></a>
|
||||
<a href="index.waku_light_push.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku_<wbr/>light_<wbr/>push</span></a>
|
||||
<a href="index.waku_message.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku_<wbr/>message</span></a>
|
||||
<a href="index.waku_relay.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku_<wbr/>relay</span></a>
|
||||
<a href="index.waku_store.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>waku_<wbr/>store</span></a>
|
||||
</div></section>
|
||||
@ -74,8 +73,6 @@
|
||||
<h3 class="tsd-anchor-link"><span>Waku<wbr/>Filter</span><a href="#WakuFilter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>Re-exports <a href="../classes/index.waku_filter.WakuFilter.html">WakuFilter</a></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module"><a id="WakuLightPush" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Waku<wbr/>Light<wbr/>Push</span><a href="#WakuLightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>Re-exports <a href="../classes/index.waku_light_push.WakuLightPush.html">WakuLightPush</a></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module"><a id="WakuMessage" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Waku<wbr/>Message</span><a href="#WakuMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>Re-exports <a href="../classes/index.waku_message.WakuMessage.html">WakuMessage</a></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module"><a id="WakuNode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Waku<wbr/>Node</span><a href="#WakuNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>Re-exports <a href="../classes/index.waku.WakuNode.html">WakuNode</a></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module"><a id="WakuRelay" class="tsd-anchor"></a>
|
||||
@ -109,20 +106,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#LightPushCodec" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Light<wbr/>Push<wbr/>Codec</a></li>
|
||||
@ -132,7 +134,6 @@
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#StoreCodecs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Store<wbr/>Codecs</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuFilter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuLightPush" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Light<wbr/>Push</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuMessage" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuNode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Node</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuRelay" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Relay</a></li>
|
||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="index.html#WakuStore" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8388608-path"></use><use href="#icon-8388608-text"></use></svg>Waku<wbr/>Store</a></li>
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
<li><a href="index.proto_message.WakuMessage.html">WakuMessage</a></li></ul>
|
||||
<h1>Namespace WakuMessage</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L8">src/proto/message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L16">src/proto/message.ts:16</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L8">src/proto/message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L16">src/proto/message.ts:16</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.proto_message.WakuMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>codec</a></li>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.proto_message.html">proto_message</a></li></ul>
|
||||
<h1>Namespace proto_message</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/message.ts#L4">src/proto/message.ts:4</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/message.ts#L4">src/proto/message.ts:4</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.proto_message.WakuMessage-1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Waku<wbr/>Message</a></li></ul></nav></div></div>
|
||||
|
||||
83
modules/index.proto_topic_only_message.TopicOnlyMessage.html
Normal file
83
modules/index.proto_topic_only_message.TopicOnlyMessage.html
Normal file
@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TopicOnlyMessage | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<ul class="results">
|
||||
<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">js-waku</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-8 col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="index.html">index</a></li>
|
||||
<li><a href="index.proto_topic_only_message.html">proto_topic_only_message</a></li>
|
||||
<li><a href="index.proto_topic_only_message.TopicOnlyMessage.html">TopicOnlyMessage</a></li></ul>
|
||||
<h1>Namespace TopicOnlyMessage</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L8">src/proto/topic_only_message.ts:8</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L12">src/proto/topic_only_message.ts:12</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Functions</h3>
|
||||
<div class="tsd-index-list"><a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.codec.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>codec</span></a>
|
||||
<a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.decode.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>decode</span></a>
|
||||
<a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.encode.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>encode</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<nav class="tsd-navigation primary">
|
||||
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li class="current"><a href="../modules.html">js-<wbr/>waku</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module"><a href="index.html">index</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.enr.html">enr</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>codec</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.decode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>decode</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.proto_topic_only_message.TopicOnlyMessage.encode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>encode</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>waku_message | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>proto_topic_only_message | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
@ -12,25 +12,20 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">js-waku</a></li>
|
||||
<li><a href="index.html">index</a></li>
|
||||
<li><a href="index.waku_message.html">waku_message</a></li></ul>
|
||||
<h1>Namespace waku_message</h1></div><aside class="tsd-sources">
|
||||
<li><a href="index.proto_topic_only_message.html">proto_topic_only_message</a></li></ul>
|
||||
<h1>Namespace proto_topic_only_message</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_message/index.ts#L1">src/lib/waku_message/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/topic_only_message.ts#L4">src/proto/topic_only_message.ts:4</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Enumerations</h3>
|
||||
<div class="tsd-index-list"><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-index-link tsd-kind-enum tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Decryption<wbr/>Method</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Classes</h3>
|
||||
<div class="tsd-index-list"><a href="../classes/index.waku_message.WakuMessage.html" class="tsd-index-link tsd-kind-class tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Waku<wbr/>Message</span></a>
|
||||
<h3 class="tsd-index-heading">Namespaces</h3>
|
||||
<div class="tsd-index-list"><a href="index.proto_topic_only_message.TopicOnlyMessage.html" class="tsd-index-link tsd-kind-namespace tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>Topic<wbr/>Only<wbr/>Message</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Decryption<wbr/>Params</span></a>
|
||||
<a href="../interfaces/index.waku_message.Options.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Options</span></a>
|
||||
<div class="tsd-index-list"><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Topic<wbr/>Only<wbr/>Message</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
@ -59,26 +54,28 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.waku_message.DecryptionMethod.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Decryption<wbr/>Method</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/index.waku_message.WakuMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Waku<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_message.DecryptionParams.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Decryption<wbr/>Params</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_message.Options.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Options</a></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.proto_topic_only_message.TopicOnlyMessage-1.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Topic<wbr/>Only<wbr/>Message</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.utils.html">utils</a></li></ul>
|
||||
<h1>Namespace utils</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/utils.ts#L1">src/lib/utils.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/utils.ts#L1">src/lib/utils.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.waku.html">waku</a></li></ul>
|
||||
<h1>Namespace waku</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku.ts#L1">src/lib/waku.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku.ts#L1">src/lib/waku.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -63,20 +63,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.waku.Protocols.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Protocols</a></li>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.waku_filter.html">waku_filter</a></li></ul>
|
||||
<h1>Namespace waku_filter</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_filter/index.ts#L1">src/lib/waku_filter/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_filter/index.ts#L1">src/lib/waku_filter/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -65,20 +65,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/index.waku_filter.WakuFilter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Waku<wbr/>Filter</a></li>
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
<li><a href="index.waku_light_push.PushResponse.html">PushResponse</a></li></ul>
|
||||
<h1>Namespace PushResponse</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L79">src/proto/light_push.ts:79</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/proto/light_push.ts#L84">src/proto/light_push.ts:84</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L79">src/proto/light_push.ts:79</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/proto/light_push.ts#L84">src/proto/light_push.ts:84</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -54,20 +54,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.waku_light_push.PushResponse.codec.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>codec</a></li>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.waku_light_push.html">waku_light_push</a></li></ul>
|
||||
<h1>Namespace waku_light_push</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_light_push/index.ts#L1">src/lib/waku_light_push/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_light_push/index.ts#L1">src/lib/waku_light_push/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -64,20 +64,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/index.waku_light_push.WakuLightPush.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Waku<wbr/>Light<wbr/>Push</a></li>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.waku_relay.html">waku_relay</a></li></ul>
|
||||
<h1>Namespace waku_relay</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_relay/index.ts#L1">src/lib/waku_relay/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_relay/index.ts#L1">src/lib/waku_relay/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -25,7 +25,9 @@
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Type Aliases</h3>
|
||||
<div class="tsd-index-list"><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-index-link tsd-kind-type-alias tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg><span>Create<wbr/>Options</span></a>
|
||||
<div class="tsd-index-list"><a href="../types/index.waku_relay.Callback.html" class="tsd-index-link tsd-kind-type-alias tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg><span>Callback</span></a>
|
||||
<a href="../types/index.waku_relay.CreateOptions.html" class="tsd-index-link tsd-kind-type-alias tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Create<wbr/>Options</span></a>
|
||||
<a href="../types/index.waku_relay.Observer.html" class="tsd-index-link tsd-kind-type-alias tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Observer</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
@ -54,24 +56,31 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-class tsd-parent-kind-namespace"><a href="../classes/index.waku_relay.WakuRelay.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Waku<wbr/>Relay</a></li>
|
||||
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Create<wbr/>Options</a></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/index.waku_relay.Callback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Callback</a></li>
|
||||
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/index.waku_relay.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Create<wbr/>Options</a></li>
|
||||
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/index.waku_relay.Observer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Observer</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -15,7 +15,7 @@
|
||||
<li><a href="index.waku_store.html">waku_store</a></li></ul>
|
||||
<h1>Namespace waku_store</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/waku_store/index.ts#L1">src/lib/waku_store/index.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/waku_store/index.ts#L1">src/lib/waku_store/index.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
@ -37,6 +37,10 @@
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Variables</h3>
|
||||
<div class="tsd-index-list"><a href="../variables/index.waku_store.DefaultPageSize.html" class="tsd-index-link tsd-kind-variable tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg><span>Default<wbr/>Page<wbr/>Size</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Functions</h3>
|
||||
<div class="tsd-index-list"><a href="../functions/index.waku_store.isDefined.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>is<wbr/>Defined</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
@ -65,20 +69,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="current selected tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/index.waku_store.PageDirection.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Page<wbr/>Direction</a></li>
|
||||
@ -87,7 +96,8 @@
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Create<wbr/>Options</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.QueryOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Query<wbr/>Options</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/index.waku_store.TimeFilter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Time<wbr/>Filter</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/index.waku_store.DefaultPageSize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>Default<wbr/>Page<wbr/>Size</a></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/index.waku_store.DefaultPageSize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>Default<wbr/>Page<wbr/>Size</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/index.waku_store.isDefined.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>is<wbr/>Defined</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="lib_create_waku.html">lib/create_waku</a></li></ul>
|
||||
<h1>Module lib/create_waku</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/create_waku.ts#L1">src/lib/create_waku.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/create_waku.ts#L1">src/lib/create_waku.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -59,20 +59,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_create_waku.CreateOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Create<wbr/>Options</a></li>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="lib_interfaces.html">lib/interfaces</a></li></ul>
|
||||
<h1>Module lib/interfaces</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/interfaces.ts#L1">src/lib/interfaces.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/interfaces.ts#L1">src/lib/interfaces.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -22,7 +22,12 @@
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Waku</span></a>
|
||||
<div class="tsd-index-list"><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Decoder</span></a>
|
||||
<a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Encoder</span></a>
|
||||
<a href="../interfaces/lib_interfaces.Message.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Message</span></a>
|
||||
<a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Proto<wbr/>Message</span></a>
|
||||
<a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Send<wbr/>Result</span></a>
|
||||
<a href="../interfaces/lib_interfaces.Waku.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Waku</span></a>
|
||||
<a href="../interfaces/lib_interfaces.WakuFull.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Waku<wbr/>Full</span></a>
|
||||
<a href="../interfaces/lib_interfaces.WakuLight.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Waku<wbr/>Light</span></a>
|
||||
<a href="../interfaces/lib_interfaces.WakuPrivacy.html" class="tsd-index-link tsd-kind-interface tsd-parent-kind-module"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Waku<wbr/>Privacy</span></a>
|
||||
@ -54,22 +59,32 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.Decoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Decoder</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.Encoder.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Encoder</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.Message.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Message</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.ProtoMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Proto<wbr/>Message</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.SendResult.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Send<wbr/>Result</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.Waku.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Waku</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.WakuFull.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Waku<wbr/>Full</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/lib_interfaces.WakuLight.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Waku<wbr/>Light</a></li>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="lib_peer_discovery_static_list.html">lib/peer_discovery_static_list</a></li></ul>
|
||||
<h1>Module lib/peer_discovery_static_list</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/peer_discovery_static_list.ts#L1">src/lib/peer_discovery_static_list.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/peer_discovery_static_list.ts#L1">src/lib/peer_discovery_static_list.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -55,20 +55,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/lib_peer_discovery_static_list.PeerDiscoveryStaticPeers.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Peer<wbr/>Discovery<wbr/>Static<wbr/>Peers</a></li>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_bootstrap_nodes</a></li></ul>
|
||||
<h1>Module lib/predefined_bootstrap_nodes</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/predefined_bootstrap_nodes.ts#L1">src/lib/predefined_bootstrap_nodes.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/predefined_bootstrap_nodes.ts#L1">src/lib/predefined_bootstrap_nodes.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -60,20 +60,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/lib_predefined_bootstrap_nodes.Fleet.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Fleet</a></li>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<li><a href="lib_wait_for_remote_peer.html">lib/wait_for_remote_peer</a></li></ul>
|
||||
<h1>Module lib/wait_for_remote_peer</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2de97784/src/lib/wait_for_remote_peer.ts#L1">src/lib/wait_for_remote_peer.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/309bebf2/src/lib/wait_for_remote_peer.ts#L1">src/lib/wait_for_remote_peer.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group">
|
||||
<section class="tsd-panel tsd-typography"></section></section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
@ -51,20 +51,25 @@
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_message.html">proto_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.utils.html">utils</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku.html">waku</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_filter.html">waku_<wbr/>filter</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
|
||||
<ul>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="index.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_message.html">waku_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_relay.html">waku_<wbr/>relay</a></li>
|
||||
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="index.waku_store.html">waku_<wbr/>store</a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="lib_create_waku.html">lib/create_<wbr/>waku</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_interfaces.html">lib/interfaces</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_peer_discovery_static_list.html">lib/peer_<wbr/>discovery_<wbr/>static_<wbr/>list</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_predefined_bootstrap_nodes.html">lib/predefined_<wbr/>bootstrap_<wbr/>nodes</a></li>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li></ul></li></ul></div></details></nav>
|
||||
<li class="current selected tsd-kind-module"><a href="lib_wait_for_remote_peer.html">lib/wait_<wbr/>for_<wbr/>remote_<wbr/>peer</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_topic_only_message.html">lib/waku_<wbr/>message/topic_<wbr/>only_<wbr/>message</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_0.html">lib/waku_<wbr/>message/version_<wbr/>0</a></li>
|
||||
<li class="tsd-kind-module"><a href="lib_waku_message_version_1.html">lib/waku_<wbr/>message/version_<wbr/>1</a></li></ul></li></ul></div></details></nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/lib_wait_for_remote_peer.waitForRemotePeer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>For<wbr/>Remote<wbr/>Peer</a></li></ul></nav></div></div>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user